Function at 0x41dff1
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x718
push edi
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x210], 1
mov ax, word [0x44ba74]
mov word [ebp - 0x610], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x60e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44ba7c]
mov word [ebp - 0x714], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x712]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44ba84]
mov word [ebp - 0x20c], dx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jge 0x41e3d2
cmp dword [ebp - 0x210], 0
je 0x41e3d2
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.MSVCRT.dll__wcsupr]
add esp, 4
mov dword [ebp - 0x614], eax
push 0x80
mov edx, dword [ebp - 0x614]
push edx
lea eax, [ebp - 0x714]
push eax
mov ecx, dword [0x44df4c]
call dword [ecx + 0x4c4]
mov edx, dword [ebp - 0x614]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x2d
je 0x41e0f0
mov ecx, dword [ebp - 0x614]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x2f
jne 0x41e3c3
mov eax, dword [ebp - 0x614]
add eax, 2
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x614]
xor edx, edx
mov dx, word [ecx]
mov dword [ebp - 0x718], edx
mov eax, dword [ebp - 0x718]
sub eax, 0x31
mov dword [ebp - 0x718], eax
cmp dword [ebp - 0x718], 0x27
ja case.0x41e13a.11
mov edx, dword [ebp - 0x718]
xor ecx, ecx
mov cl, byte [edx + 0x41e4c2]
jmp dword [ecx*4 + 0x41e492]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41e3c1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 2
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41e3c1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41e3c1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x20
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41e3c1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x40
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jge 0x41e1f5
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x2d
je 0x41e1eb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x2f
je 0x41e1eb
push 0x80
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x41e1f5
mov dword [ebp - 0x210], 0
jmp 0x41e3c1
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or al, 0x80
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jge 0x41e265
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x2d
je 0x41e25b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x2f
je 0x41e25b
push 0x80
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x41e265
mov dword [ebp - 0x210], 0
jmp 0x41e3c1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or edx, 8
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push 0x4414c4
call dword [sym.imp.SQLUNIRL.dll__tsystem]
add esp, 4
push str.doskey__reinstall
call dword [sym.imp.SQLUNIRL.dll__tsystem]
add esp, 4
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SQLUNIRL.dll__GetModuleFileName_12]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 0x200
lea eax, [ebp - 0x610]
push eax
push 0x12
mov ecx, dword [0x44b81c]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x4414f0
push 0x441504
lea edx, [ebp - 0x610]
push edx
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 0xc
jmp 0x41e3c1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ch, 2
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41e3c1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jge 0x41e3a1
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x2d
je 0x41e397
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x2f
je 0x41e397
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 0x80
jbe 0x41e361
mov dword [ebp - 0x210], 0
jmp 0x41e395
push 0x80
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.MSVCRT.dll__wcsupr]
add esp, 4
push eax
push 0x44119c
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or dh, 4
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
jmp 0x41e3a1
mov dword [ebp - 0x210], 0
jmp 0x41e3c1
mov dword [0x44b094], 1
jmp 0x41e3c1
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x41e3c1
mov dword [ebp - 0x210], 0
jmp 0x41e3cd
mov dword [ebp - 0x210], 0
jmp 0x41e072
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
and edx, 0x200
test edx, edx
je 0x41e400
cmp dword [0x44b08c], 0
jne 0x41e400
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ch, 0xf9
test ecx, ecx
je 0x41e400
mov dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0
jne 0x41e43a
push 0x200
lea edx, [ebp - 0x610]
push edx
push 0x11
mov eax, dword [0x44b81c]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea ecx, [ebp - 0x714]
push ecx
lea edx, [ebp - 0x610]
push edx
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
je 0x41e487
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 1
test eax, eax
jne 0x41e487
push 0x200
lea ecx, [ebp - 0x610]
push ecx
push 0x11
mov edx, dword [0x44b81c]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea eax, [ebp - 0x610]
push eax
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 4
mov dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
pop edi
mov esp, ebp
pop ebp
ret