Function at 0x1002ee79
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov dword [ebp - 8], 0x9bdba76a
mov dword [ebp - 0x18], 0
jmp 0x1002ee99
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002eeaf
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x90], 1
jmp 0x1002ee92
mov dword [ebp - 8], 0
jmp 0x1002eebf
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jg 0x1002ef9d
mov dword [ebp - 0x2c], 0
jmp 0x1002eed9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002eeef
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0xd0], 0x246c3825
jmp 0x1002eed2
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x90]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x90]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x90], 0
jle 0x1002ef25
mov dword [ebp - 0x68], 1
jmp 0x1002ef29
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x68]
cmp eax, 0xfa20bd03
ja 0x1002ef3f
mov dword [ebp - 0x3c], 1
jmp 0x1002ef43
and dword [ebp - 0x3c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x3c], eax
jle 0x1002ef5e
mov dword [ebp - 0x78], 1
jmp 0x1002ef62
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xffffffff
je 0x1002ef71
mov dword [ebp - 0x44], 1
jmp 0x1002ef75
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 1
ja 0x1002ef84
mov dword [ebp - 0x80], 1
jmp 0x1002ef88
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0xd0], ecx
jmp 0x1002eeb8
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002efeb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x1002f30a
mov dword [ebp - 0x98], 0xfffd
mov dword [ebp - 0x4c], 0x8a87013d
mov dword [ebp - 0x9c], 0xfffffffc
mov dword [ebp - 0xb8], 0x3ff82ff4
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x88], 3
mov dword [ebp - 0x24], 0
jmp 0x1002f034
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002f04a
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xdc], 4
jmp 0x1002f02d
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0x8afc1da7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x1002f08e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002f0a1
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xc], 1
jmp 0x1002f087
cmp dword [ebp - 0x14], 5
jbe 0x1002f0b0
mov dword [ebp - 0x74], 1
jmp 0x1002f0b4
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x14], eax
jge 0x1002f0d2
mov dword [ebp - 0x58], 1
jmp 0x1002f0d6
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xffffffff
jle 0x1002f0e5
mov dword [ebp - 0x70], 1
jmp 0x1002f0e9
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
add eax, 8
je 0x1002f0fe
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
jne 0x1002f10d
mov eax, 0x75405732
test eax, eax
jne 0x1002f10d
and dword [ebp - 0x60], 0
jmp 0x1002f114
mov dword [ebp - 0x60], 1
cmp dword [ebp - 0x60], 0x51d6
jg 0x1002f129
mov dword [ebp - 0x84], 1
jmp 0x1002f130
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xffffffff
je 0x1002f142
mov dword [ebp - 0x34], 1
jmp 0x1002f146
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
jmp 0x1002f15c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x1002f275
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0xc], ecx
cmp dword [ebp - 0x7c], 0
je 0x1002f251
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
jne 0x1002f1a1
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc], 0
jne 0x1002f1a1
and dword [ebp - 0x50], 0
jmp 0x1002f1a8
mov dword [ebp - 0x50], 1
imul eax, dword [ebp - 0x50], 0xf3e1
cmp eax, 0xfffffff6
jle 0x1002f1c0
mov dword [ebp - 0xa4], 1
jmp 0x1002f1c7
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
add eax, dword [ebp - 0x20]
je 0x1002f1f5
mov eax, 0xf1bd53d2
test eax, eax
je 0x1002f1f5
mov dword [ebp - 0x54], 1
jmp 0x1002f1f9
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
inc eax
cmp eax, dword [ebp - 0x14]
jle 0x1002f20b
mov dword [ebp - 0x5c], 1
jmp 0x1002f20f
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xc]
cmp eax, dword [ebp - 0x5c]
jne 0x1002f224
mov dword [ebp - 0x64], 1
jmp 0x1002f228
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x9248
je 0x1002f23a
mov dword [ebp - 0x6c], 1
jmp 0x1002f23e
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
sub eax, 0x1aa5bbe7
je 0x1002f251
mov dword [ebp - 0x38], 1
jmp 0x1002f255
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x38], eax
jge 0x1002f266
mov dword [ebp - 0x40], 1
jmp 0x1002f26a
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
jmp 0x1002f155
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002f30a
mov dword [ebp - 0xb4], 9
mov dword [ebp - 0x28], 0
jmp 0x1002f29f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1002f2b2
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x30], 0xf6af1124
jmp 0x1002f298
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x30], 0
jmp 0x1002f2d7
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x30], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 6
jl 0x1002f2fd
mov dword [ebp - 0x48], 0x19c5
cmp dword [ebp - 0x48], 0
je 0x1002f2f3
jmp 0x1002f2fd
cmp dword [ebp - 0x48], 0
je 0x1002f2fb
jmp 0x1002f2c2
jmp 0x1002f2c2
push 0x8c4
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esp, ebp
pop ebp
ret