Function at 0x4860bb
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push edi
push esi
sub esp, 0x68
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
push ecx
push eax
call fcn.0043fb4c
add esp, 8
mov esi, eax
lea edi, [esp + 4]
push dword [0x402050]
push str._.70s_Command_Line_Error
push edi
call fcn.00432778
add esp, 0xc
push 0x10
push edi
push esi
push dword [0x428eac]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0043f9d4
add esp, 4
push 1
call fcn.004a3719
push ebp
push ebx
push edi
push esi
sub esp, 0x8ac
mov ebp, dword [esp + 0x8c4]
mov eax, dword [0x42b238]
mov ebx, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8c8]
mov edi, dword [esp + 0x8c0]
cmp ebp, 0x1ff
mov dword [esp + 0x8a8], eax
jg 0x485c92
cmp ebp, 0xff
jle 0x485cf0
lea eax, [ebp - 0x100]
cmp eax, 0x17
ja case.0x485d27.515
jmp dword [eax*4 + 0x41c370]
push ebx
call fcn.0049235c
mov edx, dword [esp + 0x8cc]
add esp, 4
mov eax, edx
or eax, 2
cmp eax, 0xe7
jne 0x485e62
cmp ebp, 0x100
jne case.0x485cfc.1
lea eax, [esp + 0xa8]
and ebx, 0xdfff
mov dword [eax], edi
mov dword [eax + 4], 0x100
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
jmp 0x488edf
cmp ebp, 0x231
jle 0x485d18
cmp ebp, 0x30e
jg 0x485da8
cmp ebp, 0x232
je 0x485fcd
cmp ebp, 0x286
je 0x485f83
cmp ebp, 0x307
jne case.0x485d27.515
cmp dword [0x428e38], 0
jne 0x485ce1
push dword [0x428ea4]
call fcn.0047b1ad
add esp, 4
mov dword [0x428e38], 0
jmp 0x488edf
lea eax, [ebp - 1]
cmp eax, 0x14
ja case.default.0x485cfc
jmp dword [eax*4 + 0x41c31c]
xor ecx, ecx
inc ecx
call fcn.0048d2b0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x488edf
lea eax, [ebp - 0x200]
cmp eax, 8
ja case.default.0x485d27
jmp dword [eax*4 + 0x41c3d0]
cmp dword [0x428e50], edx
mov esi, edx
jne 0x485d4c
cmp dword [0x428e54], ebx
jne 0x485d4c
cmp dword [0x428e48], 0x200
je 0x485d6b
xor ecx, ecx
inc ecx
call fcn.0048d2b0
mov eax, esi
mov dword [0x428e54], ebx
mov dword [0x428e48], 0x200
mov dword [0x428e50], eax
push ebx
call fcn.0049235c
add esp, 4
mov eax, esi
xor ebx, ebx
test al, 0x13
je 0x488ee1
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, edi
jne 0x488ee1
mov eax, esi
test al, 1
jne 0x487806
mov esi, eax
shr esi, 4
and esi, 1
xor esi, 3
jmp 0x487809
lea eax, [ebp - 0x8002]
cmp eax, 4
ja case.default.0x485db7
jmp dword [eax*4 + 0x41c3f4]
mov dword [0x428e38], edx
jmp case.0x485cfc.1
cmp ebp, 0x214
je 0x486993
cmp ebp, 0x231
jne case.0x485d27.515
push 1
mov esi, edx
call fcn.00447d56
mov edx, esi
add esp, 4
mov byte [0x428e64], 1
mov byte [0x428e3c], 0
jmp case.0x485cfc.1
cmp ebp, 0x51
je 0x486a58
cmp ebp, 0xa0
jne case.0x485d27.515
cmp dword [0x428e58], edx
mov esi, edx
jne 0x485e35
cmp dword [0x428e5c], ebx
jne 0x485e35
cmp dword [0x428e48], 0xa0
je 0x485e54
xor ecx, ecx
inc ecx
call fcn.0048d2b0
mov eax, esi
mov dword [0x428e5c], ebx
mov dword [0x428e48], 0xa0
mov dword [0x428e58], eax
push ebx
call fcn.0049235c
add esp, 4
jmp 0x487a7d
push 0x41
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov dword [esp + 0x1c], eax
push 0x43
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov dword [esp + 0x38], eax
push 0x5c
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov esi, eax
push 0x4e
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov dword [esp + 0x3c], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
lea edi, [esp + 0xa8]
mov dword [esp + 0x34], eax
push edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x486b0f
mov ecx, dword [esp + 0x8c8]
cmp ecx, 0x12
jne 0x485ef5
mov eax, ebx
and eax, 0x1000000
je 0x485ef5
mov al, byte [esp + 0xba]
mov byte [esp + 0x14d], al
mov eax, dword [esp + 0x1c]
cmp eax, 3
jne 0x486cd7
cmp ecx, 0x90
mov dword [esp + 0xc], ecx
je 0x486d1a
jmp 0x4873c7
mov eax, edx
and eax, 0xfffffff0
cmp eax, 0x13f
jle 0x486a90
cmp eax, 0x17f
jg 0x486d8c
cmp eax, 0x15f
jg 0x4870af
cmp eax, 0x140
je 0x487699
cmp eax, 0x150
jne 0x4876c8
push edi
mov esi, edx
call fcn.0048468d
jmp 0x4866c4
mov eax, edx
mov word [esp + 0x64], dx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x486823
mov word [0x428e6a], dx
jmp 0x488edf
test dh, 0xff
je 0x486d49
mov byte [esp + 0xa9], dl
mov byte [esp + 0xa8], dh
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488edf
lea ecx, [esp + 0xa8]
push 1
push 2
push ecx
push dword [0x428e34]
push eax
jmp 0x486d7f
push 0
call fcn.00447d56
mov edx, dword [esp + 0x8cc]
add esp, 4
cmp byte [0x428e3c], 1
mov byte [0x428e64], 0
jne case.0x485cfc.1
push 0x60
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov esi, eax
push 0x73
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ebx, edi
mov edi, eax
push 0x74
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
push esi
push edi
mov edi, ebx
mov ebx, dword [esp + 0x8d4]
push eax
push dword [0x428ea4]
call fcn.004752f4
add esp, 0x10
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x486a84
cmp ebp, 0x30f
je 0x486bfd
cmp ebp, 0x311
jne case.0x485d27.515
cmp edx, edi
je case.0x485cfc.1
mov eax, dword [0x428414]
test eax, eax
je case.0x485cfc.1
sub esp, 4
call fcn.0048bf51
mov edx, dword [esp + 0x8cc]
add esp, 4
mov esi, eax
test esi, esi
je case.0x485cfc.1
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
test eax, eax
je 0x4860ad
push esi
call dword [sym.imp.GDI32.dll_UpdateColors]
push esi
call fcn.0048bf83
add esp, 4
jmp 0x486a84
test dl, 8
mov dword [esp + 0x10], edx
jne 0x4860e0
push 0x8a
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
cmp eax, 2
jne 0x4871d3
xor ecx, ecx
inc ecx
call fcn.0048d2b0
lea esi, [esp + 0xa8]
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
push eax
push edi
push eax
push dword [esi + 4]
push dword [esi]
push 2
push dword [0x428400]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
jmp 0x486a84
and edx, 0xfffffffd
mov dword [esp + 0x20], 3
jmp 0x48613f
or edx, 0x10
xor esi, esi
mov dword [esp + 0x20], 2
mov dword [esp + 0x10], edx
inc esi
jmp 0x486165
and edx, 0xffffffef
mov dword [esp + 0x20], 2
mov dword [esp + 0x10], edx
jmp 0x486153
and edx, 0xfffffffe
xor eax, eax
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
xor esi, esi
jmp 0x486165
or edx, 1
xor esi, esi
inc esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], esi
xor ecx, ecx
inc ecx
call fcn.0048d2b0
lea ebx, [esp + 0x64]
push ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push dword [ebx + 4]
push dword [ebx]
call fcn.00484c50
mov bl, 1
test eax, eax
je 0x4861b6
lea ebp, [esp + 0xa8]
mov dword [ebp], 0x28
push ebp
push eax
call fcn.00484ca9
mov eax, dword [ebp + 4]
cmp eax, dword [esp + 0x64]
jne 0x4861b6
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x68]
setne bl
call fcn.0048bf22
test bl, bl
jne 0x4861f3
cmp dword [esp + 0x20], 1
jne 0x4861f3
test esi, esi
je 0x4861f3
test eax, eax
je 0x4861f3
mov ecx, dword [esp + 0x68]
movzx eax, word [esp + 0x64]
shl ecx, 0x10
or ecx, eax
push ecx
push 0xf090
push 0x112
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x488edf
call fcn.0048d341
mov ebx, dword [esp + 0x8cc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov edi, dword [0x4283d8]
mov dword [esp + 0xc], esi
mov ecx, ebx
mov ebp, eax
mov esi, eax
mov dword [esp + 0x10], eax
sar ecx, 0x10
and ebp, 8
and esi, 4
lea eax, [ecx + 1]
sub eax, edi
test ecx, ecx
cmovns eax, ecx
mov ecx, ebx
sub eax, dword [0x4283e4]
shl ecx, 0x10
cdq
idiv edi
mov edi, dword [0x4283d4]
movsx edx, bx
mov dword [esp + 0x34], eax
lea eax, [edx + 1]
sub eax, edi
test ecx, ecx
cmovns eax, edx
sub eax, dword [0x4283e8]
cdq
idiv edi
cmp dword [esp + 0xc], 0
mov ebx, eax
je 0x486906
mov dword [esp + 0x10], ebp
call dword [sym.imp.USER32.dll_GetMessageTime]
cmp dword [0x428434], 0
mov edi, eax
mov ebp, esi
je 0x4862a3
test ebp, ebp
je 0x486c44
push 0x8e
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
je 0x486c44
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x8c0]
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], edi
cmp dword [0x4283f4], eax
jne 0x486c82
mov eax, edi
sub eax, dword [0x428e70]
cmp eax, dword [0x4283f8]
jge 0x486c82
mov eax, dword [0x4283f0]
cmp eax, 1
je 0x487a90
cmp eax, 2
jne 0x487a9a
mov ebx, 3
jmp 0x486c8e
xor ecx, ecx
mov esi, edx
inc ecx
call fcn.0048d2b0
push 0
push dword [0x428ea4]
call fcn.0047b30a
add esp, 8
call dword [sym.imp.USER32.dll_DestroyCaret]
xor eax, eax
dec eax
mov dword [0x42b1dc], eax
mov dword [0x42b1d8], eax
push dword [0x428ea4]
jmp 0x4865b8
push edi
call dword [sym.imp.USER32.dll_HideCaret]
lea eax, [esp + 0xa8]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
mov eax, dword [0x428414]
test eax, eax
je 0x486361
push 1
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov edx, dword [0x428ea4]
xor eax, eax
xor ecx, ecx
mov ebx, dword [0x4283e4]
mov ebp, dword [0x4283d8]
mov dword [esp + 0x10], edx
cmp dword [edx + 0x109c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x20], esi
sete cl
dec eax
sub eax, ebx
cdq
idiv ebp
mov esi, dword [0x4283e8]
mov edi, dword [0x4283d4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
dec eax
sub eax, esi
cdq
idiv edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb4]
sub eax, ebx
mov ebx, dword [esp + 0xb0]
cdq
idiv ebp
mov ebp, eax
sub ebx, esi
mov eax, ebx
xor ebx, ebx
cdq
idiv edi
push ecx
push dword [esp + 0x10]
push dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x30]
push eax
push ebp
push dword [esp + 0x28]
call fcn.00475cf8
add esp, 0x1c
cmp dword [esp + 0xac], ebx
jne 0x486450
mov ecx, dword [0x4283e8]
cmp dword [esp + 0xb0], ecx
jl 0x486450
mov eax, dword [0x4283e4]
cmp dword [esp + 0xb4], eax
jl 0x486450
mov edx, dword [0x428ea4]
mov esi, dword [edx + 0x12c]
imul esi, dword [0x4283d4]
add esi, ecx
cmp dword [esp + 0xb8], esi
jge 0x486450
mov ecx, dword [edx + 0x128]
imul ecx, dword [0x4283d8]
add ecx, eax
cmp dword [esp + 0xbc], ecx
jl 0x48652f
push dword [0x42896c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
push eax
push ebp
call esi
mov edi, eax
push dword [0x42896c]
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, eax
push ebx
push ebp
call esi
mov ebp, eax
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov ecx, dword [0x428ea4]
mov eax, dword [0x4283e4]
mov esi, dword [0x4283e8]
mov edx, dword [ecx + 0x128]
mov ecx, dword [ecx + 0x12c]
imul edx, dword [0x4283d8]
imul ecx, dword [0x4283d4]
add edx, eax
add ecx, esi
push edx
push ecx
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esp + 0x24]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x10]
call edi
push ebp
mov ebp, dword [esp + 0x24]
push ebp
call esi
push ebx
call edi
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
push 0xd
call esi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
call edi
push 6
call esi
push eax
push ebp
call edi
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x8c4]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
push esi
call dword [sym.imp.USER32.dll_ShowCaret]
jmp 0x488edf
push 1
push dword [0x428ea4]
mov esi, edx
call fcn.0047b30a
add esp, 8
push dword [0x4283d8]
push dword [0x4283d4]
push dword [0x4283ec]
push edi
call dword [sym.imp.USER32.dll_CreateCaret]
push edi
call dword [sym.imp.USER32.dll_ShowCaret]
xor ecx, ecx
call fcn.0048ce6e
mov dword [0x428e60], 0
push dword [0x428ea4]
call fcn.004733cc
jmp 0x4866c4
push 0x6f
push dword [0x428eb4]
call fcn.0043194f
mov edx, dword [esp + 0x8d0]
add esp, 8
mov esi, eax
cmp edx, 1
jne 0x486dd2
mov ebp, ebx
push 0x72
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
mov eax, 0x4289a0
mov ecx, 0x4289a4
cmovne ecx, eax
push dword [ecx]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor ecx, ecx
cmp esi, 1
mov byte [0x428e44], 1
jne 0x486e62
xor ecx, ecx
dec ecx
jmp 0x487c01
mov esi, edx
call fcn.0048a997
jmp 0x487a7d
xor ecx, ecx
inc ecx
call fcn.0048d2b0
push dword [0x402050]
push str._s_Exit_Confirmation
call fcn.0043f758
add esp, 8
mov cl, byte [0x428448]
mov esi, eax
test cl, cl
jne 0x486683
push 5
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
je 0x486683
push 0x31
push esi
push str.Are_you_sure_you_want_to_close_this_session_
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x48668a
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
jmp 0x486bbe
push 0x86
push dword [0x428eb4]
mov esi, edx
call fcn.0043194f
mov edx, esi
add esp, 8
test eax, eax
je case.0x485cfc.1
call fcn.0048d1c0
call fcn.00489a1e
push dword [0x428ea4]
call fcn.00475c80
mov edx, esi
add esp, 4
jmp case.0x485cfc.1
test bh, 8
je case.0x485cfc.1
cmp dword [0x429770], 2
jb case.0x485cfc.1
push edi
call sub.IMM32.dll_ImmGetContext
mov esi, eax
xor eax, eax
push eax
push eax
push 0x800
push esi
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
test edi, edi
jle 0x4867a9
push 1
push edi
call fcn.0043f807
add esp, 8
mov ebx, eax
push edi
push ebx
push 0x800
mov dword [esp + 0x2c], esi
push esi
call sub.IMM32.dll_ImmGetCompositionStringW
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
cmp dword [0x428ce0], 0
je 0x48679c
xor esi, esi
movzx ecx, word [ebx + esi]
lea eax, [ebx + esi]
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x486781
lea ebp, [esi + 2]
cmp ebp, edi
jge 0x486781
movzx ecx, word [eax + 2]
and ecx, 0xfc00
cmp ecx, 0xdc00
jne 0x486781
push 1
push 2
push eax
push dword [0x428ce0]
call fcn.0043ca71
add esp, 0x10
mov esi, ebp
jmp 0x486795
xor ecx, ecx
inc ecx
push ecx
push ecx
push eax
push dword [0x428ce0]
call fcn.0043ca71
add esp, 0x10
add esi, 2
cmp esi, edi
jl 0x48673c
push ebx
call fcn.004a6ff1
add esp, 4
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x8c4]
call sub.IMM32.dll_ImmReleaseContext
jmp 0x486c3c
xor ebx, ebx
cmp edx, 0x4d2
jne 0x488ee1
push 0x4d2
push edi
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [esp + 0xa8]
push eax
push dword [0x42844c]
call fcn.0047dad1
add esp, 8
test eax, eax
je 0x488ee1
push dword [esp + 0xa8]
call fcn.0048a8fd
jmp 0x487069
push edi
call sub.IMM32.dll_ImmGetContext
mov esi, eax
push 0x428ce8
push esi
call sub.IMM32.dll_ImmSetCompositionFontA
push esi
push edi
call sub.IMM32.dll_ImmReleaseContext
jmp 0x486a84
mov eax, edx
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x486e05
movzx eax, word [0x428e6a]
mov ecx, eax
and ecx, 0xfc00
movzx ecx, cx
cmp ecx, 0xd800
jne 0x486e05
lea esi, [esp + 0xa8]
mov word [esi], ax
mov word [esi + 2], dx
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
mov eax, 2
push 1
push eax
push esi
push dword [0x428ce0]
jmp 0x486e35
movzx eax, dx
cmp eax, 7
ja case.0x485cfc.1
mov esi, edx
jmp dword [eax*4 + 0x41c504]
lea eax, [esp + 0xa8]
mov dword [eax], 0x1c
mov dword [eax + 4], 0x10
push eax
push 1
push edi
call dword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
je 0x487a60
mov eax, dword [esp + 0xc0]
jmp 0x487a6c
cmp dword [0x428404], edx
jne case.0x485cfc.1
sub esp, 8
mov esi, 0x428408
mov dword [esp], esi
mov dword [esp + 4], 0
call fcn.00447761
add esp, 8
push 1
push esi
call fcn.00447761
add esp, 8
call fcn.00489776
jmp 0x488edf
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0048d394
push dword [esp + 0x1c]
push ebp
push esi
push dword [esp + 0x40]
push ebx
push 5
push eax
push edi
push dword [0x428ea4]
call fcn.004767a8
add esp, 0x24
xor ebx, ebx
test byte [esp + 0x10], 0x13
jne 0x488ee1
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x488ee1
cmp ebp, 0x20a
je 0x48695a
cmp dword [0x42b1d4], ebp
jne case.0x485cfc.1
cmp ebp, 0x20a
jne 0x4871e7
movd xmm0, edx
sar edx, 0x10
mov ecx, ebx
pshufd xmm0, xmm0, 0x44
add edx, dword [0x428e6c]
pand xmm0, xmmword [0x41ba70]
mov dword [0x428e6c], edx
movdqu xmmword [esp + 0x20], xmm0
jmp 0x488fad
push 0x6f
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
cmp eax, 3
je 0x486f06
test eax, eax
jne 0x486f13
mov edi, dword [ebx + 8]
mov ecx, dword [0x4283d4]
mov ebp, dword [ebx + 0xc]
sub edi, dword [ebx]
mov eax, ecx
mov dword [esp + 0x20], ebx
shr eax, 0x1f
sub ebp, dword [ebx + 4]
add eax, ecx
sar eax, 1
sub edi, dword [0x4283dc]
sub ebp, dword [0x4283e0]
add eax, edi
cdq
idiv ecx
mov ecx, dword [0x4283d8]
xor ebx, ebx
mov esi, eax
inc ebx
test esi, esi
cmovle esi, ebx
mov eax, ecx
shr eax, 0x1f
add eax, ecx
sar eax, 1
add eax, ebp
cdq
idiv ecx
test eax, eax
cmovg ebx, eax
push ebx
push esi
push dword [esp + 0x8c8]
call fcn.004479ac
add esp, 0xc
imul ebx, dword [0x4283d8]
imul esi, dword [0x4283d4]
mov ecx, dword [esp + 0x8c8]
sub ebp, ebx
sub edi, esi
je 0x487abd
cmp ecx, 7
ja 0x487ab6
mov eax, 0x92
bt eax, ecx
jae 0x487ab6
mov eax, dword [esp + 0x20]
add dword [eax], edi
jmp 0x487abd
movzx eax, bx
lea esi, [esp + 0xa8]
push 0x14
push esi
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
call fcn.004a65cf
add esp, 4
mov dword [0x428e34], eax
call fcn.0048a997
mov edx, dword [esp + 0x8c8]
jmp case.0x485cfc.1
cmp eax, 0x3f
jle 0x486e42
cmp eax, 0x5f
jg 0x487071
cmp eax, 0x40
je 0x487606
cmp eax, 0x50
jne 0x4876c8
mov al, byte [0x428e4c]
test al, al
jne case.0x485cfc.1
mov byte [0x428e4c], 1
push dword [0x4289a0]
push 0x5f
push dword [0x428eb4]
call fcn.0043203b
add esp, 0xc
push dword [0x428eb4]
call fcn.0043191d
add esp, 4
mov ecx, dword [0x42841c]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x487c36
push dword [0x428420]
call dword [ecx + 0x3c]
add esp, 4
jmp 0x487c38
push 0x100
push 0
push edi
call fcn.0049acf0
add esp, 0xc
mov eax, dword [esp + 0x8c8]
mov dword [esp + 0xc], eax
jmp 0x4873ce
push dword [0x428cbc]
mov edi, edx
call fcn.0043f9d4
add esp, 4
mov eax, ebx
xor ebx, ebx
mov dword [0x428cbc], ebx
mov dword [0x428cc0], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test edi, edi
je 0x486ff7
test esi, esi
je 0x488ee1
lea eax, [esi - 2]
cmp word [eax + 2], 0
lea eax, [eax + 2]
jne 0x486b6b
sub eax, esi
sar eax, 1
mov dword [0x428cc0], eax
inc eax
push 2
push eax
call fcn.0043f807
add esp, 8
mov ebp, dword [0x428cc0]
mov edi, eax
mov dword [0x428cbc], edi
lea eax, [ebp + ebp]
push eax
push esi
push edi
call fcn.0049a1f0
add esp, 0xc
lea eax, [edi + ebp*2]
jmp 0x487059
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call dword [ebx]
add esp, 0xc
push ebx
call fcn.0043f9d4
add esp, 4
jmp 0x488edf
push 8
push 1
mov esi, edx
call fcn.0043f807
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], ebx
push eax
push 0x48d3f0
call fcn.0043023c
add esp, 8
jmp 0x488edf
mov byte [0x428e40], 1
jmp case.0x485cfc.1
xor ebx, ebx
cmp dword [0x428414], 0
je 0x488ee1
sub esp, 4
call fcn.0048bf51
add esp, 4
mov esi, eax
test esi, esi
je 0x488ee1
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
test eax, eax
je 0x486c33
push esi
call dword [sym.imp.GDI32.dll_UpdateColors]
push esi
call fcn.0048bf83
add esp, 4
xor ebx, ebx
inc ebx
jmp 0x488ee1
mov esi, dword [esp + 0x20]
mov dword [0x4283f4], 0
mov ecx, esi
call fcn.0048d394
push dword [esp + 0x1c]
push dword [esp + 0x14]
push ebp
push dword [esp + 0x40]
push ebx
push 1
push eax
push esi
push dword [0x428ea4]
call fcn.004767a8
add esp, 0x24
mov esi, dword [esp + 0x8c0]
jmp 0x486ccb
mov eax, dword [esp + 0x20]
xor ebx, ebx
inc ebx
mov dword [0x4283f4], eax
mov dword [0x4283f0], ebx
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0048d394
push dword [esp + 0x1c]
push dword [esp + 0x14]
push ebp
push dword [esp + 0x40]
push dword [esp + 0x48]
push ebx
push eax
push edi
push dword [0x428ea4]
call fcn.004767a8
add esp, 0x24
mov edi, dword [esp + 0xc]
mov dword [0x428e70], edi
push esi
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x488edf
cmp eax, 1
mov dword [esp + 0xc], ecx
jg 0x4873c7
cmp ecx, 0x90
mov dword [esp + 0xc], ecx
jne 0x4873c7
cmp dword [esp + 0x38], 0
mov dword [esp + 0xc], ecx
jne 0x4873c7
mov eax, dword [0x428ea4]
mov eax, dword [eax + 0x144]
mov dword [esp + 0xc], ecx
test eax, eax
je 0x4873c7
cmp byte [esp + 0xb8], 0
js 0x4873bf
cmp ebx, 0x3fffffff
mov dword [esp + 0xc], 0x2b
ja 0x4873c7
xor byte [esp + 0x138], 1
jmp 0x4873c7
mov byte [esp + 0xa8], dl
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488edf
xor ecx, ecx
lea edx, [esp + 0xa8]
inc ecx
push ecx
push ecx
push edx
push dword [0x428e34]
push eax
call fcn.0043ca08
add esp, 0x14
jmp 0x488edf
cmp eax, 0xf08f
jg 0x487194
cmp eax, 0x180
je 0x4876ad
cmp eax, 0x190
jne 0x4876c8
lea eax, [esp + 0xa8]
xor ecx, ecx
push eax
push ecx
push dword [0x428eac]
push 0x48cbad
push ecx
push ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x487a7d
mov eax, edx
mov ecx, 2
mov ebp, ebx
or eax, 2
cmp eax, ecx
jne 0x486df6
push dword [0x4289a0]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esp + 0x8c8]
test edx, edx
je 0x4872bb
xor ecx, ecx
jmp 0x487380
and edx, 0xf800
cmp edx, 0xd800
je 0x488edf
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
xor eax, eax
lea ecx, [esp + 0x64]
inc eax
push eax
push eax
push ecx
push dword [0x428ce0]
call fcn.0043ca71
add esp, 0x10
jmp 0x488edf
cmp eax, 0x10
je 0x487733
cmp eax, 0x20
je 0x4870d3
cmp eax, 0x30
je 0x4870d3
jmp 0x4876c8
mov edi, ecx
push 0x7f
push dword [0x428eb4]
call fcn.0043194f
mov ecx, dword [esp + 0x8d0]
add esp, 8
mov bl, byte [0x428e68]
movzx edx, bp
shr ebp, 0x10
cmp ecx, 2
jne 0x48723a
test bl, 1
jne 0x48723a
test esi, esi
mov byte [0x428e68], 1
jne 0x487bff
mov eax, edx
xor edx, edx
idiv dword [0x4283d4]
xor edi, edi
inc edi
mov esi, eax
mov eax, ebp
test esi, esi
cmovle esi, edi
xor edx, edx
idiv dword [0x4283d8]
test eax, eax
cmovg edi, eax
cmp byte [0x428e64], 1
jne 0x487bde
mov byte [0x428e3c], 1
push edi
push 0x74
push dword [0x428eb4]
call fcn.00431ee3
add esp, 0xc
push esi
push 0x73
push dword [0x428eb4]
call fcn.00431ee3
add esp, 0xc
jmp 0x487bff
call fcn.0048d341
test eax, eax
je 0x4878a3
push 0x7f
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ecx, eax
mov eax, ebx
mov edx, dword [0x428ea4]
mov ebx, ecx
mov ebp, dword [eax + 8]
mov edi, eax
sub ecx, dword [0x4283e4]
sub ebx, dword [0x4283e8]
mov esi, dword [edx + 0x12c]
mov dword [esp + 0x20], ebp
add ecx, ecx
add ebx, ebx
add ecx, dword [0x4283e0]
add ebx, dword [0x4283dc]
mov eax, esi
mov dword [esp + 0x1c], esi
shr eax, 0x1f
add eax, esi
mov esi, dword [edi]
mov dword [esp + 0x40], edx
sub ebp, ebx
sar eax, 1
mov edi, ebp
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x8cc]
sub edi, esi
mov dword [esp + 0x34], esi
add edi, eax
mov esi, dword [edx + 0x128]
mov eax, dword [ebp + 0xc]
mov edx, esi
mov dword [esp + 0xc], eax
shr edx, 0x1f
sub eax, ecx
mov ebp, dword [ebp + 4]
add edx, esi
mov dword [esp + 0x3c], eax
sar edx, 1
sub eax, ebp
mov dword [esp + 0x10], ebp
add eax, edx
cdq
idiv esi
mov ebp, eax
mov eax, edi
cdq
idiv dword [esp + 0x1c]
add ebx, dword [esp + 0x34]
sub edi, edx
mov edx, dword [esp + 0x8c8]
add ebx, edi
cmp edx, 7
ja 0x4875a8
mov eax, 0x92
bt eax, edx
jae 0x4875a8
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x8cc]
sub esi, edi
mov dword [eax], esi
mov esi, dword [0x428ea4]
jmp 0x4875b6
test esi, esi
je 0x488ee1
push esi
call fcn.004a7f30
add esp, 4
inc eax
xor ecx, ecx
push ecx
push ecx
push eax
push esi
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
push 2
push edi
call fcn.0043f807
add esp, 8
mov ebp, eax
mov dword [0x428cbc], ebp
push esi
call fcn.004a7f30
add esp, 4
inc eax
push edi
push ebp
push eax
push esi
mov eax, 0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [edi - 1]
mov dword [0x428cc0], eax
lea eax, [edi + edi - 2]
add eax, dword [0x428cbc]
mov word [eax], 0
push dword [0x428ea4]
call fcn.004764ce
add esp, 4
jmp 0x488ee1
cmp eax, 0x60
je 0x48763c
cmp eax, 0x70
jne 0x4876c8
push 1
push dword [0x428ea4]
mov esi, edx
call fcn.00474087
mov edx, esi
add esp, 8
mov eax, dword [0x428ce0]
test eax, eax
je case.0x485cfc.1
push eax
call fcn.0043c0cc
jmp 0x4866c4
cmp eax, 0x160
je 0x4870d3
cmp eax, 0x170
jne 0x4876c8
push dword [0x428ea4]
mov esi, edx
call fcn.00475f3c
jmp 0x4866c4
cmp dword [0x428ed0], 0
mov eax, 0x402159
mov ebx, 0x41c224
cmove ebx, eax
cmp edx, 0x160
je 0x48764e
cmp edx, 0x30
jne 0x487740
push dword [0x428eb4]
call fcn.00432334
add esp, 4
mov edi, eax
lea eax, [esp + 0xa8]
xor esi, esi
mov ecx, 4
mov dword [eax], 0xc
mov dword [eax + 4], esi
mov dword [eax + 8], 1
push esi
push edi
push esi
push ecx
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, eax
inc eax
cmp eax, 2
jb 0x487172
push edi
push esi
push esi
push 2
push ecx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, esi
test eax, eax
je 0x487172
push eax
push dword [0x428eb4]
mov dword [esp + 0x18], eax
call fcn.00432406
add esp, 8
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, esi
mov dword [esp + 0x20], ecx
push edi
push ecx
push ebx
push str.putty__s_p:_u
call fcn.0043f758
add esp, 0x10
mov ebx, eax
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x487771
cmp eax, 0xf090
je 0x4876b9
cmp eax, 0xf100
jne 0x4876c8
xor ecx, ecx
mov esi, edx
inc ecx
call fcn.0048d2b0
mov edx, esi
test ebx, ebx
jne case.0x485cfc.1
push 0
push 0x20
push 0x102
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x487a7d
or dword [esp + 0x10], 2
xor esi, esi
mov dword [esp + 0x20], 3
jmp 0x486131
add dword [0x428e6c], edx
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x487a51
movzx eax, byte [esp + 0xb9]
movzx ecx, byte [esp + 0xb8]
movd xmm0, eax
movd xmm1, ecx
punpcklqdq xmm1, xmm0
pand xmm1, xmmword [0x41ba60]
pand xmm1, xmmword [0x4164c0]
movdqu xmmword [esp + 0x20], xmm1
jmp 0x488fa5
mov dword [esp + 0x10], edx
mov edx, edi
mov dword [esp + 0x20], eax
and dl, bl
cmp dl, 1
jne 0x4879ba
cmp esi, 2
mov byte [0x428e68], 0
je 0x487bff
test esi, esi
jne 0x4872b1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add ecx, ecx
sub eax, ecx
cdq
idiv dword [0x4283d4]
xor ebx, ebx
inc ebx
mov esi, eax
test esi, esi
cmovle esi, ebx
sub ebp, ecx
mov eax, ebp
cdq
idiv dword [0x4283d8]
test eax, eax
cmovg ebx, eax
push 0x60
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
push eax
push esi
push ebx
push dword [0x428ea4]
call fcn.004752f4
add esp, 0x10
mov ecx, 2
jmp 0x487c01
mov byte [0x428e44], 0
push 0xfffffffffffffff0
push dword [0x428eac]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push 0x6f
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ecx, edi
mov ebx, edi
and ecx, 0xff3bffff
or ebx, 0xc40000
or ecx, 0xc00000
cmp eax, 1
cmove ebx, ecx
push 0x6d
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ecx, ebx
and ebx, 0xffdfffff
or ecx, 0x200000
test eax, eax
cmovne ebx, ecx
cmp ebx, edi
je 0x487349
push ebx
push 0xfffffffffffffff0
push dword [0x428eac]
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
push 0x27
push eax
push eax
push eax
push eax
push eax
push dword [0x428eac]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
mov edi, 0xfffffff8
push 0
push 0x180
push dword [edi + 0x428404]
call ebx
add edi, 4
jne 0x487354
mov al, byte [0x428e44]
mov edx, dword [esp + 0x8c8]
xor ebx, ebx
mov cl, 1
test al, al
jne 0x488ee1
cmp edx, 2
jne 0x486610
test byte [0x428e40], 1
je 0x486610
xor ebx, ebx
mov edi, ecx
mov byte [0x428e40], bl
mov byte [0x428e44], bl
call fcn.0048d406
mov al, byte [0x428e44]
mov ecx, edi
test al, al
je 0x486610
jmp 0x488ee1
mov dword [esp + 0xc], 0x90
push edi
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov eax, ebx
and eax, 0xc0000000
cmp eax, 0x40000000
jne 0x4873ef
mov eax, dword [0x428ea4]
mov eax, dword [eax + 0x14c]
test eax, eax
jne 0x488edf
mov edx, ebx
shr edx, 0x10
test dh, 0x20
je 0x48743a
cmp byte [esp + 0x14d], 0
js 0x48743a
lea eax, [esp + 0xb9]
mov edi, edx
mov bl, byte [eax]
and edi, 0x8000
mov dword [esp + 0x4c], eax
sete byte [esp + 0x20]
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
test bl, bl
jns 0x48745c
test esi, esi
je 0x487af1
mov byte [esp + 0xba], 0
jmp 0x48745c
lea eax, [esp + 0xb9]
mov edi, edx
mov dword [esp + 0x10], 0
mov bl, byte [eax]
and edi, 0x8000
mov dword [esp + 0x4c], eax
sete byte [esp + 0x20]
shr bl, 6
mov esi, dword [esp + 0xc]
mov bh, byte [esp + 0xb8]
cmp dword [0x428e60], 0
mov dword [esp + 0x40], edx
jne 0x4874bc
mov dword [0x428e84], 0x100
push 0x5b
push dword [0x428eb4]
call fcn.0043194f
mov edx, dword [esp + 0x48]
add esp, 8
test dh, 1
je 0x4874ad
cmp esi, 0x12
jne 0x4874ad
test eax, eax
je 0x4874ad
mov dword [0x428e84], 0x12
cmp esi, 0x5d
jne 0x4874bc
mov dword [0x428e84], 0x5d
shr bh, 7
and bl, 2
cmp esi, dword [0x428e84]
mov eax, dword [0x428e60]
jne 0x4874e8
mov ecx, edx
and ecx, 0xc000
or ecx, eax
je 0x4874f6
shr edi, 0xe
xor ecx, ecx
cmp eax, 1
cmove ecx, edi
jmp 0x4874f9
cmp esi, 0x11
je 0x487501
xor ecx, ecx
cmp eax, 1
je 0x4874f9
jmp 0x487501
xor ecx, ecx
inc ecx
mov eax, ecx
mov dword [0x428e60], ecx
or bh, bl
cmp dword [esp + 0x10], 0
je 0x48751b
cmp eax, 2
jl 0x48751b
xor eax, eax
mov dword [0x428e60], 0
cmp dword [esp + 0x10], 0
movzx ebx, bh
je 0x48752f
test dh, 1
je 0x487586
jmp case.0x487597.41
mov ecx, dword [0x428ea4]
mov edi, ebx
mov ebx, edx
xor edx, edx
mov esi, dword [esp + 0x1c]
cmp dword [ecx + 0x144], edx
setne dl
cmp dword [esp + 0x38], 0
sete cl
cmp esi, 2
setne byte [esp + 0x18]
cmp esi, 3
mov esi, eax
sete ch
or esi, dword [esp + 0x3c]
setne dh
test bh, 1
jne 0x487a46
and dl, byte [esp + 0x18]
mov esi, dword [esp + 0xc]
mov ebx, edi
and cl, dl
or cl, dh
or ch, cl
je case.0x487597.41
lea edx, [esi - 0x21]
cmp edx, 0xd
ja case.default.0x487597
mov ecx, 0x60
jmp dword [edx*4 + 0x41c408]
mov ecx, 0x69
jmp case.0x487597.45
mov eax, dword [esp + 0x8cc]
mov dword [eax + 8], ebx
mov esi, dword [esp + 0x40]
imul ebp, dword [esi + 0x128]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
add esi, ecx
xor eax, ebx
xor ebx, ebx
mov ecx, esi
add ecx, ebp
xor edi, ecx
or edi, eax
setne bl
add edx, 0xfffffffd
cmp edx, 2
ja 0x4875f7
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x8cc]
sub ecx, ebp
mov dword [eax + 4], ecx
jmp 0x488ee1
mov eax, dword [esp + 0x8cc]
mov dword [eax + 0xc], ecx
jmp 0x488ee1
cmp dword [0x42841c], 0
jne case.0x485cfc.1
xor esi, esi
push str.______Session_restarted______
push esi
call fcn.004842ab
add esp, 8
push esi
push dword [0x428ea4]
call fcn.00474087
add esp, 8
call fcn.004897f7
jmp 0x486a84
push dword [0x428ea4]
mov esi, edx
call fcn.00474f14
jmp 0x4866c4
mov eax, dword [esp + 0x8cc]
mov ecx, eax
lea eax, [ecx - 0x1000]
sar eax, 0x1f
shr eax, 0x1c
lea eax, [ecx + eax - 0x1000]
sar eax, 4
lea ecx, [eax + 1]
cmp ecx, dword [0x428408]
jae 0x4877fa
mov ecx, dword [0x42840c]
mov dword [esp + 0x20], 0
push dword [ecx + eax*4 + 4]
push ebx
push str.putty__s__s
jmp 0x48775f
push 0
push edi
mov esi, edx
call fcn.0048e83d
mov edx, esi
add esp, 8
jmp case.0x485cfc.1
mov esi, edx
call fcn.0048d2f6
jmp 0x487a7d
xor ecx, ecx
mov esi, edx
inc ecx
call fcn.0048d2b0
jmp 0x487a7d
lea eax, [edx - 0x1000]
cmp eax, 0x3fff
ja 0x4876eb
push edx
push 0x160
push 0x112
push edi
mov esi, edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, esi
lea eax, [edx - 0x400]
cmp eax, 0x400
ja case.0x485cfc.1
shr eax, 4
cmp eax, dword [0x428428]
jge case.0x485cfc.1
mov ecx, dword [0x42841c]
test ecx, ecx
je case.0x485cfc.1
mov esi, edx
mov edx, dword [0x428424]
push dword [edx + eax*8 + 4]
push dword [0x428420]
call dword [ecx + 0x18]
jmp 0x4876a3
push edi
mov esi, edx
call fcn.004843e3
jmp 0x4866c4
cmp byte [ebx], 0
mov eax, 0x415f0c
mov ecx, 0x402159
mov dword [esp + 0x20], 0
cmovne ecx, eax
push ebx
push ecx
push str.putty_s_s
call fcn.0043f758
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0xa8]
xor esi, esi
push 0x7ff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x64]
lea edi, [esp + 0x54]
mov dword [eax], 0x44
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x2c], esi
mov word [eax + 0x32], 0
mov dword [eax + 0x34], esi
push edi
push eax
push esi
push esi
push 0x20
push dword [esp + 0x24]
push esi
push esi
push ebx
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi]
call esi
push dword [edi + 4]
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4877e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0043f9d4
add esp, 4
mov edi, dword [esp + 0x8c0]
mov edx, dword [esp + 0x8c8]
mov ebx, dword [esp + 0x8cc]
jmp case.0x485cfc.1
xor esi, esi
inc esi
mov ebp, eax
call fcn.0048d341
mov dword [esp + 0x20], eax
mov eax, ebp
mov edi, dword [0x4283d8]
and ebp, 4
and eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8cc]
mov ecx, eax
sar ecx, 0x10
lea eax, [ecx + 1]
sub eax, edi
test ecx, ecx
cmovns eax, ecx
sub eax, dword [0x4283e4]
cdq
idiv edi
mov edi, dword [0x4283d4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x8cc]
mov ecx, eax
movsx edx, ax
lea eax, [edx + 1]
shl ecx, 0x10
sub eax, edi
test ecx, ecx
mov ecx, esi
cmovns eax, edx
sub eax, dword [0x4283e8]
cdq
idiv edi
mov edi, eax
call fcn.0048d394
mov ecx, 4
push dword [esp + 0x20]
push dword [esp + 0x14]
push ebp
push dword [esp + 0x18]
push edi
push ecx
push eax
push esi
push dword [0x428ea4]
call fcn.004767a8
add esp, 0x24
jmp 0x488ee1
mov al, byte [0x428e3c]
test al, al
jne 0x4869b4
push 0x74
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ecx, dword [0x428ea4]
mov ecx, dword [ecx + 0x128]
cmp eax, ecx
jne 0x4878f8
push 0x73
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ecx, dword [0x428ea4]
cmp eax, dword [ecx + 0x12c]
je 0x4869b4
mov ecx, dword [ecx + 0x128]
push ecx
push 0x74
push dword [0x428eb4]
call fcn.00431ee3
add esp, 0xc
mov eax, dword [0x428ea4]
push dword [eax + 0x12c]
push 0x73
push dword [0x428eb4]
call fcn.00431ee3
add esp, 0xc
push 1
push 0
push dword [esp + 0x8c8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x428e3c], 1
jmp 0x4869b4
mov eax, dword [0x428ea4]
mov ecx, dword [eax + 0x128]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
xor ecx, ecx
sar edx, 1
neg edx
push edx
push ecx
push eax
jmp 0x487a75
push 0
push 0xffffffffffffffff
push dword [0x428ea4]
jmp 0x487a75
mov eax, dword [0x428ea4]
mov ecx, dword [eax + 0x128]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
push edx
push 0
push eax
jmp 0x487a75
push 0xffffffffffffffff
push 0
push dword [0x428ea4]
jmp 0x487a75
push 1
push 0
push dword [0x428ea4]
jmp 0x487a75
push 0
push 1
push dword [0x428ea4]
jmp 0x487a75
cmp ecx, 1
je 0x487c06
test esi, esi
je 0x4879dd
cmp esi, 3
jne 0x487bff
call fcn.0048d341
test eax, eax
jne 0x487bff
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add ecx, ecx
sub eax, ecx
cdq
idiv dword [0x4283d4]
xor ebx, ebx
inc ebx
mov esi, eax
test esi, esi
cmovle esi, ebx
sub ebp, ecx
mov cl, 1
mov eax, ebp
cdq
idiv dword [0x4283d8]
test eax, eax
cmovg ebx, eax
cmp byte [0x428e64], cl
jne 0x487e62
mov byte [0x428e3c], 1
push ebx
push 0x74
push dword [0x428eb4]
call fcn.00431ee3
add esp, 0xc
push esi
push 0x73
push dword [0x428eb4]
call fcn.00431ee3
add esp, 0xc
jmp 0x487c06
mov esi, dword [esp + 0xc]
mov ebx, edi
jmp case.0x487597.41
pxor xmm0, xmm0
movdqu xmmword [esp + 0x20], xmm0
jmp 0x488fa5
mov eax, esi
shr eax, 0x10
mov dword [esp + 0xc0], eax
push eax
push 1
push dword [0x428ea4]
call fcn.00475e6c
add esp, 0xc
mov edx, esi
push ebx
push edx
push ebp
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ebx, eax
jmp 0x488ee1
mov ebx, 2
jmp 0x486c8e
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [0x4283f0], ecx
jne 0x486cc5
xor ebx, ebx
inc ebx
jmp 0x486c94
mov eax, dword [esp + 0x20]
sub dword [eax + 8], edi
test ebp, ebp
je 0x487ad9
add ecx, 0xfffffffd
cmp ecx, 2
ja 0x487ad2
mov eax, dword [esp + 0x20]
add dword [eax + 4], ebp
jmp 0x487ad9
mov eax, dword [esp + 0x20]
sub dword [eax + 0xc], ebp
xor ebx, ebx
or ebp, edi
setne bl
jmp 0x488ee1
cmp esi, 0xc
jne case.0x487597.41
mov ecx, 0x65
jmp case.0x487597.45
mov byte [esp + 0x14d], 0x80
mov dword [esp + 0x10], 0
jmp 0x48745c
mov ecx, 0x67
jmp case.0x487597.45
mov ecx, 0x6e
jmp case.0x487597.45
mov ecx, 0x63
jmp case.0x487597.45
mov ecx, 0x64
jmp case.0x487597.45
mov ecx, 0x61
jmp case.0x487597.45
mov ecx, 0x68
jmp case.0x487597.45
mov ecx, 0x66
jmp case.0x487597.45
mov ecx, 0x62
mov dl, byte [esp + 0x138]
mov esi, ecx
and dl, 1
or dl, bl
movzx ebx, dl
cmp byte [esp + 0x20], 0
je 0x488be8
test eax, eax
jne 0x488be8
mov al, byte [esp + 0x14d]
test al, al
js 0x488be8
cmp dword [esp + 0x10], 0
je 0x487b80
lea eax, [esp + 0x65]
mov byte [eax - 1], 0x1b
jmp 0x487b84
lea eax, [esp + 0x64]
cmp ebx, 1
jne 0x487ba2
cmp esi, 0x21
jne 0x487ba2
push 0
push 2
push 0x115
push dword [0x428eac]
jmp 0x4861e8
cmp ebx, 2
jne 0x487bc0
cmp esi, 0x21
jne 0x487bc0
xor eax, eax
push eax
push eax
push 0x115
push dword [0x428eac]
jmp 0x4861e8
cmp ebx, 1
jne 0x487c10
cmp esi, 0x22
jne 0x487c10
push 0
push 3
push 0x115
push dword [0x428eac]
jmp 0x4861e8
push 0x60
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
push eax
push esi
push edi
push dword [0x428ea4]
call fcn.004752f4
add esp, 0x10
xor ecx, ecx
call fcn.0048a155
call fcn.0048a997
jmp 0x488edf
cmp ebx, 2
jne 0x487e3c
cmp esi, 0x22
jne 0x487e3c
push 0
push 1
push 0x115
push dword [0x428eac]
jmp 0x4861e8
xor eax, eax
push eax
push edi
call fcn.00484166
add esp, 8
test eax, eax
mov byte [0x428e4c], 0
je 0x487e33
push 0x64
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov dword [0x428ec4], eax
push 0x90
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov dword [0x428ec8], eax
push 0x6f
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
xor ebx, ebx
cmp eax, 1
mov esi, 0xfffffff8
mov dword [esp + 0x10], eax
sete bl
push ebx
push 0x180
push dword [esi + 0x428404]
call edi
add esi, 4
jne 0x487ca5
mov esi, dword [esp + 0x8c0]
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
cmp dword [esp + 0x10], 1
jne 0x487cda
test eax, eax
je 0x487cda
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x428eb4]
push dword [0x428ecc]
call fcn.0043d6b9
add esp, 8
push dword [0x428418]
call fcn.0043f9d4
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x487d22
push dword [0x428eb4]
push eax
call fcn.0043c03c
add esp, 8
push dword [0x428ce0]
call fcn.0043c0cc
add esp, 4
mov eax, dword [0x428414]
test eax, eax
je 0x487d32
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [0x428418], eax
mov dword [0x428414], eax
call fcn.00489118
call fcn.00489a1e
push dword [0x428eb4]
push dword [0x428ea4]
call fcn.004747a6
add esp, 8
mov eax, dword [0x42841c]
test eax, eax
je 0x487d77
push dword [0x428eb4]
push dword [0x428420]
call dword [eax + 8]
add esp, 8
mov esi, 0x74
push esi
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
cmp edi, eax
jne 0x487f0a
mov esi, 0x73
push esi
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
cmp edi, eax
jne 0x487f0a
mov esi, 0x60
push esi
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
cmp dword [esp + 0x10], 2
je 0x487f0a
cmp edi, eax
jne 0x487f0a
mov esi, dword [esp + 0x10]
cmp esi, 3
jne 0x487f05
push dword [esp + 0x8c0]
call dword [sym.imp.USER32.dll_IsZoomed]
cmp esi, 1
je 0x487f0a
test eax, eax
je 0x487f4f
jmp 0x487f0a
push dword [esp + 0x20]
jmp 0x488293
lea ecx, [esi - 0x21]
cmp ebx, 3
jne 0x487e88
cmp ecx, 1
ja 0x487e88
xor eax, eax
cmp esi, 0x21
setne al
push eax
push dword [0x428ea4]
call fcn.00475ee1
jmp 0x486be9
push 0x60
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
push eax
push esi
push ebx
push dword [0x428ea4]
call fcn.004752f4
add esp, 0x10
jmp 0x487c06
cmp ebx, 1
jne 0x487eb2
cmp esi, 0x2d
jne 0x487eb2
lea eax, [esp + 0x54]
xor ecx, ecx
push eax
push ecx
push dword [0x428eac]
push 0x48cbad
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x488edf
cmp dword [esp + 0x10], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
je 0x4882b2
cmp esi, 0x73
jne 0x4882b2
push 0x51
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ebx, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c8]
test eax, eax
jne 0x488f6f
xor eax, eax
xor ebx, ebx
jmp 0x488381
cmp esi, 1
jne 0x487f4f
push 0x60
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov edi, eax
push 0x73
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ebx, eax
push 0x74
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
push edi
push ebx
push eax
push dword [0x428ea4]
call fcn.004752f4
add esp, 0x10
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
mov eax, dword [esp + 0x8c4]
mov ebx, eax
push ebx
call edi
mov dword [esp + 0x1c], eax
push 0xffffffffffffffec
push ebx
call edi
mov esi, eax
mov edi, 0x56
push edi
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ebx, eax
push edi
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
cmp ebx, eax
mov ebx, esi
je 0x487fdd
push 0x56
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ebx, esi
test eax, eax
je 0x487fc3
or ebx, 8
xor eax, eax
push 3
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [esp + 0x8d8]
jmp 0x487fd7
and ebx, 0xfffffff7
xor eax, eax
push 3
push eax
push eax
push eax
push eax
push 0xfffffffffffffffe
push dword [esp + 0x8d8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x34], esi
push 0x7e
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov ecx, ebx
and ebx, 0xfffffdff
or ecx, 0x200
test eax, eax
cmovne ebx, ecx
call fcn.0048bf22
xor esi, esi
inc esi
cmp eax, esi
mov eax, 0x6d
sbb eax, 0xffffffff
push eax
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
mov ecx, edx
mov edi, edx
or ecx, 0x200000
and edi, 0xffdfffff
test eax, eax
cmovne edi, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x48805f
call fcn.0048bf22
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4882a7
and edi, 0xfffbffff
mov esi, dword [esp + 0x34]
mov eax, edi
or edi, 0x10000
and eax, 0xfffeffff
cmp ecx, 1
cmove edi, eax
cmp ebx, esi
jne 0x488084
cmp edi, edx
je 0x4880cc
cmp edi, edx
je 0x488098
push edi
push 0xfffffffffffffff0
push dword [esp + 0x8c8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp ebx, esi
mov esi, dword [esp + 0x8c0]
je 0x4880ad
push ebx
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
push 0x137
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], 2
mov esi, dword [esp + 0x8c0]
cmp ecx, 1
jne 0x4880f4
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4880f4
push esi
call fcn.00483660
add esp, 4
mov dword [esp + 0xc], 2
push 0x5f
push dword [0x428eb4]
call fcn.00431a8c
mov dword [esp + 4], eax
call fcn.0048bdc6
add esp, 8
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x488140
push 0x72
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
mov eax, 0x4289a0
mov ecx, 0x4289a4
cmovne ecx, eax
push dword [ecx]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esi, 0x75
push esi
push dword [0x428eb4]
call fcn.00431e49
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x24]
call fcn.00431e49
add esp, 8
mov ebx, eax
push dword [ebx]
push dword [edi]
call fcn.004a7d00
add esp, 8
test eax, eax
je 0x48826c
mov eax, 0x91
push eax
push dword [esp + 0x24]
call fcn.00431a8c
add esp, 8
mov esi, eax
mov eax, 0x91
push eax
push dword [0x428eb4]
call fcn.00431a8c
add esp, 8
push esi
push eax
call fcn.004a7d00
add esp, 8
test eax, eax
je 0x48826c
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 4]
jne 0x48826c
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 8]
jne 0x48826c
mov eax, dword [edi + 0xc]
cmp eax, dword [ebx + 0xc]
jne 0x48826c
mov edi, 0x76
push edi
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov esi, eax
push edi
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
cmp esi, eax
jne 0x48826c
mov edi, 0x90
push edi
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov esi, eax
push edi
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
cmp esi, eax
jne 0x48826c
mov esi, 0x88
push esi
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov edi, eax
push esi
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
mov ecx, dword [esp + 0x10]
or ecx, 2
cmp ecx, 3
je 0x48826c
cmp edi, eax
jne 0x48826c
push 0x6f
push dword [esp + 0x24]
call fcn.0043194f
add esp, 8
cmp dword [esp + 0x10], eax
je 0x488274
mov dword [esp + 0xc], 2
push 1
push 0
mov edi, dword [esp + 0x8c8]
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0xc]
call fcn.0048a155
push dword [esp + 0x20]
call fcn.00431816
add esp, 4
mov ebx, dword [esp + 0x8cc]
jmp 0x486a84
or edi, 0x40000
jmp 0x488065
cmp esi, 0x20
sete bl
cmp dword [esp + 0x10], 0
je 0x488307
cmp esi, 0x20
jne 0x488307
push 0x52
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
je 0x48837d
push 0
push 0xf100
push 0x112
push dword [0x428eac]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c8]
jmp 0x488f6f
cmp esi, 0xd
sete al
cmp dword [esp + 0x10], 0
mov dword [esp + 0x44], eax
je 0x488356
cmp dword [esp + 0xc], 0xd
jne 0x488356
push 0x57
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
mov cl, 1
test eax, eax
mov dword [esp + 0x44], ecx
je 0x488352
push 0x6f
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
cmp eax, 1
jne 0x4884b5
xor eax, eax
jmp 0x488389
cmp dword [esp + 0xc], 0x13
sete al
cmp dword [esp + 0x18], 2
jne 0x488389
cmp dword [esp + 0xc], 0x13
jne 0x488389
mov eax, dword [0x428ea4]
xor dword [eax + 0x144], 1
jmp 0x488edf
mov bl, 1
xor eax, eax
mov dword [esp + 0x44], 0
cmp dword [esp + 0x3c], 0
je case.default.0x4883a3
cmp dword [esp + 0x10], 0
jne case.default.0x4883a3
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x61]
cmp ecx, 8
ja case.default.0x4883a3
jmp dword [ecx*4 + 0x41c440]
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + 0x41c288]
jmp 0x488571
cmp dword [esp + 0x10], 0
je 0x4883eb
cmp dword [esp + 0x18], 0
jne 0x48841f
cmp dword [esp + 0xc], 8
jne 0x48841f
push 0x3f
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
mov cl, 0x7f
jne 0x488445
mov cl, 8
jmp 0x488445
cmp dword [esp + 0x1c], 3
jne 0x488459
xor esi, esi
cmp dword [esp + 0xc], 0x6c
jg 0x4884e1
cmp dword [esp + 0xc], 0x2b
je 0x488597
cmp dword [esp + 0xc], 0x6a
jne 0x4885a3
mov esi, 0x52
jmp 0x4885a3
cmp dword [esp + 0x18], 1
jne 0x48848a
cmp dword [esp + 0xc], 8
jne 0x48848a
push 0x3f
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
mov cl, 8
jne 0x488445
mov cl, 0x7f
mov eax, dword [esp + 0x14]
mov esi, 0xfffffffe
mov byte [eax], cl
mov byte [eax + 1], 0
jmp 0x488760
xor esi, esi
cmp dword [esp + 0x1c], 1
jg 0x4885a3
cmp dword [esp + 0x38], 0
jne 0x4885a3
mov ecx, dword [0x428ea4]
mov ecx, dword [ecx + 0x144]
test ecx, ecx
jne 0x4883f2
jmp 0x4885a3
cmp dword [esp + 0x18], 1
jne 0x48857d
cmp dword [esp + 0xc], 9
jne 0x48857d
mov esi, dword [esp + 0x14]
mov word [esi], 0x5b1b
mov byte [esi + 2], 0x5a
add esi, 3
jmp 0x48873d
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c8]
and eax, 0xc000
cmp eax, 0x4000
je 0x488f6f
call fcn.0048d2f6
jmp 0x4882fb
cmp dword [esp + 0xc], 0x6d
je 0x48859e
cmp dword [esp + 0xc], 0x6f
jne 0x4885a3
mov esi, 0x51
jmp 0x4885a3
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + str.jJ_n_n]
jmp 0x488571
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + 0x41c292]
jmp 0x488571
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + str.hH_b_b]
jmp 0x488571
mov esi, dword [esp + 0x14]
mov byte [esi], 0x2e
jmp 0x488577
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + str.lL_f_f]
jmp 0x488571
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + 0x41c2a1]
jmp 0x488571
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + str.kK_v_v]
jmp 0x488571
mov eax, dword [esp + 0x18]
and eax, 3
mov al, byte [eax + 0x41c2ab]
mov esi, dword [esp + 0x14]
mov byte [esi], al
inc esi
jmp 0x48873d
cmp dword [esp + 0x18], 2
mov edx, ebx
sete cl
and cl, dl
cmp cl, 1
jne 0x4885ec
mov esi, dword [esp + 0x14]
mov byte [esi], 0
jmp 0x488577
mov esi, 0x50
jmp 0x4885a3
mov esi, 0x53
mov ecx, dword [0x428ea4]
cmp dword [esp + 0x38], 0
mov dword [esp + 0x3c], ecx
jne case.0x4885db.108
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x144]
test edx, edx
je case.0x4885db.108
mov edx, dword [esp + 0xc]
lea edi, [edx - 0x60]
cmp edi, 0xf
ja case.default.0x4885db
mov edx, 0x70
jmp dword [edi*4 + 0x41c464]
mov edx, 0x71
jmp case.0x4885db.96
cmp dword [esp + 0x18], 3
sete cl
and cl, bl
cmp cl, 1
jne 0x488607
mov esi, dword [esp + 0x14]
mov byte [esi], 0xa0
jmp 0x488577
cmp dword [esp + 0x18], 2
jne 0x488654
cmp dword [esp + 0xc], 3
jne 0x488654
mov eax, dword [0x42841c]
test eax, eax
je 0x488edf
push 1
push dword [0x428420]
call dword [eax + 0x18]
jmp 0x486be9
cmp dword [esp + 0xc], 0xd
jne case.0x4885db.108
mov ecx, dword [esp + 0x40]
mov edx, 0x4d
test ch, 1
je case.0x4885db.108
jmp case.0x4885db.96
mov cl, 0x1a
test al, al
jne 0x488445
cmp dword [esp + 0x18], 2
jne 0x4887a6
mov eax, dword [esp + 0xc]
lea eax, [eax - 0x32]
cmp eax, 6
ja 0x4887a6
mov al, byte [eax + 0x41c2b5]
jmp 0x488571
mov edx, 0x72
jmp case.0x4885db.96
mov edx, 0x73
jmp case.0x4885db.96
mov edx, 0x74
jmp case.0x4885db.96
mov edx, 0x75
jmp case.0x4885db.96
mov edx, 0x76
jmp case.0x4885db.96
mov edx, 0x77
jmp case.0x4885db.96
mov edx, 0x78
jmp case.0x4885db.96
mov edx, 0x79
jmp case.0x4885db.96
mov edx, 0x6a
jmp 0x4886f0
cmp dword [esp + 0x1c], 2
jne 0x488794
cmp dword [esp + 0x18], 1
mov edx, 0x6b
sbb edx, 0xffffffff
jmp case.0x4885db.96
mov edx, 0x6d
jmp 0x4886f0
mov edx, 0x6e
jmp case.0x4885db.96
mov edx, 0x6f
cmp dword [esp + 0x1c], 2
je case.0x4885db.96
test esi, esi
mov edx, esi
je 0x4883c3
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x148], 0
je 0x488725
mov eax, edx
mov ecx, 0x417ff8
and eax, 0xfffffffc
cmp eax, 0x50
mov eax, str.e__c
cmove eax, ecx
jmp 0x48872a
mov eax, str.eO_c
push edx
push eax
mov edi, dword [esp + 0x1c]
push edi
call fcn.00432778
add esp, 0xc
mov esi, eax
add esi, edi
lea eax, [esp + 0x64]
sub esi, eax
je 0x488edf
mov ebx, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c8]
cmp esi, 0xffffffff
je 0x488f6f
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488788
lea ecx, [esp + 0x64]
push 1
push esi
push ecx
push eax
call fcn.0043c15b
add esp, 0x10
xor ecx, ecx
call fcn.0048d2b0
jmp 0x488edf
xor edx, edx
cmp dword [esp + 0x18], 0
setne dl
or edx, 0x6c
jmp case.0x4885db.96
mov eax, 2
cmp dword [esp + 0x18], eax
jne 0x4887cb
mov eax, dword [esp + 0xc]
or eax, 2
cmp eax, 0xbf
jne 0x4887cb
mov esi, dword [esp + 0x14]
mov byte [esi], 0x1f
jmp 0x488577
cmp dword [esp + 0x18], 2
jne 0x4887f2
cmp dword [esp + 0xc], 0xdf
je 0x4887e6
cmp dword [esp + 0xc], 0xdc
jne 0x4887f2
mov esi, dword [esp + 0x14]
mov byte [esi], 0x1c
jmp 0x488577
cmp dword [esp + 0x18], 3
jne 0x48880f
cmp dword [esp + 0xc], 0xde
jne 0x48880f
mov esi, dword [esp + 0x14]
mov byte [esi], 0x1e
jmp 0x488577
cmp dword [esp + 0x18], 0
sete al
and al, byte [esp + 0x44]
cmp al, 1
jne 0x48883e
mov eax, dword [0x428ea4]
cmp dword [eax + 0x150], 0
je 0x48883e
mov esi, dword [esp + 0x14]
mov word [esi], 0xa0d
add esi, 2
jmp 0x48873d
mov eax, dword [esp + 0xc]
lea eax, [eax - 0x70]
cmp eax, 0x13
ja case.default.0x48884a
jmp dword [eax*4 + 0x41c4a4]
cmp byte [esp + 0xb8], 0
mov ecx, 0x17
mov ebx, 0xb
jmp 0x488927
xor ebx, ebx
jmp 0x48892a
cmp byte [esp + 0xb8], 0
mov ecx, 0x18
mov ebx, 0xc
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x19
mov ebx, 0xd
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x1a
mov ebx, 0xe
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x1c
mov ebx, 0xf
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x1d
mov ebx, 0x11
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x1f
mov ebx, 0x12
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x20
mov ebx, 0x13
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x21
mov ebx, 0x14
jmp 0x488927
cmp byte [esp + 0xb8], 0
mov ecx, 0x22
mov ebx, 0x15
cmovs ebx, ecx
test byte [esp + 0x18], 2
jne 0x488951
cmp dword [esp + 0x48], 0xd
ja 0x488951
mov edx, dword [esp + 0x48]
mov ecx, 0x300f
bt ecx, edx
jae 0x488951
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx*4 + 0x41bb6c]
cmp dword [esp + 0x1c], 3
jne 0x488964
cmp ebx, 6
jg 0x488964
movsx ebx, byte [ebx + 0x41c2bd]
mov ecx, dword [0x428ea4]
lea edi, [ebx - 1]
cmp edi, 5
mov edx, dword [ecx + 0x148]
ja 0x488993
test edx, edx
je 0x488993
movsx eax, byte [ebx + str._HLMEIG]
push eax
push 0x417ff8
mov edi, dword [esp + 0x1c]
push edi
jmp 0x488731
cmp dword [esp + 0x1c], 5
lea esi, [ebx - 0xb]
jne 0x4889e3
cmp esi, 0x17
ja 0x4889e3
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
mov edx, ecx
xor ecx, ecx
add edx, 0xffffff8f
cmp edx, 0xb
cmovae eax, ecx
cmp byte [esp + 0xb8], cl
lea edx, [eax + 0xc]
cmovns edx, eax
cmp byte [esi], cl
lea eax, [edx + 0x18]
cmovns eax, edx
movsx eax, byte [eax + str.MNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_____]
push eax
push 0x418001
mov edi, dword [esp + 0x1c]
push edi
jmp 0x488731
cmp dword [esp + 0x1c], 5
jne 0x488a00
cmp edi, 5
ja 0x488a00
cmp ebx, 3
jne 0x488a48
mov esi, dword [esp + 0x14]
mov byte [esi], 0x7f
jmp 0x488577
test edx, edx
setne al
cmp dword [esp + 0x1c], 4
sete ah
cmp esi, 0xd
ja 0x488a5f
or ah, al
je 0x488a5f
xor eax, eax
cmp ebx, 0xf
mov esi, str.eO_c
setg al
cmp ebx, 0x15
lea ecx, [eax + 1]
cmovle ecx, eax
neg ecx
test edx, edx
mov edx, 0x417ff8
lea eax, [ebx + ecx + 0x45]
cmove edx, esi
push eax
push edx
mov edi, dword [esp + 0x1c]
push edi
jmp 0x488731
movsx eax, byte [edi + str.HL.FIG]
push eax
push 0x418001
mov edi, dword [esp + 0x1c]
push edi
jmp 0x488731
cmp dword [esp + 0x1c], 1
jne 0x488ae2
cmp esi, 4
ja 0x488ae2
add ebx, 0x36
push ebx
push str.e___c
mov edi, dword [esp + 0x1c]
push edi
jmp 0x488731
mov ebx, 0x17
jmp 0x48892a
mov ebx, 0x18
jmp 0x48892a
mov ebx, 0x19
jmp 0x48892a
mov ebx, 0x1a
jmp 0x48892a
mov ebx, 0x1c
jmp 0x48892a
mov ebx, 0x1d
jmp 0x48892a
mov ebx, 0x1f
jmp 0x48892a
mov ebx, 0x20
jmp 0x48892a
mov ebx, 0x21
jmp 0x48892a
mov ebx, 0x22
jmp 0x48892a
cmp dword [esp + 0x1c], 2
jne 0x488b0c
cmp esi, 3
ja 0x488b0c
add ebx, 0x45
test edx, edx
mov eax, 0x417ff8
mov ecx, str.eO_c
cmovne ecx, eax
push ebx
push ecx
mov edi, dword [esp + 0x1c]
push edi
jmp 0x488731
test ebx, ebx
je 0x488b61
cmp ebx, 4
je 0x488b1a
cmp ebx, 1
jne 0x488b51
push pe_nt_image_headers32
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
je 0x488b51
cmp ebx, 1
mov eax, 0x41c2d3
mov ecx, 0x41c2d7
cmove ecx, eax
push ecx
mov edi, dword [esp + 0x18]
push edi
call fcn.00432778
add esp, 8
jmp 0x488739
push ebx
push str.e__d
mov edi, dword [esp + 0x1c]
push edi
jmp 0x488731
mov eax, dword [esp + 0xc]
lea edx, [eax - 0x25]
cmp edx, 3
ja case.default.0x488b72
mov eax, 0x41
jmp dword [edx*4 + 0x41c4f4]
mov eax, 0x44
jmp case.0x488b72.38
cmp dword [esp + 0xc], 0xc
jne 0x488bb2
mov eax, 0x47
jmp case.0x488b72.38
mov eax, 0x43
jmp case.0x488b72.38
mov eax, 0x42
push dword [esp + 0x18]
push eax
push ecx
mov edi, dword [esp + 0x20]
push edi
call fcn.0047b126
add esp, 0x10
jmp 0x488739
cmp byte [esp + 0x44], 0
mov cl, 0xd
jne 0x488445
xor eax, eax
cmp dword [esp + 0x10], 0
je 0x488bdf
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x60]
cmp ecx, 9
ja 0x488bdf
mov eax, dword [0x428e74]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
mov esi, dword [esp + 0xc]
mov dword [0x428e74], eax
xor ebx, ebx
cmp byte [esp + 0xbc], 0
je 0x488c1d
push 0x94
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
je 0x488c1d
xor ebx, ebx
cmp dword [esp + 0x10], 0
mov byte [esp + 0xbc], 0
sete bl
mov edx, dword [esp + 0x40]
and edx, 0x81ff
cmp dword [0x429770], 2
jne 0x488c58
mov eax, dword [0x428e88]
test eax, eax
je 0x488c58
push dword [esp + 0x34]
push 0
push 3
push 0x428e78
lea ecx, [esp + 0xb8]
push ecx
push edx
mov edi, esi
push esi
call eax
mov esi, eax
jmp 0x488caa
push dword [esp + 0x34]
push 0
push 0x428e8c
lea eax, [esp + 0xb4]
push eax
push edx
mov edi, esi
push esi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov esi, eax
test esi, esi
jle 0x488efc
xor eax, eax
mov cl, byte [eax + eax + 0x428e8c]
mov byte [eax + 0x428e92], cl
inc eax
cmp esi, eax
jne 0x488c81
xor eax, eax
push 3
push 0x428e78
push esi
push 0x428e92
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test esi, esi
jle 0x488efc
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
sete al
inc ecx
xor ebp, ebp
xor edi, edi
lea eax, [esp + eax*2 + 0x54]
inc edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jmp 0x488d1e
mov edx, dword [eax + 0x1090]
cmp dword [edx + 0xc], 0xfde9
je 0x488e41
mov edx, dword [0x4278c8]
test edx, edx
jne 0x488e41
mov byte [esp + 0x54], cl
push eax
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488e68
push edi
push edi
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.0043c15b
jmp 0x488e65
mov cx, word [ebp + ebp + 0x428e78]
mov edx, dword [0x428e60]
movzx eax, cx
cmp edx, 3
mov word [esp + 0x50], ax
je 0x488d61
cmp edx, 2
jne 0x488dc3
lea edx, [ecx - 0x20]
movzx edx, dx
cmp edx, 0x5f
ja 0x488dc3
mov dword [0x428e80], eax
mov dword [0x428e60], 3
jmp 0x488ecd
lea edx, [ecx - 0x20]
movzx edx, dx
cmp edx, 0x5f
ja 0x488dc3
mov dword [0x428e60], 0
push eax
push dword [0x428e80]
call fcn.00496029
add esp, 8
cmp eax, 0xffffffff
je 0x488f7e
mov word [esp + 0x52], ax
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488ecd
push edi
push edi
lea ecx, [esp + 0x5a]
push ecx
push eax
call fcn.0043ca71
add esp, 0x10
jmp 0x488ecd
cmp byte [esp + 0x20], 0
mov dword [0x428e60], 0
je 0x488e25
test ebx, ebx
je 0x488e74
cmp eax, 0x7f
ja 0x488e74
mov word [esp + 0x54], 0x1b
push eax
call fcn.00495f00
add esp, 4
mov word [esp + 0x56], ax
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488ec6
push 1
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
jmp 0x488ebe
mov ecx, dword [0x428e74]
mov eax, dword [0x428ea4]
test ecx, ecx
je 0x488ea4
cmp dword [eax + 0xdc], 0
je 0x488cd1
mov word [esp + 0x52], cx
push eax
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488e68
push edi
push edi
lea ecx, [esp + 0x5a]
push ecx
push eax
call fcn.0043ca71
add esp, 0x10
mov dword [0x428e74], 0
jmp 0x488ec6
mov word [esp + 0x54], 0x1b
mov word [esp + 0x56], cx
push dword [0x428ea4]
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488ec6
push 1
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
jmp 0x488ebe
push eax
call fcn.0047401d
add esp, 4
mov eax, dword [0x428ce0]
test eax, eax
je 0x488ec6
push edi
push edi
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.0043ca71
add esp, 0x10
xor ecx, ecx
call fcn.0048d2b0
inc ebp
cmp ebp, esi
jl 0x488d1e
mov word [0x428e78], 0
xor ebx, ebx
mov ecx, dword [esp + 0x8a8]
call fcn.00497c4a
mov eax, ebx
add esp, 0x8ac
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
cmp dword [esp + 0x10], 0
je 0x488f34
cmp word [0x428e78], 0
mov ebx, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c8]
je 0x488f4b
mov eax, dword [0x428ea4]
cmp dword [eax + 0xdc], 0
je 0x488f8b
mov word [0x428e78], 0xa
jmp 0x488f4b
mov ebx, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c8]
mov word [0x428e78], 0
cmp edi, 0x12
jne 0x488f6f
push 0x53
push dword [0x428eb4]
call fcn.0043194f
mov ecx, dword [esp + 0x8d0]
add esp, 8
test eax, eax
je 0x488edf
push ebx
push ecx
push ebp
push dword [esp + 0x8cc]
jmp 0x487a83
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x488edf
mov eax, dword [eax + 0x1090]
cmp dword [eax + 0xc], 0xfde9
je 0x488f29
mov eax, dword [0x4278c8]
test eax, eax
je 0x488f4b
jmp 0x488f29
mov edx, dword [0x428e6c]
mov ecx, ebx
mov eax, edx
neg eax
cmovl eax, edx
xor ebx, ebx
cmp eax, 0x78
jl 0x488ee1
test edx, edx
jle 0x489034
mov esi, 7
mov eax, 0xffffff88
add eax, edx
cmp dword [0x428434], 0
mov ebx, ecx
mov dword [0x428e6c], eax
je 0x489004
push 0x8e
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
movdqu xmm0, xmmword [esp + 0x20]
movd edi, xmm0
test edi, edi
je 0x489046
test eax, eax
je 0x489046
mov eax, dword [0x428ea4]
mov ecx, dword [eax + 0x128]
mov edx, ecx
neg edx
cmp esi, 7
cmovne edx, ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
sar ecx, 1
push ecx
push edx
push eax
call fcn.00475e6c
add esp, 0xc
jmp 0x488fa5
jns 0x488ee1
mov esi, 8
mov eax, 0x78
jmp 0x488fcd
lea ecx, [esp + 0xa8]
movsx eax, bx
mov dword [ecx], eax
mov eax, ebx
sar eax, 0x10
mov dword [ecx + 4], eax
push ecx
push dword [esp + 0x8c4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x488fa5
call fcn.0048d341
mov edx, dword [esp + 0xac]
mov ebx, dword [0x4283d8]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xa8]
lea eax, [edx + 1]
sub eax, ebx
test edx, edx
cmovns eax, edx
sub eax, dword [0x4283e4]
cdq
idiv ebx
mov ebp, dword [0x4283d4]
mov ebx, eax
lea eax, [ecx + 1]
sub eax, ebp
test ecx, ecx
cmovns eax, ecx
mov ecx, esi
sub eax, dword [0x4283e8]
cdq
idiv ebp
mov ebp, eax
call fcn.0048d394
movdqu xmm0, xmmword [esp + 0x20]
mov ecx, dword [0x428ea4]
pshufd xmm0, xmm0, 0x4e
sub esp, 0x24
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
movd dword [esp + 0x1c], xmm0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x8f0]
xor edx, edx
mov dword [esp + 0x10], ebp
inc edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.004767a8
add esp, 0x24
jmp 0x488fa5