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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a2484
sub esp, 0x64
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5a1f8c
mov ecx, dword [eax]
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x30]
mov ebp, dword [edx + 0x34]
lea esi, [0x62a700]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0040f770
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov dword [esp + 0x50], ebx
xor ebx, ebx
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
jmp 0x5a1fcb
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], esi
mov ebx, eax
mov ebp, edx
mov esi, ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x58], edi
cmp ebx, eax
jge 0x5a2275
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], esi
mov ebx, dword [ecx + ebx*4]
nop
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
cmp ebp, ebx
jbe 0x5a247a
shl ebx, 4
mov edx, dword [esi + ebx + 0xc]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
test eax, eax
je 0x5a202c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
jmp 0x5a1fa8
mov dword [esp + 0x4c], ecx
mov ebx, dword [ecx + 0x1d0]
mov ebp, dword [ecx + 0x1cc]
mov esi, dword [esp + 0x6c]
mov eax, ebp
mov ebp, dword [esi + 0x1d8]
cmp dword [esi + 0x1dc], ebx
je 0x5a2054
xor eax, eax
jmp 0x5a2071
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00402990
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
test al, al
je 0x5a210b
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + 1]
mov eax, esi
mov esi, dword [esp + 0x34]
cmp esi, ebp
jb 0x5a2090
mov edi, dword [esp + 0x58]
jmp 0x5a20cd
lea eax, [0x64f8e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044b2b0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x34], esi
mov edx, ebp
mov ebp, dword [0x87bd00]
lea esi, [edi + ebx*4]
test ebp, ebp
jne 0x5a20e5
mov dword [edi + ebx*4], ecx
jmp 0x5a20f6
mov ebx, edi
mov edi, esi
mov ebp, eax
mov eax, ecx
call fcn.004626c0
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
jmp 0x5a1fa8
mov ebx, dword [ecx + 0x1d0]
test ebx, ebx
jne 0x5a2127
mov ebp, dword [esi + 0x1dc]
test ebp, ebp
jne 0x5a2135
test ebx, ebx
je 0x5a21cf
mov ebx, dword [esi + 0x1dc]
test ebx, ebx
jne 0x5a21cf
mov ebx, dword [esp + 0x20]
lea ebp, [ebx + 1]
mov eax, esi
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x5a214c
mov edx, dword [esp + 0x50]
jmp 0x5a218d
lea eax, [0x64f8e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov esi, edx
mov edx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], esi
mov edi, ebp
mov ebp, dword [0x87bd00]
lea esi, [edx + ebx*4]
test ebp, ebp
jne 0x5a21a5
mov dword [edx + ebx*4], ecx
jmp 0x5a21b6
mov ebx, edi
mov edi, esi
mov ebp, eax
mov eax, ecx
call fcn.004626c0
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ebp, edi
mov esi, edx
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
jmp 0x5a1fa8
mov ebx, dword [esp + 0x28]
lea ebp, [ebx + 1]
mov eax, esi
mov esi, dword [esp + 0x2c]
cmp esi, ebp
jb 0x5a21e6
mov edx, dword [esp + 0x54]
jmp 0x5a2227
lea eax, [0x64f8e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x28]
mov esi, edx
mov edx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], esi
mov edi, ebp
mov ebp, dword [0x87bd00]
lea esi, [edx + ebx*4]
test ebp, ebp
jne 0x5a223f
mov dword [edx + ebx*4], ecx
jmp 0x5a2250
mov ebx, edi
mov edi, esi
mov ebp, eax
mov eax, ecx
call fcn.004626c0
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x28], edi
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
jmp 0x5a1fa8
mov eax, dword [esp + 0x20]
lea ecx, [ebp + eax]
mov edx, dword [esp + 0x28]
lea ebx, [ecx + edx]
test ebx, ebx
je 0x5a2450
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
lea eax, [0x64f8e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.0044b0b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jbe 0x5a22ee
lea ebx, [0x64f8e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], edx
lea ebx, [0x64f8e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov ebp, dword [esp + 0x58]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004109a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jb 0x5a232a
mov edx, dword [esp + 0x5c]
jmp 0x5a2362
lea edx, [0x64f8e0]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebx, eax
mov eax, edx
mov edx, ebx
mov ebx, dword [esp + 0x30]
cmp ebx, ecx
ja 0x5a2473
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], eax
lea ecx, [0x64f8e0]
mov dword [esp], ecx
sub eax, ebx
neg eax
shl ebx, 2
sar eax, 0x1f
and ebx, eax
lea eax, [edx + ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.004109a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jb 0x5a23bd
mov edx, dword [esp + 0x5c]
jmp 0x5a23ef
lea edx, [0x64f8e0]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044b2b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jb 0x5a246c
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], edx
lea ecx, [0x64f8e0]
mov dword [esp], ecx
sub eax, ebx
neg eax
shl ebx, 2
sar eax, 0x1f
and ebx, eax
lea eax, [edx + ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.004109a0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov eax, ebx
call fcn.004627a0
mov eax, ebx
call fcn.004627a0
mov eax, ebx
mov ecx, ebp
call fcn.00462740
nop
call fcn.004612b0
jmp fcn.005a1f00