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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f87ca
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x254]
lea edx, [0x75c420]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xb
call fcn.0040e780
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x786e20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044b030
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
xor ebp, ebp
xor esi, esi
jmp 0x5f84b7
mov edi, dword [esp + 0x34]
lea ebp, [edi + 1]
lea edi, [edx + ecx + 2]
lea esi, [edx + ebx + 2]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov ebx, edi
cmp ebp, edx
jge 0x5f8775
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], esi
lea edi, [ebx + 1]
cmp dword [ecx + 0x2ac], edi
jae 0x5f84fd
mov dword [esp + 0x40], edi
mov esi, dword [0xa846b0]
mov edi, dword [0xa846b4]
cmp ebp, edx
mov dword [esp + 0x38], esi
mov ebp, 0
mov dword [esp + 0x58], edi
mov esi, ebx
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
jmp 0x5f854c
mov esi, dword [ecx + 0x290]
mov ebp, dword [ecx + 0x288]
cmp esi, edi
jb 0x5f87c0
cmp ebx, edi
ja 0x5f87b7
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
movzx ebp, byte [esi + ebp]
mov esi, ebx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
mov dword [esp + 0x50], eax
mov eax, 0
mov dword [esp + 0x38], eax
mov eax, 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
jae 0x5f87ae
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x3c], ebx
lea ebx, [eax + ebx*4]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x5f874e
mov dword [esp + 0x40], esi
lea ebx, [esi + 2]
cmp dword [ecx + 0x2ac], ebx
jae 0x5f8597
mov ebp, dword [0xa846b0]
mov edi, dword [0xa846b4]
mov dword [esp + 0x48], eax
xor eax, eax
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x48]
jmp 0x5f85d7
mov ebp, dword [ecx + 0x290]
mov esi, dword [ecx + 0x288]
cmp ebp, ebx
jb 0x5f87a5
cmp ebx, edi
jb 0x5f879c
mov edx, dword [esp + 0x40]
sub ebp, edx
lea edx, [ebp - 1]
neg edx
sar edx, 0x1f
and edi, edx
movzx edx, byte [edi + esi]
mov esi, dword [esp + 0x40]
xor ebp, ebp
mov byte [esp + 0x2b], dl
xor edi, edi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x3c]
lea edi, [eax + esi*4 + 1]
movzx edx, byte [esp + 0x2b]
mov byte [edi], dl
test ebp, ebp
jne 0x5f8722
movzx edx, byte [0xa7bdc0]
mov ebp, dword [0xa7bdc4]
mov edi, dword [0xa7bdc8]
mov eax, dword [0xa7bdcc]
mov dword [esp], ecx
mov byte [esp + 4], dl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x5c]
lea edx, [eax + esi*4 + 4]
mov dword [esp + 0x18], edx
call fcn.005f66f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x5f86f4
mov dword [esp + 0x30], eax
movzx ecx, byte [0xa7bd60]
mov edx, dword [0xa7bd64]
mov ebx, dword [0xa7bd68]
mov ebp, dword [0xa7bd6c]
mov esi, dword [esp + 0x64]
mov dword [esp], esi
mov byte [esp + 4], cl
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
lea edx, [ebx + edx*4 + 8]
mov dword [esp + 0x18], edx
call fcn.005f66f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add ecx, eax
mov edx, dword [esp + 0x2c]
lea ebx, [edx + eax]
lea eax, [edx + eax + 2]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
je 0x5f849a
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
add esp, 0x60
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
add eax, 2
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov eax, edi
mov ecx, ebx
call fcn.004644a0
mov ecx, ebx
mov edx, ebp
call fcn.00464480
mov eax, ebx
mov ecx, edx
call fcn.00464430
mov eax, ebx
mov ecx, edi
call fcn.004644a0
mov ecx, edi
mov edx, esi
call fcn.00464480
nop
call fcn.00462fa0
jmp fcn.005f8420