Function at 0x4457e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0736
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 1
mov dword [ebp - 0x23c], eax
sub esp, 0x18
mov eax, dword [ecx + 0x50]
mov esi, esp
mov dword [ebp - 0x260], esp
sub esp, 0x18
mov dword [ebp - 0x238], eax
mov ecx, esp
mov dword [ebp - 0x264], esp
mov eax, dword [eax]
push edx
mov edi, dword [eax]
call fcn.00408100
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00424610
add esp, 0x18
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.00424ec0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x27c]
push eax
mov ecx, edi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x238]
call edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.0040bf40
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 1
sub esp, 0x18
mov dword [ebp - 0x240], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x244], esp
push dword [ebp - 0x23c]
call fcn.00408100
mov dword [ebp - 4], 6
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00424610
add esp, 0x18
mov dword [ebp - 4], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00424ec0
mov dword [ebp - 4], 9
xorps xmm0, xmm0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x248], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445940
sub eax, edx
lea ecx, [ebp - 0x25c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040bd30
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x25c]
push 1
sub esp, 0x18
mov dword [ebp - 0x244], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
push eax
call fcn.00408100
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.00424610
add esp, 0x18
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.00424ec0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x230]
call fcn.004237b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x294]
call fcn.0040bf40
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x248]
cmp ecx, 7
jbe 0x445a18
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445a0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445ab9
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
call fcn.00423ec0
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push dword [ebp + 0x10]
push eax
lea ecx, [esi + 8]
call fcn.004612f0
mov edi, dword [esi + 0x50]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
test al, al
je 0x445a8a
mov edi, dword [ebp - 0x234]
mov edi, dword [edi + 0x50]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040bf40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 0xc
call fcn.0048b78f
int3