Function at 0x100169b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push 0x68b47e44
lea ecx, [ebp - 0x86]
call fcn.1001fcc0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x86]
call fcn.10031770
cmp dword [ebp - 0x50], 0
jne 0x10016a0a
jmp 0x10016d3a
push 0x620f0164
lea ecx, [ebp - 0x9f]
call fcn.1001fd40
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10067e4c], eax
lea ecx, [ebp - 0x9f]
call fcn.100317d0
mov eax, 0x983b5efa
push eax
lea ecx, [ebp - 0xb1]
call fcn.1001fdc0
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10067844], eax
lea ecx, [ebp - 0xb1]
call fcn.10031a40
cmp dword [0x10067e4c], 0
je 0x10016a8b
cmp dword [0x10067844], 0
jne 0x10016a90
jmp 0x10016d3a
mov dword [ebp - 0x48], 0x10000
mov eax, dword [ebp - 0x48]
push eax
call sub.MSVCR90.dll_malloc
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10016ab1
jmp 0x10016d3a
push 0
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0x10
call dword [0x10067e4c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xc0000004
jne 0x10016af7
mov eax, dword [ebp - 0x48]
shl eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR90.dll_realloc
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10016af5
jmp 0x10016d3a
jmp 0x10016ab1
cmp dword [ebp - 0x4c], 0
jge 0x10016b0e
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR90.dll_free
add esp, 4
jmp 0x10016d3a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.10016930
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.1000eed0
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], 0
jmp 0x10016b48
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x24]
call fcn.10002400
cmp dword [ebp - 0x54], eax
jae 0x10016b9f
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.10002110
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10016b9d
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x28]
je 0x10016b9d
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.10002140
jmp 0x10016b3f
mov dword [ebp - 0x60], 0
jmp 0x10016bb1
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
cmp eax, dword [edx]
jae 0x10016d0b
mov ecx, dword [ebp - 0x60]
shl ecx, 4
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x70], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x44]
call fcn.10018420
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x44]
call fcn.10018420
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x44]
call fcn.100098d0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.10002f20
add esp, 0x18
mov ecx, eax
call fcn.10002460
movzx ecx, al
test ecx, ecx
je 0x10016c4c
jmp 0x10016ba8
movzx edx, byte [ebp - 0x70]
cmp edx, 7
jne 0x10016d06
mov eax, dword [ebp - 0x74]
push eax
push 0
push 0x450
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x10016d06
push 0
push 0
push 0x400
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
movzx edx, word [ebp - 0x6e]
push edx
mov eax, dword [ebp - 0x78]
push eax
call dword [0x10067844]
test eax, eax
jl 0x10016cfc
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x28]
jne 0x10016cf2
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x74]
je 0x10016cf2
call fcn.100167e0
cmp eax, dword [ebp - 0x74]
je 0x10016cf2
push 1
push 0
push 0
push 0
push 0
movzx ecx, word [ebp - 0x6e]
push ecx
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x10016cf2
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10016ba8
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR90.dll_free
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.1000ef30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000ef30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret