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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5b07ac
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x254]
lea edx, [0x65c8e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x20
call fcn.0040dee0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
lea ecx, [0x6814a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004480c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
xor ebp, ebp
xor esi, esi
jmp 0x5affc0
mov edi, dword [esp + 0x44]
lea ebp, [edi + 1]
lea edi, [edx + ecx + 0x10]
lea esi, [ebx + edx + 0x10]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ebx, edi
cmp ebp, ecx
jge 0x5b06ed
mov dword [esp + 0x3c], esi
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x5b0000
mov edi, dword [0x8ad878]
mov esi, dword [0x8ad87c]
cmp ebp, ecx
mov dword [esp + 0x80], eax
mov eax, 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
jmp 0x5b0048
mov edi, dword [edx + 0x28c]
mov esi, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp ebx, edi
ja 0x5b07a2
sub edi, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp edi, 3
jbe 0x5b0796
mov edx, dword [edx + esi]
cmp ebp, ecx
mov edi, 0
mov dword [esp + 0x34], edx
mov esi, 0
mov edx, dword [esp + 0x94]
jae 0x5b078f
mov dword [esp + 0x44], ebp
mov dword [esp + 0x88], esi
imul ebp, ebp, 0x1c
mov esi, dword [esp + 0x34]
mov dword [eax + ebp], esi
test edi, edi
jne 0x5b06b1
mov dword [esp + 0x50], ebp
lea esi, [ebx + 4]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5b009c
mov esi, dword [0x8ad878]
mov edi, dword [0x8ad87c]
mov dword [esp + 0x78], eax
xor eax, eax
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x78]
jmp 0x5b00e8
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5b0786
sub edx, ebx
sub edi, ebx
add edx, 0xfffffffc
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 4]
cmp esi, 1
jbe 0x5b077a
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x2e], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x2e]
mov word [eax + ebp + 4], di
test esi, esi
jne 0x5b0672
lea esi, [ebx + 6]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5b012e
mov esi, dword [0x8ad878]
mov edi, dword [0x8ad87c]
mov dword [esp + 0x70], eax
xor eax, eax
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x70]
jmp 0x5b017a
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5b0771
sub edx, ebx
sub edi, ebx
add edx, 0xfffffffa
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 6]
cmp esi, 1
jbe 0x5b0765
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x2c], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x2c]
mov word [eax + ebp + 6], di
test esi, esi
jne 0x5b0633
lea esi, [ebx + 8]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5b01c0
mov esi, dword [0x8ad878]
mov edi, dword [0x8ad87c]
mov dword [esp + 0x68], eax
xor eax, eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x68]
jmp 0x5b020c
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5b075c
sub edx, ebx
sub edi, ebx
add edx, 0xfffffff8
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 8]
cmp esi, 1
jbe 0x5b0750
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x2a], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x2a]
mov word [eax + ebp + 8], di
test esi, esi
jne 0x5b05f4
lea esi, [ebx + 0xa]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5b0252
mov esi, dword [0x8ad878]
mov edi, dword [0x8ad87c]
mov dword [esp + 0x60], eax
xor eax, eax
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x60]
jmp 0x5b029e
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5b0747
sub edx, ebx
sub edi, ebx
add edx, 0xfffffff6
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 0xa]
cmp esi, 1
jbe 0x5b073b
movzx edx, word [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov word [esp + 0x28], dx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
movzx edi, word [esp + 0x28]
mov word [eax + ebp + 0xa], di
test esi, esi
jne 0x5b05b5
lea esi, [ebx + 0xc]
mov edi, dword [edx + 0x2ac]
add edi, 0xfffffffc
cmp edi, esi
jae 0x5b02e3
mov esi, dword [0x8ad878]
mov edi, dword [0x8ad87c]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
jmp 0x5b032d
mov edi, dword [edx + 0x28c]
mov ebp, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
cmp edi, esi
jb 0x5b0732
sub edx, ebx
sub edi, ebx
add edx, 0xfffffff4
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [edi - 0xc]
cmp esi, 3
jbe 0x5b0726
mov edx, dword [edx + ebp]
mov ebp, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x30], edx
xor edi, edi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ebp + 0xc], edi
test esi, esi
jne 0x5b0576
mov dword [esp + 0x38], ebx
movzx ecx, byte [0x8a82c0]
mov esi, dword [0x8a82c4]
mov edi, dword [0x8a82c8]
mov eax, dword [0x8a82cc]
mov dword [esp], edx
mov byte [esp + 4], cl
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
lea ecx, [eax + ebp + 0x10]
mov dword [esp + 0x18], ecx
call fcn.005ab780
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x5b0533
mov dword [esp + 0x40], eax
movzx ecx, byte [0x8a8400]
mov edx, dword [0x8a8404]
mov ebx, dword [0x8a8408]
mov ebp, dword [0x8a840c]
mov esi, dword [esp + 0x94]
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 + 0x38]
lea edx, [ecx + eax + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x8c]
lea ebp, [ebx + edx + 0x14]
mov dword [esp + 0x18], ebp
call fcn.005ab780
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add ecx, eax
mov edx, dword [esp + 0x3c]
lea ebx, [edx + eax]
lea eax, [edx + eax + 0x10]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
jne 0x5b04f7
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], edx
movzx eax, byte [0x8a8400]
mov ebx, dword [0x8a8404]
mov ebp, dword [0x8a8408]
mov esi, dword [0x8a840c]
mov edi, dword [esp + 0x94]
mov dword [esp], edi
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
lea eax, [edx + ecx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x8c]
lea eax, [ebx + eax + 0x18]
mov dword [esp + 0x18], eax
call fcn.005ab780
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov edx, dword [esp + 0x48]
lea ebx, [edx + eax]
lea eax, [eax + edx + 0x10]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
je 0x5aff9d
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edi
add esp, 0x90
ret
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edi
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
add eax, 0x10
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 0xc
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 0xa
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 8
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 6
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x90
ret
mov eax, 3
mov ecx, esi
call fcn.0045f030
mov eax, esi
mov ecx, edi
call fcn.0045f0a0
mov eax, 1
mov ecx, esi
call fcn.0045f030
mov eax, esi
mov ecx, edi
call fcn.0045f0a0
mov eax, 1
mov ecx, esi
call fcn.0045f030
mov eax, esi
mov ecx, edi
call fcn.0045f0a0
mov eax, 1
mov ecx, esi
call fcn.0045f030
mov eax, esi
mov ecx, edi
call fcn.0045f0a0
mov eax, 1
mov ecx, esi
call fcn.0045f030
mov eax, esi
mov ecx, edi
call fcn.0045f0a0
mov eax, ebp
call fcn.0045f030
mov eax, 3
mov ecx, edi
call fcn.0045f030
mov eax, ebx
mov ecx, edi
call fcn.0045f0a0
nop
call fcn.0045dba0
jmp fcn.005aff10