Function at 0x10117160
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 0x10117509
mov eax, dword [esi + 0x199c]
cmp eax, dword [esi + 0x1998]
je 0x1011718b
call fcn.10117520
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 0x101171df
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.1003c860
mov dword [edi], 0
add edi, 0xc
sub ebx, 1
jne 0x101171c0
mov eax, dword [esi + 0x1b38]
test eax, eax
je 0x10117211
test dword [eax + 8], 0x2000
jne 0x10117211
mov ebx, dword [eax + 0x2f0]
mov ecx, dword [esi + 0x1b40]
mov dword [ebp - 0xc], ebx
jmp 0x10117224
xor ebx, ebx
mov dword [ebp - 0xc], ebx
test eax, eax
je 0x10117222
mov ecx, dword [esi + 0x1b40]
jmp 0x10117224
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 0x10117296
cmp edi, eax
jge 0x10117509
mov eax, dword [esi + 0x19ac]
mov edx, dword [eax + edi*4]
cmp byte [edx + 0x7a], 0
je 0x1011728b
cmp byte [edx + 0x81], 0
jne 0x1011728b
mov eax, dword [edx + 8]
test eax, 0x1000000
jne 0x1011728b
cmp edx, ebx
je 0x1011728b
cmp edx, ecx
je 0x1011728b
mov ecx, dword [0x101e6b78]
test eax, 0x2000000
je 0x1011727d
add ecx, 0x1c3c
jmp 0x10117283
add ecx, 0x1c30
call fcn.10117ba0
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x19a4]
inc edi
cmp edi, eax
jne 0x10117238
xor edi, edi
mov edx, dword [ebp + edi*4 - 0xc]
test edx, edx
je 0x101172d1
cmp byte [edx + 0x7a], 0
je 0x101172d1
cmp byte [edx + 0x81], 0
jne 0x101172d1
test dword [edx + 8], 0x2000000
mov ecx, dword [0x101e6b78]
je 0x101172c6
add ecx, 0x1c3c
jmp 0x101172cc
add ecx, 0x1c30
call fcn.10117ba0
inc edi
cmp edi, 2
jl 0x10117298
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 0x1011732f
test ecx, ecx
je 0x10117313
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 0x10117318
mov ecx, 8
cmp ecx, dword [ebp - 4]
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1003c860
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 0x1011739a
jle 0x10117509
cmp ebx, dword [edx]
jge 0x10117509
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 0x1011738b
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.1003c860
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 0x10117340
cmp byte [esi + 0xac], 0
je 0x101173d7
push dword [esi + 0xe4]
mov edx, dword [esi + 0x1cc0]
lea ecx, [esi + 0x1c4c]
push dword [esi + 0xe0]
movss xmm1, dword [esi + 0x15a0]
call fcn.10129830
add esp, 8
cmp dword [esi + 0x1c64], 0
je 0x101173f1
lea edx, [esi + 0x1c4c]
lea ecx, [esi + 0x1c30]
call fcn.10117c10
mov edx, dword [0x101e6b78]
test edx, edx
je 0x10117509
mov byte [esi + 0x1c04], 1
cmp dword [esi + 0x1c30], 0
jle 0x10117417
mov eax, dword [esi + 0x1c38]
jmp 0x10117419
xor eax, eax
mov dword [esi + 0x1c08], eax
xor edi, edi
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 + 0x1c20], eax
mov dword [esi + 0x1c24], ecx
mov eax, dword [edx + 0xa4]
mov ecx, dword [edx + 0xa8]
mov dword [esi + 0x1c28], eax
mov dword [esi + 0x1c2c], ecx
cmp dword [esi + 0x1c30], edi
jle 0x101174cb
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ebx
xor edx, edx
mov eax, dword [esi + 0x1c38]
lea ecx, [ecx + 4]
inc edi
lea edx, [edx + 4]
mov eax, dword [eax + ecx - 4]
add ebx, dword [eax + 0x18]
mov dword [esi + 0x1c14], ebx
mov eax, dword [esi + 0x1c38]
mov eax, dword [eax + edx - 4]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 4]
mov dword [esi + 0x1c10], eax
mov dword [ebp - 4], eax
cmp edi, dword [esi + 0x1c30]
jl 0x10117490
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 0x10117502
mov ecx, dword [esi + 0xdc]
test ecx, ecx
je 0x10117502
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