Function at 0x1001d8b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
mov eax, ecx
xor esi, esi
push edi
mov dword [esp + 0x44], eax
xor ebx, ebx
call fcn.1001d720
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
test edi, edi
js 0x1001e277
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
mov eax, 0x100
cwde
movzx ecx, byte [edi + edx]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + edx + 1]
add cx, ax
movzx eax, cx
mov dword [esp + 0x24], eax
test ax, ax
jle 0x1001dd8c
cwde
lea esi, [edx + 0xa]
add edx, 0xa
mov byte [esp + 0x12], bl
add esi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x44]
lea ecx, [edi + eax*2]
add ecx, edx
mov dword [esp + 0x48], ebx
lea edx, [eax + eax]
lea ebx, [edi + 0xc]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
add eax, dword [esi + 4]
mov esi, dword [esp + 0x3c]
add ecx, eax
add ecx, edx
add ebx, ecx
movzx ecx, byte [edx + esi - 2]
movzx edi, byte [edx + esi - 1]
shl ecx, 8
inc ecx
add edi, ecx
mov dword [esp + 0x28], edi
lea eax, [edx + edi]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
call fcn.10009810
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x1001e277
xor dl, dl
mov dword [esp + 0x4c], 0
test edi, edi
je 0x1001d9dc
mov ecx, dword [esp + 0x24]
movsx eax, cx
lea ecx, [eax*8]
sub ecx, eax
mov al, byte [esp + 0x12]
add ecx, 3
lea ecx, [esi + ecx*4]
mov dword [esp + 0x50], ebx
test dl, dl
jne 0x1001d9cc
mov al, byte [ebx]
mov byte [esp + 0x12], al
and al, 8
je 0x1001d9ba
mov dl, byte [ebx + 1]
xor ebx, ebx
test al, al
mov al, byte [esp + 0x12]
setne bl
inc ebx
add ebx, dword [esp + 0x50]
jmp 0x1001d9ce
dec dl
mov byte [ecx], al
add ecx, 0xe
sub edi, 1
jne 0x1001d9a5
mov edi, dword [esp + 0x28]
xor edx, edx
test edi, edi
je 0x1001da5b
mov eax, dword [esp + 0x24]
movsx ecx, ax
lea eax, [ecx*8]
sub eax, ecx
lea edi, [esi + eax*4]
mov esi, dword [esp + 0x28]
nop dword [eax]
mov cl, byte [edi + 0xc]
and cl, 0x10
test byte [edi + 0xc], 2
mov byte [esp + 0x12], cl
je 0x1001da26
mov al, byte [ebx]
inc ebx
movzx ecx, al
mov eax, ecx
neg eax
cmp byte [esp + 0x12], 0
cmove ecx, eax
add edx, ecx
jmp 0x1001da48
test cl, cl
jne 0x1001da48
movzx ecx, byte [ebx]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [ebx + 1]
add cx, ax
movsx eax, cx
add edx, eax
add ebx, 2
mov word [edi], dx
add edi, 0xe
sub esi, 1
jne 0x1001da00
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
xor edx, edx
test edi, edi
je 0x1001dad7
mov eax, dword [esp + 0x24]
movsx ecx, ax
lea eax, [ecx*8]
sub eax, ecx
lea edi, [eax*4 + 2]
add edi, esi
mov esi, dword [esp + 0x28]
nop
mov cl, byte [edi + 0xa]
and cl, 0x20
test byte [edi + 0xa], 4
mov byte [esp + 0x12], cl
je 0x1001daa6
mov al, byte [ebx]
inc ebx
movzx ecx, al
mov eax, ecx
neg eax
cmp byte [esp + 0x12], 0
cmove ecx, eax
add edx, ecx
jmp 0x1001dac8
test cl, cl
jne 0x1001dac8
movzx ecx, byte [ebx]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [ebx + 1]
add cx, ax
movsx eax, cx
add edx, eax
add ebx, 2
mov word [edi], dx
add edi, 0xe
sub esi, 1
jne 0x1001da80
mov esi, dword [esp + 0x14]
xor eax, eax
xor edx, edx
xor edi, edi
mov dword [esp + 0x40], edx
xor ecx, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x28], eax
jbe 0x1001dd5b
mov eax, dword [esp + 0x24]
movsx ebx, ax
lea eax, [ebx*8]
sub eax, ebx
lea ebx, [esi + eax*4]
mov dword [esp + 0x50], ebx
nop dword [eax]
mov al, byte [ebx + 0xc]
mov byte [esp + 0x12], al
movzx eax, word [ebx]
mov dword [esp + 0x20], eax
movzx eax, word [ebx + 2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x4c], eax
jne 0x1001dc32
test eax, eax
je 0x1001db72
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x50]
push edi
push ecx
push dword [esp + 0x60]
mov ecx, esi
push dword [esp + 0x38]
call fcn.1001d7e0
mov edx, eax
add esp, 0x20
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x12]
not ecx
and ecx, 1
mov dword [esp + 0x48], ecx
je 0x1001dbdb
test byte [ebx + 0x1a], 1
mov edi, dword [esp + 0x20]
movsx ecx, di
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
movsx ecx, di
movsx edi, word [ebx + 0x10]
mov dword [esp + 0x40], ecx
lea ecx, [ebx + 0xe]
mov dword [esp + 0x50], ecx
movsx ecx, word [ecx]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edi
jne 0x1001dbd0
mov esi, dword [esp + 0x20]
movsx eax, si
mov esi, dword [esp + 0x24]
add ecx, eax
movsx eax, si
mov esi, dword [esp + 0x14]
add edi, eax
sar ecx, 1
sar edi, 1
jmp 0x1001dbe9
mov ebx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x18], eax
jmp 0x1001dbf1
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
movsx ecx, cx
movsx edi, di
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
lea eax, [edx*8]
sub eax, edx
inc edx
mov word [esi + eax*2], cx
xor ecx, ecx
mov dword [esi + eax*2 + 4], ecx
mov byte [esi + eax*2 + 0xc], 1
mov word [esi + eax*2 + 2], di
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
inc eax
add eax, ecx
add dword [esp + 0x3c], 2
mov dword [esp + 0x4c], eax
jmp 0x1001dd39
test byte [esp + 0x12], 1
jne 0x1001dcb7
cmp dword [esp + 0x1c], 0
je 0x1001dc90
lea ecx, [edx*8]
sub ecx, edx
inc edx
mov byte [esi + ecx*2 + 0xc], 3
mov esi, dword [esp + 0x20]
movsx eax, si
add eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
sar eax, 1
mov word [esi + ecx*2], ax
mov esi, dword [esp + 0x24]
movsx eax, si
add eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
sar eax, 1
mov word [esi + ecx*2 + 2], ax
mov eax, dword [esp + 0x30]
mov word [esi + ecx*2 + 4], ax
mov eax, dword [esp + 0x2c]
mov word [esi + ecx*2 + 6], ax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
movsx ecx, di
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
movsx ecx, di
mov edi, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], 1
jmp 0x1001dd3d
mov eax, dword [esp + 0x20]
lea ebx, [edx*8]
movzx esi, ax
sub ebx, edx
mov eax, dword [esp + 0x24]
inc edx
movzx edi, ax
xor ecx, ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x1c]
test esi, esi
movzx eax, ax
cmove eax, ecx
mov dword [esp + 0x54], edx
movzx edx, ax
test esi, esi
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
movzx eax, ax
cmove eax, ecx
mov dword [esp + 0x1c], 0
movzx ecx, ax
setne al
add al, 2
mov byte [esi + ebx*2 + 0xc], al
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov word [eax + ebx*2], si
mov esi, eax
mov word [esi + ebx*2 + 2], di
mov word [esi + ebx*2 + 4], dx
mov edx, dword [esp + 0x54]
mov word [esi + ebx*2 + 6], cx
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
inc eax
add ebx, 0xe
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], ebx
cmp eax, dword [esp + 0x28]
jl 0x1001db20
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x50]
push edi
push ecx
push dword [esp + 0x60]
mov ecx, esi
push dword [esp + 0x38]
call fcn.1001d7e0
add esp, 0x20
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jns 0x1001dd7e
add edi, 0xa
xor ebx, ebx
add edi, edx
xor esi, esi
mov dword [esp + 0x14], esi
mov al, byte [edi + 2]
xorps xmm3, xmm3
movzx edx, byte [edi + 1]
movaps xmm0, xmmword [0x100ccbc0]
movss xmm5, dword [0x100ccaf0]
movss xmm4, dword [0x100cca7c]
mov byte [esp + 0x12], al
mov al, byte [edi + 3]
add edi, 4
mov dword [esp + 0x34], 0
movss dword [esp + 0x20], xmm3
mov dword [esp + 0x1c], edx
mov byte [esp + 0x13], al
movups xmmword [esp + 0x5c], xmm0
test dl, 2
je 0x1001de70
lea ecx, [edi + 1]
mov dword [esp + 0x54], ecx
test dl, 1
je 0x1001de4b
movzx ecx, byte [edi]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
mov eax, dword [esp + 0x54]
movzx eax, byte [eax]
add cx, ax
movsx eax, cx
movzx ecx, byte [edi + 2]
movsx ecx, cx
movd xmm0, eax
mov eax, 0x100
cwde
imul ecx, eax
movzx eax, byte [edi + 3]
cvtdq2ps xmm0, xmm0
add cx, ax
add edi, 4
movsx eax, cx
movss dword [esp + 0x48], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jmp 0x1001de7c
movsx eax, byte [edi]
mov edi, ecx
movd xmm0, eax
movsx eax, byte [edi]
inc edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x48], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
jmp 0x1001de7c
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x48], xmm0
xorps xmm2, xmm2
test dl, 8
je 0x1001dece
movzx ecx, byte [edi]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + 1]
add cx, ax
add edi, 2
movsx eax, cx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
movaps xmm1, xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x3c], xmm0
jmp 0x1001e031
test dl, 0x40
je 0x1001df3e
movzx ecx, byte [edi]
mov edx, 0x100
movsx ecx, cx
movsx eax, dx
imul ecx, eax
movzx eax, byte [edi + 1]
add cx, ax
movsx eax, cx
movzx ecx, byte [edi + 2]
movsx ecx, cx
movd xmm1, eax
movsx eax, dx
imul ecx, eax
movzx eax, byte [edi + 3]
cvtdq2ps xmm1, xmm1
add cx, ax
add edi, 4
movsx eax, cx
mulss xmm1, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm1
mulss xmm0, xmm4
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x3c], xmm0
jmp 0x1001e031
movaps xmm0, xmm5
movaps xmm1, xmm5
movss dword [esp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x3c], xmm0
test dl, dl
jns 0x1001e025
movzx ecx, byte [edi + 2]
lea esi, [edi + 1]
movsx ecx, cx
mov eax, 0x100
cwde
imul ecx, eax
movzx eax, byte [edi + 3]
mov dl, byte [edi]
add cx, ax
movsx eax, cx
movzx ecx, byte [edi + 4]
movsx ecx, cx
movd xmm2, eax
mov eax, 0x100
cwde
imul ecx, eax
movzx eax, byte [edi + 5]
cvtdq2ps xmm2, xmm2
add cx, ax
movsx eax, cx
movzx ecx, byte [edi + 6]
movsx ecx, cx
mulss xmm2, xmm4
movd xmm0, eax
mov eax, 0x100
cwde
imul ecx, eax
movzx eax, byte [edi + 7]
add edi, 8
cvtdq2ps xmm0, xmm0
add cx, ax
movsx eax, cx
movss dword [esp + 0x38], xmm2
mulss xmm0, xmm4
movzx ecx, dl
movsx ecx, cx
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x24], xmm0
movd xmm0, eax
mov eax, 0x100
cwde
imul ecx, eax
movzx eax, byte [esi]
mov esi, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
add cx, ax
movsx eax, cx
mulss xmm0, xmm4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x2c], xmm0
mulss xmm1, xmm4
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x28], xmm1
jmp 0x1001e049
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
call fcn.100a8fe0
movss xmm1, dword [esp + 0x30]
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm1
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm0
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.100a8fe0
movzx edx, byte [esp + 0x12]
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
push eax
movzx eax, byte [esp + 0x17]
shl edx, 8
add edx, eax
movss dword [esp + 0x50], xmm0
call fcn.1001fa30
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
jle 0x1001e24f
movss xmm4, dword [esp + 0x2c]
xor edx, edx
movss xmm5, dword [esp + 0x28]
mov esi, eax
movss xmm6, dword [esp + 0x48]
movss xmm7, dword [esp + 0x24]
nop dword [eax]
mov ecx, dword [esp + 0x34]
movaps xmm1, xmm7
movsx eax, word [edx + ecx + 2]
movd xmm3, eax
movsx eax, word [edx + ecx]
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mulss xmm1, xmm3
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
mulss xmm0, xmm5
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm3
addss xmm1, xmm6
mulss xmm1, dword [esp + 0x50]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x38]
mulss xmm1, xmm2
mov word [edx + ecx], ax
addss xmm1, xmm0
addss xmm1, dword [esp + 0x20]
mulss xmm1, dword [esp + 0x4c]
cvttss2si eax, xmm1
movaps xmm1, xmm7
mov word [edx + ecx + 2], ax
movsx eax, word [edx + ecx + 6]
movd xmm3, eax
movsx eax, word [edx + ecx + 4]
cvtdq2ps xmm3, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm1, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm5
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm3
addss xmm1, xmm6
mulss xmm1, dword [esp + 0x50]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x38]
mulss xmm1, xmm2
mov word [edx + ecx + 4], ax
addss xmm1, xmm0
addss xmm1, dword [esp + 0x20]
mulss xmm1, dword [esp + 0x4c]
cvttss2si eax, xmm1
mov word [edx + ecx + 6], ax
add edx, 0xe
sub esi, 1
jne 0x1001e0e0
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
add eax, ebx
mov dword [esp + 0x54], eax
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
call fcn.10009810
mov ecx, eax
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x1001e25f
test ebx, ebx
jle 0x1001e206
test esi, esi
je 0x1001e206
lea eax, [ebx*8]
sub eax, ebx
add eax, eax
push eax
push esi
push ecx
call fcn.1008a3d0
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x40]
lea eax, [edx*8]
sub eax, edx
add eax, eax
push eax
push dword [esp + 0x38]
lea eax, [ebx*8]
sub eax, ebx
lea eax, [ecx + eax*2]
push eax
call fcn.1008a3d0
add esp, 0xc
test esi, esi
je 0x1001e23a
mov ecx, esi
call fcn.100098b0
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], esi
call fcn.100098b0
mov ebx, dword [esp + 0x54]
test byte [esp + 0x1c], 0x20
je 0x1001dd7e
jmp 0x1001dd9b
test esi, esi
je 0x1001e26a
mov ecx, esi
call fcn.100098b0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1001e277
call fcn.100098b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret