Function at 0x412e40
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425cbe
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push edi
push 2
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x412e86
mov eax, 1
pop edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x390
call fcn.00419f01
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov dword [esp + 0x128], edi
je 0x412eb8
mov ecx, eax
call fcn.00401a40
jmp 0x412eba
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword [eax + 0x320], ecx
mov ecx, dword [esp + 0x134]
cmp ecx, edi
mov dword [esp + 0x128], 0xffffffff
mov dword [0x42e918], eax
je 0x412eea
push ecx
mov ecx, eax
call fcn.00401a80
mov dl, byte [0x42d114]
mov cl, byte [0x42d10c]
push esi
sub dl, 0x30
xor esi, esi
xor eax, eax
cmp dl, cl
mov dword [0x42e914], 0x280
mov dword [0x42e910], 0x1e0
mov dword [0x42e90c], edi
mov dword [0x42e904], edi
jne 0x412f27
mov eax, 1
mov cl, byte [0x42d115]
mov dl, byte [0x42d10d]
sub cl, 0x30
cmp cl, dl
jne 0x412f3b
inc eax
mov dl, byte [0x42d116]
mov cl, byte [0x42d10e]
sub dl, 0x30
cmp dl, cl
jne 0x412f4f
inc eax
mov cl, byte [0x42d117]
mov dl, byte [0x42d10f]
sub cl, 0x30
cmp cl, dl
jne 0x412f63
inc eax
mov dl, byte [0x42d118]
mov ecx, dword [0x42d110]
sub dl, 0x30
cmp dl, cl
jne 0x412f77
inc eax
mov dl, byte [0x42d119]
sub dl, 0x30
cmp dl, ch
jne 0x412f85
inc eax
mov dl, byte [0x42d11a]
mov cx, word [0x42d112]
sub dl, 0x30
cmp dl, cl
jne 0x412f9a
inc eax
mov dl, byte [0x42d11b]
sub dl, 0x30
cmp dl, ch
jne 0x412fa8
inc eax
cmp eax, edi
jne 0x413013
push str.131072
call fcn.0041ae6a
mov esi, eax
mov al, byte [0x42d125]
add esp, 4
add esi, 0x10000
cmp al, 0x73
jne 0x412fd4
mov dword [0x42e904], 2
movsx eax, word [0x42d128]
movsx ecx, word [0x42d12b]
movsx edx, word [0x42d12e]
mov dword [0x42e910], ecx
movzx ecx, word [0x42d131]
mov dword [0x42e914], eax
mov eax, dword [0x42d134]
push eax
push ecx
mov ecx, dword [0x42e918]
mov dword [0x42e90c], edx
call fcn.00401d50
test byte [0x42e90c], 2
jne 0x413049
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.00419260
lea edx, [esp + 0x28]
push edx
call fcn.00419400
add esp, 0x10
mov ecx, dword [0x42e918]
push esi
call fcn.00401b30
test eax, eax
je 0x413088
push 0x30
push str.Error
push str.Startup_failed.
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
mov eax, dword [0x42e918]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
mov dword [0x42e908], eax
call esi
push eax
call fcn.004195e0
mov ecx, dword [0x42e908]
push eax
add ecx, 0x368
push ecx
call fcn.00409670
mov eax, dword [0x42e904]
add esp, 0xc
cmp eax, edi
je 0x41318b
call esi
push eax
call fcn.004195e0
mov esi, eax
movsx edx, byte [esi + 1]
push edx
mov dword [0x42e900], 0x1e
call fcn.0041995a
add esp, 8
push edi
push str.oniwndp
mov bl, al
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x413114
pop ebx
pop esi
mov eax, 2
pop edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
add esp, 0x128
ret
cmp bl, 0x70
jne 0x413222
add esi, 3
push esi
call fcn.0041ae6a
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 [0x42e908]
mov dword [0x42e914], ecx
mov dword [0x42e910], edx
mov dword [0x42e90c], 0x100
mov dword [eax + 0x358], esi
mov dword [0x42e904], edi
mov eax, dword [0x42e908]
mov edx, dword [eax + 0x30c]
mov ecx, dword [0x42e904]
or edx, ecx
mov dword [eax + 0x30c], edx
mov edx, dword [0x42e908]
push 0x413a20
push 6
mov dword [edx + 0x354], fcn.00412c70
call fcn.00407ae0
push 0x4148f0
push 7
call fcn.00407ae0
push 0x10
call fcn.004036b0
push eax
call fcn.0040de10
push 0x11
call fcn.004036b0
push eax
call fcn.0040de80
mov eax, dword [0x42e90c]
mov ecx, dword [0x42e910]
mov edx, dword [0x42e914]
add esp, 0x20
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
push edx
push 9
call fcn.004036b0
add esp, 4
push eax
call fcn.004129a0
push 0xa
call fcn.004036b0
push eax
call fcn.004128e0
mov ecx, dword [esp + 0x148]
add esp, 0x20
pop ebx
pop esi
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x128
ret
cmp bl, 0x73
jne 0x41316c
push edi
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x413172