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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6581b406
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x18]
mov edx, dword fs:[0x14]
mov edx, dword [edx]
cmp dword [ecx], edx
je 0x6581af7a
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jg 0x6581af72
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x6581af76
add esp, 0x70
ret
xor ecx, ecx
jmp 0x6581af83
add esp, 0x70
ret
movzx ecx, byte [esp + 0x17]
mov byte [esp + 0x17], cl
nop
lea eax, [0x659af104]
mov dword [esp], eax
call fcn.65802f50
movzx eax, byte [esp + 4]
test al, al
jne 0x6581b3d0
nop
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [0x659af710]
mov dword [esp], eax
call fcn.658031e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
nop
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x48], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x659af718]
mov dword [esp], eax
call fcn.658031e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xe8]
xor edx, edx
sub edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0xec]
mov ebx, 0
sbb ebx, ecx
mov dword [esp + 0x2c], ebx
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x40], xmm0
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.6585a260
movsd xmm0, qword [esp + 0x48]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.6585a1c0
mov eax, dword [esp + 8]
cmp eax, 0x10000
setb cl
mov edx, dword [esp + 0xc]
test edx, edx
sete dl
setl bl
and ecx, edx
or ebx, ecx
mov ecx, dword [esp + 0xc]
test bl, bl
jne 0x6581b08c
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
jmp 0x6581b0c9
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.6585a260
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.6585a1c0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xor ecx, ecx
mov eax, 0x10000
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
lea ebp, [0x659af6d0]
mov dword [esp], ebp
call fcn.65803080
mov eax, dword [esp + 4]
test eax, eax
seta cl
mov edx, dword [esp + 8]
test edx, edx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov esi, dword [esp + 8]
and ecx, ebx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6581b11b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x6581b251
mov ecx, dword [esp + 0x24]
cmp ecx, edx
setg bl
mov ebp, dword [esp + 0x20]
cmp ebp, eax
xchg edi, ebx
seta bl
xchg edi, ebx
cmp ecx, edx
sete dl
and edi, edx
or ebx, edi
test bl, bl
jne 0x6581b16d
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0xe8]
mov edi, dword [esp + 0x28]
add ebx, edi
mov edi, dword [edx + 0xec]
mov dword [edx + 0xe8], ebx
mov ebx, dword [esp + 0x2c]
adc edi, ebx
mov dword [edx + 0xec], edi
mov eax, ebp
jmp 0x6581b1f2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.6585a260
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xe8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xec]
mov dword [esp + 0x38], edx
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.6585a1c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, eax
add eax, ecx
mov ebx, eax
add eax, 1
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x74]
mov dword [esi + 0xe8], eax
add edx, ecx
mov eax, dword [esp + 0x38]
adc ebp, eax
add ebx, 1
adc ebp, 0
mov dword [esi + 0xec], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
xor edx, edx
sub edx, ebp
sub eax, ebp
mov dword [esp + 0x3c], eax
lea esi, [0x659af6d0]
mov dword [esp], esi
xor esi, esi
sub esi, ebp
mov esi, 0
sbb esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
call fcn.65803090
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sbb eax, ecx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
sete dl
test eax, eax
sete bl
and ebx, edx
test bl, bl
jne 0x6581b39a
movzx edx, byte [0x65993368]
test dl, dl
je 0x6581b2a5
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x6581b2aa
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov byte [esp], 0x2b
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.65852510
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, 1
jmp 0x6581b2aa
movzx edx, byte [esp + 0x17]
mov byte [esp + 0x17], dl
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ebx, [0x6581b410]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.6585d1f0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x44]
mov edx, dword [0x659aef10]
test edx, edx
jne 0x6581b30e
mov dword [eax + 0x44], 0
jmp 0x6581b31c
lea edi, [eax + 0x44]
mov edx, eax
xor eax, eax
call fcn.6585e730
mov eax, edx
test ecx, ecx
je 0x6581b329
call fcn.658164e0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xec]
test ecx, ecx
jge 0x6581b364
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6581b353
lea eax, [0x658f2428]
mov dword [esp], eax
call fcn.6585d190
movzx ecx, byte [esp + 0x17]
jmp 0x6581af83
call fcn.6581b960
movzx eax, byte [esp]
test al, al
je 0x6581af7e
movzx eax, byte [esp + 0x17]
test al, al
je 0x6581b396
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.65852510
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x6581b3cc
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.65852510
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x6581b402
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.65852510
add esp, 0x70
ret
call fcn.6585d300
jmp fcn.6581af30