Function at 0x1002c22b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002c27a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push dword [ebp - 0x50]
push 0x67f7
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.1002c9f6
add esp, 0x1c
jmp 0x1002c42b
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1002c29c
push 0xf96
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1002c42b
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 4], 3
mov dword [ebp - 0x60], 0x9744
mov dword [ebp - 0x64], 0x65f5c9b8
mov dword [ebp - 8], 0
jmp 0x1002c2cf
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1002c2e2
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x74], 0x764c
jmp 0x1002c2c8
cmp dword [ebp - 0xc], 0
je 0x1002c391
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xc], eax
jne 0x1002c2fd
mov dword [ebp - 0x10], 1
jmp 0x1002c301
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jle 0x1002c312
mov dword [ebp - 0x14], 1
jmp 0x1002c316
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x14], eax
jne 0x1002c327
mov dword [ebp - 0x18], 1
jmp 0x1002c32b
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xb30498d2
jb 0x1002c33d
mov dword [ebp - 0x1c], 1
jmp 0x1002c341
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x50f6
jle 0x1002c35c
mov eax, 0xd8ff
test eax, eax
je 0x1002c35c
mov dword [ebp - 0x20], 1
jmp 0x1002c360
and dword [ebp - 0x20], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x20], eax
jne 0x1002c377
mov dword [ebp - 0x24], 1
jmp 0x1002c37b
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
sub eax, 9
imul eax, eax, 7
test eax, eax
je 0x1002c391
mov dword [ebp - 0x28], 1
jmp 0x1002c395
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 4]
jle 0x1002c3a9
mov dword [ebp - 0x2c], 1
jmp 0x1002c3ad
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x2c], eax
jg 0x1002c3be
mov dword [ebp - 0x34], 1
jmp 0x1002c3c2
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x34], eax
jle 0x1002c3d3
mov dword [ebp - 0x38], 1
jmp 0x1002c3d7
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xc]
neg eax
add eax, dword [ebp - 0x38]
jne 0x1002c3ed
cmp dword [ebp - 4], 0
jne 0x1002c3ed
and dword [ebp - 0x3c], 0
jmp 0x1002c3f4
mov dword [ebp - 0x3c], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x3c], eax
jne 0x1002c40b
mov dword [ebp - 0x40], 1
jmp 0x1002c40f
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jne 0x1002c420
mov dword [ebp - 0x44], 1
jmp 0x1002c424
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x64], eax
mov esp, ebp
pop ebp
ret