Function at 0x41f8b0
Capabilities:
Set console window title

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x720
mov eax, dword [0x44d558]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x618], 1
mov ax, word [0x44e878]
mov word [ebp - 0x408], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x406]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44e880]
mov word [ebp - 0x718], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x716]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44e888]
mov word [ebp - 0x610], dx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x60e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x71c], 0
mov eax, dword [ebp - 0x71c]
add eax, 1
mov dword [ebp - 0x71c], eax
mov ecx, dword [ebp - 0x71c]
cmp ecx, dword [ebp + 8]
jge 0x41fcd9
cmp dword [ebp - 0x618], 0
je 0x41fcd9
mov edx, dword [ebp - 0x71c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.MSVCR71.dll__wcsupr]
add esp, 4
mov dword [ebp - 0x614], eax
push 0x80
mov edx, dword [ebp - 0x614]
push edx
lea eax, [ebp - 0x718]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4c4]
mov edx, dword [ebp - 0x614]
movzx eax, word [edx]
cmp eax, 0x2d
je 0x41f9c4
mov ecx, dword [ebp - 0x614]
movzx edx, word [ecx]
cmp edx, 0x2f
jne 0x41fcca
mov eax, dword [ebp - 0x614]
add eax, 2
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x614]
movzx edx, word [ecx]
mov dword [ebp - 0x720], edx
mov eax, dword [ebp - 0x720]
sub eax, 0x31
mov dword [ebp - 0x720], eax
cmp dword [ebp - 0x720], 0x27
ja case.0x41fa0b.1
mov ecx, dword [ebp - 0x720]
movzx edx, byte [ecx + 0x41fdcc]
jmp dword [edx*4 + 0x41fd9c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41fcc8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 2
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41fcc8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41fcc8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x20
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41fcc8
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 - 0x71c]
add eax, 1
mov dword [ebp - 0x71c], eax
mov ecx, dword [ebp - 0x71c]
cmp ecx, dword [ebp + 8]
jge 0x41fad4
mov edx, dword [ebp - 0x71c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
movzx edx, word [ecx]
cmp edx, 0x2d
je 0x41faca
mov eax, dword [ebp - 0x71c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x41faca
push 0x80
mov ecx, dword [ebp - 0x71c]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0xc
jmp 0x41fad4
mov dword [ebp - 0x618], 0
jmp 0x41fcc8
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or eax, 0x80
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x71c]
add edx, 1
mov dword [ebp - 0x71c], edx
mov eax, dword [ebp - 0x71c]
cmp eax, dword [ebp + 8]
jge 0x41fb55
mov ecx, dword [ebp - 0x71c]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
movzx ecx, word [eax]
cmp ecx, 0x2d
je 0x41fb4b
mov edx, dword [ebp - 0x71c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x41fb4b
push 0x80
mov eax, dword [ebp - 0x71c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0xc
jmp 0x41fb55
mov dword [ebp - 0x618], 0
jmp 0x41fcc8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or edx, 8
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push 0x444534
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 - 0x610]
push ecx
push 0
call dword [sym.imp.SQLUNIRL.dll__GetModuleFileName_12]
lea edx, [ebp - 0x610]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 0x200
lea eax, [ebp - 0x408]
push eax
push 0x12
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444560
push 0x444578
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 0xc
jmp 0x41fcc8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x200
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41fcc8
mov eax, dword [ebp - 0x71c]
add eax, 1
mov dword [ebp - 0x71c], eax
mov ecx, dword [ebp - 0x71c]
cmp ecx, dword [ebp + 8]
jge 0x41fca8
mov edx, dword [ebp - 0x71c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
movzx edx, word [ecx]
cmp edx, 0x2d
je 0x41fc9e
mov eax, dword [ebp - 0x71c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x41fc9e
mov ecx, dword [ebp - 0x71c]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
cmp eax, 0x80
jbe 0x41fc62
mov dword [ebp - 0x618], 0
jmp 0x41fc9c
push 0x80
mov ecx, dword [ebp - 0x71c]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.MSVCR71.dll__wcsupr]
add esp, 4
push eax
push 0x444208
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or edx, 0x400
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
jmp 0x41fca8
mov dword [ebp - 0x618], 0
jmp 0x41fcc8
mov dword [0x44de98], 1
jmp 0x41fcc8
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x41fcc8
mov dword [ebp - 0x618], 0
jmp 0x41fcd4
mov dword [ebp - 0x618], 0
jmp 0x41f93e
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
and edx, 0x200
je 0x41fd06
cmp dword [0x44de90], 0
jne 0x41fd06
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0xfffff9ff
je 0x41fd06
mov dword [ebp - 0x618], 0
cmp dword [ebp - 0x618], 0
jne 0x41fd40
push 0x200
lea edx, [ebp - 0x408]
push edx
push 0x11
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea ecx, [ebp - 0x718]
push ecx
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 2
je 0x41fd89
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 1
jne 0x41fd89
push 0x200
lea ecx, [ebp - 0x408]
push ecx
push 0x11
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 4
mov dword [ebp - 0x618], 0
mov eax, dword [ebp - 0x618]
mov ecx, dword [ebp - 4]
call fcn.00434de1
pop edi
mov esp, ebp
pop ebp
ret