Function at 0x10044f3d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005efd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10044fad
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push 0x2b7b
push dword [ebp - 0x60]
push dword [ebp - 0x30]
push dword [ebp - 0x88]
push 0x4870
push 1
call fcn.10045184
add esp, 0x1c
jmp 0x10045173
lea eax, [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1004512b
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x20], 0x69da
mov dword [ebp - 0x24], 0x1000be20
cmp dword [ebp - 0x20], 0x6b49
jle 0x100450c9
and dword [ebp - 0x1c], 0
jmp 0x1004502e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6cef
jge 0x100450bc
and dword [ebp - 0x14], 0
jmp 0x10045048
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4400
jge 0x100450b7
and dword [ebp - 0x18], 0
jmp 0x1004505e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4fb4
jge 0x100450b5
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0xac]
call fcn.1000d3ae
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.10011b30
push eax
call fcn.100489bf
pop ecx
lea ecx, [ebp - 0xac]
call fcn.10011b26
jmp 0x10045057
jmp 0x10045041
jmp 0x10045027
push 0xf24
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x66d0
jge 0x100450e8
push dword [ebp - 0x24]
call fcn.100489bf
pop ecx
jmp 0x10045104
or dword [ebp - 4], 0xffffffff
jmp 0x1004510e
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.100457b3
mov ecx, dword [ebp - 0x34]
mov cl, byte [ecx]
mov byte [eax], cl
jmp 0x10045173
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.10045750
mov ecx, eax
call fcn.100456aa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret