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

Disassembly:
push 0xffffffffffffffff
push 0x5e8890
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.004efe90
mov ecx, dword [eax]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
mov dword [esp + 0x94], edx
call fcn.004efe90
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], edx
call fcn.005b8710
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x50]
call fcn.005b8710
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], edx
call fcn.004f2bd0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
xor esi, esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x2c], edx
call fcn.004f2bd0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0xa4], 1
mov dword [esp + 0x48], edx
call fcn.004fa0c0
add esp, 8
test eax, eax
je 0x5aabc1
mov eax, dword [ebp + 0x1c]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call fcn.004fa020
add esp, 8
test eax, eax
je 0x5aab95
lea esi, [ebp + 4]
push esi
mov ecx, edi
call fcn.004f2b60
mov ecx, edi
test eax, eax
je 0x5aab2b
mov edx, dword [esi]
mov ebx, dword [esp + 0xac]
mov dword [ebx], edx
mov eax, dword [esi + 4]
lea esi, [ebp + 0xc]
push esi
mov dword [ebx + 4], eax
call fcn.004f2b60
test eax, eax
je 0x5aab0a
mov ecx, dword [esi]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 0xc], edx
jmp 0x5aab66
lea esi, [edi + 4]
push esi
mov ecx, ebp
call fcn.004f2b60
test eax, eax
mov eax, esi
jne 0x5aab1e
lea eax, [edi + 0xc]
mov ecx, dword [eax]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0xc], edx
jmp 0x5aab66
lea esi, [ebp + 0xc]
push esi
call fcn.004f2b60
test eax, eax
je 0x5aab95
mov eax, dword [esi]
mov ebx, dword [esp + 0xac]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
lea esi, [edi + 4]
push esi
mov ecx, ebp
call fcn.004f2b60
test eax, eax
jne 0x5aab5b
lea esi, [edi + 0xc]
mov edx, dword [esi]
mov dword [ebx + 8], edx
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 0
call fcn.004f2cc0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004f2cc0
mov eax, 3
jmp 0x5aac72
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 0
call fcn.004f2cc0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004f2cc0
xor eax, eax
jmp 0x5aac72
fild dword [esp + 0x60]
lea ecx, [esp + 0x44]
push ecx
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x80]
fild dword [esp + 0x7c]
push edx
sub esp, 8
lea eax, [esp + 0x9c]
fstp qword [esp]
push eax
call fcn.005aa7a0
add esp, 0x1c
cmp eax, esi
je 0x5aab95
sub eax, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
js 0x5aac49
mov ebx, dword [esp + 0xac]
lea esi, [esp + eax*8 + 0x44]
mov edi, edi
push esi
mov ecx, edi
call fcn.004f2b60
test eax, eax
je 0x5aac39
push esi
mov ecx, ebp
call fcn.004f2b60
test eax, eax
je 0x5aac39
mov ecx, dword [esi]
mov edx, dword [esi + 4]
inc dword [esp + 0x14]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
add ebx, 8
mov eax, dword [esp + 0x18]
dec eax
sub esi, 8
mov dword [esp + 0x18], eax
test eax, eax
jge 0x5aac10
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 0
call fcn.004f2cc0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004f2cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret