Function at 0x101858f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x40]
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov dword [esp + 0x38], eax
cmp ecx, 1
jne 0x10185917
movzx ebx, bp
xor ecx, ecx
jmp 0x1018594f
cmp ecx, 3
jne 0x10185949
xor ecx, ecx
movzx ebx, bp
mov dword [esp + 0x18], ecx
test ebp, 0x10000
je 0x10185953
mov ecx, 0x10000
mov eax, 0
sub ecx, ebx
mov edx, eax
mov ebx, ecx
sbb eax, edx
mov edx, dword [edi + 0x30]
mov ecx, eax
mov eax, dword [edi + 0x34]
jmp 0x1018594f
mov ecx, dword [esp + 0x48]
mov ebx, ebp
mov dword [esp + 0x18], ecx
push esi
xor esi, esi
test eax, eax
jle 0x1018597d
mov ebp, dword [esp + 0x3c]
mov edi, edx
mov eax, dword [edi]
cdq
cmp ecx, edx
jl 0x10185975
jg 0x1018596d
cmp ebx, eax
jb 0x10185975
inc esi
add edi, 0xc
cmp esi, ebp
jl 0x10185960
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov eax, dword [edi + 0x30]
lea ecx, [esi + esi*2]
mov eax, dword [eax + ecx*4 - 0xc]
cdq
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x30]
mov dword [esp + 0x18], eax
lea eax, [ecx - 2]
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x3c], eax
cdq
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0x30]
add edx, 4
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x38]
lea edx, [edx + ecx*4]
mov dword [esp + 0x24], edx
cmp eax, 1
jne 0x101859f1
mov eax, dword [esp + 0x4c]
mov esi, ebp
sub esi, ebx
mov ecx, eax
sbb ecx, dword [esp + 0x1c]
add dword [esp + 0x18], esi
mov esi, dword [esp + 0x44]
adc dword [esp + 0x10], ecx
sub ebp, ebx
sbb eax, dword [esp + 0x1c]
add dword [esp + 0x20], ebp
adc esi, eax
mov dword [esp + 0x44], esi
jmp 0x10185a78
cmp eax, 3
jne 0x10185cdc
test ebp, 0x10000
je 0x10185a4c
mov ecx, dword [esp + 0x14]
mov esi, 0x10000
mov eax, esi
sub eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, 0
sbb eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, esi
sub eax, dword [esp + 0x3c]
sub esi, ebx
cdq
mov ebx, esi
mov dword [esp + 0x10], edx
mov edx, 0
sbb edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
jmp 0x10185a50
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
mov ecx, ebp
sub ecx, ebx
mov eax, esi
sbb eax, edx
add dword [esp + 0x18], ecx
adc dword [esp + 0x10], eax
sub ebp, ebx
sbb esi, edx
add dword [esp + 0x20], ebp
mov edx, dword [esp + 0x24]
adc dword [esp + 0x44], esi
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 6]
movss xmm0, dword [0x1028905c]
mov ebx, dword [esp + 0x18]
movd xmm1, eax
movzx eax, word [ecx]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x2c], xmm1
movd xmm1, eax
movzx eax, word [ecx + 2]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x28], xmm1
movd xmm1, eax
movzx eax, word [ecx + 4]
mov ecx, ebx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x14], xmm1
movd xmm1, eax
movzx eax, word [edx + 6]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movd xmm1, eax
movzx eax, word [edx]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x30], xmm1
movd xmm1, eax
movzx eax, word [edx + 2]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x34], xmm1
movd xmm1, eax
movzx eax, word [edx + 4]
mov edx, dword [esp + 0x10]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x38], xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
call fcn.101f5580
mov ebp, dword [esp + 0x20]
mov edx, esi
cvtsd2ss xmm0, xmm0
mov ecx, ebp
mulss xmm0, dword [0x10287e54]
movss dword [esp + 0x1c], xmm0
call fcn.101f5580
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
pop esi
mulss xmm4, dword [0x10287e54]
movaps xmm1, xmm4
subss xmm1, dword [esp + 0x18]
comiss xmm1, dword [0x10289064]
jbe 0x10185b8b
movss xmm0, dword [0x102c6128]
comiss xmm0, xmm1
ja 0x10185d06
cmp ebx, 0x80000000
jne 0x10185b9e
cmp dword [esp + 0xc], 0xffffffff
je 0x10185d06
mov eax, dword [esp + 0x40]
cmp ebp, 0x7fffffff
jne 0x10185bb2
test eax, eax
je 0x10185d0a
movss xmm3, dword [0x102c6188]
movaps xmm5, xmm4
divss xmm3, xmm1
movss xmm0, dword [esp + 0x2c]
movaps xmm6, xmm4
subss xmm0, dword [esp + 0x28]
movss xmm2, dword [0x10289000]
movaps xmm1, xmm4
mulss xmm5, dword [esp + 0x20]
mulss xmm6, dword [esp + 0x10]
mulss xmm0, xmm3
mulss xmm1, dword [esp + 0x24]
mulss xmm0, xmm2
mulss xmm4, dword [esp + 0x28]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x24]
mulss xmm0, xmm3
mulss xmm0, xmm2
movss dword [edi + 8], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x10]
mulss xmm0, xmm3
mulss xmm0, xmm2
movss dword [edi + 0x10], xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [esp + 0x20]
mulss xmm0, xmm3
mulss xmm0, xmm2
movss dword [edi + 0x18], xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x38]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x34]
subss xmm6, xmm0
mulss xmm5, xmm3
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x30]
mulss xmm6, xmm3
subss xmm1, xmm0
mulss xmm5, xmm2
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x2c]
mulss xmm1, xmm3
subss xmm4, xmm0
mulss xmm6, xmm2
mulss xmm1, xmm2
mulss xmm4, xmm3
mulss xmm2, xmm4
mov ecx, dword [esp + 0xc]
movss dword [edi + 4], xmm2
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x14], xmm6
movss dword [edi + 0x1c], xmm5
mov dword [edi + 0x20], ebx
mov dword [edi + 0x28], ebp
mov dword [edi + 0x24], ecx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x3c], 0
pop edi
pop ebp
pop ebx
add esp, 0x30
ret
test eax, eax
jne 0x10185a74
mov ecx, dword [esp + 0x14]
test esi, esi
jne 0x10185cf7
mov esi, dword [esp + 0x44]
mov edx, ecx
jmp 0x10185a7c
cmp esi, dword [edi + 0x34]
mov esi, dword [esp + 0x44]
cmove ecx, edx
jmp 0x10185a7c
mov eax, dword [esp + 0x40]
movss xmm5, dword [esp + 0x38]
movss xmm6, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
movss xmm2, dword [esp + 0x2c]
addss xmm5, dword [esp + 0x20]
addss xmm6, dword [esp + 0x10]
addss xmm1, dword [esp + 0x24]
addss xmm2, dword [esp + 0x28]
movss xmm0, dword [0x10289060]
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 8], 0
mov dword [edi], 0
divss xmm5, xmm0
divss xmm6, xmm0
divss xmm1, xmm0
divss xmm2, xmm0
jmp 0x10185caa