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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a5eea
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x254]
lea edx, [0x60e480]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xb
call fcn.0040de30
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x624040]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00447cc0
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 0x5a5bd7
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 0x5a5e95
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], esi
lea edi, [ebx + 1]
cmp dword [ecx + 0x2ac], edi
jae 0x5a5c1d
mov dword [esp + 0x40], edi
mov esi, dword [0x8256f8]
mov edi, dword [0x8256fc]
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 0x5a5c6c
mov esi, dword [ecx + 0x290]
mov ebp, dword [ecx + 0x288]
cmp esi, edi
jb 0x5a5ee0
cmp ebx, edi
ja 0x5a5ed7
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 0x5a5ece
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 0x5a5e6e
mov dword [esp + 0x40], esi
lea ebx, [esi + 2]
cmp dword [ecx + 0x2ac], ebx
jae 0x5a5cb7
mov ebp, dword [0x8256f8]
mov edi, dword [0x8256fc]
mov dword [esp + 0x48], eax
xor eax, eax
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x48]
jmp 0x5a5cf7
mov ebp, dword [ecx + 0x290]
mov esi, dword [ecx + 0x288]
cmp ebp, ebx
jb 0x5a5ec5
cmp ebx, edi
jb 0x5a5ebc
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 0x5a5e42
movzx edx, byte [0x820380]
mov ebp, dword [0x820384]
mov edi, dword [0x820388]
mov eax, dword [0x82038c]
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.005a3e10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x5a5e14
mov dword [esp + 0x30], eax
movzx ecx, byte [0x820320]
mov edx, dword [0x820324]
mov ebx, dword [0x820328]
mov ebp, dword [0x82032c]
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.005a3e10
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 0x5a5bba
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.0045ea30
mov ecx, ebx
mov edx, ebp
call fcn.0045ea10
mov eax, ebx
mov ecx, edx
call fcn.0045e9c0
mov eax, ebx
mov ecx, edi
call fcn.0045ea30
mov ecx, edi
mov edx, esi
call fcn.0045ea10
nop
call fcn.0045d530
jmp fcn.005a5b40