Function at 0x40e6b0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x41e0ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x388
call fcn.00413d41
add esp, 4
mov dword [esp + 0x18], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x12c], edi
je 0x40e6fa
mov ecx, eax
call fcn.00401a40
jmp 0x40e6fc
xor eax, eax
mov ecx, dword [esp + 0x134]
mov dword [eax + 0x320], ecx
mov ecx, dword [esp + 0x138]
cmp ecx, edi
mov dword [esp + 0x12c], 0xffffffff
mov dword [0x423914], eax
je 0x40e72c
push ecx
mov ecx, eax
call fcn.00401a80
mov dl, byte [0x4220f4]
mov cl, byte [0x4220ec]
sub dl, 0x30
xor esi, esi
xor eax, eax
cmp dl, cl
mov dword [0x423910], 0x280
mov dword [0x42390c], 0x1e0
mov dword [0x423908], edi
mov dword [0x423900], edi
jne 0x40e768
mov eax, 1
mov cl, byte [0x4220f5]
mov dl, byte [0x4220ed]
sub cl, 0x30
cmp cl, dl
jne 0x40e77c
inc eax
mov dl, byte [0x4220f6]
mov cl, byte [0x4220ee]
sub dl, 0x30
cmp dl, cl
jne 0x40e790
inc eax
mov cl, byte [0x4220f7]
mov dl, byte [0x4220ef]
sub cl, 0x30
cmp cl, dl
jne 0x40e7a4
inc eax
mov dl, byte [0x4220f8]
mov ecx, dword [0x4220f0]
sub dl, 0x30
cmp dl, cl
jne 0x40e7b8
inc eax
mov dl, byte [0x4220f9]
sub dl, 0x30
cmp dl, ch
jne 0x40e7c6
inc eax
mov dl, byte [0x4220fa]
mov cx, word [0x4220f2]
sub dl, 0x30
cmp dl, cl
jne 0x40e7db
inc eax
mov dl, byte [0x4220fb]
sub dl, 0x30
cmp dl, ch
jne 0x40e7e9
inc eax
cmp eax, edi
jne 0x40e854
push str.163840
call fcn.00414a0a
mov esi, eax
mov al, byte [0x422105]
add esp, 4
add esi, 0x10000
cmp al, 0x73
jne 0x40e815
mov dword [0x423900], 2
movsx eax, word [0x422108]
movsx ecx, word [0x42210b]
movsx edx, word [0x42210e]
mov dword [0x42390c], ecx
movzx ecx, word [0x422111]
mov dword [0x423910], eax
mov eax, dword [0x422114]
push eax
push ecx
mov ecx, dword [0x423914]
mov dword [0x423908], edx
call fcn.00401d50
test byte [0x423908], 2
jne 0x40e88a
push 0x104
lea edx, [esp + 0x20]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x1c]
push 0x20
push eax
mov ecx, eax
push ecx
call fcn.004130a0
lea edx, [esp + 0x28]
push edx
call fcn.00413240
add esp, 0x10
mov ecx, dword [0x423914]
push esi
call fcn.00401b30
test eax, eax
je 0x40e8c9
push 0x30
push str.Error
push str.Startup_failed.
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
mov eax, dword [0x423914]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
mov dword [0x423904], eax
call esi
push eax
call fcn.00413420
mov ecx, dword [0x423904]
push eax
add ecx, 0x368
push ecx
call fcn.00409490
mov eax, dword [0x423900]
add esp, 0xc
cmp eax, edi
je 0x40e9cc
call esi
push eax
call fcn.00413420
mov esi, eax
movsx edx, byte [esi + 1]
push edx
mov dword [0x4238fc], 0x1e
call fcn.0041379a
add esp, 8
push edi
push str.oniwndp
mov bl, al
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40e955
pop ebx
pop edi
mov eax, 2
pop esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
cmp bl, 0x70
jne 0x40ea4b
add esi, 3
push esi
call fcn.00414a0a
mov esi, eax
add esp, 4
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov eax, dword [0x423904]
mov dword [0x423910], ecx
mov dword [0x42390c], edx
mov dword [0x423908], 0x100
mov dword [eax + 0x358], esi
mov dword [0x423900], edi
mov eax, dword [0x423904]
mov edx, dword [eax + 0x30c]
mov ecx, dword [0x423900]
or edx, ecx
mov dword [eax + 0x30c], edx
mov edx, dword [0x423904]
push 0x10
mov dword [edx + 0x354], fcn.0040e500
call fcn.00403490
push eax
call fcn.0040a630
push 0x11
call fcn.00403490
push eax
call fcn.0040a680
mov eax, dword [0x423908]
mov ecx, dword [0x42390c]
mov edx, dword [0x423910]
add esp, 0x10
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
push edx
push 9
call fcn.00403490
add esp, 4
push eax
call fcn.0040e230
push 0xa
call fcn.00403490
push eax
call fcn.0040e170
mov ecx, dword [esp + 0x148]
add esp, 0x20
pop ebx
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret
cmp bl, 0x73
jne 0x40e9ad
push edi
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x40e9b3