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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x50]
movss xmm0, dword [esp + 0x40]
push ebx
push ebp
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4c5b80]
addsd xmm1, xmm0
mov ebx, eax
mov ecx, eax
mov edx, eax
push esi
shr eax, 0x18
mov ebp, eax
cvttsd2si eax, xmm1
movss xmm1, dword [esp + 0x50]
push edi
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si esi, xmm1
movss xmm1, dword [esp + 0x58]
cvtps2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si edi, xmm1
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x68]
push edi
push ebp
and edx, 0xff
shr ecx, 8
and ecx, 0xff
push edx
shr ebx, 0x10
and ebx, 0xff
cmp byte [esp + 0x78], 0
push ecx
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x70]
push ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
push ebp
je 0x43b9c5
lea ecx, [esi - 1]
sub esi, dword [esp + 0x6c]
push ecx
push esi
mov esi, dword [esp + 0x70]
push eax
push esi
call fcn.00438d80
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push edi
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x60]
push ebx
push ebp
add ecx, eax
push ecx
inc eax
push eax
push edx
push esi
call fcn.00438d80
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x78]
add esp, 0x58
lea ecx, [edx + eax]
sub eax, edx
mov edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x64]
push edi
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push edx
push ebx
push ebp
push ecx
push eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
push eax
push esi
mov dword [esp + 0x80], ecx
call fcn.00438c70
add esp, 0x2c
jmp 0x43ba7c
sub esi, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x6c]
push eax
push esi
call fcn.00438bf0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push ebx
push ebp
push ecx
push eax
push esi
mov dword [esp + 0xa4], eax
call fcn.00438bf0
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x60]
add esp, 0x50
push edx
mov edx, dword [esp + 0x18]
push edi
push eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x34]
push ebx
push ebp
push eax
push edx
push esi
call fcn.00438bf0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push ebx
push ebp
push ecx
push eax
push esi
mov dword [esp + 0xa8], eax
call fcn.00438bf0
add esp, 0x50
mov ecx, dword [esp + 0x50]
mov eax, ecx
neg eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], 1
cmp ecx, 1
jle 0x43c289
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x24]
lea edx, [ecx - 1]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x20]
sub edx, ecx
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], ecx
jmp 0x43bad5
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x43bae7
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx*2 + 1]
mov dword [esp + 0x38], edx
jmp 0x43bb06
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
inc dword [esp + 0x58]
dec dword [esp + 0x18]
dec ecx
sub edx, ecx
lea eax, [eax + edx*2 + 1]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
cmp byte [esp + 0x68], 0
je 0x43bcf6
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x64]
push edi
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push edx
push ebx
push ebp
dec eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push esi
mov dword [esp + 0x4c], ecx
call fcn.00438d80
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x44]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x90]
push edi
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push edx
push ebx
push ebp
push eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x6c]
push ecx
push eax
push esi
mov dword [esp + 0x9c], ecx
call fcn.00438d80
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x68]
add esp, 0x58
push ecx
mov ecx, dword [esp + 0x18]
push edi
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x30]
push ebx
push ebp
push edx
push eax
push ecx
push esi
call fcn.00438c70
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push edi
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push ebx
push ebp
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.00438c70
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xa8]
add eax, dword [esp + 0xac]
add esp, 0x58
push edx
mov edx, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x6c]
push ebx
push ebp
push edx
push ecx
push eax
push esi
mov dword [esp + 0x68], eax
call fcn.00438c70
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push edi
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x7c]
push ebx
push ebp
push eax
push ecx
push edx
push esi
call fcn.00438c70
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x68]
add esp, 0x58
push eax
mov eax, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
dec eax
push eax
push ecx
push edx
push esi
call fcn.00438d80
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ebx
push ebp
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x9c]
push ecx
push edx
push eax
push esi
call fcn.00438d80
add esp, 0x58
jmp 0x43c268
cmp byte [esp + 0x6c], 0
je 0x43bd35
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
cmp eax, dword [ebp]
jl 0x43bdf9
cmp eax, dword [ebp + 8]
jge 0x43bdf9
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x58]
cmp ecx, dword [ebp + 4]
jl 0x43bdf9
cmp ecx, dword [ebp + 0xc]
jge 0x43bdf9
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x58]
imul eax, ecx
add eax, dword [esp + 0x20]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
add ecx, dword [esp + 0x44]
mov eax, 0x100
sub eax, edi
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx]
sub eax, dword [esp + 0x10]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x10]
mov byte [ecx], al
movzx eax, byte [ecx + 1]
sub eax, dword [esp + 0x14]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x14]
mov byte [ecx + 1], al
movzx eax, byte [ecx + 2]
sub eax, ebx
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, bl
mov byte [ecx + 2], al
movzx eax, byte [ecx + 3]
sub eax, dword [esp + 0x60]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x60]
mov byte [ecx + 3], al
mov eax, dword [esp + 0x20]
cmp byte [esp + 0x6c], 0
je 0x43be2c
cmp eax, dword [ebp]
jl 0x43bee0
cmp eax, dword [ebp + 8]
jge 0x43bee0
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x18]
cmp eax, dword [ebp + 4]
jl 0x43bee0
cmp eax, dword [ebp + 0xc]
jge 0x43bee0
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x18]
imul eax, ecx
add eax, dword [esp + 0x20]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
add ecx, dword [esp + 0x44]
mov eax, 0x100
sub eax, edi
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx]
sub eax, dword [esp + 0x10]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x10]
mov byte [ecx], al
movzx eax, byte [ecx + 1]
sub eax, dword [esp + 0x14]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x14]
mov byte [ecx + 1], al
movzx eax, byte [ecx + 2]
sub eax, ebx
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, bl
mov byte [ecx + 2], al
movzx eax, byte [ecx + 3]
sub eax, dword [esp + 0x60]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x60]
mov byte [ecx + 3], al
cmp byte [esp + 0x6c], 0
je 0x43bf17
mov eax, dword [esp + 0x54]
cmp eax, dword [ebp]
jl 0x43bfcb
cmp eax, dword [ebp + 8]
jge 0x43bfcb
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x58]
cmp eax, dword [ebp + 4]
jl 0x43bfcb
cmp eax, dword [ebp + 0xc]
jge 0x43bfcb
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x58]
imul eax, ecx
add eax, dword [esp + 0x54]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
add ecx, dword [esp + 0x44]
mov eax, 0x100
sub eax, edi
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx]
sub eax, dword [esp + 0x10]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x10]
mov byte [ecx], al
movzx eax, byte [ecx + 1]
sub eax, dword [esp + 0x14]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x14]
mov byte [ecx + 1], al
movzx eax, byte [ecx + 2]
sub eax, ebx
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, bl
mov byte [ecx + 2], al
movzx eax, byte [ecx + 3]
sub eax, dword [esp + 0x60]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x60]
mov byte [ecx + 3], al
cmp byte [esp + 0x6c], 0
je 0x43c002
mov eax, dword [esp + 0x54]
cmp eax, dword [ebp]
jl 0x43c0b6
cmp eax, dword [ebp + 8]
jge 0x43c0b6
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x18]
cmp eax, dword [ebp + 4]
jl 0x43c0b6
cmp eax, dword [ebp + 0xc]
jge 0x43c0b6
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x18]
imul eax, ecx
add eax, dword [esp + 0x54]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, eax
add ecx, dword [esp + 0x44]
mov eax, 0x100
sub eax, edi
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx]
sub eax, dword [esp + 0x10]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x10]
mov byte [ecx], al
movzx eax, byte [ecx + 1]
sub eax, dword [esp + 0x14]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x14]
mov byte [ecx + 1], al
movzx eax, byte [ecx + 2]
sub eax, ebx
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, bl
mov byte [ecx + 2], al
movzx eax, byte [ecx + 3]
sub eax, dword [esp + 0x60]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, byte [esp + 0x60]
mov byte [ecx + 3], al
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x28], eax
je 0x43c268
cmp byte [esp + 0x6c], 0
je 0x43c0e7
mov eax, dword [esp + 0x58]
cmp eax, dword [ebp]
jl 0x43c128
cmp eax, dword [ebp + 8]
jge 0x43c128
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 4]
jl 0x43c128
cmp eax, dword [ebp + 0xc]
jge 0x43c128
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
imul eax, dword [esp + 0x1c]
add eax, dword [esp + 0x58]
mov edx, dword [esi]
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push ebx
push eax
call fcn.0042c330
add esp, 0x18
cmp byte [esp + 0x6c], 0
je 0x43c14f
mov eax, dword [esp + 0x58]
cmp eax, dword [ebp]
jl 0x43c196
cmp eax, dword [ebp + 8]
jge 0x43c196
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x50]
cmp eax, dword [ebp + 4]
jl 0x43c196
cmp eax, dword [ebp + 0xc]
jge 0x43c196
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x54]
imul eax, ecx
add eax, dword [esp + 0x58]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push ebx
push eax
call fcn.0042c330
add esp, 0x18
cmp byte [esp + 0x6c], 0
je 0x43c1b9
mov eax, dword [esp + 0x18]
cmp eax, dword [ebp]
jl 0x43c1fa
cmp eax, dword [ebp + 8]
jge 0x43c1fa
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 4]
jl 0x43c1fa
cmp eax, dword [ebp + 0xc]
jge 0x43c1fa
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
imul eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
mov edx, dword [esi]
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push ebx
push eax
call fcn.0042c330
add esp, 0x18
cmp byte [esp + 0x6c], 0
je 0x43c221
mov eax, dword [esp + 0x18]
cmp eax, dword [ebp]
jl 0x43c268
cmp eax, dword [ebp + 8]
jge 0x43c268
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x50]
cmp eax, dword [ebp + 4]
jl 0x43c268
cmp eax, dword [ebp + 0xc]
jge 0x43c268
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x54]
imul eax, ecx
add eax, dword [esp + 0x18]
mov ecx, esi
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
add eax, dword [esp + 0x44]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push ebx
push eax
call fcn.0042c330
add esp, 0x18
mov eax, dword [esp + 0x28]
mov ecx, 1
add dword [esp + 0x54], ecx
sub dword [esp + 0x1c], ecx
add eax, ecx
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jl 0x43bad1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret