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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov esi, esp
xor eax, eax
lea ecx, [esi + 0xe0]
lea edx, [esi + 0xc0]
mov edi, 4
mov dword [esi + 0xa0], eax
mov eax, edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x98], ecx
mov dword [esi + 0x94], edx
call fcn.100c7990
mov eax, esp
mov ecx, dword [esi + 0x9c]
mov dword [esi + 0x90], eax
mov eax, ecx
call fcn.100c7990
mov eax, esp
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0xa0]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x88], ecx
mov dword [esi + 0x84], edx
jmp 0x100016f2
mov eax, dword [esi + 0x80]
xor ecx, ecx
mov edx, 0x14
add eax, 1
sub esp, 0xc
mov edi, dword [esi + 0x94]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x7c], edx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x74], eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esi + 0xd8], 0x39b
sub esp, 0xc
mov eax, dword [esi + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
call sub.msvcrt.dll_memset
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
lea edi, [esi + 0xd8]
mov dword [edx + 0x14], edi
lea edi, [esi + 0xe0]
mov dword [edx + 0x10], edi
lea edi, [esi + 0xa8]
mov dword [edx + 0xc], edi
mov edi, dword [esi + 0x94]
mov dword [edx], edi
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 + 0x70], 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 + 0x6c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe094
mov ecx, dword [sym.imp.USER32.dll_UnloadKeyboardLayout]
mov dword [esi + 0x68], eax
call ecx
mov ecx, dword [esi + 0x74]
cmp ecx, 0xa
mov dword [esi + 0x64], eax
mov dword [esi + 0x80], ecx
je 0x10001836
jmp 0x100014ee
sub esp, 4
mov eax, esp
mov dword [eax], 0x75fd3d
mov eax, dword [sym.imp.KERNEL32.dll_HeapDestroy]
call eax
mov dword [esi + 0xdc], 0x3ba
sub esp, 8
mov ecx, esp
lea edx, [esi + 0xdc]
mov dword [ecx + 4], edx
mov dword [ecx], 0xc16b15
mov ecx, dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov dword [esi + 0x60], eax
call ecx
mov dword [esi + 0x5c], eax
jmp 0x100017a6
mov eax, 0xa2b0d2
mov dword [esi + 0xa4], eax
sub esp, 0x10
mov eax, esp
lea ecx, [esi + 0xa4]
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 + 0x58], eax
call ecx
mov dword [esi + 0x54], eax
mov word [esi + 0xbe], 0x3f
sub esp, 0x14
mov eax, esp
lea ecx, [esi + 0xbe]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x207
mov dword [eax + 8], str.__nU4
mov dword [eax + 4], 0x266
mov dword [eax], 0x19
mov eax, dword [sym.imp.KERNEL32.dll_GetStringTypeA]
call eax
mov dword [esi + 0x50], eax
jmp 0x10001836
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov dword [esi + 0x4c], eax
jmp 0x10001612
mov eax, dword [esi + 0x84]
mov dword [esi + 0xf4], 0xa0e
sub esp, 8
mov ecx, esp
lea edx, [esi + 0xf4]
mov dword [ecx + 4], edx
mov dword [ecx], 0xe16b9c
mov ecx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esi + 0x48], 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 + 0x44], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x84ff9
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x40], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x38]
mov ecx, 0xf0f0f0f1
mov dword [esi + 0x34], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [esi + 0x34]
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
je 0x100016e3
jmp 0x10001795
mov eax, dword [esi + 0x30]
sub eax, 7
mov dword [esi + 0x28], eax
je 0x10001612
jmp 0x100017a6
mov eax, dword [esi + 0x34]
add eax, 1
cmp eax, 0x2b4
mov dword [esi + 0x38], eax
jne 0x1000176a
xor eax, eax
xor ecx, ecx
mov edx, dword [esi + 0x48]
sub edx, 0x11
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x1c], edx
je 0x10001655
jmp 0x100017d3
mov eax, dword [esi + 0x48]
sub eax, 0x31
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x80], ecx
jne 0x100014ee
jmp 0x100017ed
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 + 0x14], eax
call ecx
mov ecx, dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x10], eax
call ecx
mov dword [esi + 0xc], eax
jmp 0x10001655
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 + 0x48]
add ecx, 1
cmp ecx, 0x110
sete dl
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov byte [esi + 3], dl
mov al, byte [esi + 3]
test al, 1
mov ecx, dword [esi + 4]
mov dword [esi + 0x84], ecx
jne 0x1000187f
jmp 0x100016f2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret