Function at 0x401b80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x404c68], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x488]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 4], ecx
push 0x3fc
push 0
mov edx, dword [0x404c68]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
je 0x401caf
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x20
je 0x401bfa
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
xor edx, edx
je 0x401ca1
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 4]
cmp eax, 1
jle 0x401ca1
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
add ecx, 1
push ecx
push 0
mov edx, dword [0x404c68]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x484]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x484]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jae 0x401c6f
mov ecx, dword [ebp - 0x48c]
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x48c]
add ecx, 1
mov dword [ebp - 0x48c], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401c40
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
jne 0x401c84
jmp 0x401caf
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xff
jne 0x401ca1
jmp 0x401caf
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x401bd3
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp + 8], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.Sangol
push str.Mokil
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x65
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x404c64], eax
mov edx, dword [ebp + 8]
push edx
call fcn.00401d90
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00401130
add esp, 8
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401130
add esp, 8
test eax, eax
jne 0x401d2b
mov eax, dword [0x404c54]
call fcn.004023d0
xor eax, eax
jmp 0x401d83
push 0
push 0
push 0
lea edx, [ebp - 0x280]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401d7d
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x280]
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401d7b
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x280]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401d2b
mov eax, dword [ebp - 0x278]
mov esp, ebp
pop ebp
ret 0x10