Function at 0x10019ad0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x1003f00c]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x50], eax
xor esi, esi
mov eax, dword [ecx + 4]
xor ebx, ebx
push edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], eax
call fcn.10019950
mov edi, eax
mov eax, dword [esp + 0x54]
mov dword [eax], ebx
test edi, edi
js 0x1001a4d8
mov edx, dword [esp + 0x34]
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 + 0x14], eax
test ax, ax
jle 0x10019fab
cwde
lea esi, [edx + 0xa]
add edx, 0xa
mov byte [esp + 0x13], bl
add esi, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
lea ebx, [edi + 0xc]
lea ecx, [edi + eax*2]
mov dword [esp + 0x50], esi
add ecx, edx
lea edx, [eax + eax]
movzx edi, byte [edx + esi - 1]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
add eax, edx
add ecx, eax
add ecx, dword [esp + 0x34]
add ebx, ecx
movzx ecx, byte [edx + esi - 2]
shl ecx, 8
inc ecx
add edi, ecx
mov ecx, dword [0x1003f068]
mov dword [esp + 0x24], edi
inc dword [ecx + 0x310]
lea eax, [edx + edi]
lea eax, [eax + eax*4]
add eax, eax
push eax
mov eax, dword [ecx + 0xbc]
call eax
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
je 0x1001a4d8
xor dl, dl
mov dword [esp + 0x48], 0
test edi, edi
je 0x10019c17
mov ecx, dword [esp + 0x14]
movsx eax, cx
lea ecx, [eax*4 + 2]
add ecx, eax
mov al, byte [esp + 0x13]
lea ecx, [esi + ecx*4]
nop dword [eax]
mov dword [esp + 0x1c], ebx
test dl, dl
jne 0x10019c07
mov al, byte [ebx]
mov byte [esp + 0x13], al
and al, 8
je 0x10019bf5
mov dl, byte [ebx + 1]
xor ebx, ebx
test al, al
mov al, byte [esp + 0x13]
setne bl
inc ebx
add ebx, dword [esp + 0x1c]
jmp 0x10019c09
dec dl
mov byte [ecx], al
add ecx, 0xa
sub edi, 1
jne 0x10019be0
mov edi, dword [esp + 0x24]
xor edx, edx
test edi, edi
je 0x10019c8b
mov ecx, dword [esp + 0x14]
movsx eax, cx
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
mov esi, dword [esp + 0x24]
nop
mov cl, byte [edi + 8]
and cl, 0x10
test byte [edi + 8], 2
mov byte [esp + 0x13], cl
je 0x10019c56
mov al, byte [ebx]
inc ebx
movzx ecx, al
mov eax, ecx
neg eax
cmp byte [esp + 0x13], 0
cmove ecx, eax
add edx, ecx
jmp 0x10019c78
test cl, cl
jne 0x10019c78
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, 0xa
sub esi, 1
jne 0x10019c30
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
xor edx, edx
test edi, edi
je 0x10019d07
mov ecx, dword [esp + 0x14]
movsx eax, cx
lea eax, [eax + eax*4]
lea edi, [eax*4 + 2]
add edi, esi
mov esi, dword [esp + 0x24]
nop dword [eax + eax]
mov cl, byte [edi + 6]
and cl, 0x20
test byte [edi + 6], 4
mov byte [esp + 0x13], cl
je 0x10019cd6
mov al, byte [ebx]
inc ebx
movzx ecx, al
mov eax, ecx
neg eax
cmp byte [esp + 0x13], 0
cmove ecx, eax
add edx, ecx
jmp 0x10019cf8
test cl, cl
jne 0x10019cf8
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, 0xa
sub esi, 1
jne 0x10019cb0
mov esi, dword [esp + 0x20]
xor eax, eax
xor edx, edx
xor edi, edi
mov dword [esp + 0x4c], edx
xor ecx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
cmp dword [esp + 0x24], eax
jbe 0x10019f6e
mov ebx, dword [esp + 0x14]
movsx eax, bx
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
mov dword [esp + 0x1c], ebx
mov al, byte [ebx + 8]
mov byte [esp + 0x13], al
movzx eax, word [ebx]
mov dword [esp + 0x18], eax
movzx eax, word [ebx + 2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x48], eax
jne 0x10019e52
test eax, eax
je 0x10019d98
push dword [esp + 0x28]
push dword [esp + 0x74]
push dword [esp + 0x54]
push dword [esp + 0x40]
push edi
push ecx
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x54]
call fcn.10019a10
mov edx, eax
add esp, 0x20
mov eax, dword [esp + 0x40]
movzx ecx, byte [esp + 0x13]
not ecx
and ecx, 1
mov dword [esp + 0x44], ecx
je 0x10019e01
test byte [ebx + 0x12], 1
mov edi, dword [esp + 0x18]
movsx ecx, di
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
movsx ecx, di
movsx edi, word [ebx + 0xc]
mov dword [esp + 0x4c], ecx
lea ecx, [ebx + 0xa]
mov dword [esp + 0x1c], ecx
movsx ecx, word [ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
jne 0x10019df6
mov esi, dword [esp + 0x18]
movsx eax, si
mov esi, dword [esp + 0x14]
add ecx, eax
movsx eax, si
mov esi, dword [esp + 0x20]
add edi, eax
sar ecx, 1
sar edi, 1
jmp 0x10019e0f
mov ebx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x40], eax
jmp 0x10019e17
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
movsx ecx, cx
movsx edi, di
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
lea eax, [edx + edx*4]
inc edx
mov word [esi + eax*2], cx
xor ecx, ecx
mov dword [esi + eax*2 + 4], ecx
mov byte [esi + eax*2 + 8], 1
mov word [esi + eax*2 + 2], di
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
inc eax
add eax, ecx
add dword [esp + 0x50], 2
mov dword [esp + 0x48], eax
jmp 0x10019f4c
test byte [esp + 0x13], 1
jne 0x10019ed0
cmp dword [esp + 0x38], 0
je 0x10019ea9
lea ecx, [edx + edx*4]
mov byte [esi + ecx*2 + 8], 3
mov ecx, dword [esp + 0x18]
movsx eax, cx
lea ecx, [edx + edx*4]
add eax, dword [esp + 0x70]
sar eax, 1
mov word [esi + ecx*2], ax
mov esi, dword [esp + 0x14]
movsx eax, si
add eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
sar eax, 1
inc edx
mov word [esi + ecx*2 + 2], ax
mov eax, dword [esp + 0x70]
mov word [esi + ecx*2 + 4], ax
mov eax, dword [esp + 0x28]
mov word [esi + ecx*2 + 6], ax
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
movsx ecx, di
mov edi, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
movsx ecx, di
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], 1
jmp 0x10019f50
mov eax, dword [esp + 0x18]
lea ebx, [edx + edx*4]
movzx esi, ax
inc edx
mov eax, dword [esp + 0x14]
xor ecx, ecx
movzx edi, ax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x38]
test esi, esi
movzx eax, ax
cmove eax, ecx
mov dword [esp + 0x14], edx
movzx edx, ax
test esi, esi
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
movzx eax, ax
cmove eax, ecx
mov dword [esp + 0x38], 0
movzx ecx, ax
setne al
add al, 2
mov byte [esi + ebx*2 + 8], al
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov word [eax + ebx*2], si
mov esi, eax
mov word [esi + ebx*2 + 2], di
mov word [esi + ebx*2 + 4], dx
mov word [esi + ebx*2 + 6], cx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
inc eax
add ebx, 0xa
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebx
cmp eax, dword [esp + 0x24]
jl 0x10019d46
mov eax, dword [esp + 0x28]
push eax
push dword [esp + 0x74]
push dword [esp + 0x54]
push dword [esp + 0x40]
push edi
push ecx
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x54]
call fcn.10019a10
add esp, 0x20
mov ebx, eax
mov eax, dword [esp + 0x54]
mov dword [eax], esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10031912
mov esp, ebp
pop ebp
ret
cmp ax, 0xffff
jne 0x10019f91
add edi, 0xa
xor ebx, ebx
add edi, edx
xor esi, esi
mov dword [esp + 0x20], esi
mov al, byte [edi + 2]
movaps xmm0, xmmword [0x1003b5a0]
movzx edx, byte [edi + 1]
movss xmm4, dword [0x1003b4a8]
movss xmm3, dword [0x1003b450]
mov byte [esp + 0x13], al
mov al, byte [edi + 3]
add edi, 4
mov dword [esp + 0x70], 0
mov dword [esp + 0x38], edx
mov byte [esp + 0x3f], al
movups xmmword [esp + 0x5c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm0
test dl, 2
je 0x1001a093
lea ecx, [edi + 1]
mov dword [esp + 0x1c], ecx
test dl, 1
je 0x1001a06e
movzx ecx, byte [edi]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
mov eax, dword [esp + 0x1c]
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 + 0x44], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
jmp 0x1001a09f
movsx eax, byte [edi]
mov edi, ecx
movd xmm0, eax
movsx eax, byte [edi]
inc edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
jmp 0x1001a09f
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x44], xmm0
xorps xmm2, xmm2
test dl, 8
je 0x1001a0f1
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, xmm3
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x28], xmm0
jmp 0x1001a254
test dl, 0x40
je 0x1001a161
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, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm1
mulss xmm0, xmm3
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
jmp 0x1001a254
movaps xmm0, xmm4
movaps xmm1, xmm4
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x28], xmm0
test dl, dl
jns 0x1001a248
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, xmm3
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 + 0x2c], xmm2
mulss xmm0, xmm3
movzx ecx, dl
movsx ecx, cx
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x30], xmm0
movd xmm0, eax
mov eax, 0x100
cwde
imul ecx, eax
movzx eax, byte [esi]
mov esi, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
add cx, ax
movsx eax, cx
mulss xmm0, xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x14], xmm0
mulss xmm1, xmm3
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x18], xmm1
jmp 0x1001a26c
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movss xmm1, dword [esp + 0x24]
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, xmm0
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
movzx edx, byte [esp + 0x13]
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x50]
cvtsd2ss xmm0, xmm0
push eax
movzx eax, byte [esp + 0x43]
shl edx, 8
add edx, eax
movss dword [esp + 0x4c], xmm0
call fcn.10019ad0
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x1001a48e
movss xmm4, dword [esp + 0x14]
xor edx, edx
movss xmm5, dword [esp + 0x18]
mov esi, eax
movss xmm6, dword [esp + 0x44]
movss xmm7, dword [esp + 0x34]
nop
mov ecx, dword [esp + 0x70]
movss xmm1, dword [esp + 0x30]
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 + 0x1c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x2c]
mulss xmm1, xmm2
mov word [edx + ecx], ax
addss xmm1, xmm0
addss xmm1, xmm7
mulss xmm1, dword [esp + 0x48]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x30]
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 + 0x1c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x2c]
mulss xmm1, xmm2
mov word [edx + ecx + 4], ax
addss xmm1, xmm0
addss xmm1, xmm7
mulss xmm1, dword [esp + 0x48]
cvttss2si eax, xmm1
mov word [edx + ecx + 6], ax
add edx, 0xa
sub esi, 1
jne 0x1001a300
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x1003f068]
add eax, ebx
mov esi, dword [esp + 0x20]
mov dword [esp + 0x48], eax
inc dword [ecx + 0x310]
lea eax, [eax + eax*4]
add eax, eax
push eax
mov eax, dword [ecx + 0xbc]
call eax
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1001a49e
test ebx, ebx
jle 0x1001a429
lea ecx, [ebx + ebx*4]
add ecx, ecx
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x4c]
lea eax, [eax + eax*4]
add eax, eax
push eax
push dword [esp + 0x74]
lea eax, [ebx + ebx*4]
mov ebx, dword [esp + 0x24]
lea eax, [ebx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test esi, esi
je 0x1001a465
mov eax, dword [0x1003f068]
push esi
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
mov ecx, dword [esp + 0x70]
mov esi, ebx
mov eax, dword [0x1003f068]
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x1001a47e
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
push ecx
call eax
mov ebx, dword [esp + 0x4c]
add esp, 4
test byte [esp + 0x38], 0x20
je 0x10019f91
jmp 0x10019fbe
test esi, esi
je 0x1001a4b9
mov eax, dword [0x1003f068]
push esi
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1001a4d8
mov eax, dword [0x1003f068]
push ecx
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
mov ecx, dword [esp + 0x74]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10031912
mov esp, ebp
pop ebp
ret