Function at 0x10117020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x101e6b78]
push edi
cmp byte [esi], 0
je 0x101173bb
mov eax, dword [esi + 0x199c]
cmp eax, dword [esi + 0x1998]
je 0x1011704b
call fcn.101173d0
mov eax, dword [esi + 0x1998]
lea edi, [esi + 0x1c30]
mov dword [esi + 0x19a0], eax
mov ebx, 2
mov dword [esi + 0x364], 0
mov dword [esi + 0x360], 0
mov dword [esi + 0x35c], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1011709f
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.1003c7c0
mov dword [edi], 0
add edi, 0xc
sub ebx, 1
jne 0x10117080
mov eax, dword [esi + 0x1b38]
test eax, eax
je 0x101170d1
test dword [eax + 8], 0x2000
jne 0x101170d1
mov ebx, dword [eax + 0x2f0]
mov ecx, dword [esi + 0x1b40]
mov dword [ebp - 0xc], ebx
jmp 0x101170e4
xor ebx, ebx
mov dword [ebp - 0xc], ebx
test eax, eax
je 0x101170e2
mov ecx, dword [esi + 0x1b40]
jmp 0x101170e4
xor ecx, ecx
mov eax, dword [esi + 0x19a4]
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
test eax, eax
je 0x10117156
cmp edi, eax
jge 0x101173bb
mov eax, dword [esi + 0x19ac]
mov edx, dword [eax + edi*4]
cmp byte [edx + 0x7a], 0
je 0x1011714b
cmp byte [edx + 0x81], 0
jne 0x1011714b
mov eax, dword [edx + 8]
test eax, 0x1000000
jne 0x1011714b
cmp edx, ebx
je 0x1011714b
cmp edx, ecx
je 0x1011714b
mov ecx, dword [0x101e6b78]
test eax, 0x2000000
je 0x1011713d
add ecx, 0x1c3c
jmp 0x10117143
add ecx, 0x1c30
call fcn.10117a20
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x19a4]
inc edi
cmp edi, eax
jne 0x101170f8
xor edi, edi
mov edx, dword [ebp + edi*4 - 0xc]
test edx, edx
je 0x10117191
cmp byte [edx + 0x7a], 0
je 0x10117191
cmp byte [edx + 0x81], 0
jne 0x10117191
test dword [edx + 8], 0x2000000
mov ecx, dword [0x101e6b78]
je 0x10117186
add ecx, 0x1c3c
jmp 0x1011718c
add ecx, 0x1c30
call fcn.10117a20
inc edi
cmp edi, 2
jl 0x10117158
mov ebx, dword [esi + 0x1c30]
lea edx, [esi + 0x1c30]
mov eax, dword [edx + 0xc]
lea edi, [edx + 0xc]
mov ecx, dword [edx + 4]
add eax, ebx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp eax, ecx
jle 0x101171ef
test ecx, ecx
je 0x101171d3
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1c30]
mov ecx, eax
mov eax, dword [ebp - 4]
sar ecx, 1
add ecx, dword [ebp - 8]
jmp 0x101171d8
mov ecx, 8
cmp ecx, dword [ebp - 4]
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1003c7c0
mov eax, dword [ebp - 4]
lea edx, [esi + 0x1c30]
mov ecx, 1
mov dword [edx], eax
mov dword [ebp - 4], ecx
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x1011725a
jle 0x101173bb
cmp ebx, dword [edx]
jge 0x101173bb
shl eax, 2
push eax
mov eax, dword [edx + 8]
push dword [edi + 8]
lea eax, [eax + ebx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add ebx, dword [edi]
add esp, 0xc
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1011724b
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.1003c7c0
mov ecx, dword [ebp - 4]
lea edx, [esi + 0x1c30]
mov dword [edi], 0
inc ecx
add edi, 0xc
mov dword [ebp - 4], ecx
cmp ecx, 2
jl 0x10117200
cmp byte [esi + 0xac], 0
je 0x10117297
push dword [esi + 0xe4]
mov edx, dword [esi + 0x1cc0]
lea ecx, [esi + 0x1c4c]
push dword [esi + 0xe0]
movss xmm1, dword [esi + 0x15a0]
call fcn.101296f0
add esp, 8
cmp dword [esi + 0x1c64], 0
je 0x101172b1
lea edx, [esi + 0x1c4c]
lea ecx, [esi + 0x1c30]
call fcn.10117a90
mov edx, dword [0x101e6b78]
test edx, edx
je 0x101173bb
mov byte [esi + 0x1c04], 1
cmp dword [esi + 0x1c30], 0
jle 0x101172d7
mov eax, dword [esi + 0x1c38]
jmp 0x101172d9
xor eax, eax
mov dword [esi + 0x1c08], eax
mov eax, dword [esi + 0x1c30]
mov dword [esi + 0x1c0c], eax
mov dword [esi + 0x1c10], 0
mov dword [esi + 0x1c14], 0
mov dword [esi + 0x1c18], 0
mov dword [esi + 0x1c1c], 0
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [esi + 0x1c24], ecx
mov dword [esi + 0x1c20], eax
mov ecx, dword [edx + 0xa8]
mov eax, dword [edx + 0xa4]
mov dword [esi + 0x1c2c], ecx
xor ecx, ecx
mov dword [esi + 0x1c28], eax
cmp dword [esi + 0x1c30], ecx
jle 0x1011737d
xor edx, edx
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x1c38]
mov eax, dword [eax + ecx*4]
add edx, dword [eax + 0x18]
mov dword [esi + 0x1c14], edx
mov eax, dword [esi + 0x1c38]
mov eax, dword [eax + ecx*4]
inc ecx
add edi, dword [eax + 0xc]
mov dword [esi + 0x1c10], edi
cmp ecx, dword [esi + 0x1c30]
jl 0x10117350
cmp dword [esi + 0x1c0c], 0
mov eax, dword [esi + 0x1c14]
mov dword [esi + 0x35c], eax
mov eax, dword [esi + 0x1c10]
mov dword [esi + 0x360], eax
jle 0x101173b4
mov ecx, dword [esi + 0xdc]
test ecx, ecx
je 0x101173b4
lea eax, [esi + 0x1c04]
push eax
call ecx
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