Function at 0x469110
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x67bbb0]
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 + 0x48], ecx
mov dword [esp + 0x34], eax
call fcn.00468f80
mov edi, eax
mov eax, dword [esp + 0x54]
mov dword [eax], ebx
test edi, edi
js 0x469b72
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 + 0x10], eax
test ax, ax
jle 0x469618
cwde
lea esi, [edx + 0xa]
add edx, 0xa
mov byte [esp + 0xf], bl
add esi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
lea ebx, [edi + 0xc]
lea ecx, [edi + eax*2]
mov dword [esp + 0x44], 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
mov eax, dword [0x682310]
add ecx, dword [esp + 0x34]
add ebx, ecx
movzx ecx, byte [edx + esi - 2]
shl ecx, 8
inc ecx
add edi, ecx
mov dword [esp + 0x20], edi
lea ecx, [edx + edi]
test eax, eax
je 0x4691dc
inc dword [eax + 0x374]
push dword [0x682308]
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
push eax
call fcn.004491a0
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
test esi, esi
je 0x469b72
xor dl, dl
mov dword [esp + 0x4c], 0
test edi, edi
je 0x469267
mov ecx, dword [esp + 0x10]
movsx eax, cx
lea ecx, [eax*8]
sub ecx, eax
mov al, byte [esp + 0xf]
add ecx, 3
lea ecx, [esi + ecx*4]
nop dword [eax]
mov dword [esp + 0x30], ebx
test dl, dl
jne 0x469257
mov al, byte [ebx]
mov byte [esp + 0xf], al
and al, 8
je 0x469245
mov dl, byte [ebx + 1]
xor ebx, ebx
test al, al
mov al, byte [esp + 0xf]
setne bl
inc ebx
add ebx, dword [esp + 0x30]
jmp 0x469259
dec dl
mov byte [ecx], al
add ecx, 0xe
sub edi, 1
jne 0x469230
mov edi, dword [esp + 0x20]
xor edx, edx
test edi, edi
je 0x4692df
mov eax, dword [esp + 0x10]
movsx ecx, ax
lea eax, [ecx*8]
sub eax, ecx
lea edi, [esi + eax*4]
mov esi, dword [esp + 0x20]
mov cl, byte [edi + 0xc]
and cl, 0x10
test byte [edi + 0xc], 2
mov byte [esp + 0xf], cl
je 0x4692aa
mov al, byte [ebx]
inc ebx
movzx ecx, al
mov eax, ecx
neg eax
cmp byte [esp + 0xf], 0
cmove ecx, eax
add edx, ecx
jmp 0x4692cc
test cl, cl
jne 0x4692cc
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 0x469284
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
xor edx, edx
test edi, edi
je 0x469359
mov eax, dword [esp + 0x10]
movsx ecx, ax
lea eax, [ecx*8]
sub eax, ecx
lea edi, [eax*4 + 2]
add edi, esi
mov esi, dword [esp + 0x20]
mov cl, byte [edi + 0xa]
and cl, 0x20
test byte [edi + 0xa], 4
mov byte [esp + 0xf], cl
je 0x469328
mov al, byte [ebx]
inc ebx
movzx ecx, al
mov eax, ecx
neg eax
cmp byte [esp + 0xf], 0
cmove ecx, eax
add edx, ecx
jmp 0x46934a
test cl, cl
jne 0x46934a
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 0x469302
mov esi, dword [esp + 0x18]
xor eax, eax
xor edx, edx
xor edi, edi
mov dword [esp + 0x48], edx
xor ecx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x20], eax
jbe 0x4695db
mov eax, dword [esp + 0x10]
movsx ebx, ax
lea eax, [ebx*8]
sub eax, ebx
lea ebx, [esi + eax*4]
mov dword [esp + 0x30], ebx
nop
mov al, byte [ebx + 0xc]
mov byte [esp + 0xf], al
movzx eax, word [ebx]
mov dword [esp + 0x14], eax
movzx eax, word [ebx + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x4c], eax
jne 0x4694b2
test eax, eax
je 0x4693f2
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x50]
push dword [esp + 0x40]
push edi
push ecx
push dword [esp + 0x58]
mov ecx, esi
push dword [esp + 0x38]
call fcn.00469040
mov edx, eax
add esp, 0x20
mov eax, dword [esp + 0x3c]
movzx ecx, byte [esp + 0xf]
not ecx
and ecx, 1
mov dword [esp + 0x40], ecx
je 0x46945b
test byte [ebx + 0x1a], 1
mov edi, dword [esp + 0x14]
movsx ecx, di
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
movsx ecx, di
movsx edi, word [ebx + 0x10]
mov dword [esp + 0x48], ecx
lea ecx, [ebx + 0xe]
mov dword [esp + 0x30], ecx
movsx ecx, word [ecx]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x70], edi
jne 0x469450
mov esi, dword [esp + 0x14]
movsx eax, si
mov esi, dword [esp + 0x10]
add ecx, eax
movsx eax, si
mov esi, dword [esp + 0x18]
add edi, eax
sar ecx, 1
sar edi, 1
jmp 0x469469
mov ebx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x3c], eax
jmp 0x469471
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movsx ecx, cx
movsx edi, di
mov dword [esp + 0x70], edi
mov dword [esp + 0x2c], 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 + 0x44]
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 + 0x44], 2
mov dword [esp + 0x4c], eax
jmp 0x4695b9
test byte [esp + 0xf], 1
jne 0x469537
cmp dword [esp + 0x1c], 0
je 0x469510
lea ecx, [edx*8]
sub ecx, edx
inc edx
mov byte [esi + ecx*2 + 0xc], 3
mov esi, dword [esp + 0x14]
movsx eax, si
add eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
sar eax, 1
mov word [esi + ecx*2], ax
mov esi, dword [esp + 0x10]
movsx eax, si
add eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
sar eax, 1
mov word [esi + ecx*2 + 2], ax
mov eax, dword [esp + 0x28]
mov word [esi + ecx*2 + 4], ax
mov eax, dword [esp + 0x24]
mov word [esi + ecx*2 + 6], ax
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
movsx ecx, di
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
movsx ecx, di
mov edi, dword [esp + 0x70]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 1
jmp 0x4695bd
mov eax, dword [esp + 0x14]
lea ebx, [edx*8]
movzx esi, ax
sub ebx, edx
mov eax, dword [esp + 0x10]
inc edx
movzx edi, ax
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
test esi, esi
movzx eax, ax
cmove eax, ecx
mov dword [esp + 0x50], edx
movzx edx, ax
test esi, esi
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
movzx eax, ax
cmove eax, ecx
movzx ecx, ax
setne al
add al, 2
mov byte [esi + ebx*2 + 0xc], al
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
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 + 0x50]
mov word [esi + ebx*2 + 6], cx
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
inc eax
add ebx, 0xe
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
cmp eax, dword [esp + 0x20]
jl 0x4693a0
mov eax, dword [esp + 0x24]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x50]
push dword [esp + 0x40]
push edi
push ecx
push dword [esp + 0x58]
mov ecx, esi
push dword [esp + 0x38]
call fcn.00469040
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.005eee94
mov esp, ebp
pop ebp
ret
cmp ax, 0xffff
jne 0x4695fe
add edi, 0xa
xor ebx, ebx
add edi, edx
xor esi, esi
mov dword [esp + 0x18], esi
mov al, byte [edi + 2]
xorps xmm3, xmm3
movzx edx, byte [edi + 1]
movaps xmm0, xmmword [0x66df90]
movss xmm5, dword [0x66de28]
movss xmm4, dword [0x66dda0]
mov byte [esp + 0xf], al
mov al, byte [edi + 3]
add edi, 4
mov dword [esp + 0x70], 0
movss dword [esp + 0x1c], xmm3
mov dword [esp + 0x44], edx
mov byte [esp + 0x3b], al
movups xmmword [esp + 0x5c], xmm0
test dl, 2
je 0x469700
lea ecx, [edi + 1]
mov dword [esp + 0x50], ecx
test dl, 1
je 0x4696db
movzx ecx, byte [edi]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
mov eax, dword [esp + 0x50]
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 + 0x40], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
jmp 0x46970c
movsx eax, byte [edi]
mov edi, ecx
movd xmm0, eax
movsx eax, byte [edi]
inc edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
jmp 0x46970c
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x40], xmm0
xorps xmm2, xmm2
test dl, 8
je 0x46975e
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 + 0x20], xmm0
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x28], xmm0
jmp 0x4698c1
test dl, 0x40
je 0x4697ce
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 + 0x10], xmm1
mulss xmm0, xmm4
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
jmp 0x4698c1
movaps xmm0, xmm5
movaps xmm1, xmm5
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x28], xmm0
test dl, dl
jns 0x4698b5
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 + 0x2c], xmm2
mulss xmm0, xmm4
movzx ecx, dl
movsx ecx, cx
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x14], xmm0
movd xmm0, eax
mov eax, 0x100
cwde
imul ecx, eax
movzx eax, byte [esi]
mov esi, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
add cx, ax
movsx eax, cx
mulss xmm0, xmm4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x20], xmm0
mulss xmm1, xmm4
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x10], xmm1
jmp 0x4698d9
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x14], 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 + 0x30], 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 + 0xf]
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x48]
cvtsd2ss xmm0, xmm0
push eax
movzx eax, byte [esp + 0x3f]
shl edx, 8
add edx, eax
movss dword [esp + 0x50], xmm0
call fcn.0046b050
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jle 0x469b1a
movss xmm4, dword [esp + 0x20]
xor edx, edx
movss xmm5, dword [esp + 0x10]
mov esi, eax
movss xmm6, dword [esp + 0x40]
movss xmm7, dword [esp + 0x14]
nop dword [eax]
mov ecx, dword [esp + 0x70]
xorps xmm3, xmm3
xorps xmm2, xmm2
movsx eax, word [edx + ecx + 2]
cvtsi2ss xmm3, eax
movsx eax, word [edx + ecx]
cvtsi2ss xmm2, eax
movaps xmm0, xmm3
mulss xmm3, xmm4
movaps xmm1, xmm2
mulss xmm0, xmm7
mulss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm5
addss xmm2, xmm3
xorps xmm3, xmm3
addss xmm1, xmm0
addss xmm2, dword [esp + 0x1c]
addss xmm1, xmm6
mulss xmm2, dword [esp + 0x4c]
mulss xmm1, dword [esp + 0x30]
cvttss2si eax, xmm1
mov word [edx + ecx], ax
cvttss2si eax, xmm2
xorps xmm2, xmm2
mov word [edx + ecx + 2], ax
movsx eax, word [edx + ecx + 6]
cvtsi2ss xmm3, eax
movsx eax, word [edx + ecx + 4]
cvtsi2ss xmm2, eax
movaps xmm0, xmm3
mulss xmm3, xmm4
movaps xmm1, xmm2
mulss xmm0, xmm7
mulss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm5
addss xmm2, xmm3
addss xmm1, xmm0
addss xmm2, dword [esp + 0x1c]
addss xmm1, xmm6
mulss xmm2, dword [esp + 0x4c]
mulss xmm1, dword [esp + 0x30]
cvttss2si eax, xmm1
mov word [edx + ecx + 4], ax
cvttss2si eax, xmm2
mov word [edx + ecx + 6], ax
add edx, 0xe
sub esi, 1
jne 0x469970
mov eax, dword [0x682310]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x469a51
inc dword [eax + 0x374]
mov ecx, dword [esp + 0x34]
push dword [0x682308]
add ecx, ebx
mov dword [esp + 0x34], ecx
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
push eax
call fcn.004491a0
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x469b2a
test ebx, ebx
jle 0x469a9b
lea ecx, [ebx*8]
sub ecx, ebx
add ecx, ecx
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x34]
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
push eax
push dword [esp + 0x74]
lea eax, [ebx*8]
sub eax, ebx
mov ebx, dword [esp + 0x58]
lea eax, [ebx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test esi, esi
je 0x469aea
mov eax, dword [0x682310]
test eax, eax
je 0x469adb
dec dword [eax + 0x374]
push dword [0x682308]
push esi
call fcn.004491c0
add esp, 8
mov ecx, dword [esp + 0x70]
mov esi, ebx
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x469b07
mov eax, dword [0x682310]
test eax, eax
je 0x469b07
dec dword [eax + 0x374]
push dword [0x682308]
push ecx
call fcn.004491c0
mov ebx, dword [esp + 0x38]
add esp, 8
test byte [esp + 0x44], 0x20
je 0x4695fe
jmp 0x46962b
test esi, esi
je 0x469b4c
mov eax, dword [0x682310]
test eax, eax
je 0x469b3d
dec dword [eax + 0x374]
push dword [0x682308]
push esi
call fcn.004491c0
add esp, 8
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x469b72
mov eax, dword [0x682310]
test eax, eax
je 0x469b63
dec dword [eax + 0x374]
push dword [0x682308]
push ecx
call fcn.004491c0
add esp, 8
mov ecx, dword [esp + 0x74]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005eee94
mov esp, ebp
pop ebp
ret