Function at 0x401f71
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
push 1
mov esi, ecx
pop edi
cmp dword [esi + 4], edi
jne 0x401f8e
call fcn.00401b27
jmp 0x401fb0
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x401fa1
and byte [eax], 0
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.00401b6f
test eax, eax
jne 0x401fb7
xor eax, eax
jmp 0x402166
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
cmp eax, dword [esi + 4]
jne 0x401fd3
push 0xa
call fcn.0040155d
and dword [ebp - 0xc], 0
pop ecx
jmp 0x4020fb
cmp dword [esi + 0xc], 0
mov edi, str.com.ms.applet.Main
je 0x401fe2
mov eax, edi
jmp 0x401fe8
mov ecx, dword [esi + 8]
mov eax, dword [ecx + eax*4]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
push eax
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.004019bf
test eax, eax
mov dword [esi + 0x28], eax
je 0x4020fb
cmp dword [esi + 0xc], 0
je 0x402011
mov ecx, edi
jmp 0x40201d
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ecx + edx*4]
inc dword [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x28]
cmp dword [ebp - 4], 0
mov dword [0x404a90], eax
mov dword [ebp - 0xa0], 0x94
je 0x4020e8
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4020e8
cmp dword [ebp - 0x90], 2
je 0x4020e8
mov edi, dword [ebp - 8]
push 0x404940
call ebx
mov ecx, dword [ebp - 4]
cmp edi, dword [esi + 4]
lea eax, [ecx + eax + 1]
mov dword [ebp - 4], eax
jge 0x402086
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
inc edi
push eax
jmp 0x40206b
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
mov dword [ebp - 4], edi
je 0x4020e8
push 0x404940
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [0x404a90]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 4]
jge 0x4020d6
push 0x40493c
push dword [ebp - 4]
call edi
mov eax, dword [esi + 8]
mov eax, dword [eax + ebx*4]
inc ebx
push eax
push dword [ebp - 4]
call edi
jmp 0x4020b8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 4]
jge 0x4020fb
push eax
mov ecx, esi
call fcn.00401eb8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402163
cmp dword [esi + 0x24], 0
lea edi, [esi + 0x24]
je 0x402134
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x1c]
test eax, eax
je 0x40211d
push eax
push edi
mov ecx, esi
call fcn.00401a00
mov eax, dword [ebx]
test eax, eax
je 0x40212d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebx], 0
mov eax, dword [edi]
and dword [edi], 0
mov dword [ebx], eax
mov ecx, dword [esi + 0x20]
xor edi, edi
cmp ecx, edi
je 0x402163
cmp dword [esi + 0x1c], edi
lea eax, [esi + 0x1c]
je 0x40215e
push ecx
push eax
mov ecx, esi
call fcn.00401a00
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x402163
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x402160
mov dword [eax], ecx
mov dword [esi + 0x20], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret