Function at 0x100022e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov dword [ebp - 4], 0
lea eax, [ebp - 0x109]
mov dword [esp], 0x105
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 8
cmp eax, 0
jbe 0x100028cf
mov byte [ebp - 0x106], 0
mov eax, dword [0x10021080]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x128], eax
mov eax, dword [0x10021084]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x130], eax
lea ecx, [0x10021e78]
lea eax, [0x1001a190]
add eax, 0x2a6
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009ca0
mov eax, dword [ebp - 0x130]
lea ecx, [0x10021e78]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x12c], eax
lea ecx, [0x10021e5c]
lea eax, [0x1001a190]
add eax, 0x260
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009ba0
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x128]
lea ecx, [0x10021e5c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x109]
xor ecx, ecx
lea ecx, [ebp - 4]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call eax
sub esp, 0x20
cmp eax, 0
jne 0x100028ca
mov dword [ebp - 0x114], 0x105
mov dword [ebp - 4], 1
mov eax, dword [0x10021080]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x134], eax
mov eax, dword [0x10021084]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x13c], eax
lea ecx, [0x10021e78]
lea eax, [0x1001a190]
add eax, 0x2a6
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009ca0
mov eax, dword [ebp - 0x13c]
lea ecx, [0x10021e78]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x138], eax
lea ecx, [0x10021e8c]
lea eax, [0x1001a190]
add eax, 0x2da
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009d20
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
lea ecx, [0x10021e8c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x109]
lea ecx, [ebp - 0x114]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
cmp eax, 0
je 0x100025ec
lea eax, [ebp - 0x109]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
movsx eax, byte [eax]
cmp eax, 0
je 0x10002585
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000252b
jmp 0x100028da
mov eax, dword [ebp - 0x11c]
movsx eax, byte [eax]
imul eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000256c
jmp 0x100028da
jmp 0x10002571
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
jmp 0x100024e8
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x100025b6
jmp 0x100028f1
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x100025e7
jmp 0x100028f1
jmp 0x100025ec
mov eax, 1
cmp eax, dword [ebp - 4]
jne 0x100028c5
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000262b
jmp 0x100028f6
mov dword [ebp - 0x114], 0x105
mov eax, dword [0x10021080]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x144], eax
mov eax, dword [0x10021084]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x14c], eax
lea ecx, [0x10021eb8]
lea eax, [0x1001a190]
add eax, 0x34f
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009f60
mov eax, dword [ebp - 0x14c]
lea ecx, [0x10021eb8]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x148], eax
lea ecx, [0x10021ea4]
lea eax, [0x1001a190]
add eax, 0x319
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009ed0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x144]
lea ecx, [0x10021ea4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x109]
lea ecx, [ebp - 0x114]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
cmp eax, 0
setne al
mov byte [ebp - 0x13d], al
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000272a
jmp 0x100028f6
mov al, byte [ebp - 0x13d]
test al, 1
jne 0x1000273d
jmp 0x100028c0
lea eax, [ebp - 0x109]
mov dword [ebp - 0x124], eax
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000277a
jmp 0x100029bd
mov eax, dword [ebp - 0x124]
movsx eax, byte [eax]
cmp eax, 0
setne al
mov byte [ebp - 0x14d], al
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x100027c0
jmp 0x100029bd
mov al, byte [ebp - 0x14d]
test al, 1
jne 0x100027d3
jmp 0x10002859
mov eax, dword [ebp - 0x124]
movsx eax, byte [eax]
imul eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10002814
jmp 0x100029c2
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10002854
jmp 0x100029c2
jmp 0x10002749
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000288a
jmp 0x100029d6
mov eax, dword [0x10022d50]
mov ecx, dword [0x10022d4c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x100028bb
jmp 0x100029d6
jmp 0x100028c0
jmp 0x100028c5
jmp 0x100028ca
jmp 0x100028cf
mov eax, dword [ebp - 4]
add esp, 0x17c
pop ebp
ret
mov eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
mov eax, dword [ebp - 4]
imul eax, ecx
mov dword [ebp - 4], eax
jmp 0x1000252b
jmp 0x100025b6
mov dword [ebp - 0x114], 0x105
mov eax, dword [0x10021080]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x154], eax
mov eax, dword [0x10021084]
mov eax, dword [eax + 0x46ba5c8f]
mov dword [ebp - 0x15c], eax
lea ecx, [0x10021eb8]
lea eax, [0x1001a190]
add eax, 0x34f
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009f60
mov eax, dword [ebp - 0x15c]
lea ecx, [0x10021eb8]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x158], eax
lea ecx, [0x10021ea4]
lea eax, [0x1001a190]
add eax, 0x319
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009ed0
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x154]
lea ecx, [0x10021ea4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x109]
lea ecx, [ebp - 0x114]
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
sub esp, 8
jmp 0x1000262b
jmp 0x1000277a
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
jmp 0x10002814
jmp 0x1000288a