Function at 0x401b00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2e4c
call fcn.00457110
mov eax, dword [0x49536c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push edi
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [0x496a24]
mov dword [ebp - 0x2e44], ecx
push 0
push 0xfde9
call ebx
mov esi, eax
push esi
call fcn.0045ea58
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push dword [0x496a24]
push 0
push 0xfde9
call ebx
push edi
call fcn.00455950
mov edi, eax
add esp, 4
test edi, edi
jne 0x401b9e
push 0x10
push 0x4921a8
push 0x492400
push dword [ebp - 0x2e44]
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045693d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x496a20]
call fcn.004019c0
lea eax, [ebp - 0x2df0]
push eax
push edi
call fcn.00455820
add esp, 8
test eax, eax
je 0x401bf2
push 0x10
push 0x4921a8
push 0x492414
push dword [ebp - 0x2e44]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00455690
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045693d
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x2df0], 0
mov dword [ebp - 0x2e4c], 0
jbe 0x401df3
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, 1
mov dword [ebp - 0x2e48], 0x64
nop
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x2e40]
push eax
push edi
call fcn.00455760
add esp, 0x20
test eax, eax
jne 0x401f13
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401c55
push 0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
push 0x104
test eax, eax
lea eax, [ebp - 0x318]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
push 0
je 0x401c90
push 0xfde9
jmp 0x401c92
push 0
call esi
lea ecx, [ebp - 0x318]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401ca0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x31a]
cmp eax, 0x2f
je 0x401e0f
cmp eax, 0x5c
je 0x401e0f
lea eax, [ebp - 0x318]
push eax
push dword [0x496a20]
lea eax, [ebp - 0x5e8]
push str._s_s
push 0x104
push eax
call fcn.00401050
add esp, 0x14
push edi
call fcn.00455970
add esp, 4
test eax, eax
jne 0x401f02
lea eax, [ebp - 0x5e8]
push 0x4923f8
push eax
call fcn.0045ea0f
mov esi, eax
add esp, 8
test esi, esi
je 0x401eba
nop
push 0x2000
lea eax, [ebp - 0x2de8]
push eax
push edi
call fcn.004563e0
add esp, 0xc
test eax, eax
js 0x401e8b
push esi
jle 0x401d54
push 1
push eax
lea eax, [ebp - 0x2de8]
push eax
call fcn.0045e868
add esp, 0x10
jmp 0x401d20
call fcn.0045e50f
add esp, 4
push edi
call fcn.004556d0
mov eax, dword [ebp - 0x2e48]
xor edx, edx
div dword [ebp - 0x2df0]
add esp, 4
mov esi, eax
push 0
push esi
push 0x402
push dword [0x496a28]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push str.ck_WS:
lea eax, [ebp - 0x3e0]
push 0x64
push eax
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x3e0]
push eax
push dword [ebp - 0x2e44]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp ebx, dword [ebp - 0x2df0]
jae 0x401dcc
push edi
call fcn.004558a0
add esp, 4
test eax, eax
jne 0x401e7a
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x2e4c]
inc ebx
add dword [ebp - 0x2e48], 0x64
inc eax
mov dword [ebp - 0x2e4c], eax
cmp eax, dword [ebp - 0x2df0]
jb 0x401c20
push edi
call fcn.00455690
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.0045693d
mov esp, ebp
pop ebp
ret
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x401f24
xor eax, eax
mov word [ebp + ecx - 0x318], ax
lea eax, [ebp - 0x318]
push eax
push dword [0x496a20]
lea eax, [ebp - 0x5e8]
push str._s_s
push 0x104
push eax
call fcn.00401050
add esp, 0x14
lea ecx, [ebp - 0x5e8]
call fcn.004019c0
cmp ebx, dword [ebp - 0x2df0]
jae 0x401dd2
push edi
call fcn.004558a0
add esp, 4
test eax, eax
je 0x401dd2
push 0x10
push 0x4921a8
push 0x492450
jmp 0x401bc9
push 0x10
push 0x4921a8
push 0x49248c
push dword [ebp - 0x2e44]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.004556d0
add esp, 4
push esi
call fcn.0045e50f
add esp, 4
jmp 0x401bd5
lea eax, [ebp - 0x5e8]
push eax
push 0x492474
lea eax, [ebp - 0xde8]
push 0x400
push eax
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0xde8]
push 0x10
push 0x4921a8
push eax
push dword [ebp - 0x2e44]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.004556d0
add esp, 4
jmp 0x401bd5
push 0x10
push 0x4921a8
push 0x492464
jmp 0x401bc9
push 0x10
push 0x4921a8
push 0x492430
jmp 0x401bc9
call fcn.00456a6d
int3