Function at 0x4a38f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52064c
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x55b598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3fc
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4a3948
cmp eax, 0x800
jae 0x4a3bde
mov byte [ebp + eax - 0x810], 0
jmp 0x4a397e
lea eax, [ebp - 0x870]
push eax
call fcn.00497490
add esp, 4
mov ecx, eax
call fcn.00403930
lea edx, [ebp - 0x810]
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x4a3966
lea ecx, [ebp - 0x870]
call fcn.00401c10
lea eax, [ebp - 0x870]
push eax
call fcn.00497b50
add esp, 4
mov ecx, eax
call fcn.00403930
mov edx, eax
mov esi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4a3998
lea edi, [ebp - 0x810]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a39a8
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x870]
call fcn.00401c10
lea eax, [ebp - 0x810]
push 0x52af48
push eax
call fcn.004f6dca
mov esi, eax
add esp, 8
test esi, esi
je 0x4a3b8c
lea ecx, [ebp - 0x828]
call fcn.00401aa0
push 0x800
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.00448550
push esi
call fcn.004f8122
add esp, 4
test eax, eax
jne 0x4a3a3d
push esi
call fcn.004fd385
add esp, 4
cmp eax, 0xffffffff
je 0x4a3a3d
push eax
lea ecx, [ebp - 0x828]
call fcn.00423ff0
push esi
call fcn.004f8122
add esp, 4
test eax, eax
je 0x4a3a16
push esi
call fcn.004f6ce3
lea eax, [ebp - 0x858]
push eax
call fcn.00499640
add esp, 8
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 1
call fcn.00403930
push eax
lea ecx, [ebp - 0x89c]
call fcn.00455720
lea ecx, [ebp - 0x89c]
mov byte [ebp - 4], 2
xor esi, esi
call fcn.00442de0
test eax, eax
je 0x4a3b6b
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x89c]
call fcn.00445680
mov ecx, eax
call fcn.00403ad0
test eax, eax
je 0x4a3b57
push 0
push esi
lea ecx, [ebp - 0x89c]
call fcn.00445680
mov ecx, eax
call fcn.0040d630
cmp byte [eax], 0x23
je 0x4a3b57
sub esp, 0x18
mov ecx, esp
push 0x52a420
call fcn.00401a60
push 0
push esi
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x89c]
call fcn.00455a10
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0x52a420
call fcn.00401a60
push 1
push esi
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x89c]
call fcn.00455a10
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x858]
mov ecx, esp
push eax
call fcn.00401a10
lea eax, [ebp - 0x840]
push eax
call fcn.00455260
add esp, 0x1c
lea ecx, [ebp - 0x840]
test al, al
jne 0x4a3ba9
call fcn.00401c10
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 2
call fcn.00401c10
lea ecx, [ebp - 0x89c]
inc esi
call fcn.00442de0
cmp esi, eax
jb 0x4a3a90
lea ecx, [ebp - 0x89c]
call fcn.004557a0
lea ecx, [ebp - 0x858]
call fcn.00401c10
lea ecx, [ebp - 0x828]
call fcn.00401c10
xor al, al
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.004ee2fb
mov esp, ebp
pop ebp
ret
call fcn.00401c10
lea ecx, [ebp - 0x888]
call fcn.00401c10
lea ecx, [ebp - 0x89c]
call fcn.004557a0
lea ecx, [ebp - 0x858]
call fcn.00401c10
lea ecx, [ebp - 0x828]
call fcn.00401c10
mov al, 1
jmp 0x4a3b8e
call fcn.004eedea
int3