Function at 0x5a5250
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x74ff7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
push ebx
push ebp
push esi
lea eax, [esp + 0x1bc]
push edi
mov ebx, ecx
push eax
push 0x104
mov dword [esp + 0x74], ebx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov edi, 0x7a7e08
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x17]
mov ecx, ebp
and ecx, 3
mov byte [esp + 0x58], al
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00404760
lea edi, [esp + 0x1c0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c4]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004047b0
mov dl, byte [0x93cbb8]
mov dword [esp + 0x2cc], 0
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00404760
mov eax, dword [0x76560c]
lea ecx, [esp + 0x24]
push eax
push 0
push 0x93cbb8
call fcn.00404560
mov ecx, dword [0x93c98c]
mov byte [esp + 0x2cc], 1
push 0
mov dl, byte [ecx + 0x478]
lea esi, [ecx + 0x478]
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00404760
mov eax, dword [0x76560c]
lea ecx, [esp + 0x34]
push eax
push 0
push esi
call fcn.00404560
lea ecx, [esp + 0x54]
push 0x7a7e04
lea edx, [esp + 0xa0]
push ecx
push edx
mov byte [esp + 0x2d8], 2
call fcn.0040aca0
lea ecx, [esp + 0x30]
lea edx, [esp + 0xb8]
push ecx
push eax
push edx
mov byte [esp + 0x2e4], 3
call fcn.0040add0
push 0x7a77bc
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0x2ec], 4
push eax
call fcn.0040aca0
lea ecx, [esp + 0x58]
lea edx, [esp + 0xac]
push ecx
push eax
push edx
mov byte [esp + 0x2fc], 5
call fcn.0040add0
push 0x7a77b4
push eax
lea eax, [esp + 0x7c]
mov byte [esp + 0x304], 6
push eax
call fcn.0040aca0
add esp, 0x3c
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2d0], 0xb
call fcn.00404760
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d0], 0xa
call fcn.00404760
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x2d0], 9
call fcn.00404760
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2d0], 8
call fcn.00404760
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x5a544d
mov eax, 0x765608
push 0x7a7e10
push eax
call fcn.00727c04
mov ebp, eax
xor esi, esi
add esp, 8
cmp ebp, esi
jne 0x5a54b7
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x2d0], 2
call fcn.00404760
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d0], 1
call fcn.00404760
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2d0], 0
call fcn.00404760
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x2d0], 0xffffffff
call fcn.00404760
jmp 0x5a58a9
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00404760
push ebp
lea edx, [esp + 0xc0]
push 0x104
push edx
mov byte [esp + 0x2d8], 0xc
call fcn.00728640
add esp, 0xc
cmp eax, esi
je 0x5a554a
lea eax, [esp + 0xbc]
push eax
call fcn.00728197
add esp, 4
cmp eax, esi
jl 0x5a57b7
push ebp
lea ecx, [esp + 0xc0]
push 0x104
push ecx
call fcn.00728640
add esp, 0xc
cmp eax, esi
je 0x5a554a
lea edx, [esp + 0xbc]
push edx
call fcn.00728197
mov dword [ebx + 0x264], eax
push ebp
lea eax, [esp + 0xc4]
push 0x104
push eax
call fcn.00728640
add esp, 0x10
cmp eax, esi
jne 0x5a556b
push ebp
call fcn.00727b29
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 8
push 1
call fcn.00404760
jmp 0x5a5463
lea ecx, [esp + 0xbc]
push ecx
call fcn.00728197
add esp, 4
cmp eax, esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
jle 0x5a57b7
jmp 0x5a558f
xor esi, esi
push ebp
lea edx, [esp + 0xc0]
push 0x104
push edx
call fcn.00728640
add esp, 0xc
cmp eax, esi
je 0x5a554a
lea eax, [esp + 0xbc]
push eax
call fcn.00728197
push ebp
lea ecx, [esp + 0xc4]
push 0x104
push ecx
mov dword [esp + 0x80], eax
call fcn.00728640
add esp, 0x10
cmp eax, esi
je 0x5a554a
lea edx, [esp + 0xbc]
push edx
call fcn.00728197
mov dword [esp + 0x78], eax
push ebp
lea eax, [esp + 0xc4]
push 0x104
push eax
call fcn.00728640
add esp, 0x10
cmp eax, esi
je 0x5a554a
lea ecx, [esp + 0xbc]
push ecx
call fcn.00728197
push ebp
lea edx, [esp + 0xc4]
push 0x104
push edx
mov dword [esp + 0x88], eax
call fcn.00728640
add esp, 0x10
cmp eax, esi
je 0x5a554a
lea eax, [esp + 0xbc]
push eax
call fcn.00728197
push ebp
lea ecx, [esp + 0xc4]
push 0x104
push ecx
mov dword [esp + 0x8c], eax
call fcn.00728640
add esp, 0x10
cmp eax, esi
je 0x5a554a
lea edi, [esp + 0xbc]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call fcn.00401450
test al, al
je 0x5a56b8
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xbc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov byte [eax + ebx], 0
mov edi, 0x7a7df8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x20]
push 0x7a7df8
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0040af30
test eax, eax
jne 0x5a5724
mov edi, 0x7c4d88
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call fcn.00401450
test al, al
je 0x5a5724
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
push ecx
lea eax, [esp + 0x8c]
push edx
push eax
mov ecx, edi
call fcn.005a5920
mov cl, byte [esp + 0x14]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0xa8], esp
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00404760
mov edx, dword [0x76560c]
lea eax, [esp + 0x24]
push edx
push 0
push eax
mov ecx, esi
call fcn.00404560
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x2ec], 0xc
call fcn.005a2b90
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x5a558d
xor esi, esi
push ebp
call fcn.00727b29
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 8
push 1
call fcn.00404760
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2cc], 2
cmp eax, esi
je 0x5a5800
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5a57f7
cmp al, 0xff
je 0x5a57f7
dec al
mov byte [ecx], al
jmp 0x5a5800
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp ecx, esi
mov byte [esp + 0x2cc], 1
je 0x5a5837
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x5a582e
cmp al, 0xff
je 0x5a582e
dec al
mov byte [ecx], al
jmp 0x5a5837
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp ecx, esi
mov byte [esp + 0x2cc], 0
je 0x5a586e
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x5a5865
cmp al, 0xff
je 0x5a5865
dec al
mov byte [ecx], al
jmp 0x5a586e
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
cmp ecx, esi
mov dword [esp + 0x2cc], 0xffffffff
je 0x5a58a9
mov al, byte [ecx - 1]
test al, al
je 0x5a589f
cmp al, 0xff
je 0x5a589f
dec al
mov byte [ecx - 1], al
jmp 0x5a58a9
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x2c4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c0
ret