Function at 0x514fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x611a88
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, ecx
mov bl, byte [esp + 0x6c]
mov esi, dword [esp + 0x74]
test bl, 1
je 0x5150b7
push esi
lea eax, [esp + 0x18]
push eax
call fcn.00513f50
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x6c], 0
call fcn.00510d80
add esp, 8
mov eax, dword [esp + 0x74]
mov eax, dword [eax - 8]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x64], 1
cmp eax, dword [ecx - 8]
jne 0x515066
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x78]
call fcn.00500ba0
test eax, eax
je 0x515074
push 0
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.00514920
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 0
cmp eax, 0xffffffff
je 0x515094
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x515094
call fcn.004fff70
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x64], 0xffffffff
cmp eax, 0xffffffff
je 0x5150b7
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5150b7
call fcn.004fff70
lea eax, [ebp + 4]
push eax
lea ecx, [esp + 0x20]
call fcn.005025f0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], 2
call fcn.00512d00
push esi
mov byte [esp + 0x68], 3
call fcn.00512710
add esp, 4
mov esi, eax
mov dword [esp + 0x74], esi
test bl, 0x10
je 0x51514f
push esi
mov ecx, ebp
call fcn.00513b60
test al, al
jne 0x51514f
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
jne 0x515143
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
call fcn.00512d80
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 4
call fcn.00514cb0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x51514f
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x51514f
call fcn.004fff70
jmp 0x51514f
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.00514c10
cmp esi, 1
jne 0x515243
test bl, 4
je 0x515243
cmp dword [esp + 0x20], 0
je 0x515243
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp dword [eax - 8], 0
jne 0x515183
mov eax, dword [0x6e2428]
mov dword [esp + 0x70], eax
jmp 0x515197
mov dword [esp + 0x70], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x515197
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x70]
cmp dword [eax - 8], 0
mov byte [esp + 0x64], 5
je 0x515228
lea ecx, [esp + 0x70]
call fcn.00500400
mov eax, dword [esp + 0x70]
cmp word [eax], 0x7e
jne 0x515228
add eax, 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00401327
lea ecx, [esp + 0x18]
mov bl, 6
push ecx
mov byte [esp + 0x68], bl
call fcn.0051c940
add esp, 4
push eax
lea ecx, [esp + 0x18]
call fcn.00401327
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 7
call fcn.00514c10
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.00401017
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 5
call fcn.00401017
push 1
push 0
lea ecx, [esp + 0x24]
mov byte [ebp + 0x1c], 1
call fcn.00500f20
mov eax, dword [esp + 0x70]
lea ecx, [eax - 0xc]
mov eax, dword [ecx]
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x515243
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x515243
call fcn.004fff70
cmp dword [esp + 0x44], 0
jne 0x515270
mov eax, dword [esp + 0x50]
cmp dword [eax - 8], 0
jne 0x515270
cmp byte [esp + 0x58], 0
je 0x515270
mov ecx, dword [esp + 0x54]
cmp dword [ecx - 8], 0
jne 0x515270
cmp byte [esp + 0x59], 0
je 0x515331
mov edx, dword [ebp]
cmp dword [edx - 8], 0
jne 0x5152cd
mov eax, dword [esp + 0x3c]
cmp dword [eax - 8], 0
je 0x5152cd
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x40]
call fcn.00512d80
push eax
mov ecx, ebp
mov byte [esp + 0x68], 8
call fcn.00500980
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x5152be
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5152be
call fcn.004fff70
cmp byte [ebp + 0x1c], 0
jne 0x5152cd
lea ecx, [esp + 0x3c]
call fcn.00512770
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
call fcn.005025f0
mov edi, dword [esp + 0x30]
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 9
call fcn.005002a0
xor esi, esi
test edi, edi
jbe 0x51530d
mov eax, dword [esp + 0x34]
push 1
lea ecx, [eax + esi*4]
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.00500ea0
inc esi
cmp esi, edi
jb 0x5152f4
mov edx, dword [esp + 0x74]
push edx
lea ecx, [esp + 0x40]
call fcn.00513b60
test al, al
je 0x515323
mov byte [ebp + 0x1c], 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 3
call fcn.00500e70
lea ecx, [ebp + 4]
call fcn.00500e20
mov eax, dword [esp + 0x20]
xor esi, esi
mov ebx, eax
test eax, eax
jbe 0x5153f7
mov edi, dword [esp + 0x6c]
and edi, 2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*4]
cmp dword [eax - 8], 0
jne 0x515369
mov ecx, dword [0x6e2428]
mov dword [esp + 0x70], ecx
jmp 0x515379
mov dword [esp + 0x70], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x515379
inc ecx
mov dword [eax - 0xc], ecx
mov byte [esp + 0x64], 0xa
test edi, edi
je 0x5153bf
push 0x68a084
lea ecx, [esp + 0x74]
call fcn.00500bb0
test eax, eax
je 0x5153ce
push 0x68a07c
lea ecx, [esp + 0x74]
call fcn.00500bb0
test eax, eax
jne 0x5153bf
mov eax, dword [ebp + 8]
test eax, eax
je 0x51555a
push 1
dec eax
push eax
lea ecx, [ebp + 4]
call fcn.00500f20
jmp 0x5153ce
push 1
lea edx, [esp + 0x74]
push edx
lea ecx, [ebp + 4]
call fcn.005013a0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x5153ee
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5153ee
call fcn.004fff70
inc esi
cmp esi, ebx
jb 0x515350
test byte [esp + 0x6c], 0x40
je 0x515492
mov ecx, dword [0x6e2428]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x74]
push edx
lea eax, [esp + 0x1c]
mov bl, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x6c], bl
call fcn.00513f50
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebp
mov byte [esp + 0x70], 0xd
call fcn.00512900
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov byte [esp + 0x70], al
mov eax, dword [ecx]
mov byte [esp + 0x64], bl
cmp eax, 0xffffffff
je 0x515459
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x515459
call fcn.004fff70
cmp byte [esp + 0x70], 0
je 0x515472
push 0
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov byte [ebp + 0x1c], 0
call fcn.00514920
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x515492
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x515492
call fcn.004fff70
mov bl, byte [esp + 0x6c]
test bl, 0x20
je 0x5154dd
cmp dword [esp + 0x74], 3
jne 0x5154dd
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.00514000
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x6c], 0xe
call fcn.00514920
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x5154dd
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5154dd
call fcn.004fff70
test bl, 8
je 0x515523
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00512c50
add esp, 4
test al, al
jne 0x515523
mov ecx, ebp
call fcn.00500d00
lea ecx, [ebp + 0x14]
call fcn.00500d00
lea ecx, [ebp + 0x18]
call fcn.00500d00
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jbe 0x515523
mov edx, dword [ebp + 0xc]
lea ecx, [edx + esi*4]
call fcn.00500d00
inc esi
cmp esi, edi
jb 0x515513
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.005051e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00500e70
mov al, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0xc
push 0
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.00513f50
mov esi, dword [eax]
mov byte [esp + 0x64], 0xb
call fcn.0050aa80
test eax, eax
je 0x51558a
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.The_path__s_contains_too_many__..__
call eax
jmp 0x51558f
mov eax, str.The_path__s_contains_too_many__..__
push esi
push eax
call fcn.0050fb80
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
add esp, 8
mov byte [esp + 0x64], 0xa
cmp eax, 0xffffffff
je 0x5155b9
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5155b9
call fcn.004fff70
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x64], 3
cmp eax, 0xffffffff
je 0x5155d9
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5155d9
call fcn.004fff70
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call fcn.005051e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00500e70
xor al, al
jmp 0x515544