Function at 0x10082780
Capabilities:
Enumerate pe sections
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012e8cc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x184], ecx
cmp dword [edi + 0x4c], 0
jle 0x100829aa
mov ecx, edi
call fcn.100800e0
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1007e010
xor edx, edx
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 4], edx
xor eax, eax
mov dword [ebp - 0x1c4], edx
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 1
lea edx, [eax + 8]
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0x158], ecx
test ecx, ecx
jle 0x100828b7
cmp ecx, edx
mov esi, ecx
cmovl esi, edx
test esi, esi
jle 0x100828b7
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10082885
inc dword [eax + 0x36c]
push dword [0x101e0c08]
lea eax, [esi + esi*4]
shl eax, 4
push eax
call fcn.10062c40
mov ecx, dword [ebp - 0x158]
add esp, 8
mov dword [ebp - 0x17c], eax
mov edx, 8
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], esi
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x154], eax
test eax, eax
jle 0x10082918
cmp eax, 8
mov esi, eax
cmovl esi, edx
test esi, esi
jle 0x10082918
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x100828e5
inc dword [eax + 0x36c]
push dword [0x101e0c08]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.10062c40
mov ecx, dword [ebp - 0x158]
add esp, 8
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1c4], esi
mov esi, dword [ebp - 0x17c]
lea ecx, [ecx + ecx*4]
shl ecx, 4
push ecx
push 0
push esi
mov dword [ebp - 0x1c8], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x154]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push dword [ebp - 0x164]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x4c]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x160], ecx
test eax, eax
jle 0x10082a9f
xor edx, edx
add esi, 0x30
mov dword [ebp - 0x180], edx
cmp ecx, dword [ebp - 0x158]
jge 0x100829aa
cmp ecx, eax
jge 0x100829aa
mov ecx, dword [ebp - 0x150]
mov edi, dword [ecx + 0x54]
add edi, edx
mov eax, dword [edi + 0x70]
test eax, eax
je 0x100829aa
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1008299a
cmp eax, ecx
jne 0x100829aa
mov dword [esi - 4], 0xffffffff
xor edx, edx
mov eax, dword [ecx + 0x34]
test eax, eax
jg 0x100829b8
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [ebp - 0x150]
cmp dword [esi - 4], 0xffffffff
jne 0x100829ea
cmp edx, eax
jge 0x100829aa
mov ecx, dword [ecx + 0x3c]
mov eax, dword [edi + 0x70]
cmp eax, dword [ecx + edx*4]
jne 0x100829d4
mov dword [esi - 4], edx
mov ecx, edx
jmp 0x100829d7
or ecx, 0xffffffff
mov eax, dword [ebp - 0x150]
inc edx
mov eax, dword [eax + 0x34]
cmp edx, eax
jl 0x100829b2
cmp ecx, 0xffffffff
je 0x100829aa
push ecx
push edi
push dword [ebp - 0x184]
lea eax, [esi - 0x30]
mov ecx, eax
call fcn.10082400
test al, al
je 0x10082b1d
mov eax, dword [esi - 4]
cmp eax, dword [ebp - 0x154]
jge 0x100829aa
lea ecx, [eax + eax*2]
mov edx, 0x10160f7c
mov eax, dword [edi + 0x30]
test eax, eax
mov dword [ebp - 0x14c], ecx
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x10082a51
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x10082a4b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x10082a30
mov ecx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x164]
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x150]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0x50
mov dword [edi + edx*8 + 4], ecx
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, dword [eax + 0x4c]
add edx, 0x74
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x180], edx
cmp ecx, eax
jl 0x10082971
mov ecx, dword [ebp - 0x158]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x14c], eax
test ecx, ecx
jle 0x10082f01
mov esi, dword [ebp - 0x17c]
add esi, 0x40
mov dword [ebp - 0x174], esi
cmp eax, ecx
jge 0x100829aa
mov eax, dword [esi - 0x14]
cmp eax, dword [ebp - 0x154]
jge 0x100829aa
mov ecx, dword [esi - 0x10]
lea edi, [eax + eax*2]
mov eax, dword [esi - 4]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x184], ecx
cmp ecx, eax
jle 0x10082bb3
test eax, eax
je 0x10082b98
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi - 4]
jmp 0x10082b9d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x10082b49
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10082b3a
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x17c]
test ecx, ecx
je 0x10082b78
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10082b69
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi - 8]
cmovg eax, edx
push eax
call fcn.100746c0
mov ecx, dword [ebp - 0x184]
lea eax, [ecx*4]
mov dword [esi - 8], ecx
push eax
push 0
push dword [esi]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x164]
add esp, 0xc
cmp dword [ecx + edi*8 + 0xc], 0
lea edi, [ecx + edi*8]
jne 0x10082c3a
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x10]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x184], ecx
cmp ecx, eax
jle 0x10082c22
test eax, eax
je 0x10082c07
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [edi + 0x10]
jmp 0x10082c0c
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [edi + 0xc]
cmovg eax, edx
push eax
call fcn.100746c0
mov ecx, dword [ebp - 0x184]
lea eax, [ecx*4]
mov dword [edi + 0xc], ecx
push eax
push 0
push dword [edi + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esi - 0x18]
mov dword [ebp - 0x178], eax
movzx ecx, word [eax]
test cx, cx
je 0x10082d4e
nop
movzx eax, word [eax + 2]
test ax, ax
je 0x10082d48
movzx edi, cx
cmp edi, eax
ja 0x10082d2d
nop dword [eax + eax]
mov ecx, edi
mov edx, 1
and ecx, 0x1f
mov esi, edi
shl edx, cl
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x18c], edx
mov edx, dword [ebp - 0x164]
lea eax, [edx + ecx*8]
sar esi, 5
mov edx, dword [ebp - 0x18c]
cmp esi, dword [eax + 0xc]
jge 0x100829aa
mov eax, dword [eax + 0x14]
test dword [eax + esi*4], edx
jne 0x10082d1a
mov eax, dword [ebp - 0x174]
push edi
push dword [eax - 0x28]
call fcn.100d3370
add esp, 8
test eax, eax
je 0x10082d1a
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x164]
inc dword [eax - 0xc]
inc dword [edx + ecx*8 + 8]
cmp esi, dword [eax - 8]
jge 0x100829aa
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18c]
or dword [ecx + esi*4], edx
mov edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x16c]
lea eax, [edx + ecx*8]
mov edx, dword [ebp - 0x18c]
cmp esi, dword [eax + 0xc]
jge 0x100829aa
mov ecx, dword [eax + 0x14]
or dword [ecx + esi*4], edx
inc dword [ebp - 0x15c]
mov eax, dword [ebp - 0x178]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10082c70
mov eax, dword [ebp - 0x178]
add eax, 4
mov dword [ebp - 0x178], eax
movzx ecx, word [eax]
test cx, cx
jne 0x10082c50
mov esi, dword [ebp - 0x174]
mov eax, dword [ebp - 0x14c]
add esi, 0x50
mov ecx, dword [ebp - 0x158]
inc eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x174], esi
cmp eax, ecx
jl 0x10082ad4
mov esi, dword [ebp - 0x17c]
xor edi, edi
add esi, 0x44
mov dword [ebp - 0x160], edi
cmp edi, ecx
jge 0x100829aa
push dword [esi - 0x10]
mov ecx, esi
call fcn.10083ea0
mov ecx, dword [esi - 4]
mov edx, ecx
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x14c], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x194], eax
cmp ecx, eax
jae 0x10082e9c
nop word [eax + eax]
mov eax, dword [edx]
mov dword [ebp - 0x184], eax
test eax, eax
je 0x10082e81
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x184], eax
je 0x10082e77
mov ecx, dword [esi + 4]
mov eax, edx
sub eax, dword [ebp - 0x168]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movq qword [ebp - 0x1f8], xmm0
add eax, edi
movzx eax, ax
mov dword [ebp - 0x1f4], eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x10082e4f
lea edx, [eax + 1]
mov dword [ebp - 0x198], edx
test ecx, ecx
je 0x10082e32
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x198]
sar eax, 1
add eax, ecx
jmp 0x10082e37
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10083ea0
mov eax, dword [esi]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x14c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [ebp - 0x1f8]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi]
inc edi
cmp edi, 0x20
jl 0x10082dd2
add edx, 4
mov dword [ebp - 0x14c], edx
cmp edx, dword [ebp - 0x194]
jb 0x10082dc0
mov edi, dword [ebp - 0x160]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x10082ed6
mov eax, dword [0x101e0c0c]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x10082ec0
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov dword [esi - 4], 0
mov eax, dword [esi]
cmp eax, dword [esi - 0x10]
jne 0x100829aa
mov ecx, dword [ebp - 0x158]
inc edi
add esi, 0x50
mov dword [ebp - 0x160], edi
cmp edi, ecx
jl 0x10082d8b
mov esi, dword [ebp - 0x15c]
jmp 0x10082f03
xor esi, esi
mov ecx, dword [ebp - 0x154]
xor eax, eax
mov dword [ebp - 0x14c], eax
test ecx, ecx
jle 0x10082f78
mov edi, dword [ebp - 0x164]
add edi, 0x14
cmp eax, ecx
jge 0x100829aa
mov ecx, dword [edi]
test ecx, ecx
je 0x10082f64
mov eax, dword [0x101e0c0c]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x10082f49
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
mov eax, dword [ebp - 0x14c]
add esp, 8
mov dword [edi], 0
mov ecx, dword [ebp - 0x154]
inc eax
add edi, 0x18
mov dword [ebp - 0x14c], eax
cmp eax, ecx
jl 0x10082f26
mov edi, dword [ebp - 0x164]
test edi, edi
je 0x10082fc2
mov eax, dword [0x101e0c0c]
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c8], 0
test eax, eax
je 0x10082fa5
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push edi
call fcn.10062c60
add esp, 8
xor edi, edi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1cc], 0
push esi
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 6
call fcn.10081fe0
mov eax, dword [ebp - 0x1d4]
shl eax, 4
push eax
mov eax, dword [ebp - 0x1cc]
push 0
push eax
mov dword [ebp - 0x184], eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 7
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x1008303e
inc dword [eax + 0x36c]
push dword [0x101e0c08]
push 0x40000
call fcn.10062c40
add esp, 8
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.10074760
mov edx, dword [ebp - 0x1bc]
xor eax, eax
movss xmm0, dword [0x10162728]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x18c], edx
cmp dword [ebp - 0x158], eax
jle 0x10083522
mov esi, dword [ebp - 0x17c]
xor edx, edx
mov dword [ebp - 0x198], eax
add esi, 0x18
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], esi
cmp ecx, eax
jge 0x100829aa
mov eax, dword [ebp - 0x150]
cmp ecx, dword [eax + 0x4c]
jge 0x100829aa
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100834d9
cmp edi, dword [ebp - 0x1d4]
jge 0x100829aa
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [ebp - 0x184]
mov dword [esi + 0xc], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x168], edi
movss dword [ebp - 0x190], xmm1
lahf
test ah, 0x44
jnp 0x1008317c
mov byte [ebp - 0x16d], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10163240]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10129650
movss xmm1, dword [ebp - 0x190]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x118], dl
inc edi
cmp edi, 0x100
jb 0x10083132
jmp 0x10083183
mov byte [ebp - 0x16d], 0
mov eax, dword [ebp - 0x150]
xor ecx, ecx
mov dword [ebp - 0x1a8], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x19c], eax
mov eax, dword [esi + 0x2c]
test eax, eax
jle 0x100834d9
xor edi, edi
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x190], edi
cmp ecx, eax
jge 0x100829aa
mov eax, dword [esi + 0x34]
add eax, edi
mov dword [ebp - 0x178], eax
push dword [eax + 0x14]
push dword [esi]
call fcn.100d3370
add esp, 8
test eax, eax
je 0x100829aa
push dword [esi + 8]
push eax
push dword [esi]
call fcn.100d3c50
add esp, 0xc
test eax, eax
jne 0x100829aa
mov eax, dword [esi]
mov edi, dword [eax + 0x54]
cmp dword [edi + 0x48], 0x6f75746c
jne 0x100829aa
mov eax, dword [esi + 4]
test al, 0x20
je 0x10083216
push edi
call fcn.100da8b0
mov eax, dword [esi + 4]
add esp, 4
test al, 0x40
je 0x10083223
push edi
call fcn.100da9b0
add esp, 4
lea eax, [edi + 0x18]
test eax, eax
je 0x100829aa
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x188], eax
call fcn.100d5f30
add esp, 8
test eax, eax
jne 0x100829aa
mov eax, dword [esi]
mov edx, dword [ebp - 0x178]
mov edi, dword [eax + 0x54]
add edi, 0x4c
mov dword [ebp - 0x1a0], edi
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov eax, dword [edi]
mov dword [edx + 4], eax
mov dword [ebp - 0x15c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edx + 8], eax
mov eax, dword [esi]
mov esi, dword [ebp - 0x16c]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [ebp - 0x15c]
sar eax, 6
imul edx, ecx
movd xmm0, eax
mov eax, dword [ebp - 0x178]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x15c], edx
movss dword [eax + 0x10], xmm0
lea eax, [edx + esi]
cmp eax, 0x40000
jle 0x10083333
mov eax, dword [0x101e0c0c]
xor esi, esi
mov dword [ebp - 0x16c], esi
test eax, eax
je 0x100832e8
inc dword [eax + 0x36c]
push dword [0x101e0c08]
push 0x40000
call fcn.10062c40
add esp, 8
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x188]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.10074760
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x18c], eax
jmp 0x1008333f
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x174]
test eax, eax
jle 0x100829aa
mov eax, dword [ecx + eax*4 - 4]
add esi, eax
add dword [ebp - 0x16c], edx
lea eax, [ebp - 0x118]
mov ecx, dword [ebp - 0x178]
xor edx, edx
cmp byte [ebp - 0x16d], dl
mov dword [ebp - 0x188], esi
cmove eax, edx
mov dword [ecx + 0x18], esi
mov edx, dword [edi + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x15c], edx
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [edi]
mov edi, dword [edi + 0xc]
mov edx, dword [edx + 8]
mov dword [ebp - 0x1a0], edx
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x1ac], edi
test eax, eax
jne 0x100833e8
test ecx, ecx
je 0x1008344f
nop dword [eax]
push edx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x1a0]
add esp, 0xc
add esi, dword [ebp - 0x1a4]
sub dword [ebp - 0x154], 1
mov edx, dword [ebp - 0x15c]
jne 0x100833c0
jmp 0x1008344f
test ecx, ecx
je 0x1008344f
mov eax, dword [ebp - 0x1a4]
test edx, edx
je 0x10083430
mov ecx, esi
sub edi, esi
mov esi, dword [ebp - 0x1b0]
movzx eax, byte [edi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + esi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10083400
mov esi, dword [ebp - 0x188]
mov edi, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1a4]
add edi, dword [ebp - 0x1a0]
add esi, eax
sub ecx, 1
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x154], ecx
jne 0x100833f2
mov esi, dword [ebp - 0x160]
mov edi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x19c]
movzx edx, ax
mov eax, dword [esi + 0xc]
movzx ecx, word [edi]
mov esi, dword [ebp - 0x180]
add cx, dx
mov word [eax + esi + 4], cx
movzx ecx, word [edi + 4]
mov esi, dword [ebp - 0x160]
add cx, dx
mov edx, dword [ebp - 0x180]
mov edi, dword [ebp - 0x190]
add edi, 0x1c
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x190], edi
mov word [eax + edx + 6], cx
mov eax, dword [esi + 0xc]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x180], edx
add dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x1a8]
inc ecx
mov dword [ebp - 0x1a8], ecx
cmp ecx, eax
jl 0x100831bb
mov ecx, dword [ebp - 0x194]
add esi, 0x50
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, dword [ebp - 0x158]
add edx, 0x74
movss xmm0, dword [0x10162728]
mov edi, dword [ebp - 0x168]
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x198], edx
cmp ecx, eax
jl 0x100830d2
mov eax, dword [ebp - 0x14c]
jmp 0x1008352e
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x174], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.10004d50
mov edi, dword [ebp - 0x150]
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [edi + 0x20], 0
inc eax
test esi, esi
jg 0x1008358e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101629a4]
jb 0x1008356a
mov esi, 0x1000
jmp 0x1008358e
comiss xmm0, dword [0x101629a0]
jb 0x1008357a
mov esi, 0x800
jmp 0x1008358e
comiss xmm0, dword [0x1016298c]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x1c], esi
xor eax, eax
sub esi, dword [edi + 0x10]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x10083600
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100835fa
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x100835d8
inc dword [eax + 0x36c]
push dword [0x101e0c08]
lea eax, [edi*8]
push eax
call fcn.10062c40
add esp, 8
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], edi
mov edi, dword [ebp - 0x150]
mov edx, dword [edi + 0x1c]
push esi
push eax
push ecx
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x1e0], esi
call fcn.100825f0
add esp, 0xc
lea edx, [ebp - 0x148]
mov ecx, edi
call fcn.10080150
mov ecx, dword [ebp - 0x158]
xor eax, eax
mov dword [ebp - 0x14c], eax
test ecx, ecx
jle 0x100836c5
mov esi, dword [ebp - 0x17c]
add esi, 0x34
cmp eax, ecx
jge 0x100829aa
mov ecx, dword [esi]
test ecx, ecx
je 0x100836ab
mov edx, dword [esi - 0x10]
push ecx
lea ecx, [ebp - 0x148]
call fcn.10074fa0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100836a5
xor edx, edx
nop
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x1008369d
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [ebp - 0x150]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10083670
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x158]
inc eax
add esi, 0x50
mov dword [ebp - 0x14c], eax
cmp eax, ecx
jl 0x1008364e
mov edi, dword [ebp - 0x150]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x100836f3
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x10162728]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [edi + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
mov eax, dword [0x101e0c0c]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x10083739
inc dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c40
mov ecx, dword [edi + 0x20]
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x158]
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x15c], eax
test edx, edx
jle 0x10083ba2
mov esi, dword [ebp - 0x17c]
xor ecx, ecx
movss xmm4, dword [0x101626c8]
add esi, 0x24
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x178], esi
cmp eax, edx
jge 0x100829aa
cmp dword [esi + 0x10], 0
je 0x10083b81
cmp eax, dword [edi + 0x4c]
jge 0x100829aa
mov edi, dword [edi + 0x54]
movss xmm0, dword [esi - 0x20]
add edi, ecx
movss dword [ebp - 0x19c], xmm0
movss xmm0, dword [esi - 0x1c]
mov dword [ebp - 0x194], edi
cmp byte [edi + 0x3c], 0
mov ecx, dword [edi + 0x70]
mov dword [ebp - 0x188], ecx
movss dword [ebp - 0x1b0], xmm0
jne 0x10083820
call fcn.10080770
mov ecx, dword [ebp - 0x188]
mov eax, dword [edi + 0x10]
movss xmm0, dword [ebp - 0x19c]
movss xmm1, dword [ebp - 0x1b0]
movss xmm4, dword [0x101626c8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x150]
mov dword [ecx + 0x3c], edi
mov dword [ecx + 0x38], eax
movss dword [ecx + 0x48], xmm0
movss dword [ecx + 0x4c], xmm1
jmp 0x10083825
movss xmm0, dword [ecx + 0x48]
inc word [ecx + 0x40]
addss xmm0, xmm4
movss xmm3, dword [edi + 0x28]
xor edx, edx
movss dword [ebp - 0x1a0], xmm3
mov dword [ebp - 0x1ac], edx
cvttss2si eax, xmm0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
addss xmm5, dword [edi + 0x2c]
mov edi, dword [ebp - 0x150]
mov ecx, dword [edi + 0x10]
movss dword [ebp - 0x1a4], xmm5
mov dword [ebp - 0x180], ecx
cmp dword [esi + 0x10], edx
jle 0x10083b69
xor eax, eax
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x154], eax
cmp edx, dword [esi + 0x20]
jge 0x100829aa
mov edi, dword [esi + 0x28]
mov esi, dword [esi]
add esi, dword [ebp - 0x160]
mov dword [ebp - 0x168], edi
cmp dword [esi + 0xc], 0
je 0x100829aa
mov edx, dword [edi + eax]
add ecx, edx
movzx eax, word [esi + 4]
mov dword [ebp - 0x19c], edx
cmp ecx, eax
jg 0x100829aa
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x180]
mov edi, dword [edi + eax + 4]
add ecx, edi
movzx eax, word [esi + 6]
cmp ecx, eax
jg 0x100829aa
movzx ecx, word [esi + 8]
add ecx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x190], ecx
movzx ecx, word [esi + 0xa]
add ecx, dword [ebp - 0x180]
mov esi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1a8], ecx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x198], esi
imul esi, dword [ebp - 0x1a8]
mov eax, dword [ecx + eax + 0x18]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x150]
add esi, dword [ebp - 0x190]
add esi, dword [eax + 0x14]
mov eax, dword [ebp - 0x14c]
test edi, edi
jle 0x100839a0
nop
push edx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14c]
dec edi
mov edx, dword [ebp - 0x19c]
add esp, 0xc
add esi, dword [ebp - 0x198]
add eax, edx
mov dword [ebp - 0x14c], eax
test edi, edi
jg 0x10083940
mov ecx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x154]
mov esi, dword [ebp - 0x150]
movss xmm3, dword [ebp - 0x1a0]
movss xmm4, dword [0x101626c8]
mov edx, dword [ecx + eax]
mov edi, dword [ecx + eax + 4]
mov esi, dword [esi + 0x1c]
movss xmm5, dword [ebp - 0x1a4]
jmp 0x100839ac
mov esi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x154]
movss xmm2, dword [ecx + eax + 0x10]
mov eax, dword [ebp - 0x194]
movss xmm1, dword [eax + 0x34]
comiss xmm1, xmm2
movss dword [ebp - 0x168], xmm1
ja 0x100839ed
movss xmm1, dword [eax + 0x38]
movaps xmm0, xmm3
minss xmm1, xmm2
ucomiss xmm2, xmm1
movss dword [ebp - 0x168], xmm1
lahf
test ah, 0x44
jnp 0x10083a0d
mov eax, dword [ebp - 0x194]
cmp byte [eax + 0x1c], 0
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, xmm4
je 0x10083a09
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
mov eax, dword [ebp - 0x154]
sub esp, 0x1c
movd xmm6, edi
cvtdq2ps xmm6, xmm6
movd xmm1, dword [ecx + eax + 8]
cvtdq2ps xmm1, xmm1
movd xmm7, edx
addss xmm1, xmm0
movd xmm0, dword [ecx + eax + 0xc]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x190]
cvtdq2ps xmm7, xmm7
addss xmm0, xmm5
movss dword [ebp - 0x1b0], xmm1
addss xmm7, xmm1
movd xmm5, eax
movss xmm1, dword [0x10162728]
add eax, edx
movaps xmm3, xmm1
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x19c], xmm0
addss xmm6, xmm0
movd xmm0, esi
mov esi, dword [ebp - 0x150]
cvtdq2ps xmm0, xmm0
movd xmm2, eax
divss xmm3, xmm0
movd xmm0, dword [esi + 0x20]
mov esi, dword [ebp - 0x1a8]
cvtdq2ps xmm0, xmm0
lea eax, [esi + edi]
movd xmm4, esi
divss xmm1, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x154]
cvtdq2ps xmm2, xmm2
movzx eax, word [ecx + eax + 0x14]
mov ecx, dword [ebp - 0x188]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
mulss xmm2, xmm3
mulss xmm0, xmm1
mulss xmm4, xmm1
movss xmm1, dword [ebp - 0x168]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x10], xmm2
movss xmm2, dword [ebp - 0x1b0]
mulss xmm5, xmm3
movss xmm3, dword [ebp - 0x19c]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
call fcn.10080ba0
mov edx, dword [ebp - 0x1ac]
mov esi, dword [ebp - 0x178]
inc edx
mov eax, dword [ebp - 0x154]
add dword [ebp - 0x160], 0x10
add eax, 0x1c
movss xmm3, dword [ebp - 0x1a0]
movss xmm4, dword [0x101626c8]
movss xmm5, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x154], eax
cmp edx, dword [esi + 0x10]
jl 0x10083880
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x158]
mov dword [esi], 0
inc eax
add esi, 0x50
add ecx, 0x74
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x16c], ecx
cmp eax, edx
jl 0x10083798
mov edi, dword [ebp - 0x18c]
xor esi, esi
test edi, edi
jle 0x10083bec
cmp esi, edi
jge 0x100829aa
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x10083bd2
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083bd2
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
inc esi
add esp, 8
cmp esi, edi
jl 0x10083bb6
mov edx, dword [ebp - 0x158]
xor edi, edi
test edx, edx
jle 0x10083c80
mov esi, dword [ebp - 0x17c]
add esi, 0x18
cmp edi, edx
jge 0x100829aa
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x10083c30
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083c21
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10083c59
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083c4a
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x10083c72
push eax
call fcn.100d2f10
add esp, 4
mov dword [esi], 0
mov edx, dword [ebp - 0x158]
inc edi
add esi, 0x50
cmp edi, edx
jl 0x10083c07
mov ecx, dword [ebp - 0x150]
call fcn.10080490
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1d8]
test ecx, ecx
je 0x10083cb7
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083ca8
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x174]
test ecx, ecx
je 0x10083ce3
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083cd4
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x184]
test ecx, ecx
je 0x10083d0f
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083d00
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x10083d3b
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083d2c
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x17c]
test ecx, ecx
je 0x10083d6a
mov eax, dword [0x101e0c0c]
test eax, eax
je 0x10083d5b
dec dword [eax + 0x36c]
push dword [0x101e0c08]
push ecx
call fcn.10062c60
add esp, 8
mov al, 1
jmp 0x10082b7a