Function at 0x100021f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
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 0x10002705
mov byte [ebp - 0x106], 0
mov eax, dword [0x10020080]
mov eax, dword [eax - 0x6b6ecb38]
mov dword [ebp - 0x128], eax
mov eax, dword [0x10020084]
mov eax, dword [eax - 0x6b6ecb38]
mov dword [ebp - 0x130], eax
lea ecx, [0x10020e78]
lea eax, [0x10019190]
add eax, 0x270
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009140
mov eax, dword [ebp - 0x130]
lea ecx, [0x10020e78]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x12c], eax
lea ecx, [0x10020e5c]
lea eax, [0x10019190]
add eax, 0x221
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10008ff0
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x128]
lea ecx, [0x10020e5c]
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 0x10002700
mov dword [ebp - 0x114], 0x105
mov dword [ebp - 4], 1
mov eax, dword [0x10020080]
mov eax, dword [eax - 0x6b6ecb38]
mov dword [ebp - 0x134], eax
mov eax, dword [0x10020084]
mov eax, dword [eax - 0x6b6ecb38]
mov dword [ebp - 0x13c], eax
lea ecx, [0x10020e78]
lea eax, [0x10019190]
add eax, 0x270
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009140
mov eax, dword [ebp - 0x13c]
lea ecx, [0x10020e78]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x138], eax
lea ecx, [0x10020e8c]
lea eax, [0x10019190]
add eax, 0x2a6
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10009240
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
lea ecx, [0x10020e8c]
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 0x10002512
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x1000241d
jmp 0x10002710
lea eax, [ebp - 0x109]
mov dword [ebp - 0x11c], eax
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x1000245a
jmp 0x10002710
jmp 0x1000245f
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x10002490
jmp 0x10002721
mov eax, dword [ebp - 0x11c]
movsx eax, byte [eax]
cmp eax, 0
setne al
mov byte [ebp - 0x13d], al
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x100024d6
jmp 0x10002721
mov al, byte [ebp - 0x13d]
test al, 1
jne 0x100024e9
jmp 0x1000250d
mov eax, dword [ebp - 0x11c]
movsx eax, byte [eax]
imul eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
jmp 0x1000245f
jmp 0x10002512
mov eax, 1
cmp eax, dword [ebp - 4]
jne 0x10002699
mov dword [ebp - 0x114], 0x105
mov eax, dword [0x10020080]
mov eax, dword [eax - 0x6b6ecb38]
mov dword [ebp - 0x144], eax
mov eax, dword [0x10020084]
mov eax, dword [eax - 0x6b6ecb38]
mov dword [ebp - 0x14c], eax
lea ecx, [0x10020eb8]
lea eax, [0x10019190]
add eax, 0x326
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100093d0
mov eax, dword [ebp - 0x14c]
lea ecx, [0x10020eb8]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x148], eax
lea ecx, [0x10020ea4]
lea eax, [0x10019190]
add eax, 0x2e2
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100092d0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x144]
lea ecx, [0x10020ea4]
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
je 0x10002694
lea eax, [ebp - 0x109]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
movsx eax, byte [eax]
cmp eax, 0
je 0x1000268f
mov eax, dword [ebp - 0x124]
movsx eax, byte [eax]
imul eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x1000264a
jmp 0x10002726
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x1000268a
jmp 0x10002726
jmp 0x100025f7
jmp 0x10002694
jmp 0x10002699
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x100026ca
jmp 0x1000273a
mov eax, dword [0x10021d88]
mov ecx, dword [0x10021d84]
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 0x100026fb
jmp 0x1000273a
jmp 0x10002700
jmp 0x10002705
mov eax, dword [ebp - 4]
add esp, 0x16c
pop ebp
ret
lea eax, [ebp - 0x109]
mov dword [ebp - 0x11c], eax
jmp 0x1000241d
jmp 0x10002490
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
jmp 0x1000264a
jmp 0x100026ca