Function at 0x100680a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x101e0c0c]
push edi
mov dword [ebp - 8], esi
cmp byte [esi], 0
je 0x100683ed
mov eax, dword [esi + 0x1940]
cmp dword [esi + 0x1944], eax
je 0x100680d4
call fcn.10067df0
mov eax, dword [esi + 0x1940]
mov dword [esi + 0x1948], eax
lea edi, [esi + 0x1bd4]
mov dword [esi + 0x364], 0
mov ebx, 2
mov dword [esi + 0x360], 0
mov dword [esi + 0x35c], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10068122
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100746c0
mov dword [edi], 0
add edi, 0xc
sub ebx, 1
jne 0x10068103
mov eax, dword [esi + 0x1adc]
test eax, eax
je 0x10068154
test dword [eax + 8], 0x2000
jne 0x10068154
mov ebx, dword [eax + 0x2f0]
mov ecx, dword [esi + 0x1ae4]
mov dword [ebp - 0x10], ebx
jmp 0x10068167
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x10068165
mov ecx, dword [esi + 0x1ae4]
jmp 0x10068167
xor ecx, ecx
mov eax, dword [esi + 0x194c]
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x100681d9
cmp edi, eax
jge 0x100683ed
mov eax, dword [esi + 0x1954]
mov edx, dword [eax + edi*4]
cmp byte [edx + 0x7a], 0
je 0x100681ce
cmp byte [edx + 0x81], 0
jne 0x100681ce
mov eax, dword [edx + 8]
test eax, 0x1000000
jne 0x100681ce
cmp edx, ebx
je 0x100681ce
cmp edx, ecx
je 0x100681ce
mov ecx, dword [0x101e0c0c]
test eax, 0x2000000
je 0x100681c0
add ecx, 0x1be0
jmp 0x100681c6
add ecx, 0x1bd4
call fcn.10067c70
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x194c]
inc edi
cmp edi, eax
jne 0x1006817b
xor edi, edi
nop dword [eax + eax]
mov edx, dword [ebp + edi*4 - 0x10]
test edx, edx
je 0x10068219
cmp byte [edx + 0x7a], 0
je 0x10068219
cmp byte [edx + 0x81], 0
jne 0x10068219
test dword [edx + 8], 0x2000000
mov ecx, dword [0x101e0c0c]
je 0x1006820e
add ecx, 0x1be0
jmp 0x10068214
add ecx, 0x1bd4
call fcn.10067c70
inc edi
cmp edi, 2
jl 0x100681e0
mov edx, dword [esi + 0x1bd4]
lea ecx, [esi + 0x1bd4]
mov ebx, dword [ecx + 0xc]
lea edi, [ecx + 0xc]
mov eax, dword [ecx + 4]
add ebx, edx
mov dword [ebp - 4], edx
cmp ebx, eax
jle 0x10068268
test eax, eax
je 0x1006824d
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ecx + 4]
jmp 0x10068252
mov edx, 8
cmp edx, ebx
mov eax, ebx
cmovg eax, edx
push eax
call fcn.100746c0
mov edx, dword [ebp - 4]
lea ecx, [esi + 0x1bd4]
mov dword [ecx], ebx
mov ebx, 1
nop
mov eax, dword [edi]
test eax, eax
je 0x100682cd
jle 0x100683ed
cmp edx, dword [ecx]
jge 0x100683ed
shl eax, 2
push eax
mov eax, dword [ecx + 8]
push dword [edi + 8]
lea eax, [eax + edx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], eax
test ecx, ecx
jns 0x100682c1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100746c0
mov dword [edi], 0
lea ecx, [esi + 0x1bd4]
mov edx, dword [ebp - 4]
inc ebx
add edi, 0xc
cmp ebx, 2
jl 0x10068270
cmp byte [esi + 0xac], 0
je 0x1006830a
push dword [esi + 0xe4]
mov edx, dword [esi + 0x1c64]
lea ecx, [esi + 0x1bf0]
push dword [esi + 0xe0]
movss xmm1, dword [esi + 0x159c]
call fcn.100815f0
add esp, 8
cmp dword [esi + 0x1c08], 0
lea ebx, [esi + 0x1bd4]
je 0x10068326
lea edx, [esi + 0x1bf0]
mov ecx, ebx
call fcn.10067bc0
mov edi, dword [0x101e0c0c]
lea edx, [esi + 0x1ba8]
test edi, edi
je 0x100683ed
mov byte [edx], 1
cmp dword [ebx], 0
jle 0x10068347
mov eax, dword [ebx + 8]
jmp 0x10068349
xor eax, eax
mov dword [edx + 4], eax
mov eax, dword [ebx]
mov dword [edx + 8], eax
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x1c], eax
mov ecx, dword [edi + 0xa8]
mov eax, dword [edi + 0xa4]
mov dword [edx + 0x28], ecx
xor ecx, ecx
mov dword [edx + 0x24], eax
cmp dword [ebx], ecx
jle 0x100683b5
xor edi, edi
xor esi, esi
mov eax, dword [ebx + 8]
mov eax, dword [eax + ecx*4]
add esi, dword [eax + 0x18]
mov dword [edx + 0x10], esi
mov eax, dword [ebx + 8]
mov eax, dword [eax + ecx*4]
inc ecx
add edi, dword [eax + 0xc]
mov dword [edx + 0xc], edi
cmp ecx, dword [ebx]
jl 0x10068395
mov esi, dword [ebp - 8]
cmp dword [esi + 0x1bb0], 0
mov eax, dword [esi + 0x1bb8]
mov dword [esi + 0x35c], eax
mov eax, dword [esi + 0x1bb4]
mov dword [esi + 0x360], eax
jle 0x100683e6
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x100683e6
push edx
call eax
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3