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

Disassembly:
sub esp, 0x2c
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4c5b80]
push ebx
mov ebx, dword [esp + 0x48]
addsd xmm1, xmm0
cvttsd2si ecx, xmm1
movss xmm1, dword [esp + 0x3c]
push ebp
push esi
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
push edi
cvttsd2si eax, xmm1
movss xmm1, dword [esp + 0x4c]
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
mov esi, ebx
mov edi, ebx
mov ebp, ebx
shr ebx, 0x18
push ebx
shr edi, 8
and ebp, 0xff
push ebp
shr esi, 0x10
and edi, 0xff
and esi, 0xff
cmp byte [esp + 0x6c], 0
push edi
push esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x2c], eax
push edx
je 0x4401fa
lea edx, [eax - 1]
sub eax, dword [esp + 0x70]
push edx
push eax
mov eax, dword [esp + 0x64]
push ecx
push eax
call fcn.00439880
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x78]
push ebx
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x5c]
add ecx, eax
push ecx
inc eax
push eax
mov eax, dword [esp + 0x90]
push edx
push eax
call fcn.00439880
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x9c]
add esp, 0x58
lea ecx, [edx + eax]
sub eax, edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push ebx
push ebp
push edi
push esi
push edx
push ecx
push eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.00439780
add esp, 0x2c
jmp 0x4402ba
sub eax, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x60]
push ecx
push eax
call fcn.004396b0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x44]
push ebx
push ebp
push edi
push esi
push ecx
push edx
push eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x8c]
push eax
call fcn.004396b0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
add esp, 0x50
push ecx
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x18]
push edx
push ebx
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push eax
push ecx
call fcn.004396b0
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
push ebp
push edi
push esi
push edx
mov edx, dword [esp + 0x84]
push ecx
push eax
push edx
mov dword [esp + 0x80], eax
call fcn.004396b0
add esp, 0x50
mov ecx, dword [esp + 0x54]
mov eax, ecx
neg eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 1
cmp ecx, 1
jle 0x440700
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
lea eax, [ecx - 1]
sub edx, ecx
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], ecx
jmp 0x440317
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
test ecx, ecx
js 0x440333
dec dword [esp + 0x20]
inc dword [esp + 0x48]
dec dword [esp + 0x4c]
sub edx, dword [esp + 0x20]
cmp byte [esp + 0x5c], 0
lea ecx, [ecx + edx*2 + 1]
mov dword [esp + 0x24], ecx
je 0x440538
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x48]
lea edx, [eax - 1]
add eax, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push ebx
push ebp
push edi
push esi
push edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x54], ecx
call fcn.00439880
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x78]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x84]
push ebx
push ebp
push edi
push esi
push edx
push eax
push ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x90]
push eax
push ecx
call fcn.00439880
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
add esp, 0x58
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x50]
push ebx
push ebp
push edi
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
call fcn.00439780
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x88]
push ebx
push ebp
push edi
push esi
push edx
push eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x8c]
push ecx
push edx
push eax
call fcn.00439780
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x9c]
add eax, dword [esp + 0xac]
add esp, 0x58
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x24]
push ebx
push ebp
push edi
push esi
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x60]
push ecx
push eax
push edx
mov dword [esp + 0x5c], eax
call fcn.00439780
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x88]
push ebx
push ebp
push edi
push esi
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x8c]
push ecx
push edx
push eax
call fcn.00439780
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xa8]
add esp, 0x58
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x5c]
push ebx
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x2c]
dec eax
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push eax
call fcn.00439880
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x6c]
push ebx
push ebp
push edi
push esi
push eax
push ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x8c]
push edx
push eax
push ecx
call fcn.00439880
add esp, 0x58
jmp 0x4406df
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x44]
add eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push ebx
push ebp
push edi
push esi
push edx
push ecx
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x50], ecx
call fcn.004396b0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x4c]
push ebx
push ebp
push edi
push esi
push ecx
push eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x88]
push edx
push eax
call fcn.004396b0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
add esp, 0x50
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x5c]
push ebx
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
call fcn.004396b0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x84]
push ebx
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call fcn.004396b0
mov ecx, dword [esp + 0x68]
add esp, 0x50
cmp ecx, dword [esp + 0x20]
je 0x4406df
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x50]
push ebx
push ebp
push edi
push esi
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call fcn.004396b0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x78]
push ebx
push ebp
push edi
push esi
push ecx
push eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x88]
push edx
push eax
call fcn.004396b0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
add esp, 0x50
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x54]
push ebx
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
call fcn.004396b0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x7c]
push ebx
push ebp
push edi
push esi
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call fcn.004396b0
add esp, 0x50
mov eax, dword [esp + 0x18]
mov ecx, 1
add dword [esp + 0x54], ecx
sub dword [esp + 0x10], ecx
add eax, ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jl 0x440313
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret