Function at 0x1002c190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002c1d0
push 0x2426
push 1
call fcn.1002c3bc
pop ecx
pop ecx
jmp 0x1002c3ab
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1002c267
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
push 0
push dword [ebp - 0x7c]
push 0
push 0x75d
mov eax, dword [ebp - 0x44]
push dword [eax]
mov eax, dword [ebp - 0x6c]
push dword [eax]
push 0x35f7
push 1
call fcn.1002c071
add esp, 0x20
jmp 0x1002c3ab
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], 0x2f16
mov dword [ebp - 0x24], 0x10009e60
cmp dword [ebp - 0x1c], 0x2f4a
jle 0x1002c317
and dword [ebp - 0x18], 0
jmp 0x1002c29e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x213b
jge 0x1002c30a
and dword [ebp - 0x14], 0
jmp 0x1002c2b4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3cbe
jge 0x1002c308
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xa8]
call fcn.1000d910
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.10031260
push eax
call fcn.10050146
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10031256
jmp 0x1002c2ad
jmp 0x1002c297
push 0x123
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x2b6d
jge 0x1002c333
push dword [ebp - 0x24]
call fcn.10050146
pop ecx
jmp 0x1002c34f
or dword [ebp - 4], 0xffffffff
jmp 0x1002c359
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
push dword [eax]
push 1
push 0x17de
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
push dword [eax]
mov eax, dword [ebp - 0x78]
push dword [eax]
push 1
mov eax, dword [ebp - 0x80]
push dword [eax]
call fcn.1000ef5b
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret