Function at 0x1005d970
Capabilities:
Enumerate pe sections
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10117301
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x124], edi
cmp dword [edi + 0x4c], 0
jle 0x1005dcb4
call fcn.1005f170
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.1005d160
xor edx, edx
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x1bc], edx
mov dword [ebp - 4], edx
xor esi, esi
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x174], esi
mov byte [ebp - 4], 1
lea edx, [esi + 8]
mov eax, dword [edi + 0x4c]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x134], ecx
test eax, eax
jle 0x1005da85
cmp eax, edx
mov ebx, eax
cmovl ebx, edx
test ebx, ebx
jle 0x1005da85
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005da56
inc dword [eax + 0x36c]
imul eax, ebx, 0xc4
push eax
call ecx
mov ecx, dword [ebp - 0x134]
add esp, 4
mov dword [ebp - 0x140], eax
mov edx, 8
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x1c0], ebx
mov ebx, dword [edi + 0x34]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x128], ebx
test ebx, ebx
jle 0x1005dadd
cmp ebx, 8
cmovl ebx, edx
test ebx, ebx
jle 0x1005dad7
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005dab1
inc dword [eax + 0x36c]
lea eax, [ebx + ebx*2]
shl eax, 3
push eax
call ecx
mov esi, eax
mov dword [ebp - 0x178], ebx
mov eax, dword [ebp - 0x11c]
add esp, 4
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x174], esi
mov ebx, dword [ebp - 0x128]
imul ecx, eax, 0xc4
mov dword [ebp - 0x17c], ebx
push ecx
push 0
push dword [ebp - 0x140]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + ebx*2]
shl eax, 3
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x4c]
xor ecx, ecx
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x12c], edx
test eax, eax
jle 0x1005dd2e
cmp dword [ebp - 0x11c], ecx
jle 0x1005dcb4
mov ebx, dword [ebp - 0x140]
xor edx, edx
mov dword [ebp - 0x138], edx
add ebx, 0xa4
nop dword [eax + eax]
cmp ecx, eax
jge 0x1005dcb4
mov ecx, dword [edi + 0x54]
add ecx, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x1005dcb4
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1005db7d
cmp eax, edi
jne 0x1005dcb4
mov dword [ebx - 4], 0xffffffff
xor edx, edx
mov eax, dword [edi + 0x34]
test eax, eax
jle 0x1005dcb4
or edi, 0xffffffff
mov ecx, edi
cmp edi, 0xffffffff
jne 0x1005dbd1
cmp edx, eax
jge 0x1005dcb4
mov ecx, dword [ebp - 0x124]
or edi, edi
mov eax, dword [ebp - 0x118]
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + edx*4]
jne 0x1005dbc1
mov dword [ebx - 4], edx
mov edi, edx
mov eax, dword [ebp - 0x124]
inc edx
mov ecx, edi
mov eax, dword [eax + 0x34]
cmp edx, eax
jl 0x1005db94
cmp ecx, 0xffffffff
je 0x1005dcb4
mov edi, dword [ebp - 0x118]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
call fcn.10054a70
mov ecx, eax
test ecx, ecx
js 0x1005dcb4
mov edx, dword [edi]
push ecx
lea ecx, [ebx - 0xa4]
call fcn.10054d40
add esp, 4
test eax, eax
je 0x1005dcd2
mov eax, dword [ebx - 4]
cmp eax, dword [ebp - 0x128]
jge 0x1005dcb4
lea ecx, [eax + eax*2]
mov edx, 0x10142340
mov eax, dword [edi + 0x30]
test eax, eax
mov dword [ebp - 0x118], ecx
cmovne edx, eax
mov dword [ebx - 8], edx
cmp word [edx], 0
je 0x1005dc61
nop dword [eax + eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1005dc5b
mov ecx, eax
cmp dword [ebx], ecx
cmovge ecx, dword [ebx]
add edx, 4
mov dword [ebx], ecx
cmp word [edx], 0
jne 0x1005dc40
mov ecx, dword [ebp - 0x118]
inc dword [esi + ecx*8]
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebx]
mov edi, dword [ebp - 0x124]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add ebx, 0xc4
mov dword [esi + edx*8 + 4], ecx
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, dword [edi + 0x4c]
add edx, 0x74
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], edx
cmp ecx, eax
jge 0x1005dcbc
cmp ecx, dword [ebp - 0x11c]
jl 0x1005db50
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ebx, dword [ebp - 0x128]
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x14c], eax
jmp 0x1005dd48
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test esi, esi
je 0x1005dcf1
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005dceb
dec dword [eax + 0x36c]
push esi
call edi
add esp, 4
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x1005dd10
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005dd0a
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010fe2d
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x11c], eax
jle 0x1005e157
mov edx, dword [ebp - 0x140]
add edx, 0xa8
mov dword [ebp - 0x130], edx
nop word [eax + eax]
mov eax, dword [edx - 8]
cmp eax, ebx
jge 0x1005dcb4
mov edi, dword [edx - 4]
lea ebx, [eax + eax*2]
mov eax, dword [edx + 8]
add edi, 0x20
sar edi, 5
mov dword [ebp - 0x114], eax
cmp edi, eax
jle 0x1005ddc8
test eax, eax
je 0x1005dd9d
cdq
sub eax, edx
mov edx, dword [ebp - 0x130]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x114]
jmp 0x1005dda2
mov ecx, 8
add edx, 4
mov eax, edi
cmp ecx, edi
mov dword [ebp - 0x114], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10053900
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x114]
jmp 0x1005ddcb
lea eax, [edx + 4]
mov dword [eax], edi
lea eax, [edi*4]
push eax
push 0
push dword [edx + 0xc]
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebx*8 + 0xc]
add esp, 0xc
add ecx, esi
cmp dword [ecx], 0
jne 0x1005de55
mov edi, dword [esi + ebx*8 + 4]
mov eax, dword [ecx + 4]
add edi, 0x20
sar edi, 5
mov dword [ebp - 0x114], eax
cmp edi, eax
jle 0x1005de3e
test eax, eax
je 0x1005de1a
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x114]
jmp 0x1005de1f
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebx*8 + 0xc]
push eax
add ecx, esi
call fcn.10053900
lea ecx, [ebx*8 + 0xc]
add ecx, esi
lea eax, [edi*4]
mov dword [ecx], edi
push eax
push 0
push dword [ecx + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x130]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x158], eax
cmp word [eax], 0
je 0x1005df55
nop
movzx ecx, word [eax + 2]
test cx, cx
je 0x1005df4f
movzx edi, word [eax]
cmp edi, ecx
ja 0x1005df36
nop dword [eax + eax]
mov eax, dword [ebp - 0x150]
mov ecx, edi
mov esi, edi
and ecx, 0x1f
mov edx, 1
sar esi, 5
shl edx, cl
mov dword [ebp - 0x114], edx
cmp esi, dword [eax + ebx*8 + 0xc]
jge 0x1005dcb4
mov eax, dword [eax + ebx*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1005df1d
mov ecx, dword [ebp - 0x130]
mov edx, edi
add ecx, 0xffffff58
call fcn.10055250
mov edx, dword [ebp - 0x130]
test eax, eax
je 0x1005df23
mov eax, dword [ebp - 0x150]
inc dword [edx]
inc dword [eax + ebx*8 + 8]
cmp esi, dword [edx + 4]
jge 0x1005dcb4
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x114]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x150]
cmp esi, dword [eax + ebx*8 + 0xc]
jge 0x1005dcb4
mov eax, dword [eax + ebx*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x120]
jmp 0x1005df23
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x158]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1005de90
mov eax, dword [ebp - 0x158]
add eax, 4
mov dword [ebp - 0x158], eax
cmp word [eax], 0
jne 0x1005de70
mov esi, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add edx, 0xc4
mov edi, dword [ebp - 0x11c]
inc ecx
mov ebx, dword [ebp - 0x128]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x130], edx
cmp ecx, edi
jl 0x1005dd60
mov esi, dword [ebp - 0x140]
xor eax, eax
add esi, 0xb8
mov dword [ebp - 0x15c], eax
cmp eax, edi
jge 0x1005dcb4
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x1005e005
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005dfb5
inc dword [eax + 0x36c]
lea eax, [edi*4]
push eax
call dword [ebp - 0x134]
mov edx, dword [esi + 8]
add esp, 4
mov ebx, eax
test edx, edx
je 0x1005dfff
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x1005dff5
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005dff5
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x12c]
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x13c], edx
lea eax, [edx + eax*4]
mov dword [ebp - 0x144], eax
cmp edx, eax
jae 0x1005e0e2
xor ecx, ecx
mov dword [ebp - 0x138], ecx
nop word [eax + eax]
mov eax, dword [edx]
mov dword [ebp - 0x148], eax
test eax, eax
je 0x1005e0c4
xor edx, edx
mov ebx, 1
mov dword [ebp - 0x118], edx
nop dword [eax]
test ebx, eax
je 0x1005e0b0
mov eax, dword [esi]
mov edi, ecx
mov ecx, dword [esi + 4]
and edi, 0xffffffe0
add edi, edx
cmp eax, ecx
jne 0x1005e09a
lea edx, [eax + 1]
mov dword [ebp - 0x114], edx
test ecx, ecx
je 0x1005e082
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x114]
sar eax, 1
add eax, ecx
jmp 0x1005e087
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10053900
mov edx, dword [ebp - 0x118]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x138]
inc edx
rol ebx, 1
mov dword [ebp - 0x118], edx
cmp edx, 0x20
jl 0x1005e050
mov edx, dword [ebp - 0x13c]
add edx, 4
add ecx, 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], ecx
cmp edx, dword [ebp - 0x144]
jb 0x1005e030
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x1005e117
mov eax, dword [0x1017bfd8]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x1005e106
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x12c]
add esp, 4
mov dword [esi - 4], 0
mov eax, dword [esi]
cmp eax, dword [esi - 0x10]
jne 0x1005dcb4
mov eax, dword [ebp - 0x15c]
add esi, 0xc4
mov edi, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x15c], eax
cmp eax, edi
jl 0x1005df9e
mov esi, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x12c]
jmp 0x1005e15f
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [ebp - 0x118], eax
test ecx, ecx
jle 0x1005e1cb
lea edi, [esi + 0x14]
cmp eax, ecx
jge 0x1005dcb4
mov ecx, dword [edi]
test ecx, ecx
je 0x1005e1b1
mov eax, dword [0x1017bfd8]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x1005e19f
dec dword [eax + 0x36c]
push ecx
call edx
mov eax, dword [ebp - 0x118]
add esp, 4
mov dword [edi], 0
mov ecx, dword [ebp - 0x128]
inc eax
mov edx, dword [ebp - 0x12c]
add edi, 0x18
mov dword [ebp - 0x118], eax
cmp eax, ecx
jl 0x1005e17c
test esi, esi
je 0x1005e20a
mov eax, dword [0x1017bfd8]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x17c], 0
test eax, eax
je 0x1005e1f2
dec dword [eax + 0x36c]
push esi
call dword [ebp - 0x12c]
add esp, 4
xor eax, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x174], eax
xor edi, edi
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x180], edi
xor eax, eax
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 7
lea eax, [edi + 8]
test ebx, ebx
jle 0x1005e283
cmp ebx, eax
mov esi, ebx
cmovl esi, eax
test esi, esi
jle 0x1005e283
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005e25b
inc dword [eax + 0x36c]
mov eax, esi
shl eax, 4
push eax
call dword [ebp - 0x134]
mov edi, eax
mov dword [ebp - 0x184], esi
add esp, 4
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x180], edi
mov eax, 8
mov dword [ebp - 0x188], ebx
test ebx, ebx
jle 0x1005e2d0
cmp ebx, 8
mov esi, ebx
cmovl esi, eax
test esi, esi
jle 0x1005e2d0
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005e2a8
inc dword [eax + 0x36c]
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
call dword [ebp - 0x134]
add esp, 4
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1cc], esi
mov ecx, ebx
mov dword [ebp - 0x1d0], ebx
shl ecx, 4
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx*8]
sub eax, ebx
shl eax, 2
push eax
push 0
push dword [ebp - 0x158]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
xor edx, edx
xor edi, edi
mov dword [ebp - 0x15c], edx
add esp, 0xc
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x11c], eax
jle 0x1005e7ca
mov esi, dword [ebp - 0x140]
add esi, 0xa8
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x13c], esi
mov ecx, dword [esi]
test ecx, ecx
je 0x1005e798
cmp eax, ebx
jge 0x1005dcb4
shl eax, 4
add eax, dword [ebp - 0x128]
mov dword [esi - 0x14], eax
cmp edi, ebx
jge 0x1005dcb4
mov edx, dword [ebp - 0x158]
lea eax, [edi*8]
add dword [ebp - 0x130], ecx
sub eax, edi
add edi, ecx
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x114], edi
lea edx, [edx + eax*4]
mov eax, dword [ebp - 0x124]
mov dword [esi - 0x10], edx
cmp ecx, dword [eax + 0x4c]
jge 0x1005dcb4
mov ecx, dword [eax + 0x54]
add ecx, dword [ebp - 0x118]
mov dword [ebp - 0x168], ecx
mov eax, dword [ecx + 0x10]
mov dword [esi - 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esi - 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [esi - 0x28], 0
mov dword [esi - 0x20], eax
mov dword [esi - 0x1c], edx
mov al, byte [ecx + 0x14]
mov byte [esi - 0x18], al
mov al, byte [ecx + 0x18]
mov byte [esi - 0x17], al
movss xmm2, dword [ecx + 0x10]
comiss xmm2, dword [0x10144e98]
jbe 0x1005e450
mov ebx, dword [esi - 0x8c]
mov eax, 0x100
mov edi, dword [esi - 0xa4]
cwde
movzx ecx, byte [ebx + edi + 6]
movzx edx, byte [ebx + edi + 7]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [ebx + edi + 4]
movsx ecx, cx
imul ecx, eax
movsx esi, dx
movzx edx, byte [ebx + edi + 5]
mov ebx, dword [ebp - 0x120]
add dx, cx
movsx eax, dx
sub eax, esi
mov esi, dword [ebp - 0x13c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x16c], xmm2
jmp 0x1005e48a
mov ecx, dword [esi - 0x94]
mov eax, dword [esi - 0xa4]
movss xmm1, dword [0x10145324]
movzx edx, byte [ecx + eax + 0x13]
movzx eax, byte [ecx + eax + 0x12]
shl eax, 8
add edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm2
movss dword [ebp - 0x16c], xmm1
mov eax, dword [ebp - 0x124]
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x154], eax
xor eax, eax
mov dword [ebp - 0x148], eax
test ecx, ecx
jle 0x1005e78c
xor edi, edi
nop
mov dword [ebp - 0x120], ebx
cmp eax, ecx
jge 0x1005dcb4
mov edx, dword [esi + 0x18]
lea ecx, [esi - 0xa8]
mov edx, dword [edx + eax*4]
call fcn.10055250
mov edx, eax
test edx, edx
je 0x1005dcb4
cmp dword [esi - 0x6c], 0
lea ecx, [esi - 0xa8]
mov eax, dword [ebp - 0x168]
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x16c]
movss dword [ebp - 0x164], xmm0
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x16c]
movss dword [ebp - 0x144], xmm0
je 0x1005e5aa
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 1
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x1b4], 0
push eax
movups xmmword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x190], 0
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x18c], 0
call fcn.100563e0
xor ecx, ecx
add esp, 4
test eax, eax
cmovne ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x120], ecx
xor ecx, ecx
test eax, eax
cmovne ecx, dword [ebp - 0x198]
mov dword [ebp - 0x170], ecx
xor ecx, ecx
test eax, eax
cmovne ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x160], ecx
xor ecx, ecx
test eax, eax
cmovne ecx, dword [ebp - 0x194]
jmp 0x1005e672
call fcn.100555d0
mov dword [ebp - 0x14c], eax
test eax, eax
jns 0x1005e5d2
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x144], eax
jmp 0x1005e708
mov esi, dword [esi - 0xa4]
movzx edx, byte [esi + eax + 3]
movzx ecx, byte [esi + eax + 2]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x14c]
movzx edx, byte [esi + eax + 5]
movzx ecx, byte [esi + eax + 4]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x170], eax
mov eax, 0x100
cwde
movzx ecx, byte [esi + edx + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 7]
movzx edx, byte [esi + edx + 9]
add cx, ax
movsx eax, cx
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x14c]
movzx ecx, byte [esi + eax + 8]
mov eax, 0x100
mov esi, dword [ebp - 0x13c]
movsx ecx, cx
cwde
imul ecx, eax
add dx, cx
movsx ecx, dx
movd xmm0, dword [ebp - 0x120]
movss xmm5, dword [ebp - 0x164]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm5
call fcn.10053cd0
cvttss2si eax, xmm0
neg ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x164], eax
mulss xmm0, dword [ebp - 0x144]
call fcn.10053cd0
cvttss2si eax, xmm0
movd xmm0, dword [ebp - 0x160]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x14c], eax
mulss xmm0, xmm5
call fcn.10003c10
cvttss2si eax, xmm0
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x170]
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x144]
call fcn.10003c10
cvttss2si eax, xmm0
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
movzx edx, cx
mov ecx, edx
sub edx, dword [ebp - 0x14c]
sub ecx, eax
dec dx
mov eax, dword [ebp - 0x168]
dec cx
add cx, word [eax + 0x14]
mov eax, dword [esi - 0x14]
add cx, word [ebp - 0x160]
mov word [eax + edi + 4], cx
mov eax, dword [ebp - 0x168]
add dx, word [eax + 0x18]
mov eax, dword [esi - 0x14]
add dx, word [ebp - 0x144]
mov word [eax + edi + 6], dx
mov eax, dword [esi - 0x14]
mov edx, dword [ebp - 0x15c]
movzx ecx, word [eax + edi + 6]
movzx eax, word [eax + edi + 4]
add edi, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
add edx, ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x15c], edx
cmp eax, ecx
jl 0x1005e4b0
jmp 0x1005e792
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x138]
add esi, 0xc4
add dword [ebp - 0x118], 0x74
inc ecx
mov edi, dword [ebp - 0x114]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x13c], esi
cmp ecx, dword [ebp - 0x11c]
jl 0x1005e346
movd xmm0, edx
cvtdq2ps xmm0, xmm0
call fcn.10003c80
mov esi, dword [ebp - 0x124]
cvttss2si ecx, xmm0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x20], 0
inc ecx
test eax, eax
jg 0x1005e82a
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101452b4]
jb 0x1005e806
mov eax, 0x1000
jmp 0x1005e82a
comiss xmm0, dword [0x101452ac]
jb 0x1005e816
mov eax, 0x800
jmp 0x1005e82a
comiss xmm0, dword [0x10145298]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
mov ecx, esi
push 0x2c
push 0
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 0x1b4]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x10]
add esp, 0xc
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [0x1017bfd8]
mov dword [ebp - 0x154], ebx
test eax, eax
je 0x1005e863
inc dword [eax + 0x36c]
push 0x30
call dword [ebp - 0x134]
sub ebx, dword [ebp - 0x114]
mov edi, eax
mov eax, dword [0x1017bfd8]
add esp, 4
mov dword [ebp - 0x120], edi
test eax, eax
je 0x1005e88b
inc dword [eax + 0x36c]
lea eax, [ebx*8]
push eax
call dword [ebp - 0x134]
add esp, 4
test edi, edi
je 0x1005e92e
test eax, eax
je 0x1005e91c
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x154]
push ebx
push eax
mov dword [ebp - 0x18c], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a0], ecx
mov ecx, edi
mov dword [ebp - 0x1a4], edx
mov edx, ebx
push eax
mov dword [ebp - 0x1a8], 0x8000
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x19c], 0
call fcn.10053d30
add esp, 0xc
jmp 0x1005e958
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005e92b
dec dword [eax + 0x36c]
push edi
jmp 0x1005e943
test eax, eax
je 0x1005e94c
mov ecx, dword [0x1017bfd8]
test ecx, ecx
je 0x1005e942
dec dword [ecx + 0x36c]
push eax
call dword [ebp - 0x12c]
add esp, 4
mov edi, dword [ebp - 0x1b0]
mov dword [ebp - 0x120], edi
mov edx, edi
mov ecx, esi
call fcn.1005f1e0
mov eax, dword [ebp - 0x11c]
xor ebx, ebx
mov dword [ebp - 0x114], ebx
test eax, eax
jle 0x1005ea01
mov esi, dword [ebp - 0x140]
add esi, 0xa8
cmp ebx, eax
jge 0x1005dcb4
mov eax, dword [esi]
test eax, eax
je 0x1005e9e4
mov edx, dword [esi - 0x14]
mov ecx, edi
push eax
call fcn.10054220
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1005e9de
mov ebx, dword [ebp - 0x124]
xor edx, edx
nop dword [eax]
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x1005e9d0
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
cmp dword [ebx + 0x20], ecx
cmovge ecx, dword [ebx + 0x20]
mov dword [ebx + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1005e9b0
mov ebx, dword [ebp - 0x114]
mov edi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x11c]
inc ebx
add esi, 0xc4
mov dword [ebp - 0x114], ebx
cmp ebx, eax
jl 0x1005e98b
mov esi, dword [ebp - 0x124]
test byte [esi + 4], 1
mov eax, dword [esi + 0x20]
jne 0x1005ea2f
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 [0x10145040]
lea ecx, [eax + 1]
mov eax, dword [esi + 0x1c]
movaps xmm2, xmm1
mov dword [esi + 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 [0x1017bfd8]
movss dword [esi + 0x24], xmm2
movss dword [esi + 0x28], xmm1
test eax, eax
je 0x1005ea75
inc dword [eax + 0x36c]
push ecx
call dword [ebp - 0x134]
mov ecx, dword [esi + 0x20]
add esp, 4
imul ecx, dword [esi + 0x1c]
mov dword [esi + 0x14], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ebx, dword [ebp - 0x11c]
mov dword [ebp - 0x190], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x1a8], eax
xor eax, eax
mov dword [ebp - 0x148], eax
test ebx, ebx
jle 0x1005ec8a
mov ebx, dword [ebp - 0x140]
xor edi, edi
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x134], ebx
cmp eax, dword [esi + 0x4c]
jge 0x1005dcb4
mov esi, dword [esi + 0x54]
cmp eax, ecx
jge 0x1005dcb4
cmp dword [ebx + 0xa8], 0
je 0x1005ec54
push dword [ebx + 0x94]
lea eax, [ebx + 0x7c]
mov edx, ebx
push ecx
push eax
lea ecx, [ebp - 0x1b4]
call fcn.10059fd0
movss xmm1, dword [esi + edi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x10145040]
movss dword [ebp - 0x154], xmm1
lahf
test ah, 0x44
jnp 0x1005ec3e
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101456e0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10111e30
movss xmm1, dword [ebp - 0x154]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x110], dl
inc esi
cmp esi, 0x100
jb 0x1005eb34
mov ecx, dword [ebx + 0x94]
xor eax, eax
mov dword [ebp - 0x118], eax
cmp dword [ebx + 0xa8], eax
jle 0x1005ec3e
lea ebx, [ecx + 6]
mov ecx, dword [ebp - 0x134]
nop
cmp dword [ebx + 6], 0
je 0x1005ec1c
mov eax, dword [ebp - 0x124]
movzx edx, word [ebx + 4]
movzx edi, word [ebx]
movzx esi, word [ebx - 2]
mov ecx, dword [eax + 0x1c]
movzx eax, word [ebx + 2]
imul edx, ecx
mov dword [ebp - 0x114], ecx
mov ecx, dword [ebp - 0x124]
add edx, dword [ecx + 0x14]
add edx, eax
test edi, edi
je 0x1005ec10
mov eax, dword [ebp - 0x114]
nop dword [eax]
xor ecx, ecx
test esi, esi
je 0x1005ec09
nop word [eax + eax]
movzx eax, byte [edx + ecx]
mov al, byte [ebp + eax - 0x110]
mov byte [edx + ecx], al
inc ecx
cmp ecx, esi
jl 0x1005ebf0
mov eax, dword [ebp - 0x114]
dec edi
add edx, eax
test edi, edi
jg 0x1005ebe0
mov ecx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x118]
inc eax
add ebx, 0x10
mov dword [ebp - 0x118], eax
cmp eax, dword [ecx + 0xa8]
jl 0x1005eba0
mov ebx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x11c]
mov dword [ebx + 0x94], 0
mov esi, dword [ebp - 0x124]
inc eax
add edi, 0x74
mov dword [ebp - 0x148], eax
add ebx, 0xc4
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x134], ebx
cmp eax, ecx
jl 0x1005ead7
mov edi, dword [ebp - 0x1b0]
mov ebx, dword [ebp - 0x11c]
cmp dword [ebp - 0x18c], 0
je 0x1005eca2
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005eca2
dec dword [eax + 0x36c]
push dword [ebp - 0x18c]
call dword [ebp - 0x12c]
add esp, 4
test edi, edi
je 0x1005ecc4
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005ecc4
dec dword [eax + 0x36c]
push edi
mov edi, dword [ebp - 0x12c]
call edi
mov ecx, dword [ebp - 0x128]
add esp, 4
test ecx, ecx
je 0x1005ed11
mov eax, dword [0x1017bfd8]
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x188], 0
test eax, eax
je 0x1005ecfd
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x180], ecx
xor eax, eax
mov dword [ebp - 0x13c], eax
test ebx, ebx
jle 0x1005f06b
mov ebx, dword [ebp - 0x140]
xor ecx, ecx
mov edx, dword [ebp - 0x11c]
add ebx, 0x98
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x148], ebx
jmp 0x1005ed56
mov esi, dword [ebp - 0x124]
cmp dword [ebx + 0x10], 0
je 0x1005f041
cmp eax, dword [esi + 0x4c]
jge 0x1005dcb4
mov eax, dword [esi + 0x54]
xorps xmm4, xmm4
mov edi, dword [ebx - 0x94]
add eax, ecx
mov esi, dword [ebx - 0x7c]
mov dword [ebp - 0x118], eax
mov eax, dword [eax + 0x70]
movzx ecx, byte [edi + esi + 4]
mov dword [ebp - 0x114], eax
mov eax, 0x100
movzx edx, byte [edi + esi + 7]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
add cx, ax
mov eax, 0x100
movsx ebx, cx
movzx ecx, byte [edi + esi + 6]
cwde
movsx ecx, cx
imul ecx, eax
mov eax, ebx
movd xmm2, ebx
cvtdq2ps xmm2, xmm2
mov ebx, dword [ebp - 0x114]
add dx, cx
movsx ecx, dx
mov edx, dword [ebp - 0x118]
sub eax, ecx
movss xmm3, dword [edx + 0x10]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm4
divss xmm3, xmm0
seta al
lea eax, [eax*2 - 1]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cvttss2si esi, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm4
mulss xmm3, xmm1
seta al
cmp byte [edx + 0x3c], 0
lea eax, [eax*2 - 1]
movd xmm0, eax
lea eax, [ebx + 0x48]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x154], eax
addss xmm0, xmm3
cvttss2si edi, xmm0
jne 0x1005ee81
mov ecx, ebx
call fcn.1005f7c0
mov edx, dword [ebp - 0x118]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x124]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x154]
mov dword [ebx + 0x3c], edx
movss dword [eax], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x4c], xmm0
movss xmm0, dword [eax]
xor edi, edi
movss xmm2, dword [0x10144fec]
inc word [ebx + 0x40]
addss xmm0, xmm2
mov ebx, dword [ebp - 0x148]
movss xmm1, dword [edx + 0x28]
movss dword [ebp - 0x144], xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edx + 0x2c]
movss dword [ebp - 0x154], xmm0
cmp dword [ebx + 0x10], edi
jle 0x1005f02f
xor esi, esi
nop dword [eax]
cmp edi, dword [ebx + 0x20]
jge 0x1005dcb4
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x28]
movss xmm7, dword [edx + 0x34]
movss xmm0, dword [esi + ecx + 0x10]
comiss xmm7, xmm0
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x164], eax
ja 0x1005ef14
movss xmm7, dword [edx + 0x38]
movaps xmm6, xmm1
minss xmm7, xmm0
ucomiss xmm0, xmm7
movss dword [ebp - 0x148], xmm7
lahf
test ah, 0x44
jnp 0x1005ef34
cmp byte [edx + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x1005ef30
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [ebp - 0x124]
sub esp, 0x1c
movss xmm2, dword [0x10145040]
movss xmm3, dword [0x10145040]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm7
divss xmm2, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [esi + ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [esi + ecx + 2]
divss xmm3, xmm0
movd xmm4, eax
movzx eax, word [esi + ecx + 4]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
movzx eax, word [esi + ecx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm5, xmm5
mulss xmm0, xmm3
mulss xmm4, xmm3
movss xmm3, dword [ebp - 0x154]
addss xmm3, dword [esi + ecx + 0xc]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp - 0x154]
addss xmm0, dword [esi + ecx + 0x18]
mulss xmm1, xmm2
mulss xmm5, xmm2
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esi + ecx + 0x14]
addss xmm6, dword [esi + ecx + 8]
mov ecx, dword [ebp - 0x114]
movss dword [esp], xmm0
push dword [ebp - 0x164]
movaps xmm2, xmm6
call fcn.1005fbf0
movss xmm1, dword [ebp - 0x144]
inc edi
movss xmm2, dword [0x10144fec]
add esi, 0x1c
mov edx, dword [ebp - 0x118]
cmp edi, dword [ebx + 0x10]
jl 0x1005eed0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x13c]
inc eax
add ebx, 0xc4
add ecx, 0x74
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x138], ecx
cmp eax, edx
jl 0x1005ed50
mov ebx, dword [ebp - 0x11c]
xor esi, esi
test ebx, ebx
jle 0x1005f0d3
mov edi, dword [ebp - 0x140]
add edi, 0xb4
cmp esi, ebx
jge 0x1005dcb4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1005f0a5
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005f09b
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x12c]
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x1005f0c4
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005f0ba
dec dword [eax + 0x36c]
push ecx
call dword [ebp - 0x12c]
add esp, 4
inc esi
mov byte [ebp - 4], 7
add edi, 0xc4
cmp esi, ebx
jl 0x1005f085
mov ecx, dword [ebp - 0x124]
call fcn.1005f520
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x1005f105
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005f0f7
dec dword [eax + 0x36c]
mov ebx, dword [ebp - 0x12c]
push ecx
call ebx
add esp, 4
jmp 0x1005f10b
mov ebx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
test ecx, ecx
je 0x1005f12a
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005f124
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x1005f14a
mov ecx, dword [0x1017bfd8]
test ecx, ecx
je 0x1005f144
dec dword [ecx + 0x36c]
push eax
call ebx
add esp, 4
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x1005f169
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1005f163
dec dword [eax + 0x36c]
push ecx
call ebx
add esp, 4
mov al, 1
jmp 0x1005dd12