Function at 0x414fd0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42cbbe
push eax
mov dword fs:[0], esp
sub esp, 0x228
push edi
push 2
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x415016
mov eax, 1
pop edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x390
call fcn.00420804
add esp, 4
mov dword [esp + 8], eax
cmp eax, edi
mov dword [esp + 0x234], edi
je 0x415048
mov ecx, eax
call fcn.00401a40
jmp 0x41504a
xor eax, eax
mov ecx, dword [esp + 0x23c]
mov dword [eax + 0x320], ecx
mov ecx, dword [esp + 0x240]
cmp ecx, edi
mov dword [esp + 0x234], 0xffffffff
mov dword [0x43622c], eax
je 0x41507a
push ecx
mov ecx, eax
call fcn.00401a80
mov dl, byte [0x434140]
mov cl, byte [0x434138]
push esi
sub dl, 0x30
xor esi, esi
xor eax, eax
cmp dl, cl
mov dword [0x436228], 0x280
mov dword [0x436224], 0x1e0
mov dword [0x436220], edi
mov dword [0x436218], edi
jne 0x4150b7
mov eax, 1
mov cl, byte [0x434141]
mov dl, byte [0x434139]
sub cl, 0x30
cmp cl, dl
jne 0x4150cb
inc eax
mov dl, byte [0x434142]
mov cl, byte [0x43413a]
sub dl, 0x30
cmp dl, cl
jne 0x4150df
inc eax
mov cl, byte [0x434143]
mov dl, byte [0x43413b]
sub cl, 0x30
cmp cl, dl
jne 0x4150f3
inc eax
mov dl, byte [0x434144]
mov ecx, dword [0x43413c]
sub dl, 0x30
cmp dl, cl
jne 0x415107
inc eax
mov dl, byte [0x434145]
sub dl, 0x30
cmp dl, ch
jne 0x415115
inc eax
mov dl, byte [0x434146]
mov cx, word [0x43413e]
sub dl, 0x30
cmp dl, cl
jne 0x41512a
inc eax
mov dl, byte [0x434147]
sub dl, 0x30
cmp dl, ch
jne 0x415138
inc eax
cmp eax, edi
jne 0x4151a3
push str.159744
call fcn.004218aa
mov esi, eax
mov al, byte [0x434151]
add esp, 4
add esi, 0x10000
cmp al, 0x73
jne 0x415164
mov dword [0x436218], 2
movsx eax, word [0x434154]
movsx ecx, word [0x434157]
movsx edx, word [0x43415a]
mov dword [0x436224], ecx
movzx ecx, word [0x43415d]
mov dword [0x436228], eax
mov eax, dword [0x434160]
push eax
push ecx
mov ecx, dword [0x43622c]
mov dword [0x436220], edx
call fcn.00401b30
test byte [0x436220], 2
jne 0x4151e1
push 0x104
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x20
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0041fb00
lea edx, [esp + 0x134]
push edx
call fcn.0041fb20
add esp, 0x10
mov ecx, dword [0x43622c]
push esi
call fcn.00401d00
test eax, eax
je 0x41523f
push 0x30
push str.Error
lea eax, [esp + 0x14]
push eax
push str.Startup_failed.
mov dword [esp + 0x1c], edi
call fcn.0041f7e0
add esp, 8
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
push ecx
call fcn.0041f7f0
add esp, 4
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret
mov edx, dword [0x43622c]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
mov dword [0x43621c], edx
call esi
push eax
call fcn.0041fd00
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.0041f7e0
mov edx, dword [esp + 0x18]
mov eax, dword [0x43621c]
push edx
add eax, 0x368
push eax
call fcn.0040b4a0
mov eax, dword [0x436218]
add esp, 0x14
cmp eax, edi
je 0x41535e
call esi
push eax
call fcn.0041fd00
mov esi, eax
movsx ecx, byte [esi + 1]
push ecx
mov dword [0x436214], 0x1e
call fcn.0042025d
add esp, 8
push edi
push str.oniwndp
mov bl, al
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4152e7
lea edx, [esp + 0xc]
push edx
call fcn.0041f7f0
add esp, 4
pop ebx
pop esi
mov eax, 2
pop edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret
cmp bl, 0x70
jne 0x41543c
add esi, 3
push esi
call fcn.004218aa
mov esi, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x20]
sub edx, eax
mov eax, dword [0x43621c]
mov dword [0x436228], ecx
mov dword [0x436224], edx
mov dword [0x436220], 0x100
mov dword [eax + 0x358], esi
mov dword [0x436218], edi
mov eax, dword [0x43621c]
mov edx, dword [eax + 0x30c]
mov ecx, dword [0x436218]
or edx, ecx
mov dword [eax + 0x30c], edx
lea edx, [esp + 0xc]
push edx
call fcn.0041f7f0
mov eax, dword [0x43621c]
push 0x415c80
push 6
mov dword [eax + 0x354], fcn.00414d80
call fcn.004099a0
push 0x416b60
push 7
call fcn.004099a0
mov ecx, dword [0x43621c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
add esp, 0x14
test ah, 0x20
mov dword [0x434168], 0xffffffff
jne 0x4153cd
push 8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
test eax, eax
jne 0x4153cd
mov eax, dword [esp + 0x14]
push eax
mov dword [0x434168], eax
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
push 0x10
call fcn.00403940
push eax
call fcn.0040ff00
push 0x11
call fcn.00403940
push eax
call fcn.0040ff70
mov ecx, dword [0x436220]
mov edx, dword [0x436224]
mov eax, dword [0x436228]
add esp, 0x10
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push edx
push eax
push 9
call fcn.00403940
add esp, 4
push eax
call fcn.00414ad0
push 0xa
call fcn.00403940
push eax
call fcn.00414a10
mov ecx, dword [esp + 0x254]
add esp, 0x20
pop ebx
pop esi
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x234
ret
cmp bl, 0x73
jne 0x41533f
push edi
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x415345