Function at 0x100014b7
Capabilities:
Accept command line arguments
Check for debugger via api
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
xor eax, eax
mov ecx, 4
mov dword [esi + 0xb4], eax
mov eax, ecx
mov dword [esi + 0xb0], ecx
call fcn.100b08a0
mov eax, esp
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0xac], eax
mov eax, ecx
call fcn.100b08a0
mov eax, esp
mov ecx, 0x14
mov dword [esi + 0xa8], eax
mov eax, ecx
mov dword [esi + 0xa4], ecx
call fcn.100b08a0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0xa0], eax
mov eax, ecx
call fcn.100b08a0
mov eax, esp
mov ecx, 0x10
mov dword [esi + 0x9c], eax
mov eax, ecx
call fcn.100b08a0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x98], eax
mov eax, ecx
call fcn.100b08a0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x94], eax
mov eax, ecx
call fcn.100b08a0
mov eax, esp
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x90], eax
mov eax, ecx
call fcn.100b08a0
mov eax, esp
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0xb4]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x88], ecx
mov dword [esi + 0x84], edx
jmp 0x100015e5
xor eax, eax
xor ecx, ecx
mov edx, dword [esi + 0x80]
sub edx, 0x11
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x74], edx
je 0x1000174a
jmp 0x100015c8
mov eax, dword [esi + 0x80]
sub eax, 0x31
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], ecx
je 0x10001707
jmp 0x100017d7
mov eax, dword [esi + 0x84]
mov dword [esi + 0xc0], 0xa0e
sub esp, 8
mov ecx, esp
lea edx, [esi + 0xc0]
mov dword [ecx + 4], edx
mov dword [ecx], 0xe16b9c
mov ecx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esi + 0x80], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0xc], 0x53bb7c
mov dword [ecx + 8], 0x2ed1e5
mov dword [ecx + 4], 0x691
mov dword [ecx], 0x96c0b9
mov ecx, dword [sym.imp.USER32.dll_CallNextHookEx]
mov dword [esi + 0x68], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x84ff9
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x64], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ecx
mov eax, dword [esi + 0x5c]
mov ecx, 0xf0f0f0f1
mov dword [esi + 0x58], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [esi + 0x58]
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], eax
je 0x1000169c
jmp 0x10001687
mov eax, dword [esi + 0x54]
sub eax, 7
mov dword [esi + 0x4c], eax
je 0x100016a8
jmp 0x100016e6
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov dword [esi + 0x48], eax
jmp 0x100016a8
sub esp, 4
mov eax, esp
mov dword [eax], 0x75fd3d
mov eax, dword [sym.imp.KERNEL32.dll_HeapDestroy]
call eax
mov dword [esi + 0xbc], 0x3ba
sub esp, 8
mov ecx, esp
lea edx, [esi + 0xbc]
mov dword [ecx + 4], edx
mov dword [ecx], 0xc16b15
mov ecx, dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov dword [esi + 0x44], eax
call ecx
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x58]
add eax, 1
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
cmp eax, 0x2b4
mov dword [esi + 0x5c], eax
je 0x100015aa
jmp 0x10001660
sub esp, 0xc
mov eax, esp
mov dword [eax + 8], 0x818
mov dword [eax + 4], 0xce5
mov dword [eax], 0xa3f0d6
mov eax, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xa26008
mov ecx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x38], eax
call ecx
mov dword [esi + 0x34], eax
mov eax, dword [sym.imp.USER32.dll_ReleaseCapture]
call eax
mov dword [esi + 0x30], eax
mov eax, 0xa2b0d2
mov ecx, dword [esi + 0xac]
mov dword [ecx], eax
sub esp, 0x10
mov eax, esp
mov ecx, dword [esi + 0xac]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x9ab
mov dword [eax + 4], 0xb17
mov dword [eax], 0xa2b0d2
mov eax, dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x63d17a
mov ecx, dword [sym.imp.GDI32.dll_CloseFigure]
mov dword [esi + 0x2c], eax
call ecx
mov ecx, dword [esi + 0xa8]
mov word [ecx], 0x3f
sub esp, 0x14
mov edx, esp
mov dword [edx + 0x10], ecx
mov dword [edx + 0xc], 0x207
mov dword [edx + 8], str.__nU4
mov dword [edx + 4], 0x266
mov dword [edx], 0x19
mov edx, dword [sym.imp.KERNEL32.dll_GetStringTypeA]
mov dword [esi + 0x28], eax
call edx
mov dword [esi + 0x24], eax
jmp 0x100018f3
mov eax, dword [esi + 0x6c]
xor ecx, ecx
mov edx, 0x14
sub esp, 0xc
mov edi, dword [esi + 0xa0]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], edx
call fcn.100b08d0
add esp, 0xc
mov eax, dword [esi + 0x9c]
mov dword [eax], 0x39b
sub esp, 0xc
mov ecx, dword [esi + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
call fcn.100b08d0
add esp, 0xc
mov eax, dword [esi + 0x90]
mov dword [eax], 0x2b6
mov ecx, dword [esi + 0x8c]
mov dword [ecx], 0x405
sub esp, 0x20
mov edx, esp
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x18], eax
mov edi, dword [esi + 0x9c]
mov dword [edx + 0x14], edi
mov ebx, dword [esi + 0x94]
mov dword [edx + 0x10], ebx
mov eax, dword [esi + 0x98]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xa0]
mov dword [edx], eax
mov dword [edx + 8], 0x39b
mov dword [edx + 4], 0x5038aa
mov edx, dword [sym.imp.ADVAPI32.dll_AccessCheck]
call edx
mov ecx, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esi + 0x14], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x9c
mov dword [ecx], 0xcc2ea
mov ecx, dword [sym.imp.GDI32.dll_SetMapperFlags]
mov dword [esi + 0x10], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe094
mov ecx, dword [sym.imp.USER32.dll_UnloadKeyboardLayout]
mov dword [esi + 0xc], eax
call ecx
mov ecx, dword [esi + 0x20]
add ecx, 1
cmp ecx, 0xa
mov dword [esi + 8], eax
mov dword [esi + 0x6c], ecx
jne 0x100017d7
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x4215b1
mov dword [eax], 0x31c50c
mov eax, dword [sym.imp.ADVAPI32.dll_NotifyChangeEventLog]
call eax
mov ecx, dword [esi + 0x80]
add ecx, 1
cmp ecx, 0x110
mov dword [esi + 4], eax
mov dword [esi + 0x84], ecx
je 0x10001694
jmp 0x100015e5