Function at 0x414d7c
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa1c
mov eax, dword [0x4434f4]
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 [0x443514], 3
jne 0x414ec3
and dword [ebp - 0xa18], esi
lea ecx, [ebp - 0xa18]
xor edx, edx
cmp dword [0x444f38], edx
push 1
sete dl
call fcn.0040dc64
mov dword [ebp - 0xa14], eax
test eax, eax
jle 0x4152d8
cmp dword [0x443534], 0xffffffff
push 2
pop ebx
jne 0x414df1
push ecx
mov edx, ebx
call fcn.0041e530
mov edx, 0x402b80
mov ecx, ebx
call fcn.0041e988
mov ebx, dword [ebp - 0xa0c]
test ebx, ebx
je 0x414e42
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x11c
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x414e4b
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 0x414e8f
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 0x414e6b
mov esi, dword [ebp - 0xa10]
jmp 0x414e95
mov eax, dword [ebp - 0xa14]
xor edi, edi
cmp dword [ebx + edi*4], 0
je 0x414eb0
push dword [ebx + edi*4]
call fcn.00441807
and dword [ebx + edi*4], 0
mov eax, dword [ebp - 0xa14]
pop ecx
inc edi
cmp edi, eax
jl 0x414e97
test ebx, ebx
je 0x4152d8
push ebx
jmp 0x4152d2
cmp dword [str.6ij], 0x4430b0
jne 0x415034
push 2
pop ebx
cmp dword [0x444f3c], esi
je 0x414fb5
call fcn.0041c967
test eax, eax
je 0x414fb9
call fcn.0041c967
mov ecx, eax
call fcn.0042df4c
test eax, eax
je 0x414fb9
call fcn.0040ea45
test eax, eax
je 0x414fb9
cmp dword [0x443534], 0xffffffff
jne 0x414f21
push ecx
mov edx, ebx
call fcn.0041e530
mov edx, 0x402bac
mov ecx, ebx
call fcn.0041e988
mov edi, dword [ebp - 0xa0c]
test edi, edi
jne 0x414f3f
xor esi, esi
inc esi
jmp 0x414fbf
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x96
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x414fbf
cmp dword [0x443a4c], esi
je 0x414f99
push 0x800
call fcn.0044183a
mov esi, eax
pop ecx
test esi, esi
je 0x414f37
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, esi
call fcn.0040c010
test eax, eax
jns 0x414f37
push esi
call fcn.00441807
pop ecx
jmp 0x414f37
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 0x414f37
mov edi, ecx
jmp 0x414fbf
mov edi, dword [ebp - 0xa0c]
call fcn.00413b7b
test eax, eax
jne 0x4152d8
cmp dword [0x443534], 0xffffffff
jne 0x414fdd
push ecx
mov edx, ebx
call fcn.0041e530
mov edx, 0x402be4
mov ecx, ebx
call fcn.0041e988
test edi, edi
je 0x41502e
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x14d
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4152d8
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 0x4152d8
call fcn.0040ea45
push 2
pop ebx
test eax, eax
jne 0x41504d
call fcn.0040e957
test eax, eax
je 0x4150f0
cmp dword [0x443534], 0xffffffff
jne 0x41505e
push ecx
mov edx, ebx
call fcn.0041e530
mov edx, 0x402bac
mov ecx, ebx
call fcn.0041e988
cmp dword [ebp - 0xa0c], esi
je 0x4150ed
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x96
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4150f0
cmp dword [0x443a4c], esi
je 0x4150ce
push 0x800
call fcn.0044183a
mov edi, eax
pop ecx
test edi, edi
je 0x4150ed
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, edi
call fcn.0040c010
test eax, eax
jns 0x4150ed
push edi
call fcn.00441807
pop ecx
xor edi, edi
jmp 0x4150ed
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.0040e81b
test eax, eax
je 0x4151d8
cmp dword [0x443534], 0xffffffff
jne 0x41510e
push ecx
mov edx, ebx
call fcn.0041e530
mov edx, 0x402c20
mov ecx, ebx
call fcn.0041e988
cmp dword [ebp - 0xa0c], 0
je 0x4151d7
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0xa3
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4151d8
cmp dword [0x443a4c], 0
je 0x4151b6
test edi, edi
jne 0x41517f
push 0x800
call fcn.0044183a
mov edi, eax
pop ecx
test edi, edi
je 0x4151d7
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, edi
call fcn.0040c010
jmp 0x4151a7
push 0x402c4c
mov edx, 0x400
mov ecx, edi
call fcn.0040c045
test eax, eax
js 0x4151ab
lea eax, [ebp - 0x808]
mov edx, 0x400
push eax
mov ecx, edi
call fcn.0040c045
test eax, eax
jns 0x4151d7
push edi
call fcn.00441807
pop ecx
xor edi, edi
jmp 0x4151d7
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 0x415259
mov eax, dword [str.6ij]
cmp eax, str.K
je 0x415259
cmp eax, 0x4430b0
jne 0x415259
cmp dword [0x443534], 0xffffffff
jne 0x415201
push ecx
mov edx, ebx
call fcn.0041e530
mov edx, 0x402c54
mov ecx, ebx
call fcn.0041e988
mov ebx, dword [ebp - 0xa0c]
test ebx, ebx
jne 0x41521a
inc esi
jmp 0x41525f
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x98
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x41525f
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 0x415217
mov ebx, dword [ebp - 0xa0c]
cmp dword [0x443a4c], 0
je 0x4152cd
test edi, edi
je 0x4152d8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4152cd
push 0x402c78
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x4152cd
push 0x100
lea eax, [ebp - 0xa08]
push eax
push 0xad
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x4152cd
xor eax, eax
cmp byte [0x444fde], 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 0x4152d8
push edi
call fcn.00441807
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441b90
mov esp, ebp
pop ebp
ret