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

Disassembly:
push 0xffffffffffffffff
push 0x7cb57e
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
push eax
mov dword [esp + 0x6c], ecx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov edi, 0x82faa4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x13]
mov ecx, ebx
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00404e60
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.00404eb0
mov dl, byte [0x9eba18]
mov dword [esp + 0x2cc], ebx
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00404e60
mov eax, dword [0x7e565c]
lea ecx, [esp + 0x14]
push eax
push ebx
push 0x9eba18
call fcn.00404c60
mov ecx, dword [0x9ea1d4]
mov byte [esp + 0x2cc], 1
push ebx
mov dl, byte [ecx + 0x4cc]
lea esi, [ecx + 0x4cc]
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00404e60
mov eax, dword [0x7e565c]
lea ecx, [esp + 0x34]
push eax
push ebx
push esi
call fcn.00404c60
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2cc], 2
mov edi, eax
lea esi, [eax - 1]
cmp esi, ebx
jl 0x5c7cf8
jmp 0x5c7c66
mov eax, dword [esp + 0x1c]
cmp eax, esi
jb 0x5c7c82
cmp dword [esp + 0x18], ebx
je 0x5c7c82
lea ecx, [esp + 0x14]
call fcn.0040b450
mov ecx, dword [esp + 0x18]
lea eax, [ecx + esi]
jmp 0x5c7c87
mov eax, 0x7e5658
movsx edx, byte [eax]
push edx
call fcn.007a3ff0
add esp, 4
test eax, eax
je 0x5c7c9c
dec esi
jns 0x5c7c62
jmp 0x5c7cf8
mov eax, dword [esp + 0x1c]
inc esi
cmp eax, esi
jae 0x5c7caa
call fcn.007a0437
lea ecx, [esp + 0x14]
call fcn.004050a0
mov eax, dword [esp + 0x1c]
sub eax, esi
cmp eax, edi
jae 0x5c7cbf
mov edi, eax
cmp edi, ebx
jbe 0x5c7cf8
mov ecx, dword [esp + 0x18]
sub eax, edi
add ecx, esi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call fcn.007a2e20
mov esi, dword [esp + 0x28]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x14]
push ebx
push esi
call fcn.00401b40
test al, al
je 0x5c7cf8
push esi
lea ecx, [esp + 0x18]
call fcn.00405070
lea edx, [esp + 0x54]
push 0x82faa0
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.0040b4d0
lea ecx, [esp + 0x20]
lea edx, [esp + 0xb8]
push ecx
push eax
push edx
mov byte [esp + 0x2e4], 3
call fcn.0040b600
push 0x82f2b8
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0x2ec], 4
push eax
call fcn.0040b4d0
lea ecx, [esp + 0x58]
lea edx, [esp + 0xac]
push ecx
push eax
push edx
mov byte [esp + 0x2fc], 5
call fcn.0040b600
push 0x82f2b0
push eax
lea eax, [esp + 0x7c]
mov byte [esp + 0x304], 6
push eax
call fcn.0040b4d0
add esp, 0x3c
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2d0], 0xb
call fcn.00404e60
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d0], 0xa
call fcn.00404e60
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x2d0], 9
call fcn.00404e60
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2d0], 8
call fcn.00404e60
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x5c7ddd
mov eax, 0x7e5658
push 0x82faac
push eax
call fcn.007a3a24
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x5c7e45
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x2d0], 2
call fcn.00404e60
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d0], 1
call fcn.00404e60
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2d0], 0
call fcn.00404e60
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x2d0], 0xffffffff
call fcn.00404e60
jmp 0x5c823e
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call fcn.00404e60
push ebp
lea edx, [esp + 0xc0]
push 0x104
push edx
mov byte [esp + 0x2d8], 0xc
call fcn.007a44d0
add esp, 0xc
cmp eax, ebx
je 0x5c7edc
lea eax, [esp + 0xbc]
push eax
call fcn.007a3fb7
add esp, 4
cmp eax, ebx
jl 0x5c8148
push ebp
lea ecx, [esp + 0xc0]
push 0x104
push ecx
call fcn.007a44d0
add esp, 0xc
cmp eax, ebx
je 0x5c7edc
lea edx, [esp + 0xbc]
push edx
call fcn.007a3fb7
mov ecx, dword [esp + 0x6c]
push ebp
lea edx, [esp + 0xc4]
push 0x104
push edx
mov dword [ecx + 0x274], eax
call fcn.007a44d0
add esp, 0x10
cmp eax, ebx
jne 0x5c7efd
push ebp
call fcn.007a3949
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x2cc], 8
push 1
call fcn.00404e60
jmp 0x5c7df1
lea eax, [esp + 0xbc]
push eax
call fcn.007a3fb7
add esp, 4
cmp eax, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ebx
jle 0x5c8148
jmp 0x5c7f21
xor ebx, ebx
push ebp
lea ecx, [esp + 0xc0]
push 0x104
push ecx
call fcn.007a44d0
add esp, 0xc
cmp eax, ebx
je 0x5c7edc
lea edx, [esp + 0xbc]
push edx
call fcn.007a3fb7
mov dword [esp + 0x78], eax
push ebp
lea eax, [esp + 0xc4]
push 0x104
push eax
call fcn.007a44d0
add esp, 0x10
cmp eax, ebx
je 0x5c7edc
lea ecx, [esp + 0xbc]
push ecx
call fcn.007a3fb7
push ebp
lea edx, [esp + 0xc4]
push 0x104
push edx
mov dword [esp + 0x80], eax
call fcn.007a44d0
add esp, 0x10
cmp eax, ebx
je 0x5c7edc
lea eax, [esp + 0xbc]
push eax
call fcn.007a3fb7
push ebp
lea ecx, [esp + 0xc4]
push 0x104
push ecx
mov dword [esp + 0x88], eax
call fcn.007a44d0
add esp, 0x10
cmp eax, ebx
je 0x5c7edc
lea edx, [esp + 0xbc]
push edx
call fcn.007a3fb7
mov dword [esp + 0x80], eax
push ebp
lea eax, [esp + 0xc4]
push 0x104
push eax
call fcn.007a44d0
add esp, 0x10
cmp eax, ebx
je 0x5c7edc
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 + 0x28]
push ebx
call fcn.00401b40
test al, al
je 0x5c8048
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xbc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00405070
mov edi, 0x82fa94
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
push ecx
push 0x82fa94
push eax
push 0
lea ecx, [esp + 0x34]
call fcn.0040b7c0
test eax, eax
jne 0x5c80b5
mov edi, 0x870c08
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call fcn.00401b40
test al, al
je 0x5c80b5
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
mov esi, 0x870c08
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 + 0x28]
mov dword [esp + 0x2c], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
push ecx
lea eax, [esp + 0x8c]
push edx
push eax
mov ecx, edi
call fcn.005c82b0
mov cl, byte [esp + 0x24]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0xa8], esp
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00404e60
mov edx, dword [0x7e565c]
lea eax, [esp + 0x34]
push edx
push 0
push eax
mov ecx, esi
call fcn.00404c60
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
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.005c53e0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x5c7f1f
xor ebx, ebx
push ebp
call fcn.007a3949
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x2cc], 8
push 1
call fcn.00404e60
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2cc], 2
cmp eax, ebx
je 0x5c8191
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8188
cmp al, 0xff
je 0x5c8188
dec al
mov byte [ecx], al
jmp 0x5c8191
push ecx
call fcn.007a02e0
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
cmp eax, ebx
mov byte [esp + 0x2cc], 1
je 0x5c81ca
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c81c1
cmp al, 0xff
je 0x5c81c1
dec al
mov byte [ecx], al
jmp 0x5c81ca
push ecx
call fcn.007a02e0
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
cmp eax, ebx
mov byte [esp + 0x2cc], 0
je 0x5c8203
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c81fa
cmp al, 0xff
je 0x5c81fa
dec al
mov byte [ecx], al
jmp 0x5c8203
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x2cc], 0xffffffff
je 0x5c823e
mov al, byte [ecx - 1]
test al, al
je 0x5c8234
cmp al, 0xff
je 0x5c8234
dec al
mov byte [ecx - 1], al
jmp 0x5c823e
dec ecx
push ecx
call fcn.007a02e0
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