Function at 0x10010b70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100254c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [0x1004054c]
push ebx
push esi
push edi
cmp eax, 0x38
mov dword [ebp - 0x10], esp
je 0x10010baf
push 0x1000e0e0
call fcn.1000e160
add esp, 4
xor edi, edi
jmp 0x10010bba
xor edi, edi
push edi
call fcn.10016c70
add esp, 4
mov esi, dword [ebp + 0xc]
mov dword [0x1004052c], edi
push esi
mov dword [0x10040548], edi
call fcn.10010ec0
add esp, 4
test eax, eax
jne 0x10010bf5
push 0x30
push 0x1003a4c4
push 0x1003a488
push edi
call dword [sym.imp.USER32.DLL_MessageBoxA]
mov dword [0x1004052c], 1
jmp 0x10010bff
mov dword [0x10040548], 1
push 0x64
mov dword [ebp - 4], edi
call fcn.1001a636
mov ebx, eax
add esp, 4
mov ecx, 0x19
xor eax, eax
mov edi, ebx
push ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
call fcn.100084a0
add esp, 4
test eax, eax
jne 0x10010e93
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.kernel32.dll_GetSystemTime]
mov ecx, dword [ebp - 0x22]
and ecx, 0xffff
push ecx
call fcn.1001af05
add esp, 4
call fcn.1001af12
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 9
jne 0x10010c89
mov eax, dword [0x10040548]
test eax, eax
je 0x10010c89
push esi
call fcn.100114a0
add esp, 4
test eax, eax
jne 0x10010c89
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 8
push 0x32
call fcn.1001a636
mov esi, eax
mov ecx, 0xc
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
lea edx, [ebp - 0x134]
mov dword [ebp - 0x1c], esi
push 0x104
push edx
stosw word es:[edi], ax
call fcn.1000e180
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
push 8
call fcn.1001a636
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x10010cdd
call fcn.10004970
mov edi, eax
jmp 0x10010cdf
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.100049b0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x134]
push eax
push ecx
mov ecx, edi
call fcn.10004d20
mov ecx, edi
mov ebx, eax
call fcn.10004a00
test edi, edi
je 0x10010d11
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
test ebx, ebx
jne 0x10010e82
mov eax, dword [0x10039080]
mov dword [ebp + 0xc], eax
mov ecx, dword [eax - 8]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10010db8
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x10010d6c
mov edx, dword [0x10039084]
add eax, 0xfffffff4
cmp eax, edx
je 0x10010db8
push ecx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jg 0x10010d61
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.1001a644
add esp, 4
mov ecx, dword [0x10039080]
mov dword [ebp + 0xc], ecx
jmp 0x10010db8
mov edx, 0x1003d5c0
test edx, edx
jne 0x10010d79
xor ebx, ebx
jmp 0x10010d86
push 0x1003d5c0
call dword [sym.imp.kernel32.dll_lstrlen]
mov ebx, eax
push ebx
lea ecx, [ebp + 0xc]
call fcn.10001940
test eax, eax
je 0x10010db8
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov eax, ecx
mov esi, 0x1003d5c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ecx - 8], ebx
mov edx, dword [ebp + 0xc]
mov byte [ebx + edx], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 0xc]
push eax
push 0x100391e8
push ecx
call fcn.100084e0
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 4], 0
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x10039084]
lea ecx, [edx - 0xc]
cmp ecx, eax
je 0x10010e1f
add edx, 0xfffffff4
push edx
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jg 0x10010e1f
mov edx, dword [ebp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.1001a644
add esp, 4
push 0x1f4
call fcn.1001a636
mov esi, eax
mov ecx, 0x7d
xor eax, eax
mov edi, esi
add esp, 4
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
push esi
push ebx
push edi
call fcn.10016f50
mov eax, dword [ebp + 8]
mov ecx, dword [0x10040534]
push eax
push ecx
push esi
call fcn.100171e0
push esi
call fcn.1001a644
push ebx
call fcn.1001a644
push edi
call fcn.1001a644
add esp, 0xc
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 8
push esi
call fcn.1001a644
add esp, 4
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
push ebx
call fcn.1001a644
add esp, 4
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 8