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

Disassembly:
push 0xffffffffffffffff
push 0x495407
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x516a90]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x516a90]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x88]
mov edi, ecx
mov ebx, dword [edi + 0x28]
push eax
xor ebp, ebp
call dword [0x499380]
call fcn.005c3b90
test al, al
je 0x5aec0b
push 0x50248c
lea ecx, [esp + 0x88]
push 0x104
push ecx
call fcn.0060fd9b
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.005c5220
lea ecx, [esp + 0x58]
push 0x4ffe14
push ecx
mov dword [esp + 0x2b4], ebp
call fcn.005a5670
add esp, 0x1c
test al, al
je 0x5aeb73
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
push eax
call fcn.005a08b0
add eax, 0x10
add esp, 4
mov dword [esp + 0x4c], eax
push 0x4ffe14
push 0x5024b8
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a0], 1
call fcn.005b0b90
mov esi, dword [esp + 0x4c]
push esi
call fcn.0060fe26
mov ebp, eax
lea eax, [esi - 0x10]
add esp, 4
sub ebp, 0x2a9f8f60
mov byte [esp + 0x298], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5aeb73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
call fcn.005aba40
mov byte [esp + 0x29c], 2
mov edx, dword [eax]
mov eax, ebp
test eax, eax
mov esi, esp
mov dword [esp + 0x50], esp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
push edx
jge 0x5aeba2
fadd qword [0x506f08]
fdiv qword [0x506f30]
mov ecx, dword [esp + 0x4c]
sub esp, 8
fstp qword [esp]
push ecx
push 0x5024c0
call fcn.005b3870
add esp, 0x10
mov byte [esp + 0x2a0], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x500f74
call fcn.0059fa40
add edi, 4
mov ecx, edi
mov byte [esp + 0x2a0], 2
call fcn.005ab520
mov byte [esp + 0x298], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x5aed83
mov dword [esp + 0x24], ebp
call fcn.005c3b50
test al, al
je 0x5aec25
lea ecx, [esp + 0x24]
push ecx
call fcn.005c42e0
add esp, 4
push 0x502504
lea edx, [esp + 0x88]
push 0x104
push edx
call fcn.0060fd9b
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.005c5220
lea edx, [esp + 0x58]
push 0x4ffe14
push edx
mov dword [esp + 0x2b4], 4
call fcn.005a5670
add esp, 0x1c
test al, al
je 0x5aecda
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
push eax
call fcn.005a08b0
add eax, 0x10
add esp, 4
mov dword [esp + 0x4c], eax
push 0x4ffe14
push 0x5024b8
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a0], 5
call fcn.005b0b90
mov esi, dword [esp + 0x4c]
push esi
call fcn.0060fe26
mov ebp, eax
lea eax, [esi - 0x10]
add esp, 4
sub ebp, 0x249a6c20
mov byte [esp + 0x298], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5aecda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.005c3b50
test al, al
je 0x5aecf0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005c4310
add esp, 4
lea edx, [esp + 0x4c]
push edx
call fcn.005aba40
mov byte [esp + 0x29c], 6
mov eax, dword [eax]
mov ecx, ebp
test ecx, ecx
mov esi, esp
mov dword [esp + 0x1c], esp
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
push eax
jge 0x5aed1f
fadd qword [0x506f08]
fdiv qword [0x506f30]
mov edx, dword [esp + 0x4c]
sub esp, 8
fstp qword [esp]
push edx
push 0x502538
call fcn.005b3870
add esp, 0x10
mov byte [esp + 0x2a0], 7
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x500f74
call fcn.0059fa40
add edi, 4
mov ecx, edi
mov byte [esp + 0x2a0], 6
call fcn.005ab520
mov byte [esp + 0x298], 4
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5aed8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x298], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5aedba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fldz
mov byte [esp + 0x3b], 0
fst qword [esp + 0x54]
mov dword [esp + 0x20], 2
fst qword [esp + 0x64]
fst qword [esp + 0x6c]
fstp qword [esp + 0x7c]
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x5aedf3
lea edx, [esp + 0x20]
push edx
call fcn.005d40a0
cmp eax, 1
jne 0x5aedf3
sub dword [esp + 0x20], eax
lea eax, [esp + 0x3b]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [ebx + 0xf8]
call fcn.005d3090
fldz
fcom qword [esp + 0x54]
fnstsw ax
test ah, 0x44
jp 0x5aee96
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x44
jp 0x5aee98
mov ecx, ebx
call fcn.005cda30
test al, al
mov ecx, ebx
je 0x5aee6f
mov edx, dword [esp + 0x20]
push edx
call fcn.005ce1a0
fstp qword [esp + 0x54]
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.005cfc70
fstp qword [esp + 0x64]
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005cdad0
fstp qword [esp + 0x6c]
jmp 0x5aee98
push 0
call fcn.005ce1a0
fstp qword [esp + 0x54]
push 0
mov ecx, ebx
call fcn.005cfc70
fstp qword [esp + 0x64]
push 0
mov ecx, ebx
call fcn.005cdad0
fstp qword [esp + 0x6c]
jmp 0x5aee98
fstp st(0)
fld qword [esp + 0x54]
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502228
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 8
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x501024
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], 0xffffffff
call fcn.005ab520
fld qword [esp + 0x64]
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502228
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x501044
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], 0xffffffff
call fcn.005ab520
fldz
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5aef88
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502228
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 0xa
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x501064
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], 0xffffffff
call fcn.005ab520
jmp 0x5aef8a
fstp st(0)
mov ecx, ebx
call fcn.005cda30
test al, al
mov ecx, ebx
je 0x5aefb3
mov edx, dword [esp + 0x20]
push edx
call fcn.005ce100
fstp qword [esp + 0x44]
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.005cfad0
jmp 0x5aefc3
call fcn.005ce080
fstp qword [esp + 0x44]
mov ecx, ebx
call fcn.005cf9b0
cmp ebp, 0x3fef
fstp qword [esp + 0x4c]
jb 0x5aeff1
mov ecx, ebx
call fcn.005cda30
test al, al
je 0x5aefe8
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005cda90
jmp 0x5af01c
mov ecx, ebx
call fcn.005cda40
jmp 0x5af01c
fld qword [esp + 0x54]
fdiv qword [esp + 0x6c]
fdivr qword [esp + 0x44]
fld qword [0x506f40]
fdiv st(1), st(0)
fxch st(1)
fadd qword [0x506f20]
call int.00612360
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmulp st(1)
push ecx
fstp qword [esp + 0x28]
fld qword [esp + 0x48]
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502228
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x500fe4
call fcn.0059fa40
or ebp, 0xffffffff
mov ecx, edi
mov dword [esp + 0x2a0], ebp
call fcn.005ab520
fld qword [esp + 0x4c]
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502228
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x500ff8
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], ebp
call fcn.005ab520
fldz
fld qword [esp + 0x24]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5af107
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502228
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 0xd
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x50100c
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], ebp
call fcn.005ab520
jmp 0x5af109
fstp st(0)
movzx edx, word [ebx + 0xc8]
mov dword [esp + 0x24], edx
push ecx
fild dword [esp + 0x28]
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fmul qword [esp + 0x50]
fld st(0)
fld qword [0x506f00]
fdiv st(1), st(0)
fld qword [ebx + 0xc0]
fmulp st(3)
fdivp st(2)
fxch st(1)
fstp qword [esp + 0x30]
fstp qword [esp]
push 0x502234
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 0xe
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x500f90
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], ebp
call fcn.005ab520
fld qword [esp + 0x24]
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502234
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 0xf
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x500fac
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], ebp
call fcn.005ab520
movzx eax, word [ebx + 0x20]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x4c]
fild dword [esp + 0x24]
push ecx
mov ecx, ebx
fmul qword [esp + 0x50]
fmul qword [0x506f38]
fdiv qword [0x506f00]
fstp qword [esp + 0x30]
call fcn.005cf750
mov esi, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jge 0x5af1fa
mov eax, ebp
jmp 0x5af214
push 0x502240
push eax
call fcn.0060fe2b
add esp, 8
test eax, eax
jne 0x5af210
mov eax, ebp
jmp 0x5af214
sub eax, dword [esi]
sar eax, 1
cmp eax, ebp
mov eax, dword [esp + 0x4c]
setne byte [esp + 0x43]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5af23a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x43], 0
fld qword [esp + 0x2c]
je 0x5af247
fadd st(0), st(0)
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 8
fstp qword [esp]
push 0x502234
call fcn.005b3870
add esp, 8
mov dword [esp + 0x2a0], 0x10
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x500fc8
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], ebp
call fcn.005ab520
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x50257c
call fcn.0059fa40
push ecx
mov dword [esp + 0x2a0], 0x11
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x50108c
call fcn.0059fa40
mov ecx, edi
mov dword [esp + 0x2a0], ebp
call fcn.005ab520
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x2b]
xor esi, esi
push ecx
mov ecx, ebx
mov byte [esp + 0x2f], 0
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
call fcn.005cea80
push 0x4ffe14
lea ecx, [esp + 0x40]
call fcn.0059fa40
mov ebx, 0x12
mov dword [esp + 0x298], ebx
cmp dword [esp + 0x60], esi
lea ecx, [esp + 0x3c]
je 0x5af363
push 8
push 0x5023dc
call fcn.005a56d0
movzx edx, byte [esp + 0x1f]
push edx
lea eax, [esp + 0x40]
push 0x5023f0
push eax
call fcn.005ab7d0
mov eax, dword [esp + 0x48]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.005a08b0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2a0], 0x13
jmp 0x5af3a6
push 9
push 0x502594
call fcn.005a56d0
cmp dword [esp + 0x74], esi
je 0x5af385
push 0xf
push 0x5025a8
lea ecx, [esp + 0x44]
call fcn.005a56d0
mov eax, dword [esp + 0x3c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.005a08b0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2a0], 0x14
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5010a8
call fcn.0059fa40
mov ecx, edi
mov byte [esp + 0x2a0], bl
call fcn.005ab520
mov dword [esp + 0x298], ebp
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x5af3e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0060e648
add esp, 0x288
ret