Function at 0x1012c700
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 0x1014951c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x200
push esi
push edi
mov edi, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x4c], 0
jle 0x1012c9ef
mov ecx, edi
call fcn.1011f200
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.10121580
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x98], edi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x18], 8
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x5c], ecx
test edx, edx
jle 0x1012c80f
cmp edx, 8
mov esi, edx
cmovl esi, dword [ebp - 0x18]
test esi, esi
jle 0x1012c80f
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012c7eb
inc dword [eax + 0x36c]
lea eax, [esi + esi*4]
shl eax, 4
push eax
call ecx
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb4], esi
mov eax, dword [eax + 0x34]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x30], eax
test eax, eax
jle 0x1012c85e
cmp eax, 8
mov esi, eax
cmovl esi, dword [ebp - 0x18]
test esi, esi
jle 0x1012c85e
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012c83b
inc dword [eax + 0x36c]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call ecx
mov edx, dword [ebp - 0x28]
mov edi, eax
mov eax, dword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x9c], esi
mov esi, dword [ebp - 0x44]
lea ecx, [edx + edx*4]
shl ecx, 4
push ecx
push 0
push esi
mov dword [ebp - 0xa0], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x30]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x4c]
test eax, eax
jle 0x1012ca54
cmp dword [ebp - 0x28], ecx
jle 0x1012c9ef
xor edx, edx
add esi, 0x30
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], esi
nop
cmp ecx, eax
jge 0x1012c9ef
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx + edx + 0x70]
add ecx, edx
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x1012c9ef
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1012c8ef
cmp eax, dword [ebp - 0x14]
jne 0x1012c9ef
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [esi - 4], 0xffffffff
mov eax, dword [eax + 0x34]
test eax, eax
jle 0x1012c9ef
or esi, 0xffffffff
nop dword [eax]
mov ecx, esi
cmp esi, 0xffffffff
jne 0x1012c947
cmp edx, eax
jge 0x1012c9ef
mov eax, dword [ebp - 0x14]
or esi, esi
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + edx*4]
jne 0x1012c93a
mov eax, dword [ebp - 0x2c]
mov esi, edx
mov dword [eax - 4], edx
mov eax, dword [ebp - 0x14]
inc edx
mov ecx, esi
mov eax, dword [eax + 0x34]
cmp edx, eax
jl 0x1012c910
cmp ecx, 0xffffffff
je 0x1012c9ef
mov esi, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [esi - 0x30]
mov ecx, eax
call fcn.1012e4f0
test al, al
je 0x1012ca04
mov eax, dword [esi - 4]
cmp eax, dword [ebp - 0x30]
jge 0x1012c9ef
lea ecx, [eax + eax*2]
mov edx, 0x1017e00c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1012c9b1
movzx eax, word [edx + 2]
test ax, ax
je 0x1012c9ae
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1012c993
mov ecx, dword [ebp - 0x18]
inc dword [edi + ecx*8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x14]
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 - 0x24]
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, dword [eax + 0x4c]
add edx, 0x74
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], edx
cmp ecx, eax
jge 0x1012c9f7
cmp ecx, dword [ebp - 0x28]
jl 0x1012c8c0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], eax
jmp 0x1012ca65
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x1012ca23
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012ca1d
dec dword [eax + 0x36c]
push edi
call esi
add esp, 4
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1012ca3f
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012ca39
dec dword [eax + 0x36c]
push ecx
call esi
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x28], eax
jle 0x1012cdfa
add esi, 0x40
mov dword [ebp - 0x34], esi
nop dword [eax + eax]
mov eax, dword [esi - 0x14]
cmp eax, dword [ebp - 0x30]
jge 0x1012c9ef
mov ecx, dword [esi - 0x10]
lea eax, [eax + eax*2]
add ecx, 0x20
mov dword [ebp - 0x2c], eax
mov eax, dword [esi - 4]
sar ecx, 5
mov dword [ebp - 0x20], ecx
cmp ecx, eax
jle 0x1012cabd
test eax, eax
je 0x1012caa5
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi - 4]
jmp 0x1012caaa
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi - 8]
cmovg eax, edx
push eax
call fcn.1003c7c0
mov ecx, dword [ebp - 0x20]
lea eax, [esi - 8]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [esi]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x2c]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0
jne 0x1012cb4b
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x20], edx
cmp ecx, edx
jle 0x1012cb2e
test edx, edx
je 0x1012cb13
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x20]
jmp 0x1012cb18
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
cmovg eax, edx
push eax
call fcn.1003c7c0
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [ebp - 0x1c]
push 0
push dword [eax + 8]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov eax, dword [esi - 0x18]
mov dword [ebp - 0x1c], eax
cmp word [eax], 0
je 0x1012cc21
nop dword [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1012cc1b
movzx edi, word [eax]
cmp edi, ecx
ja 0x1012cc08
nop dword [eax + eax]
mov ecx, edi
mov eax, 1
and ecx, 0x1f
mov esi, edi
shl eax, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4c]
sar esi, 5
cmp esi, dword [eax + edx*8 + 0xc]
jge 0x1012c9ef
mov eax, dword [eax + edx*8 + 0x14]
mov ecx, dword [ebp - 0x18]
test dword [eax + esi*4], ecx
jne 0x1012cbf8
mov eax, dword [ebp - 0x34]
push edi
push dword [eax - 0x28]
call fcn.1006f8e0
mov edx, dword [ebp - 0x2c]
add esp, 8
test eax, eax
je 0x1012cbf8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x4c]
inc dword [eax - 0xc]
inc dword [ecx + edx*8 + 8]
cmp esi, dword [eax - 8]
jge 0x1012c9ef
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x4c]
cmp esi, dword [eax + edx*8 + 0xc]
jge 0x1012c9ef
mov eax, dword [eax + edx*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1012cb80
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp word [eax], 0
jne 0x1012cb60
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
add esi, 0x50
mov edx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], esi
cmp ecx, edx
jl 0x1012ca70
mov esi, dword [ebp - 0x44]
xor eax, eax
add esi, 0x4c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], esi
cmp eax, edx
jge 0x1012c9ef
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x1012ccc2
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012cc66
inc dword [eax + 0x36c]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1012ccba
mov ecx, dword [esi - 8]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push dword [ebp - 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x1012ccb3
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012ccb3
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x3c]
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x18], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x54], eax
cmp ecx, eax
jae 0x1012cd9c
nop
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1012cd8d
xor edi, edi
nop
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x20], eax
je 0x1012cd83
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [ebp - 0x58]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movq qword [ebp - 0xd0], xmm0
add eax, edi
movzx eax, ax
mov dword [ebp - 0xcc], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x1012cd55
inc ecx
test eax, eax
je 0x1012cd3c
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x1012cd41
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.1003d240
mov edx, dword [ebp - 0x18]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi - 8]
mov esi, dword [ebp - 0x38]
inc edi
cmp edi, 0x20
jl 0x1012ccf0
add edx, 4
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x54]
jb 0x1012cce0
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x1012cdce
mov eax, dword [0x101e6b78]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x1012cdc0
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x3c]
add esp, 4
mov dword [esi - 0xc], 0
mov eax, dword [esi - 8]
cmp eax, dword [esi - 0x18]
jne 0x1012c9ef
mov eax, dword [ebp - 0x24]
add esi, 0x50
mov edx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], esi
cmp eax, edx
jl 0x1012cc4f
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
jmp 0x1012cdff
xor eax, eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jle 0x1012ce59
lea esi, [edi + 0x14]
cmp eax, ecx
jge 0x1012c9ef
mov ecx, dword [esi]
test ecx, ecx
je 0x1012ce48
mov eax, dword [0x101e6b78]
mov dword [esi - 4], 0
mov dword [esi - 8], 0
test eax, eax
je 0x1012ce39
dec dword [eax + 0x36c]
push ecx
call edx
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [esi], 0
mov ecx, dword [ebp - 0x30]
inc eax
mov edx, dword [ebp - 0x3c]
add esi, 0x18
mov dword [ebp - 0x18], eax
cmp eax, ecx
jl 0x1012ce16
test edi, edi
je 0x1012ce92
mov eax, dword [0x101e6b78]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
test eax, eax
je 0x1012ce80
dec dword [eax + 0x36c]
push edi
call dword [ebp - 0x3c]
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xbc], eax
mov edi, dword [ebp - 0x6c]
test edi, edi
jle 0x1012cee9
cmp edi, 8
mov esi, edi
mov ecx, 8
cmovl esi, ecx
test esi, esi
jle 0x1012cee9
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012cece
inc dword [eax + 0x36c]
mov eax, esi
shl eax, 4
push eax
call dword [ebp - 0x5c]
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], esi
mov ecx, edi
mov dword [ebp - 0xc4], edi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 7
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012cf38
inc dword [eax + 0x36c]
push 0x40000
call dword [ebp - 0x5c]
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x8c]
push eax
call fcn.1003c8d0
mov eax, dword [ebp - 0x84]
xor edx, edx
mov ecx, dword [ebp - 0x8c]
movss xmm0, dword [0x1017f158]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x28], edx
jle 0x1012d38d
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
add esi, 0x18
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x38], esi
cmp ecx, dword [eax + 0x4c]
jge 0x1012c9ef
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1012d360
cmp dword [ebp - 0x48], edi
jge 0x1012c9ef
mov edi, dword [ebp - 0x48]
mov eax, edi
shl eax, 4
add edi, edx
add eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x48], edi
movss dword [ebp - 0x54], xmm1
lahf
test ah, 0x44
jnp 0x1012d029
mov byte [ebp - 0x3d], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1017f9d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1006d920
movss xmm1, dword [ebp - 0x54]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x210], dl
inc edi
cmp edi, 0x100
jb 0x1012cfe2
jmp 0x1012d02d
mov byte [ebp - 0x3d], 0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x2c]
test eax, eax
jle 0x1012d35d
xor edx, edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
cmp ecx, eax
jge 0x1012c9ef
mov edi, dword [esi + 0x34]
add edi, edx
mov dword [ebp - 0x78], edi
push dword [edi + 0x14]
push dword [esi]
call fcn.1006f8e0
add esp, 8
test eax, eax
je 0x1012c9ef
push dword [esi + 8]
push eax
push dword [esi]
call fcn.100701c0
add esp, 0xc
test eax, eax
jne 0x1012c9ef
mov eax, dword [esi]
mov edi, dword [eax + 0x54]
cmp dword [edi + 0x48], 0x6f75746c
jne 0x1012c9ef
test byte [esi + 4], 0x20
je 0x1012d0aa
push edi
call fcn.10076e20
add esp, 4
test byte [esi + 4], 0x40
je 0x1012d0b9
push edi
call fcn.10076f20
add esp, 4
lea eax, [edi + 0x18]
test eax, eax
je 0x1012c9ef
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x50], eax
call fcn.100724a0
add esp, 8
test eax, eax
jne 0x1012c9ef
mov eax, dword [esi]
mov ecx, dword [ebp - 0x78]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
add edi, 0x4c
mov dword [ecx], eax
mov dword [ebp - 0x90], edi
mov eax, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [ecx + 8], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x10], xmm0
test edi, edi
je 0x1012c9ef
mov edx, dword [ecx + 4]
imul edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x60], edx
cmp eax, 0x40000
jle 0x1012d233
mov eax, dword [0x101e6b78]
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x1012d16a
inc dword [eax + 0x36c]
push 0x40000
call dword [ebp - 0x5c]
mov edx, dword [ebp - 0x88]
mov ecx, eax
mov eax, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x64], ecx
cmp eax, edx
jne 0x1012d21b
lea esi, [eax + 1]
test edx, edx
je 0x1012d1a3
mov eax, edx
cdq
sub eax, edx
mov edx, dword [ebp - 0x88]
sar eax, 1
add eax, edx
jmp 0x1012d1a8
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edx
jle 0x1012d218
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d1c0
inc dword [eax + 0x36c]
lea eax, [esi*4]
push eax
call dword [ebp - 0x5c]
mov edx, dword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x50], eax
test edx, edx
je 0x1012d204
mov ecx, dword [ebp - 0x34]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x101e6b78]
add esp, 0xc
test eax, eax
je 0x1012d1f8
dec dword [eax + 0x36c]
push dword [ebp - 0x30]
call dword [ebp - 0x3c]
mov eax, dword [ebp - 0x50]
add esp, 4
mov ecx, dword [ebp - 0x64]
mov edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x60]
mov dword [esi + eax*4], ecx
inc eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x8c], eax
jmp 0x1012d239
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
test eax, eax
jle 0x1012c9ef
mov eax, dword [esi + eax*4 - 4]
mov esi, dword [ebp - 0x2c]
add dword [ebp - 0x2c], edx
add esi, eax
xor edx, edx
mov dword [ecx + 0x18], esi
cmp byte [ebp - 0x3d], dl
lea eax, [ebp - 0x210]
mov ecx, dword [ecx]
cmove eax, edx
mov dword [ebp - 0x74], ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x64], edi
test eax, eax
jne 0x1012d2b0
test ecx, ecx
je 0x1012d2f9
push edx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x60]
add esp, 0xc
add esi, dword [ebp - 0x74]
sub dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x70]
jne 0x1012d294
jmp 0x1012d2f9
test ecx, ecx
je 0x1012d2f9
mov eax, dword [ebp - 0x74]
test edx, edx
je 0x1012d2e6
mov ecx, esi
sub edi, esi
mov esi, dword [ebp - 0x94]
movzx eax, byte [edi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + esi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1012d2c5
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x74]
add edi, dword [ebp - 0x60]
add esi, eax
sub ecx, 1
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x1c], ecx
jne 0x1012d2b7
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x68]
movzx edx, ax
mov eax, dword [esi + 0xc]
movzx ecx, word [edi]
mov esi, dword [ebp - 0x80]
add cx, dx
add dword [ebp - 0x7c], 0x1c
mov word [eax + esi + 4], cx
mov esi, dword [ebp - 0x38]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [ebp - 0x80]
mov eax, dword [esi + 0xc]
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 - 0x80], edx
mov edx, dword [ebp - 0x7c]
add dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x54]
inc ecx
mov dword [ebp - 0x54], ecx
cmp ecx, eax
jl 0x1012d056
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
add esi, 0x50
mov edx, dword [ebp - 0x20]
inc ecx
movss xmm0, dword [0x1017f158]
add edx, 0x74
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], edx
cmp ecx, dword [ebp - 0x28]
jl 0x1012cf94
mov edx, dword [ebp - 0x24]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
call fcn.10007480
mov edi, dword [ebp - 0x14]
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [edi + 0x20], 0
inc eax
test esi, esi
jg 0x1012d3ea
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1017f394]
jb 0x1012d3c6
mov esi, 0x1000
jmp 0x1012d3ea
comiss xmm0, dword [0x1017f390]
jb 0x1012d3d6
mov esi, 0x800
jmp 0x1012d3ea
comiss xmm0, dword [0x1017f378]
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 - 0xa8], 0
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x1012d447
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x1012d444
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d42a
inc dword [eax + 0x36c]
lea eax, [edi*8]
push eax
call dword [ebp - 0x5c]
add esp, 4
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + 0x1c]
push esi
push eax
push ecx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0xac], esi
call fcn.1012e060
add esp, 0xc
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.1011f020
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x1012d4ef
mov esi, dword [ebp - 0x44]
add esi, 0x34
cmp eax, ecx
jge 0x1012c9ef
mov ecx, dword [esi]
test ecx, ecx
je 0x1012d4de
mov edx, dword [esi - 0x10]
push ecx
lea ecx, [ebp - 0x110]
call fcn.1012da10
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1012d4db
xor edx, edx
nop dword [eax]
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x1012d4d3
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1012d4b0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc eax
add esi, 0x50
mov dword [ebp - 0x24], eax
cmp eax, ecx
jl 0x1012d48c
mov edi, dword [ebp - 0x14]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x1012d51d
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
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm2, dword [0x1017f158]
movaps xmm1, xmm2
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x101e6b78]
movss dword [edi + 0x24], xmm1
divss xmm2, xmm0
movss dword [edi + 0x28], xmm2
test eax, eax
je 0x1012d561
inc dword [eax + 0x36c]
push ecx
call dword [ebp - 0x5c]
mov ecx, dword [edi + 0x20]
add esp, 4
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x28], eax
jle 0x1012d8a7
mov esi, dword [ebp - 0x44]
xor ecx, ecx
movss xmm4, dword [0x1017f114]
add esi, 0x24
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x48], esi
cmp dword [esi + 0x10], 0
je 0x1012d88f
cmp eax, dword [edi + 0x4c]
jge 0x1012c9ef
mov edi, dword [edi + 0x54]
movss xmm0, dword [esi - 0x20]
add edi, ecx
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [esi - 0x1c]
mov dword [ebp - 0x2c], edi
cmp byte [edi + 0x3c], 0
mov ecx, dword [edi + 0x70]
mov dword [ebp - 0x60], ecx
movss dword [ebp - 0x90], xmm0
lea eax, [ecx + 0x48]
mov dword [ebp - 0x94], eax
jne 0x1012d627
call fcn.1011ec30
mov ecx, dword [ebp - 0x60]
mov eax, dword [edi + 0x10]
movss xmm0, dword [ebp - 0x68]
movss xmm4, dword [0x1017f114]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x94]
mov dword [ecx + 0x3c], edi
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x90]
movss dword [ecx + 0x4c], xmm0
movss xmm0, dword [eax]
inc word [ecx + 0x40]
addss xmm0, xmm4
movss xmm3, dword [edi + 0x28]
xor ecx, ecx
movss dword [ebp - 0x78], xmm3
mov dword [ebp - 0x7c], ecx
cvttss2si eax, xmm0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
addss xmm5, dword [edi + 0x2c]
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x10]
movss dword [ebp - 0x74], xmm5
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x10], ecx
jle 0x1012d880
xor edx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x80], edx
cmp ecx, dword [esi + 0x20]
jge 0x1012c9ef
mov edi, dword [esi + 0x28]
mov esi, dword [esi]
add edi, dword [ebp - 0x24]
add esi, edx
mov dword [ebp - 0x54], edi
cmp dword [esi + 0xc], 0
je 0x1012c9ef
mov edx, dword [edi]
mov dword [ebp - 0x68], edx
lea ecx, [eax + edx]
movzx eax, word [esi + 4]
cmp ecx, eax
jg 0x1012c9ef
mov ecx, dword [ebp - 0x38]
mov edi, dword [edi + 4]
add ecx, edi
movzx eax, word [esi + 6]
cmp ecx, eax
jg 0x1012c9ef
movzx ecx, word [esi + 8]
add ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], ecx
movzx ecx, word [esi + 0xa]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x64], ecx
mov ecx, dword [eax + 0x1c]
mov esi, ecx
imul esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x14]
add esi, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
add esi, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
test edi, edi
jle 0x1012d72a
push edx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x20]
dec edi
mov edx, dword [ebp - 0x68]
add esp, 0xc
add esi, dword [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x20], eax
test edi, edi
jg 0x1012d6f2
mov eax, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x78]
movss xmm4, dword [0x1017f114]
movss xmm5, dword [ebp - 0x74]
mov esi, dword [eax + 0x1c]
jmp 0x1012d72d
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x2c]
movss xmm2, dword [edx + 0x10]
movss xmm0, dword [edi + 0x34]
comiss xmm0, xmm2
movss dword [ebp - 0x20], xmm0
ja 0x1012d755
movss xmm0, dword [edi + 0x38]
minss xmm0, xmm2
movss dword [ebp - 0x20], xmm0
ucomiss xmm2, xmm0
movaps xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1012d781
cmp byte [edi + 0x1c], 0
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm4
je 0x1012d77d
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm3
movd xmm0, dword [edx + 8]
sub esp, 0x1c
mov eax, dword [edx]
mov edi, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
cvtdq2ps xmm0, xmm0
movd xmm6, eax
addss xmm0, xmm1
movd xmm7, dword [edx + 0xc]
movd xmm1, dword [edi + 0x20]
mov edi, dword [ebp - 0x64]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x68], xmm0
addss xmm6, xmm0
movd xmm3, edi
movd xmm0, esi
mov esi, dword [ebp - 0x50]
add eax, esi
cvtdq2ps xmm0, xmm0
movd xmm2, eax
lea eax, [ecx + edi]
movd xmm4, esi
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm4, xmm4
divss xmm2, xmm0
divss xmm4, xmm0
movd xmm0, eax
cvtdq2ps xmm1, xmm1
movzx eax, word [edx + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
divss xmm0, xmm1
divss xmm3, xmm1
movss xmm1, dword [ebp - 0x20]
cvtdq2ps xmm7, xmm7
movss dword [esp + 0x18], xmm1
addss xmm7, xmm5
movss dword [esp + 0x14], xmm0
movd xmm5, ecx
mov ecx, dword [ebp - 0x60]
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x10], xmm2
movss xmm2, dword [ebp - 0x68]
addss xmm5, xmm7
movss dword [esp + 0xc], xmm3
movaps xmm3, xmm7
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm5
movss dword [esp], xmm6
push eax
call fcn.1011e7b0
mov ecx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x48]
inc ecx
mov edx, dword [ebp - 0x80]
add dword [ebp - 0x24], 0x1c
add edx, 0x10
movss xmm3, dword [ebp - 0x78]
movss xmm4, dword [0x1017f114]
movss xmm5, dword [ebp - 0x74]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edx
cmp ecx, dword [esi + 0x10]
jl 0x1012d671
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [esi], 0
inc eax
add esi, 0x50
add ecx, 0x74
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x1c], ecx
cmp eax, edx
jl 0x1012d5a5
mov edi, dword [ebp - 0x34]
xor esi, esi
test edi, edi
jle 0x1012d8dd
cmp esi, edi
jge 0x1012c9ef
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1012d8d1
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d8d1
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x3c]
inc esi
add esp, 4
cmp esi, edi
jl 0x1012d8b8
mov eax, dword [ebp - 0x28]
xor edi, edi
test eax, eax
jle 0x1012d952
mov esi, dword [ebp - 0x44]
add esi, 0x18
cmp edi, eax
jge 0x1012c9ef
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1012d911
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d90a
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x3c]
add esp, 4
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1012d92e
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d927
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x3c]
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x1012d947
push eax
call fcn.1006f480
add esp, 4
mov dword [esi], 0
mov eax, dword [ebp - 0x28]
inc edi
add esi, 0x50
cmp edi, eax
jl 0x1012d8f4
mov ecx, dword [ebp - 0x14]
call fcn.1011ed30
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x1012d97e
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d973
dec dword [eax + 0x36c]
mov esi, dword [ebp - 0x3c]
push ecx
call esi
add esp, 4
jmp 0x1012d981
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1012d99d
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d997
dec dword [eax + 0x36c]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1012d9b9
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d9b3
dec dword [eax + 0x36c]
push ecx
call esi
add esp, 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1012d9d6
mov ecx, dword [0x101e6b78]
test ecx, ecx
je 0x1012d9d0
dec dword [ecx + 0x36c]
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1012d9f2
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d9ec
dec dword [eax + 0x36c]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret