Function at 0x1012c860
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 0x101496ec
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 0x1012cb6f
cmp dword [edi + 0x58], 0
jge 0x1012c8ca
test byte [edi + 4], 2
jne 0x1012c8bb
push 0x1b
push 0xd9
jmp 0x1012c8bf
push 2
push 2
push ecx
mov ecx, edi
call fcn.10120d50
mov dword [edi + 0x58], eax
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.101216c0
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 0x1012c98c
cmp edx, 8
mov esi, edx
cmovl esi, dword [ebp - 0x18]
test esi, esi
jle 0x1012c98c
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012c968
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 0x1012c9db
cmp eax, 8
mov esi, eax
cmovl esi, dword [ebp - 0x18]
test esi, esi
jle 0x1012c9db
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012c9b8
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 0x1012cbd4
cmp dword [ebp - 0x28], ecx
jle 0x1012cb6f
xor edx, edx
add esi, 0x30
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], esi
nop dword [eax + eax]
cmp ecx, eax
jge 0x1012cb6f
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 0x1012cb6f
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1012ca6f
cmp eax, dword [ebp - 0x14]
jne 0x1012cb6f
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [esi - 4], 0xffffffff
mov eax, dword [eax + 0x34]
test eax, eax
jle 0x1012cb6f
or esi, 0xffffffff
nop dword [eax]
mov ecx, esi
cmp esi, 0xffffffff
jne 0x1012cac7
cmp edx, eax
jge 0x1012cb6f
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 0x1012caba
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 0x1012ca90
cmp ecx, 0xffffffff
je 0x1012cb6f
mov esi, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [esi - 0x30]
mov ecx, eax
call fcn.1012e680
test al, al
je 0x1012cb84
mov eax, dword [esi - 4]
cmp eax, dword [ebp - 0x30]
jge 0x1012cb6f
lea ecx, [eax + eax*2]
mov edx, 0x1017df8c
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 0x1012cb31
movzx eax, word [edx + 2]
test ax, ax
je 0x1012cb2e
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1012cb13
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 0x1012cb77
cmp ecx, dword [ebp - 0x28]
jl 0x1012ca40
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 0x1012cbe5
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x1012cba3
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012cb9d
dec dword [eax + 0x36c]
push edi
call esi
add esp, 4
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1012cbbf
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012cbb9
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 0x1012cf7a
add esi, 0x40
mov dword [ebp - 0x34], esi
nop dword [eax + eax]
mov eax, dword [esi - 0x14]
cmp eax, dword [ebp - 0x30]
jge 0x1012cb6f
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 0x1012cc3d
test eax, eax
je 0x1012cc25
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi - 4]
jmp 0x1012cc2a
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi - 8]
cmovg eax, edx
push eax
call fcn.1003c860
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 0x1012cccb
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 0x1012ccae
test edx, edx
je 0x1012cc93
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x20]
jmp 0x1012cc98
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
cmovg eax, edx
push eax
call fcn.1003c860
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 0x1012cda1
nop dword [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1012cd9b
movzx edi, word [eax]
cmp edi, ecx
ja 0x1012cd88
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 0x1012cb6f
mov eax, dword [eax + edx*8 + 0x14]
mov ecx, dword [ebp - 0x18]
test dword [eax + esi*4], ecx
jne 0x1012cd78
mov eax, dword [ebp - 0x34]
push edi
push dword [eax - 0x28]
call fcn.1006fa10
mov edx, dword [ebp - 0x2c]
add esp, 8
test eax, eax
je 0x1012cd78
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 0x1012cb6f
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 0x1012cb6f
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 0x1012cd00
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp word [eax], 0
jne 0x1012cce0
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 0x1012cbf0
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 0x1012cb6f
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x1012ce42
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012cde6
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 0x1012ce3a
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 0x1012ce33
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012ce33
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 0x1012cf1c
nop
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1012cf0d
xor edi, edi
nop
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x20], eax
je 0x1012cf03
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 0x1012ced5
inc ecx
test eax, eax
je 0x1012cebc
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x1012cec1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.1003d2e0
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 0x1012ce70
add edx, 4
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x54]
jb 0x1012ce60
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x1012cf4e
mov eax, dword [0x101e6b78]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x1012cf40
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 0x1012cb6f
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 0x1012cdcf
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
jmp 0x1012cf7f
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 0x1012cfd9
lea esi, [edi + 0x14]
cmp eax, ecx
jge 0x1012cb6f
mov ecx, dword [esi]
test ecx, ecx
je 0x1012cfc8
mov eax, dword [0x101e6b78]
mov dword [esi - 4], 0
mov dword [esi - 8], 0
test eax, eax
je 0x1012cfb9
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 0x1012cf96
test edi, edi
je 0x1012d012
mov eax, dword [0x101e6b78]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
test eax, eax
je 0x1012d000
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 0x1012d069
cmp edi, 8
mov esi, edi
mov ecx, 8
cmovl esi, ecx
test esi, esi
jle 0x1012d069
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d04e
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 0x1012d0b8
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.1003c970
mov eax, dword [ebp - 0x84]
xor edx, edx
mov ecx, dword [ebp - 0x8c]
movss xmm0, dword [0x1017f0d8]
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 0x1012d50d
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 0x1012cb6f
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1012d4e0
cmp dword [ebp - 0x48], edi
jge 0x1012cb6f
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 0x1012d1a9
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 + 0x1017f940]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1006d830
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 0x1012d162
jmp 0x1012d1ad
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 0x1012d4dd
xor edx, edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
cmp ecx, eax
jge 0x1012cb6f
mov edi, dword [esi + 0x34]
add edi, edx
mov dword [ebp - 0x78], edi
push dword [edi + 0x14]
push dword [esi]
call fcn.1006fa10
add esp, 8
test eax, eax
je 0x1012cb6f
push dword [esi + 8]
push eax
push dword [esi]
call fcn.100702f0
add esp, 0xc
test eax, eax
jne 0x1012cb6f
mov eax, dword [esi]
mov edi, dword [eax + 0x54]
cmp dword [edi + 0x48], 0x6f75746c
jne 0x1012cb6f
test byte [esi + 4], 0x20
je 0x1012d22a
push edi
call fcn.10076f50
add esp, 4
test byte [esi + 4], 0x40
je 0x1012d239
push edi
call fcn.10077050
add esp, 4
lea eax, [edi + 0x18]
test eax, eax
je 0x1012cb6f
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x50], eax
call fcn.100725d0
add esp, 8
test eax, eax
jne 0x1012cb6f
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 0x1012cb6f
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 0x1012d3b3
mov eax, dword [0x101e6b78]
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x1012d2ea
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 0x1012d39b
lea esi, [eax + 1]
test edx, edx
je 0x1012d323
mov eax, edx
cdq
sub eax, edx
mov edx, dword [ebp - 0x88]
sar eax, 1
add eax, edx
jmp 0x1012d328
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edx
jle 0x1012d398
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d340
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 0x1012d384
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 0x1012d378
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 0x1012d3b9
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
test eax, eax
jle 0x1012cb6f
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 0x1012d430
test ecx, ecx
je 0x1012d479
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 0x1012d414
jmp 0x1012d479
test ecx, ecx
je 0x1012d479
mov eax, dword [ebp - 0x74]
test edx, edx
je 0x1012d466
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 0x1012d445
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 0x1012d437
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 0x1012d1d6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
add esi, 0x50
mov edx, dword [ebp - 0x20]
inc ecx
movss xmm0, dword [0x1017f0d8]
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 0x1012d114
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 0x1012d56a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1017f308]
jb 0x1012d546
mov esi, 0x1000
jmp 0x1012d56a
comiss xmm0, dword [0x1017f304]
jb 0x1012d556
mov esi, 0x800
jmp 0x1012d56a
comiss xmm0, dword [0x1017f2ec]
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 0x1012d5c7
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x1012d5c4
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012d5aa
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.1012e1f0
add esp, 0xc
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.1011f190
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x1012d66f
mov esi, dword [ebp - 0x44]
add esi, 0x34
cmp eax, ecx
jge 0x1012cb6f
mov ecx, dword [esi]
test ecx, ecx
je 0x1012d65e
mov edx, dword [esi - 0x10]
push ecx
lea ecx, [ebp - 0x110]
call fcn.1012dba0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1012d65b
xor edx, edx
nop dword [eax]
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x1012d653
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 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 0x1012d630
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc eax
add esi, 0x50
mov dword [ebp - 0x24], eax
cmp eax, ecx
jl 0x1012d60c
mov edi, dword [ebp - 0x14]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x1012d69d
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 xmm2, dword [0x1017f0d8]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x1c]
movaps xmm1, xmm2
mov dword [edi + 0x20], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
mov eax, dword [0x101e6b78]
movss dword [edi + 0x24], xmm1
movss dword [edi + 0x28], xmm2
test eax, eax
je 0x1012d6e3
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 0x1012da36
mov esi, dword [ebp - 0x44]
xor ecx, ecx
movss xmm4, dword [0x1017f094]
add esi, 0x24
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x48], esi
nop word [eax + eax]
cmp dword [esi + 0x10], 0
je 0x1012da1e
cmp eax, dword [edi + 0x4c]
jge 0x1012cb6f
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 0x1012d7b2
call fcn.1011eda0
mov ecx, dword [ebp - 0x60]
mov eax, dword [edi + 0x10]
movss xmm0, dword [ebp - 0x68]
movss xmm4, dword [0x1017f094]
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 0x1012da0f
xor edx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x80], edx
nop dword [eax]
cmp ecx, dword [esi + 0x20]
jge 0x1012cb6f
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 0x1012cb6f
mov edx, dword [edi]
mov dword [ebp - 0x68], edx
lea ecx, [edx + eax]
movzx eax, word [esi + 4]
cmp ecx, eax
jg 0x1012cb6f
mov ecx, dword [ebp - 0x38]
mov edi, dword [edi + 4]
add ecx, edi
movzx eax, word [esi + 6]
cmp ecx, eax
jg 0x1012cb6f
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]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], eax
add esi, dword [ecx + 0x14]
add esi, dword [ebp - 0x50]
test edi, edi
jle 0x1012d8b9
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 0x1012d881
mov eax, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x78]
movss xmm4, dword [0x1017f094]
movss xmm5, dword [ebp - 0x74]
mov esi, dword [eax + 0x1c]
jmp 0x1012d8bc
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 0x1012d8e4
movss xmm0, dword [edi + 0x38]
minss xmm0, xmm2
movss dword [ebp - 0x20], xmm0
ucomiss xmm2, xmm0
movaps xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1012d910
cmp byte [edi + 0x1c], 0
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm4
je 0x1012d90c
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.1011e920
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 [0x1017f094]
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 0x1012d800
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 0x1012d730
mov edi, dword [ebp - 0x34]
xor esi, esi
test edi, edi
jle 0x1012da6c
cmp esi, edi
jge 0x1012cb6f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1012da60
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012da60
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x3c]
inc esi
add esp, 4
cmp esi, edi
jl 0x1012da47
mov eax, dword [ebp - 0x28]
xor edi, edi
test eax, eax
jle 0x1012dae1
mov esi, dword [ebp - 0x44]
add esi, 0x18
cmp edi, eax
jge 0x1012cb6f
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1012daa0
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012da99
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x3c]
add esp, 4
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1012dabd
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012dab6
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 0x1012dad6
push eax
call fcn.1006f5b0
add esp, 4
mov dword [esi], 0
mov eax, dword [ebp - 0x28]
inc edi
add esi, 0x50
cmp edi, eax
jl 0x1012da83
mov ecx, dword [ebp - 0x14]
call fcn.1011eea0
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x1012db0d
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012db02
dec dword [eax + 0x36c]
mov esi, dword [ebp - 0x3c]
push ecx
call esi
add esp, 4
jmp 0x1012db10
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1012db2c
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012db26
dec dword [eax + 0x36c]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1012db48
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012db42
dec dword [eax + 0x36c]
push ecx
call esi
add esp, 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1012db65
mov ecx, dword [0x101e6b78]
test ecx, ecx
je 0x1012db5f
dec dword [ecx + 0x36c]
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1012db81
mov eax, dword [0x101e6b78]
test eax, eax
je 0x1012db7b
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