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

Disassembly:
sub esp, 0x30
movss xmm0, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4c5b80]
push ebx
addsd xmm1, xmm0
push ebp
cvttsd2si edx, xmm1
movss xmm1, dword [esp + 0x44]
push esi
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
push edi
cvttsd2si ecx, xmm1
movss xmm1, dword [esp + 0x50]
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si esi, xmm1
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x4c]
mov edi, eax
mov ebp, eax
mov ebx, eax
shr eax, 0x18
push eax
shr ebp, 8
and ebx, 0xff
push ebx
shr edi, 0x10
and ebp, 0xff
and edi, 0xff
cmp byte [esp + 0x70], 0
push ebp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
push eax
je 0x43ef9b
lea eax, [ecx - 1]
sub ecx, dword [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.004394b0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
push edi
push ecx
add edx, eax
push edx
inc eax
push eax
mov eax, dword [esp + 0x68]
push eax
push esi
call fcn.004394b0
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x70]
add esp, 0x58
lea ecx, [edx + eax]
sub eax, edx
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push ebx
push ebp
push edi
push edx
push ecx
push eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
push eax
push esi
mov dword [esp + 0x78], ecx
call fcn.004392c0
add esp, 0x2c
jmp 0x43f05d
sub ecx, dword [esp + 0x64]
push ecx
push edx
push esi
call fcn.00439240
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x50]
push ebx
push ebp
push edi
push edx
push ecx
push eax
push esi
mov dword [esp + 0x9c], eax
call fcn.00439240
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
add esp, 0x50
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x24]
push ecx
push ebx
push ebp
push edi
push edx
mov edx, dword [esp + 0x34]
push eax
push edx
push esi
call fcn.00439240
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x50]
push ebx
push ebp
push edi
push edx
push ecx
push eax
push esi
mov dword [esp + 0xa0], eax
call fcn.00439240
add esp, 0x50
mov ecx, dword [esp + 0x48]
mov eax, ecx
neg eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 1
cmp ecx, 1
jle 0x43f68c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [ecx - 1]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x18]
sub edx, ecx
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], ecx
jmp 0x43f0b6
mov eax, dword [esp + 0x2c]
test eax, eax
jns 0x43f0c8
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx*2 + 1]
mov dword [esp + 0x2c], edx
jmp 0x43f0e7
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc dword [esp + 0x50]
dec dword [esp + 0x10]
dec ecx
sub edx, ecx
lea eax, [eax + edx*2 + 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x60], 0
je 0x43f2f5
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push ebx
push ebp
push edi
push edx
dec eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
push esi
mov dword [esp + 0x44], ecx
call fcn.004394b0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x3c]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push ebx
push ebp
push edi
push edx
push eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x64]
push ecx
push eax
push esi
mov dword [esp + 0x94], ecx
call fcn.004394b0
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
add esp, 0x58
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push esi
call fcn.004392c0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x44]
push ecx
push ebx
push ebp
push edi
push edx
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
push esi
call fcn.004392c0
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0xa4]
add esp, 0x58
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x24]
push ebx
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push ecx
push eax
push esi
mov dword [esp + 0x60], eax
call fcn.004392c0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x84]
push ebx
push ebp
push edi
push edx
mov edx, dword [esp + 0x7c]
push eax
push ecx
push edx
push esi
call fcn.004392c0
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
add esp, 0x58
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x58]
push ebx
push ebp
push edi
push eax
mov eax, dword [esp + 0x30]
dec eax
push eax
push ecx
push edx
push esi
call fcn.004394b0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push ebx
push ebp
push edi
push eax
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
push esi
call fcn.004394b0
add esp, 0x58
jmp 0x43f66b
cmp byte [esp + 0x64], 0
je 0x43f327
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax]
jl 0x43f37e
cmp ecx, dword [eax + 8]
jge 0x43f37e
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x50]
cmp ecx, dword [eax + 4]
jl 0x43f37a
cmp ecx, dword [eax + 0xc]
jge 0x43f37a
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x50]
imul eax, ecx
add eax, dword [esp + 0x18]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
mov eax, dword [esp + 0x6c]
add esp, 0x18
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x64], 0
je 0x43f3a0
cmp ecx, dword [eax]
jl 0x43f3e7
cmp ecx, dword [eax + 8]
jge 0x43f3e7
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 4]
jl 0x43f3e7
cmp ecx, dword [eax + 0xc]
jge 0x43f3e7
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x10]
imul eax, ecx
add eax, dword [esp + 0x18]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp byte [esp + 0x64], 0
je 0x43f40d
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [eax]
jl 0x43f454
cmp ecx, dword [eax + 8]
jge 0x43f454
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 4]
jl 0x43f454
cmp ecx, dword [eax + 0xc]
jge 0x43f454
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x50]
imul eax, ecx
add eax, dword [esp + 0x4c]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp byte [esp + 0x64], 0
je 0x43f47a
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [eax]
jl 0x43f4c1
cmp ecx, dword [eax + 8]
jge 0x43f4c1
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 4]
jl 0x43f4c1
cmp ecx, dword [eax + 0xc]
jge 0x43f4c1
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x10]
imul eax, ecx
add eax, dword [esp + 0x4c]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
mov eax, dword [esp + 0x6c]
add esp, 0x18
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
je 0x43f66b
cmp byte [esp + 0x64], 0
je 0x43f4f1
mov ecx, dword [esp + 0x50]
cmp ecx, dword [eax]
jl 0x43f532
cmp ecx, dword [eax + 8]
jge 0x43f532
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jl 0x43f532
cmp ecx, dword [eax + 0xc]
jge 0x43f532
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
imul eax, dword [esp + 0x14]
add eax, dword [esp + 0x50]
mov edx, dword [esi]
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp byte [esp + 0x64], 0
je 0x43f558
mov ecx, dword [esp + 0x50]
cmp ecx, dword [eax]
jl 0x43f59f
cmp ecx, dword [eax + 8]
jge 0x43f59f
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x4c]
cmp ecx, dword [eax + 4]
jl 0x43f59f
cmp ecx, dword [eax + 0xc]
jge 0x43f59f
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x4c]
imul eax, ecx
add eax, dword [esp + 0x50]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp byte [esp + 0x64], 0
je 0x43f5c1
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax]
jl 0x43f602
cmp ecx, dword [eax + 8]
jge 0x43f602
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jl 0x43f602
cmp ecx, dword [eax + 0xc]
jge 0x43f602
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
imul eax, dword [esp + 0x14]
add eax, dword [esp + 0x10]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp byte [esp + 0x64], 0
je 0x43f628
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax]
jl 0x43f66b
cmp ecx, dword [eax + 8]
jge 0x43f66b
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x4c]
cmp ecx, dword [eax + 4]
jl 0x43f66b
cmp ecx, dword [eax + 0xc]
jge 0x43f66b
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x4c]
imul eax, ecx
add eax, dword [esp + 0x10]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
push ecx
push edx
push ebx
push ebp
push edi
push eax
call fcn.0042c650
add esp, 0x18
mov eax, dword [esp + 0x20]
mov ecx, 1
add dword [esp + 0x4c], ecx
sub dword [esp + 0x14], ecx
add eax, ecx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x24]
jl 0x43f0b2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret