Function at 0x100171e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025b63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1274
call fcn.1001afc0
push ebx
push esi
mov ebx, dword [ebp + 0xc]
push edi
mov ecx, 0x7d
xor eax, eax
lea edi, [ebp - 0x228]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x228]
xor edi, edi
push eax
push edi
push 0x1003a4e0
push ebx
call fcn.10012050
cmp eax, edi
jne 0x1001723b
push edi
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [0x10039080]
lea edx, [ebp - 0x228]
test edx, edx
mov dword [ebp + 0xc], ecx
je 0x100172aa
lea eax, [ebp - 0x228]
shr eax, 0x10
jne 0x1001726f
xor eax, eax
lea ecx, [ebp - 0x228]
mov ax, cx
lea ecx, [ebp + 0xc]
push eax
call fcn.100038f0
jmp 0x100172aa
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
mov esi, eax
cmp esi, edi
je 0x100172aa
push esi
lea ecx, [ebp + 0xc]
call fcn.100018a0
test eax, eax
je 0x100172aa
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov eax, ecx
lea esi, [ebp - 0x228]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov eax, dword [0x10039080]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp esi, edi
jne 0x100172c7
xor eax, eax
jmp 0x100172ce
push esi
call dword [sym.imp.kernel32.dll_lstrlen]
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.10001a10
cmp ebx, edi
jne 0x100172e0
xor eax, eax
jmp 0x100172e7
push ebx
call dword [sym.imp.kernel32.dll_lstrlen]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.10001a10
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
cmp eax, edi
mov eax, dword [ebp - 0x18]
jne 0x10017395
mov ecx, dword [0x10039084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x10017330
mov esi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x10017336
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
push eax
call fcn.1001a644
add esp, 4
jmp 0x10017336
mov esi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
mov eax, dword [ebp - 0x14]
mov edx, dword [0x10039084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1001735f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x1001735f
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff4
push edx
call fcn.1001a644
add esp, 4
mov eax, dword [ebp + 0xc]
mov edx, dword [0x10039084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1001759a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x1001759a
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.1001a644
add esp, 4
jmp 0x1001759a
cmp dword [eax - 8], edi
jne 0x100173f1
mov edx, dword [0x10039084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x100173c8
mov esi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x100173ce
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff4
push edx
call fcn.1001a644
add esp, 4
jmp 0x100173ce
mov esi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
mov eax, dword [ebp - 0x14]
mov edx, dword [0x10039084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1001735f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x1001735f
jmp 0x10017350
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x28]
mov eax, dword [eax - 8]
push ecx
lea edx, [ebp - 0x228]
push eax
push edx
lea ecx, [ebp - 0x1284]
call fcn.10003af0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov esi, dword [eax - 8]
mov ecx, esi
mov dword [ebp - 0x20], esi
and ecx, 0x80000007
jns 0x10017430
dec ecx
or ecx, 0xfffffff8
inc ecx
sub esi, ecx
add esi, 8
push esi
call fcn.1001a636
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push esi
call fcn.1001a636
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x20]
cdq
and ecx, 3
sub eax, edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1c]
mov esi, eax
sar esi, 1
push esi
push ebx
push ecx
call fcn.1000e600
add esp, 0xc
lea ecx, [ebp - 0x1284]
push 0
push esi
push ebx
push ebx
call fcn.100046c0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [ebp - 0x1c]
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x10]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.1001a644
push ebx
call fcn.1001a644
add esp, 8
lea ecx, [ebp - 0x1284]
mov byte [ebp - 4], 3
call fcn.10004960
mov eax, dword [ebp - 0x18]
mov edx, dword [0x10039084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x10017529
add eax, 0xfffffff4
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jg 0x10017529
mov edx, dword [ebp - 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.1001a644
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x10039084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x10017556
add eax, 0xfffffff4
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jg 0x10017556
mov edx, dword [ebp - 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.1001a644
add esp, 4
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.100019e0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc