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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x46d040]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [esp + 0x14], ebx
comiss xmm0, dword [ebx + 0x1c]
jae 0x441023
comiss xmm0, dword [ebx + 0x20]
jae 0x441023
mov edi, dword [0x508b7c]
test edi, edi
je 0x440bb9
mov edi, dword [edi + 0x78]
jmp 0x440bbb
xor edi, edi
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x440bdb
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0xc]
jge 0x440c12
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 4], 0
mov ecx, dword [ebx + 0xc]
mov esi, dword [edi]
add ecx, 0x1388
mov dword [edi + 0x10], ecx
push 0
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
lea eax, [edi + 4]
push eax
push 0
push 0x142
lea eax, [ecx + ecx*2]
push 0x208
shl eax, 3
push eax
push esi
call edx
test eax, eax
js 0x441023
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x440c2e
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 8]
jge 0x440c5f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 8], 0
mov edx, dword [ebx + 8]
mov esi, dword [edi]
add edx, 0x2710
mov dword [edi + 0x14], edx
push 0
mov eax, dword [esi]
mov ecx, dword [eax + 0x6c]
lea eax, [edi + 8]
push eax
push 0
push 0x65
push 0x208
lea eax, [edx + edx]
push eax
push esi
call ecx
test eax, eax
js 0x441023
mov dword [esp + 0x38], 0
lea edx, [esp + 0x38]
mov ecx, dword [edi]
push edx
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0xec]
test eax, eax
js 0x441023
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x441019
mov eax, dword [edi]
lea edx, [esp + 0x50]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [edi]
lea edx, [esp + 0x90]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [edi]
lea edx, [esp + 0xd0]
push edx
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov edx, dword [edi + 4]
push 0x2000
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edx
call ecx
test eax, eax
js 0x441019
mov edx, dword [edi + 8]
push 0x2000
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebx + 8]
add eax, eax
push eax
push 0
push edx
call ecx
test eax, eax
jns 0x440d2a
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x441019
cmp dword [ebx + 4], 0
mov dword [esp + 0x10], 0
jle 0x440e01
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov eax, dword [ebx + 0x10]
xor ebx, ebx
mov edi, dword [ecx + eax]
mov esi, dword [edi + 0x20]
cmp dword [edi + 0x18], ebx
jle 0x440db9
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
lea esi, [esi + 0x14]
mov dword [ecx], eax
inc ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esi - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x34]
mov dword [eax + 8], 0
mov edx, dword [esi - 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00ff00
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esi - 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esi - 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x34]
add ecx, 0x18
mov dword [esp + 0x34], ecx
cmp ebx, dword [edi + 0x18]
jl 0x440d56
mov eax, dword [edi + 0xc]
add eax, eax
push eax
push dword [edi + 0x14]
push dword [esp + 0x44]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x10], edx
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ecx, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], ecx
cmp edx, dword [ebx + 4]
jl 0x440d42
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [edi]
push 0x18
push 0
push dword [edi + 4]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [edi]
push dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
mov eax, dword [edi]
push 0x142
push eax
mov ecx, dword [eax]
call dword [ecx + 0x164]
mov ecx, ebx
call fcn.004407d0
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], edx
movss xmm0, dword [ecx + 0x14]
movss xmm4, dword [ecx + 0x18]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x1c], xmm4
cmp dword [ecx + 4], edx
jle 0x440fd0
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, dword [ecx + 0x10]
xor esi, esi
mov dword [esp + 0x20], esi
mov ebx, dword [ebx + eax]
cmp dword [ebx], esi
jle 0x440f9d
xor eax, eax
mov dword [esp + 0x24], eax
nop dword [eax]
mov edi, dword [ebx + 8]
add edi, eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x440ec7
cmp eax, 0xffffffff
jne 0x440ebb
call fcn.004407d0
jmp 0x440f71
push edi
push ebx
call eax
add esp, 8
jmp 0x440f71
movss xmm3, dword [edi]
movss xmm2, dword [edi + 8]
subss xmm3, xmm0
movss xmm1, dword [edi + 4]
subss xmm2, xmm0
movss xmm0, dword [edi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x440f7b
comiss xmm1, xmm0
jae 0x440f7b
cvttss2si eax, xmm3
mov esi, dword [esp + 0x18]
push dword [edi + 0x10]
mov dword [esp + 0x44], eax
cvttss2si eax, xmm1
push 0
mov dword [esp + 0x4c], eax
cvttss2si eax, xmm2
mov dword [esp + 0x50], eax
cvttss2si eax, xmm0
mov dword [esp + 0x54], eax
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [esi]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov ecx, dword [esi]
mov eax, 0xaaaaaaab
mul dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
add eax, dword [esp + 0xc]
mov esi, dword [ecx]
shr edx, 1
push edx
push eax
push dword [ebx + 0x18]
mov eax, dword [edi + 0x14]
add eax, dword [esp + 0x1c]
push 0
push eax
push 4
push ecx
call dword [esi + 0x148]
mov esi, dword [esp + 0x20]
movss xmm4, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc esi
movss xmm0, dword [esp + 0x28]
add eax, 0x28
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
cmp esi, dword [ebx]
jl 0x440ea0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
add eax, dword [ebx + 0xc]
add edx, dword [ebx + 0x18]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
add ebx, 4
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
cmp eax, dword [ecx + 4]
jl 0x440e83
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
lea edx, [esp + 0x50]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [edi]
lea edx, [esp + 0x90]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [edi]
lea edx, [esp + 0xd0]
push edx
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret