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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5aefc0
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x254]
lea edx, [0x5f1340]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.0040ee50
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
lea ecx, [0x60a300]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d6b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x64]
xor ebp, ebp
xor esi, esi
jmp 0x5aeb89
mov edi, dword [esp + 0x1c]
mov eax, edi
mov edi, dword [esp + 0x38]
inc edi
lea ebx, [eax + ecx + 8]
lea esi, [eax + ebp + 8]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov ebp, edi
cmp ebp, edx
jge 0x5aef5c
mov dword [esp + 0x30], esi
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x5aebb6
mov edi, dword [0x7c3d28]
mov esi, dword [0x7c3d2c]
mov dword [esp + 0x54], esi
xor esi, esi
jmp 0x5aebf5
mov edi, dword [ecx + 0x28c]
cmp ebx, edi
ja 0x5aefb6
mov esi, dword [ecx + 0x290]
sub edi, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edi, 3
jbe 0x5aefaa
mov edi, dword [ecx + 0x288]
mov esi, dword [edi + esi]
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x38], ebp
lea ebp, [ebp + ebp*4]
mov dword [eax + ebp*4], esi
test edi, edi
jne 0x5aef38
lea esi, [ebx + 4]
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5aec35
mov esi, dword [0x7c3d28]
mov edi, dword [0x7c3d2c]
mov dword [esp + 0x4c], eax
xor eax, eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x4c]
jmp 0x5aec7a
mov edi, dword [ecx + 0x28c]
cmp edi, esi
jb 0x5aefa1
mov edx, dword [ecx + 0x290]
sub edx, ebx
sub edi, ebx
add edi, 0xfffffffc
add edx, 0xfffffffc
neg edx
sar edx, 0x1f
and esi, edx
cmp edi, 1
jbe 0x5aef95
mov edx, dword [ecx + 0x288]
movzx edx, word [esi + edx]
xor esi, esi
mov word [esp + 0x2a], dx
xor edi, edi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], edi
lea edi, [eax + ebp*4 + 4]
movzx edx, word [esp + 0x2a]
mov word [edi], dx
test esi, esi
jne 0x5aef0d
lea edx, [ebx + 6]
mov esi, dword [ecx + 0x2ac]
add esi, 0xfffffffe
cmp esi, edx
jae 0x5aecb2
mov edx, dword [0x7c3d28]
mov esi, dword [0x7c3d2c]
xor edi, edi
jmp 0x5aecf2
mov esi, dword [ecx + 0x28c]
cmp esi, edx
jb 0x5aef8c
mov edi, dword [ecx + 0x290]
sub edi, ebx
sub esi, ebx
add esi, 0xfffffffa
add edi, 0xfffffffa
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edx, edi
cmp esi, 1
jbe 0x5aef80
mov edi, dword [ecx + 0x288]
movzx edi, word [edx + edi]
xor edx, edx
xor esi, esi
mov dword [esp + 0x54], esi
lea esi, [eax + ebp*4 + 6]
mov word [esi], di
test edx, edx
jne 0x5aeee2
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 8]
movzx esi, byte [0x7c4840]
mov edi, dword [0x7c4844]
mov ebx, dword [0x7c4848]
mov eax, dword [0x7c484c]
mov dword [esp], ecx
xchg esi, eax
mov byte [esp + 4], al
xchg esi, eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x58]
lea edx, [eax + ebp*4 + 8]
mov dword [esp + 0x18], edx
call fcn.005adb30
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5aeeaf
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax + 8]
movzx ebx, byte [0x7c4850]
mov ebp, dword [0x7c4854]
mov esi, dword [0x7c4858]
mov edi, dword [0x7c485c]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + edx*4 + 0xc]
mov dword [esp + 0x18], ebp
call fcn.005adb30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + ecx]
lea ecx, [ebx + ecx + 8]
test eax, eax
jne 0x5aee83
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
lea ecx, [eax + edx + 8]
movzx ebx, byte [0x7c47e0]
mov ebp, dword [0x7c47e4]
mov esi, dword [0x7c47e8]
mov edi, dword [0x7c47ec]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
lea ecx, [ebx + ecx*4 + 0x10]
mov dword [esp + 0x18], ecx
call fcn.005adb30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebx, dword [esp + 0x3c]
lea ebp, [edx + ebx]
lea edx, [edx + ebx + 8]
test eax, eax
je 0x5aeb68
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov eax, dword [esp + 0x30]
add eax, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 6
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, 1
mov ecx, esi
call fcn.00467310
mov eax, edx
mov ecx, esi
call fcn.00467380
mov eax, 1
mov ecx, edi
call fcn.00467310
mov eax, esi
mov ecx, edi
call fcn.00467380
mov eax, 3
mov ecx, edi
call fcn.00467310
mov eax, ebx
mov ecx, edi
call fcn.00467380
nop
call fcn.00465ea0
jmp fcn.005aeaf0