Function at 0x414cac
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa1c
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0xa0c], ecx
xor edi, edi
mov dword [ebp - 0xa10], esi
cmp dword [0x442514], 3
jne 0x414df3
and dword [ebp - 0xa18], esi
lea ecx, [ebp - 0xa18]
xor edx, edx
cmp dword [0x443f38], edx
push 1
sete dl
call fcn.0040dc2a
mov dword [ebp - 0xa14], eax
test eax, eax
jle 0x415208
cmp dword [0x442534], 0xffffffff
push 2
pop ebx
jne 0x414d21
push ecx
mov edx, ebx
call fcn.0041e30f
mov edx, 0x402b90
mov ecx, ebx
call fcn.0041e767
mov ebx, dword [ebp - 0xa0c]
test ebx, ebx
je 0x414d72
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x11c
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x414d7b
lea eax, [ebp - 0x808]
push eax
push 0x44d
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
inc esi
mov dword [ebp - 0xa10], esi
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [ebp - 0xa18]
mov dword [ebp - 0xa0c], eax
test eax, eax
je 0x414dbf
xor edi, edi
mov esi, eax
push dword [ebx + edi*4]
push 0
push 0x180
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xa14]
inc edi
cmp edi, eax
jl 0x414d9b
mov esi, dword [ebp - 0xa10]
jmp 0x414dc5
mov eax, dword [ebp - 0xa14]
xor edi, edi
cmp dword [ebx + edi*4], 0
je 0x414de0
push dword [ebx + edi*4]
call fcn.00440db7
and dword [ebx + edi*4], 0
mov eax, dword [ebp - 0xa14]
pop ecx
inc edi
cmp edi, eax
jl 0x414dc7
test ebx, ebx
je 0x415208
push ebx
jmp 0x415202
cmp dword [str.6ij], 0x4420b0
jne 0x414f64
push 2
pop ebx
cmp dword [0x443f3c], esi
je 0x414ee5
call fcn.0041c7cd
test eax, eax
je 0x414ee9
call fcn.0041c7cd
mov ecx, eax
call fcn.0042d9d6
test eax, eax
je 0x414ee9
call fcn.0040e9e8
test eax, eax
je 0x414ee9
cmp dword [0x442534], 0xffffffff
jne 0x414e51
push ecx
mov edx, ebx
call fcn.0041e30f
mov edx, 0x402bbc
mov ecx, ebx
call fcn.0041e767
mov edi, dword [ebp - 0xa0c]
test edi, edi
jne 0x414e6f
xor esi, esi
inc esi
jmp 0x414eef
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x96
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x414eef
cmp dword [0x442a4c], esi
je 0x414ec9
push 0x800
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
je 0x414e67
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, esi
call fcn.0040c040
test eax, eax
jns 0x414e67
push esi
call fcn.00440db7
pop ecx
jmp 0x414e67
lea eax, [ebp - 0x808]
push eax
push 0x3ee
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x414e67
mov edi, ecx
jmp 0x414eef
mov edi, dword [ebp - 0xa0c]
call fcn.00413aa3
test eax, eax
jne 0x415208
cmp dword [0x442534], 0xffffffff
jne 0x414f0d
push ecx
mov edx, ebx
call fcn.0041e30f
mov edx, 0x402bf4
mov ecx, ebx
call fcn.0041e767
test edi, edi
je 0x414f5e
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x14d
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x415208
lea eax, [ebp - 0x808]
push eax
lea eax, [esi + 0x3ee]
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc esi
jmp 0x415208
call fcn.0040e9e8
push 2
pop ebx
test eax, eax
jne 0x414f7d
call fcn.0040e8fc
test eax, eax
je 0x415020
cmp dword [0x442534], 0xffffffff
jne 0x414f8e
push ecx
mov edx, ebx
call fcn.0041e30f
mov edx, 0x402bbc
mov ecx, ebx
call fcn.0041e767
cmp dword [ebp - 0xa0c], esi
je 0x41501d
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x96
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x415020
cmp dword [0x442a4c], esi
je 0x414ffe
push 0x800
call fcn.00440dea
mov edi, eax
pop ecx
test edi, edi
je 0x41501d
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, edi
call fcn.0040c040
test eax, eax
jns 0x41501d
push edi
call fcn.00440db7
pop ecx
xor edi, edi
jmp 0x41501d
lea eax, [ebp - 0x808]
push eax
push 0x3ee
push dword [ebp - 0xa0c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
inc esi
call fcn.0040e7c1
test eax, eax
je 0x415108
cmp dword [0x442534], 0xffffffff
jne 0x41503e
push ecx
mov edx, ebx
call fcn.0041e30f
mov edx, 0x402c30
mov ecx, ebx
call fcn.0041e767
cmp dword [ebp - 0xa0c], 0
je 0x415107
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0xa3
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x415108
cmp dword [0x442a4c], 0
je 0x4150e6
test edi, edi
jne 0x4150af
push 0x800
call fcn.00440dea
mov edi, eax
pop ecx
test edi, edi
je 0x415107
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, edi
call fcn.0040c040
jmp 0x4150d7
push 0x402c5c
mov edx, 0x400
mov ecx, edi
call fcn.0040c075
test eax, eax
js 0x4150db
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, edi
call fcn.0040c075
test eax, eax
jns 0x415107
push edi
call fcn.00440db7
pop ecx
xor edi, edi
jmp 0x415107
lea eax, [ebp - 0x808]
push eax
lea eax, [esi + 0x3ee]
push eax
push dword [ebp - 0xa0c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc esi
cmp esi, 3
jae 0x415189
mov eax, dword [str.6ij]
cmp eax, str.K
je 0x415189
cmp eax, 0x4420b0
jne 0x415189
cmp dword [0x442534], 0xffffffff
jne 0x415131
push ecx
mov edx, ebx
call fcn.0041e30f
mov edx, 0x402c64
mov ecx, ebx
call fcn.0041e767
mov ebx, dword [ebp - 0xa0c]
test ebx, ebx
jne 0x41514a
inc esi
jmp 0x41518f
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x98
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x41518f
lea eax, [ebp - 0x808]
push eax
lea eax, [esi + 0x3ee]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x415147
mov ebx, dword [ebp - 0xa0c]
cmp dword [0x442a4c], 0
je 0x4151fd
test edi, edi
je 0x415208
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4151fd
push 0x402c88
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x4151fd
push 0x100
lea eax, [ebp - 0xa08]
push eax
push 0xad
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4151fd
xor eax, eax
cmp byte [0x443fde], al
sete al
dec eax
and eax, 0x180000
add eax, 0x10
push eax
lea eax, [ebp - 0xa08]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
test edi, edi
je 0x415208
push edi
call fcn.00440db7
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave