Function at 0x404110
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x408bf1
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
mov ecx, esi
call fcn.00404e40
mov ecx, esi
mov edi, eax
call fcn.00405170
test eax, eax
jne 0x4041c8
cmp dword [esi + 0x31c], ebx
jne 0x404526
mov eax, dword [0x40c6a4]
cmp dword [eax + 0x10], 2
jne 0x404196
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
push 0x40c7c0
push 0x1a
push ecx
call edi
mov edx, dword [esi]
push 0x82
push 0x40c6b0
push 0x10
push edx
call edi
push 0x42000
jmp 0x404516
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x208
push 0x40c7c0
push 0x1a
push eax
call edi
mov ecx, dword [esi]
push 0x104
push 0x40c6b0
push 0x10
push ecx
call edi
push 0x42000
jmp 0x404516
mov edx, dword [esi]
push edx
call fcn.00404020
add esp, 4
test eax, eax
je 0x404526
cmp edi, ebx
je 0x4044b9
mov eax, dword [esi + 0x314]
cmp eax, 0xffffffff
je 0x4043a6
cmp eax, ebx
je 0x404399
xor edi, edi
mov dword [esp + 0x10], ebx
cmp dword [esi + edi*4 + 0x324], ebx
je 0x404326
cmp dword [esi + 0x31c], ebx
je 0x40422b
mov ecx, dword [esi]
lea eax, [edi + 0xd5]
push edi
push eax
push ecx
mov ecx, dword [0x40c7b4]
call fcn.00401f80
cmp dword [esi + edi*4 + 0x344], ebx
je 0x404250
cmp edi, ebx
jne 0x4042ca
mov edx, dword [esi]
mov ecx, dword [0x40c7b4]
push ebx
push 0xd9
push edx
call fcn.00401fb0
cmp edi, ebx
jne 0x4042ca
cmp dword [esi + 0x31c], ebx
jne 0x404306
push 0x14
call fcn.00405450
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x20], ebx
je 0x40427f
mov ecx, eax
call fcn.00402720
jmp 0x404281
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
mov dword [0x40c694], eax
jne 0x4042a6
mov eax, dword [esi]
push ebx
push 0x1b
push eax
push ebx
call fcn.00401370
add esp, 0x10
jmp 0x40433f
mov ecx, dword [esi]
mov edx, dword [eax]
push 0x4026f0
push ebx
push 0x69
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [0x40c694]
cmp ecx, ebx
je 0x40433b
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x40433b
cmp dword [esi + 0x31c], ebx
jne 0x404306
cmp edi, 2
je 0x4042dc
cmp edi, 3
jne 0x404306
cmp ebp, 1
je 0x404306
cmp ebp, 2
je 0x40433b
push 0x1c
push 0x1394
push ebx
call fcn.00401450
add esp, 0xc
test eax, eax
jne 0x404301
mov ebp, 2
jmp 0x40433b
mov ebp, 1
push edi
mov ecx, esi
call fcn.00404a90
test eax, eax
je 0x40453b
mov ecx, dword [0x40c7b4]
push 1
push edi
call fcn.00401c60
jmp 0x40433b
cmp dword [esi + edi*4 + 0x334], ebx
je 0x40433f
mov ecx, dword [0x40c7b4]
push edi
call fcn.00401d60
inc dword [esp + 0x10]
inc edi
cmp edi, 4
jb 0x404200
cmp dword [esi + 0x31c], ebx
je 0x404369
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esp + 0x10], ebx
je 0x4043a6
push 0x1c
call fcn.00405450
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x20], 1
je 0x40442c
mov ecx, eax
call fcn.004033d0
jmp 0x40442e
cmp dword [esi + 0x320], ebx
jne 0x4043ae
jmp 0x404526
cmp dword [esi + 0x320], ebx
je case.0x4043d2.4
mov ecx, dword [0x40c6a0]
mov edx, dword [esi]
push 0x403890
push ebx
mov eax, dword [ecx]
push 0x66
push edx
call dword [eax + 4]
mov eax, dword [0x40c6a0]
mov eax, dword [eax + 0xc]
dec eax
cmp eax, 7
ja case.0x4043d2.1
jmp dword [eax*4 + 0x404568]
mov ecx, esi
call fcn.00404590
jmp case.0x4043d2.1
mov ecx, esi
call fcn.00404900
jmp case.0x4043d2.1
mov ecx, esi
call fcn.00404760
mov ecx, esi
call fcn.00404930
mov ecx, dword [0x40c6a0]
cmp dword [ecx + 0xc], 1
je 0x4044a1
push 0x1c
call fcn.00405450
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x20], 2
je 0x40442c
mov ecx, eax
call fcn.004033d0
jmp 0x40442e
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
mov dword [0x40c9c8], eax
je 0x404526
mov ecx, esi
call fcn.004050d0
test eax, eax
mov eax, dword [0x40c9c8]
je 0x404468
mov dword [eax + 0x14], 0x3f1
mov eax, dword [0x40c9c8]
mov dword [eax + 0x18], 0x14
jmp 0x40447b
mov dword [eax + 0x14], 0x3f2
mov eax, dword [0x40c9c8]
mov dword [eax + 0x18], 0x13
mov ecx, dword [0x40c9c8]
mov eax, dword [esi]
push 0x4033a0
push ebx
mov edx, dword [ecx]
push 0x68
push eax
call dword [edx + 4]
mov ecx, dword [0x40c9c8]
cmp ecx, ebx
je 0x4044a1
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [0x40c6a4]
cmp dword [eax + 0x10], 2
jne 0x4044ec
push 0x104
push 0x40c7c0
push 0x17
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push ecx
call edi
mov edx, dword [esi]
push 0x82
push 0x40c6b0
push 0x10
push edx
jmp 0x404512
push 0x208
push 0x40c7c0
push 0x17
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push eax
call edi
mov ecx, dword [esi]
push 0x104
push 0x40c6b0
push 0x10
push ecx
call edi
push 0x30
push 0x40c6b0
push 0x40c7c0
push ebx
call fcn.00401320
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
mov eax, dword [0x40c6a4]
cmp dword [eax + 0x10], 2
jne 0x404557
push 0x104
push 0x40c7c0
push 0x11
jmp 0x4044d0
push 0x208
push 0x40c7c0
push 0x11
jmp 0x4044f8