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

Disassembly:
sub esp, 0x3c
movss xmm0, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
push ebx
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4c5b80]
push ebp
addsd xmm1, xmm0
cvttsd2si ebp, xmm1
movss xmm1, dword [esp + 0x50]
push esi
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si edx, xmm1
movss xmm1, dword [esp + 0x58]
push edi
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si ebx, xmm1
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x6c]
push ebx
mov edi, eax
mov esi, eax
mov ecx, eax
shr eax, 0x18
and ecx, 0xff
push eax
shr esi, 8
and esi, 0xff
shr edi, 0x10
push ecx
and edi, 0xff
cmp byte [esp + 0x7c], 0
push esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
push edi
je 0x43d81d
mov eax, dword [esp + 0x78]
push eax
lea ecx, [edx - 1]
sub edx, dword [esp + 0x70]
push ecx
push edx
push ebp
mov ebp, dword [esp + 0x78]
push ebp
call fcn.004390a0
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x90]
push ebx
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x90]
push esi
push edi
push edx
mov edx, dword [esp + 0x64]
add ecx, eax
push ecx
inc eax
push eax
push edx
push ebp
call fcn.004390a0
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x74]
add esp, 0x58
lea ecx, [edx + eax]
sub eax, edx
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x68]
push ebx
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x70]
push esi
push edi
push edx
push ecx
push eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
push eax
push ebp
mov dword [esp + 0x84], ecx
call fcn.00438f10
add esp, 0x2c
jmp 0x43d8df
mov ecx, dword [esp + 0x78]
sub edx, dword [esp + 0x6c]
push ecx
push edx
push ebp
mov ebp, dword [esp + 0x74]
push ebp
call fcn.00438e90
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push edx
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x58]
push esi
push edi
push edx
push ecx
push eax
push ebp
mov dword [esp + 0xa8], eax
call fcn.00438e90
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x60]
add esp, 0x50
push edx
mov edx, dword [esp + 0x64]
push ebx
push eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x2c]
push ecx
push esi
push edi
push edx
mov edx, dword [esp + 0x38]
push eax
push edx
push ebp
call fcn.00438e90
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push edx
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x58]
push esi
push edi
push edx
push ecx
push eax
push ebp
mov dword [esp + 0xac], eax
call fcn.00438e90
add esp, 0x50
mov ecx, dword [esp + 0x54]
mov eax, ecx
neg eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], 1
cmp ecx, 1
jle 0x43e10e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x1c]
sub edx, ecx
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x54], ecx
jmp 0x43d938
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x43d94a
mov ecx, dword [esp + 0x24]
lea edx, [eax + ecx*2 + 1]
mov dword [esp + 0x3c], edx
jmp 0x43d969
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
inc dword [esp + 0x5c]
dec dword [esp + 0x14]
dec ecx
sub edx, ecx
lea eax, [eax + edx*2 + 1]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x6c], 0
je 0x43db6b
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x68]
push ebx
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x70]
push esi
push edi
push edx
dec eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x58]
push eax
push ecx
push ebp
mov dword [esp + 0x48], ecx
call fcn.004390a0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x40]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x94]
push ebx
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x9c]
push esi
push edi
push edx
push eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x68]
push ecx
push eax
push ebp
mov dword [esp + 0xa0], ecx
call fcn.004390a0
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x68]
add esp, 0x58
push ecx
mov ecx, dword [esp + 0x64]
push ebx
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x6c]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push ebp
call fcn.00438f10
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x90]
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
push esi
push edi
push edx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
push ebp
call fcn.00438f10
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0xb0]
add esp, 0x58
push edx
mov edx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x2c]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x78]
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x6c], eax
call fcn.00438f10
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x90]
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edi
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
push ebp
call fcn.00438f10
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x68]
add esp, 0x58
push eax
mov eax, dword [esp + 0x64]
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x68]
push esi
push edi
push eax
mov eax, dword [esp + 0x34]
dec eax
push eax
push ecx
push edx
push ebp
call fcn.004390a0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x90]
push ebx
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push esi
push edi
push eax
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
push ebp
call fcn.004390a0
add esp, 0x58
jmp 0x43e0ed
cmp byte [esp + 0x70], 0
je 0x43dbad
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
cmp ecx, dword [eax]
jl 0x43dc75
cmp ecx, dword [eax + 8]
jge 0x43dc75
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x5c]
cmp ecx, dword [eax + 4]
jl 0x43dc71
cmp ecx, dword [eax + 0xc]
jge 0x43dc71
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x18]
mov edx, dword [ebp]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x5c]
imul eax, ecx
add eax, dword [esp + 0x1c]
mov ecx, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
mov eax, dword [esp + 0x64]
add ecx, dword [esp + 0x48]
imul eax, ebx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x38], ecx
movzx ecx, byte [ecx + 3]
add eax, ecx
push eax
mov eax, dword [esp + 0x14]
imul eax, ebx
cdq
and edx, 0xff
lea ecx, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx]
sar ecx, 8
add ecx, eax
mov eax, esi
imul eax, ebx
cdq
and edx, 0xff
lea esi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 1]
sar esi, 8
add esi, eax
mov eax, edi
imul eax, ebx
cdq
and edx, 0xff
lea edi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 2]
sar edi, 8
add edi, eax
call fcn.004384b0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0x70], 0
je 0x43dca7
cmp ecx, dword [eax]
jl 0x43dd5f
cmp ecx, dword [eax + 8]
jge 0x43dd5f
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x54]
cmp ecx, dword [eax + 4]
jl 0x43dd5f
cmp ecx, dword [eax + 0xc]
jge 0x43dd5f
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x14]
imul eax, ecx
add eax, dword [esp + 0x1c]
mov ecx, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
mov eax, dword [esp + 0x64]
add ecx, dword [esp + 0x48]
imul eax, ebx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x38], ecx
movzx ecx, byte [ecx + 3]
add eax, ecx
push eax
mov eax, dword [esp + 0x14]
imul eax, ebx
cdq
and edx, 0xff
lea ecx, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx]
sar ecx, 8
add ecx, eax
mov eax, esi
imul eax, ebx
cdq
and edx, 0xff
lea esi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 1]
sar esi, 8
add esi, eax
mov eax, edi
imul eax, ebx
cdq
and edx, 0xff
lea edi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 2]
sar edi, 8
add edi, eax
call fcn.004384b0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
add esp, 4
cmp byte [esp + 0x70], 0
je 0x43dd95
mov ecx, dword [esp + 0x58]
cmp ecx, dword [eax]
jl 0x43de4d
cmp ecx, dword [eax + 8]
jge 0x43de4d
mov ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x54]
cmp ecx, dword [eax + 4]
jl 0x43de4d
cmp ecx, dword [eax + 0xc]
jge 0x43de4d
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x5c]
imul eax, ecx
add eax, dword [esp + 0x58]
mov ecx, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
mov eax, dword [esp + 0x64]
add ecx, dword [esp + 0x48]
imul eax, ebx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x38], ecx
movzx ecx, byte [ecx + 3]
add eax, ecx
push eax
mov eax, dword [esp + 0x14]
imul eax, ebx
cdq
and edx, 0xff
lea ecx, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx]
sar ecx, 8
add ecx, eax
mov eax, esi
imul eax, ebx
cdq
and edx, 0xff
lea esi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 1]
sar esi, 8
add esi, eax
mov eax, edi
imul eax, ebx
cdq
and edx, 0xff
lea edi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 2]
sar edi, 8
add edi, eax
call fcn.004384b0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
add esp, 4
cmp byte [esp + 0x70], 0
je 0x43de83
mov ecx, dword [esp + 0x58]
cmp ecx, dword [eax]
jl 0x43df3b
cmp ecx, dword [eax + 8]
jge 0x43df3b
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x54]
cmp ecx, dword [eax + 4]
jl 0x43df3b
cmp ecx, dword [eax + 0xc]
jge 0x43df3b
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x14]
imul eax, ecx
add eax, dword [esp + 0x58]
mov ecx, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
mov eax, dword [esp + 0x64]
add ecx, dword [esp + 0x48]
imul eax, ebx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [esp + 0x38], ecx
movzx ecx, byte [ecx + 3]
add eax, ecx
push eax
mov eax, dword [esp + 0x14]
imul eax, ebx
cdq
and edx, 0xff
lea ecx, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx]
sar ecx, 8
add ecx, eax
mov eax, esi
imul eax, ebx
cdq
and edx, 0xff
lea esi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 1]
sar esi, 8
add esi, eax
mov eax, edi
imul eax, ebx
cdq
and edx, 0xff
lea edi, [edx + eax]
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx + 2]
sar edi, 8
add edi, eax
call fcn.004384b0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
add esp, 4
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x24], ecx
je 0x43e0ed
cmp byte [esp + 0x70], 0
je 0x43df6b
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [eax]
jl 0x43dfae
cmp ecx, dword [eax + 8]
jge 0x43dfae
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jl 0x43dfae
cmp ecx, dword [eax + 0xc]
jge 0x43dfae
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x5c]
mov edx, dword [ebp]
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x48]
push ebx
push ecx
push edx
push esi
push edi
push eax
call fcn.0042c530
mov eax, dword [esp + 0x78]
add esp, 0x18
cmp byte [esp + 0x70], 0
je 0x43dfd4
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [eax]
jl 0x43e01d
cmp ecx, dword [eax + 8]
jge 0x43e01d
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x58]
cmp ecx, dword [eax + 4]
jl 0x43e01d
cmp ecx, dword [eax + 0xc]
jge 0x43e01d
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x58]
imul eax, ecx
add eax, dword [esp + 0x5c]
mov ecx, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x48]
push ebx
push ecx
push edx
push esi
push edi
push eax
call fcn.0042c530
mov eax, dword [esp + 0x78]
add esp, 0x18
cmp byte [esp + 0x70], 0
je 0x43e03f
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
jl 0x43e082
cmp ecx, dword [eax + 8]
jge 0x43e082
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jl 0x43e082
cmp ecx, dword [eax + 0xc]
jge 0x43e082
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov ecx, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x48]
push ebx
push ecx
push edx
push esi
push edi
push eax
call fcn.0042c530
mov eax, dword [esp + 0x78]
add esp, 0x18
cmp byte [esp + 0x70], 0
je 0x43e0a8
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
jl 0x43e0ed
cmp ecx, dword [eax + 8]
jge 0x43e0ed
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x58]
cmp ecx, dword [eax + 4]
jl 0x43e0ed
cmp ecx, dword [eax + 0xc]
jge 0x43e0ed
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x58]
imul eax, ecx
add eax, dword [esp + 0x14]
mov ecx, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x48]
push ebx
push ecx
push edx
push esi
push edi
push eax
call fcn.0042c530
add esp, 0x18
mov eax, dword [esp + 0x24]
mov ecx, 1
add dword [esp + 0x58], ecx
sub dword [esp + 0x18], ecx
add eax, ecx
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x30]
jl 0x43d934
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret