Function at 0x4105b0
Capabilities:
Extract resource via kernel32 functions
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov dword [ebp - 0x104], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x34]
mov dword [eax], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x521dfc], eax
mov dword [0x513f68], 0
mov dword [ebp - 0x64], 0
jmp 0x4105fe
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x13
jge 0x41061a
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax*4 + 0x50c900]
mov dword [edx*4 + 0x522820], ecx
jmp 0x4105f5
mov edx, dword [0x521dfc]
push edx
push str.WINTERACTER
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov dword [ebp - 0x8c], str.WINTERACTER
mov eax, dword [0x521dfc]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xac], 0x42c4f0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x98], eax
push 0x50cdc4
mov ecx, dword [0x521dfc]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x522038], ax
lea eax, [ebp - 0xb0]
push eax
push str.WINTCHILD
mov ecx, dword [0x521dfc]
push ecx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x41076b
mov dword [ebp - 0x8c], str.WINTCHILD
mov edx, dword [0x521dfc]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xac], 0x42c4f0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x98], eax
push 0x50cdcc
mov eax, dword [0x521dfc]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x5228d0], ax
lea edx, [ebp - 0xb0]
push edx
push str.WINTCLIENT
mov eax, dword [0x521dfc]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x410811
mov dword [ebp - 0x8c], str.WINTCLIENT
mov ecx, dword [0x521dfc]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xac], 0x42e6c0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xb0], 0xb
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x5222b8], ax
lea eax, [ebp - 0xb0]
push eax
push str.WINTSPLITH
mov ecx, dword [0x521dfc]
push ecx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x4108b4
mov dword [ebp - 0x8c], str.WINTSPLITH
mov edx, dword [0x521dfc]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xac], 0x417f70
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0x10
mov dword [ebp - 0xb0], 0x83
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x52216e], ax
lea ecx, [ebp - 0xb0]
push ecx
push str.WINTSPLITV
mov edx, dword [0x521dfc]
push edx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x410956
mov dword [ebp - 0x8c], str.WINTSPLITV
mov eax, dword [0x521dfc]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xac], 0x417f70
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0x10
mov dword [ebp - 0xb0], 0x83
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x5222bc], ax
movzx edx, word [0x522038]
test edx, edx
je 0x41098d
movzx eax, word [0x5228d0]
test eax, eax
je 0x41098d
movzx ecx, word [0x5222b8]
test ecx, ecx
je 0x41098d
movzx edx, word [0x52216e]
test edx, edx
je 0x41098d
movzx eax, word [0x5222bc]
test eax, eax
jne 0x4109a9
push 0x10
push 0x50cdd4
push str.Failed_to_register_class___aborting.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov ecx, dword [0x521dfc]
push ecx
push 0
push 0
push 0xa
push 0xa
push 0
push 0
push 0x80000000
push 0x515f05
push str.WINTERACTER
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x514f20], eax
cmp dword [0x514f20], 0
jne 0x410a0a
push 0x10
push 0x50ce20
push 0x50ce34
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004250e0
call fcn.004025f0
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x410aee
push 0
mov edx, dword [0x521dfc]
push edx
push 0
push 0
push 0xa
push 0xa
push 0
push 0
push 4
push 0
push str.RichEdit20A
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0xbc], eax
push 0x50ce74
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0x74], 0xffffff9d
mov dword [ebp - 0x70], 0xffffff9d
mov dword [ebp - 0x60], 0xffffff9d
mov dword [ebp - 0x5c], 0xffffff9d
push 1
lea ecx, [ebp - 0x74]
push ecx
push 0xd6
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
lea eax, [ebp - 0x60]
push eax
push 0xd6
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x74], 0xffffff9d
jne 0x410ad5
cmp dword [ebp - 0x70], 0xffffff9d
jne 0x410ad5
cmp dword [ebp - 0x60], 0xffffff9d
jne 0x410ad5
cmp dword [ebp - 0x5c], 0xffffff9d
jne 0x410ad5
mov dword [0x52217c], 2
jmp 0x410adf
mov dword [0x52217c], 3
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x410b03
push str.riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x52217c], 1
push str.commdlg_FindReplace
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x521610], eax
mov dword [0x522884], 1
mov dword [0x52152c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0xf0], eax
mov dword [0x52218c], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp + 0x28]
cmp dword [eax], 0
je 0x410ce9
push 5
mov ecx, dword [ebp + 0x28]
movzx edx, word [ecx]
push edx
mov eax, dword [0x521dfc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410ce0
push 0
push 0x417ad0
mov ecx, dword [0x514f20]
push ecx
mov edx, dword [ebp + 0x28]
movzx eax, word [edx]
push eax
mov ecx, dword [0x521dfc]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x410cd5
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x40000000
je 0x410cbd
mov ecx, dword [ebp - 0xc]
and ecx, 0x400
je 0x410cbd
mov edx, dword [ebp - 0xc]
and edx, 0xc00000
jne 0x410cbd
mov eax, dword [ebp - 0xc]
and eax, 0x80000
jne 0x410cbd
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [0x52218c], 1
push 0x50
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
push eax
push 0xffffffffffffffeb
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xffffffffffffffff
mov edx, dword [ebp + 0x28]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00428560
add esp, 0xc
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00421140
add esp, 4
test eax, eax
jne 0x410c9d
mov edx, dword [ebp - 0x108]
or edx, 0x40
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
and eax, 0xfffffff3
mov dword [ebp - 0x108], eax
push 0
push 0xffffffffffffffeb
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x410cc6
mov eax, dword [ebp + 0x34]
mov dword [eax], 0x415
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x410cde
mov edx, dword [ebp + 0x34]
mov dword [edx], 0x440
jmp 0x410ce9
mov eax, dword [ebp + 0x34]
mov dword [eax], 0x3ef
mov ecx, dword [0x514f20]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp + 0x1c]
cmp dword [edx], 0
je 0x410d2b
mov eax, dword [ebp + 0x1c]
movzx ecx, word [eax]
push ecx
mov edx, dword [0x521dfc]
push edx
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x410d2b
mov eax, dword [ebp + 0x34]
mov dword [eax], 0x3ea
mov dword [ebp - 0x78], 0x2c00000
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x108]
and ecx, 1
je 0x410d50
mov edx, dword [ebp - 0x78]
or edx, 0x80000
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x108]
and eax, 2
je 0x410d67
mov ecx, dword [ebp - 0x78]
or ecx, 0x20000
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x108]
and edx, 4
je 0x410d7d
mov eax, dword [ebp - 0x78]
or eax, 0x10000
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x108]
and ecx, 0x40
jne 0x410d94
mov edx, dword [ebp - 0x78]
or edx, 0x40000
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x108]
and eax, 0x200
je 0x410daa
mov ecx, dword [ebp - 0x6c]
or ecx, 8
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x108]
and edx, 8
je 0x410dc0
mov eax, dword [ebp - 0x78]
or eax, 0x1000000
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xd4], 0x56000000
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp + 0x2c]
cmp dword [ecx], 0xffffffff
je 0x410dec
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x522940], eax
jmp 0x410df6
mov dword [0x522940], 0
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx]
mov dword [0x5223e0], edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x6c]
push edx
push 0
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov edx, dword [ebp - 0x68]
push edx
xor eax, eax
cmp dword [ebp - 0x7c], 0
setne al
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp + 8]
cmp dword [edx], 0xfff0bdc1
jne 0x410ead
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
shl ecx, 4
mov edx, dword [ebp + 0x30]
mov eax, dword [edx]
shl eax, 4
mov edx, dword [0x522188]
mov eax, dword [edx + eax + 8]
sub eax, dword [ebp - 0xb8]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [0x522188]
add eax, dword [edx + ecx]
mov dword [ebp - 0x118], eax
jmp 0x410eb8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xfff0bdc1
jne 0x410f03
mov ecx, dword [ebp + 0x30]
mov ecx, dword [ecx]
shl ecx, 4
mov edx, dword [ebp + 0x30]
mov eax, dword [edx]
shl eax, 4
mov edx, dword [0x522188]
mov eax, dword [edx + eax + 0xc]
sub eax, dword [ebp - 0xf0]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [0x522188]
add eax, dword [edx + ecx + 4]
mov dword [ebp - 0x11c], eax
jmp 0x410f0e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x84], edx
push 0
mov eax, dword [0x521dfc]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
push 0
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp + 0x38]
push ecx
push str.WINTERACTER
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x514f20], eax
cmp dword [0x514f20], 0
je 0x4114ca
mov eax, dword [0x514f20]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [0x514150], eax
cmp dword [0x514150], 0
je 0x410fe7
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push edx
mov eax, dword [0x514150]
push eax
call fcn.00435a70
add esp, 8
mov ecx, dword [ebp + 0x1c]
movzx edx, word [ecx]
push edx
mov eax, dword [0x521dfc]
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [0x514220], eax
push 0x50ce9c
mov ecx, dword [ebp + 0x1c]
movzx edx, word [ecx]
push edx
mov eax, dword [0x521dfc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jbe 0x410fe7
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [0x521dfc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [0x5142f0], eax
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [0x514f20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xd0], 0
jmp 0x411033
mov ecx, dword [ebp - 0xd0]
add ecx, 1
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xd0], 4
jge 0x411190
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp + 0x20]
cmp dword [eax + edx*4], 0
je case.default.0x4110c6
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp + 0x20]
lea ecx, [eax + edx*4]
push ecx
call fcn.00434850
add esp, 0x20
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x120], edx
cmp dword [ebp - 0x120], 3
ja case.default.0x4110c6
mov eax, dword [ebp - 0x120]
jmp dword [eax*4 + 0x412423]
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx*4 + 0x514498]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0xf4]
sub ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xfff0bdc1
jne 0x411129
mov eax, dword [ebp - 0x108]
and eax, 8
jne 0x411129
mov eax, dword [ebp - 0xe4]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x84]
sub ecx, eax
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0xe4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0x40], eax
jmp case.default.0x4110c6
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx*4 + 0x514898]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0xfff0bdc1
jne 0x41117f
mov ecx, dword [ebp - 0x108]
and ecx, 8
jne 0x41117f
mov eax, dword [ebp - 0xe4]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0x4c], eax
jmp 0x411024
mov ecx, dword [ebp - 0x108]
and ecx, 0x20
je 0x411298
mov dword [ebp - 0xc], 0x56000000
mov edx, dword [ebp - 0x108]
and edx, 0x40
jne 0x4111bc
mov eax, dword [ebp - 0xc]
or eax, 0x100
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [0x521dfc]
push ecx
push 0x3e7
mov edx, dword [0x514f20]
push edx
push 0xa
mov eax, dword [ebp - 0xb8]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0
push 0x50ceac
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x514c98], eax
push 4
call fcn.004d0ee7
add esp, 4
mov dword [0x522a20], eax
push 4
call fcn.004d0ee7
add esp, 4
mov dword [0x521540], eax
mov edx, dword [0x522a20]
mov dword [edx], 0xffffffff
mov eax, dword [0x521540]
mov dword [eax], 0
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 0xcc]
push ecx
mov edx, dword [0x514c98]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0xc8]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xfff0bdc1
jne 0x41128a
mov edx, dword [ebp - 0x108]
and edx, 8
jne 0x41128a
mov eax, dword [ebp - 0xe8]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x84]
sub ecx, eax
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0xe8]
mov dword [ebp - 0x48], edx
jmp 0x4112a2
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0x10c], 0
je 0x41132f
push 0x1c
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x44]
push eax
push 0
mov ecx, dword [0x514f20]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 5
mov edx, dword [0x514c98]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x108]
and eax, 8
je 0x41132f
mov dword [ebp - 0x38], 0x2c
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [0x514f20]
push edx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [0x514f20]
push edx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [0x514f20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0xd0], 0
jmp 0x41135b
mov edx, dword [ebp - 0xd0]
add edx, 1
mov dword [ebp - 0xd0], edx
cmp dword [ebp - 0xd0], 4
jge 0x41143c
mov eax, dword [ebp - 0xd0]
cmp dword [eax*4 + 0x514498], 0
je case.default.0x4113fa
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx*4 + 0x514498]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 3
ja case.default.0x4113b2
mov edx, dword [ebp - 0x124]
jmp dword [edx*4 + 0x412433]
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xfc]
mov dword [ebp - 0xe4], eax
jmp case.default.0x4113b2
mov ecx, dword [ebp - 0xf8]
sub ecx, dword [ebp - 0x100]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0x128], 3
ja case.default.0x4113fa
mov eax, dword [ebp - 0x128]
jmp dword [eax*4 + 0x412443]
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x50], ecx
jmp case.default.0x4113fa
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0xe4]
mov dword [ebp - 0x48], edx
jmp case.default.0x4113fa
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0x54], eax
jmp case.default.0x4113fa
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x4c], ecx
jmp 0x41134c
mov edx, dword [ebp - 0x108]
and edx, 0x20
je 0x41145b
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x48]
sub ecx, eax
mov dword [ebp - 0x48], ecx
push 0
mov edx, dword [0x521dfc]
push edx
push 0xffffffffffffffff
mov eax, dword [0x514f20]
push eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
push 0x515f06
push str.WINTCLIENT
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x514ff0], eax
mov ecx, dword [ebp - 0x108]
and ecx, 8
je 0x4114ca
mov edx, dword [ebp + 0x2c]
cmp dword [edx], 0xffffffff
je 0x4114ca
push 0x205
push 0
push 0
mov eax, dword [0x514ff0]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x514f20], 0
je 0x4114dc
cmp dword [0x514ff0], 0
jne 0x4114f8
push 0x10
push str.Winteracter_Window
push str.Failed_to_create_window___aborting.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x52218c], 0
je 0x411529
push 0
lea ecx, [ebp - 0x104]
push ecx
push 1
mov edx, dword [ebp - 0x108]
push edx
push 0
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx]
push eax
call fcn.00417600
add esp, 0x1c
mov ecx, dword [ebp - 0x108]
and ecx, 0x80
je 0x41159b
push 0
mov edx, dword [0x514f20]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x108]
and eax, 8
je 0x411596
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [0x514f20]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
push 2
push 5
mov ecx, dword [0x514f20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41162e
mov edx, dword [ebp - 0x108]
and edx, 8
je 0x4115fb
push 3
mov eax, dword [0x514f20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [0x514f20]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
push 2
push 5
mov ecx, dword [0x514f20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41160a
push 1
mov edx, dword [0x514f20]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [0x514ff0]
push eax
call dword [sym.imp.USER32.dll_ValidateRgn]
cmp dword [0x52218c], 0
je 0x41162e
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x514ff0]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [0x514f18], eax
push 1
mov eax, dword [0x514f18]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x18
mov ecx, dword [0x514f18]
push ecx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [0x514ff0]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x4c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov dword [0x522024], 0
mov dword [0x521de8], 0xf
mov dword [0x522b48], 0
mov dword [0x522b00], 0
mov dword [0x522b04], 0xbf
mov dword [0x522b08], 0xbfbf
mov dword [0x522b0c], 0xbf00
mov dword [0x522b10], 0xbfbf00
mov dword [0x522b14], 0xbf0000
mov dword [0x522b18], 0xbf00bf
mov dword [0x522b1c], 0xbfbfbf
mov dword [0x522b20], 0x404040
mov dword [0x522b24], 0xff
mov dword [0x522b28], 0xffff
mov dword [0x522b2c], 0xff00
mov dword [0x522b30], 0xffff00
mov dword [0x522b34], 0xff0000
mov dword [0x522b38], 0xff00ff
mov dword [0x522b3c], 0xffffff
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [0x522b40], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [0x522b44], eax
mov dword [0x521ddc], 1
mov edx, dword [0x514f18]
mov dword [0x5222c8], edx
mov dword [0x521e04], 0
mov dword [0x5228cc], 0
mov eax, dword [0x514ff0]
mov dword [0x52286c], eax
mov dword [0x521dd8], 0
cmp dword [0x522034], 0x100
jne 0x412328
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
mov dword [0x522184], edx
mov eax, dword [0x522184]
add eax, 0x12
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
lea edx, [ecx*4 + 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x51541c], eax
mov eax, dword [0x51541c]
mov cx, word [ebp - 0x3c]
mov word [eax + 2], cx
mov edx, dword [0x51541c]
mov word [edx], 0x300
mov dword [ebp - 0xe0], 0
jmp 0x411804
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 0x3c]
jge 0x411853
mov edx, dword [ebp - 0xe0]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 4], 0
mov ecx, dword [ebp - 0xe0]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 5], 0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 6], 0
mov edx, dword [ebp - 0xe0]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 7], 0
jmp 0x4117f5
cmp dword [0x522184], 0x10
jne 0x41196a
mov ecx, dword [0x51541c]
mov byte [ecx + 4], 0xff
mov edx, dword [0x51541c]
mov byte [edx + 5], 0xff
mov eax, dword [0x51541c]
mov byte [eax + 6], 0xff
mov ecx, dword [0x51541c]
mov byte [ecx + 0xa], 0xbf
mov edx, dword [0x51541c]
mov byte [edx + 0xd], 0xbf
mov eax, dword [0x51541c]
mov byte [eax + 0x11], 0xbf
mov ecx, dword [0x51541c]
mov byte [ecx + 0x12], 0xbf
mov edx, dword [0x51541c]
mov byte [edx + 0x14], 0xbf
mov eax, dword [0x51541c]
mov byte [eax + 0x18], 0xbf
mov ecx, dword [0x51541c]
mov byte [ecx + 0x1a], 0xbf
mov edx, dword [0x51541c]
mov byte [edx + 0x1c], 0xbf
mov eax, dword [0x51541c]
mov byte [eax + 0x1d], 0xbf
mov ecx, dword [0x51541c]
mov byte [ecx + 0x20], 0x40
mov edx, dword [0x51541c]
mov byte [edx + 0x21], 0x40
mov eax, dword [0x51541c]
mov byte [eax + 0x22], 0x40
mov ecx, dword [0x51541c]
mov byte [ecx + 0x24], 0xbf
mov edx, dword [0x51541c]
mov byte [edx + 0x25], 0xbf
mov eax, dword [0x51541c]
mov byte [eax + 0x26], 0xbf
mov ecx, dword [0x51541c]
mov byte [ecx + 0x2a], 0xff
mov edx, dword [0x51541c]
mov byte [edx + 0x2d], 0xff
mov eax, dword [0x51541c]
mov byte [eax + 0x31], 0xff
mov ecx, dword [0x51541c]
mov byte [ecx + 0x32], 0xff
mov edx, dword [0x51541c]
mov byte [edx + 0x34], 0xff
mov eax, dword [0x51541c]
mov byte [eax + 0x38], 0xff
mov ecx, dword [0x51541c]
mov byte [ecx + 0x3a], 0xff
mov edx, dword [0x51541c]
mov byte [edx + 0x3c], 0xff
mov eax, dword [0x51541c]
mov byte [eax + 0x3d], 0xff
jmp 0x4120b5
mov eax, 0x100
cdq
idiv dword [0x522184]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xcf
mov dword [ebp - 0xe0], ecx
jmp 0x411999
mov edx, dword [ebp - 0xe0]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0xe0
jge 0x4119cc
mov eax, 0xdf
sub eax, dword [ebp - 0xe0]
movzx ecx, al
shl ecx, 2
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
jmp 0x41198a
mov eax, dword [ebp - 0x80]
add eax, 0xdf
mov dword [ebp - 0xe0], eax
jmp 0x4119eb
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0xf0
jge 0x411a1f
mov edx, 0xef
sub edx, dword [ebp - 0xe0]
lea ecx, [edx*4 + 0x40]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
jmp 0x4119dc
mov dword [ebp - 0xe0], 0
jmp 0x411a3a
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x10
jge 0x411a69
mov ecx, dword [ebp - 0xe0]
shl ecx, 2
mov ebx, 0xff
sub ebx, ecx
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], bl
jmp 0x411a2b
mov dword [ebp - 0xe0], 0xf0
jmp 0x411a84
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x100
jge 0x411ab8
mov ecx, 0xff
sub ecx, dword [ebp - 0xe0]
lea ecx, [ecx*4 + 0x83]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
jmp 0x411a75
mov dword [ebp - 0xe0], 0
jmp 0x411ad3
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x10
jge 0x411b32
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 4]
mov byte [edx + eax*4 + 6], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 6]
mov byte [edx + eax*4 + 5], cl
jmp 0x411ac4
mov edx, dword [ebp - 0x80]
add edx, 0xcf
mov dword [ebp - 0xe0], edx
jmp 0x411b52
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xf0
jge 0x411bb4
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 4]
mov byte [edx + eax*4 + 6], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 6]
mov byte [edx + eax*4 + 5], cl
jmp 0x411b43
mov dword [ebp - 0xe0], 0xf0
jmp 0x411bcf
mov edx, dword [ebp - 0xe0]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0x100
jge 0x411c31
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 4]
mov byte [edx + eax*4 + 6], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 6]
mov byte [edx + eax*4 + 5], cl
jmp 0x411bc0
mov edx, dword [ebp - 0x80]
add edx, 0xf
mov dword [ebp - 0xe0], edx
jmp 0x411c4e
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x20
jge 0x411c7a
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx*4 + 0x83]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
jmp 0x411c3f
mov eax, dword [ebp - 0x80]
add eax, 0x1f
mov dword [ebp - 0xe0], eax
jmp 0x411c97
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0x30
jge 0x411cc3
mov edx, dword [ebp - 0xe0]
lea ecx, [edx*4 + 3]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
jmp 0x411c88
mov eax, dword [ebp - 0x80]
add eax, 0x2f
mov dword [ebp - 0xe0], eax
jmp 0x411ce0
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0x40
jge 0x411d36
mov edx, dword [ebp - 0xe0]
lea ecx, [edx*4 + 3]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 4]
mov byte [edx + eax*4 + 5], cl
jmp 0x411cd1
mov edx, dword [ebp - 0x80]
add edx, 0x3f
mov dword [ebp - 0xe0], edx
jmp 0x411d53
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x50
jge 0x411da9
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx*4 - 0x7d]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 4]
mov byte [edx + eax*4 + 5], cl
jmp 0x411d44
mov edx, dword [ebp - 0x80]
add edx, 0x4f
mov dword [ebp - 0xe0], edx
jmp 0x411dc6
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x60
jge 0x411df2
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx*4 - 0x7d]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 5], cl
jmp 0x411db7
mov eax, dword [ebp - 0x80]
add eax, 0x5f
mov dword [ebp - 0xe0], eax
jmp 0x411e0f
mov ecx, dword [ebp - 0xe0]
add ecx, 1
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0x70
jge 0x411e3b
mov edx, dword [ebp - 0xe0]
lea ecx, [edx*4 - 0xfd]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 5], cl
jmp 0x411e00
mov eax, dword [ebp - 0x80]
add eax, 0x6f
mov dword [ebp - 0xe0], eax
jmp 0x411e58
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0x80
jge 0x411eb1
mov edx, dword [ebp - 0xe0]
lea ecx, [edx*4 - 0xfd]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 5], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 5]
mov byte [edx + eax*4 + 6], cl
jmp 0x411e49
mov edx, dword [ebp - 0x80]
add edx, 0x7f
mov dword [ebp - 0xe0], edx
jmp 0x411ece
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x90
jge 0x411f27
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx*4 - 0x17d]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 5], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 5]
mov byte [edx + eax*4 + 6], cl
jmp 0x411ebf
mov edx, dword [ebp - 0x80]
add edx, 0x8f
mov dword [ebp - 0xe0], edx
jmp 0x411f47
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xa0
jge 0x411f76
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx*4 - 0x17d]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 6], cl
jmp 0x411f38
mov eax, dword [ebp - 0x80]
add eax, 0x9f
mov dword [ebp - 0xe0], eax
jmp 0x411f95
mov ecx, dword [ebp - 0xe0]
add ecx, 1
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0xb0
jge 0x411fc4
mov edx, dword [ebp - 0xe0]
lea ecx, [edx*4 - 0x1fd]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 6], cl
jmp 0x411f86
mov eax, dword [ebp - 0x80]
add eax, 0xaf
mov dword [ebp - 0xe0], eax
jmp 0x411fe3
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 0xc0
jge 0x41203c
mov edx, dword [ebp - 0xe0]
lea ecx, [edx*4 - 0x1fd]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 4]
mov byte [edx + eax*4 + 6], cl
jmp 0x411fd4
mov edx, dword [ebp - 0x80]
add edx, 0xbf
mov dword [ebp - 0xe0], edx
jmp 0x41205c
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xd0
jge 0x4120b5
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx*4 - 0x27d]
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov byte [edx + eax*4 + 4], cl
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov ecx, eax
mov eax, dword [ebp - 0xe0]
cdq
idiv dword [ebp - 0x80]
mov edx, dword [0x51541c]
mov esi, dword [0x51541c]
mov cl, byte [esi + ecx*4 + 4]
mov byte [edx + eax*4 + 6], cl
jmp 0x41204d
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 8], 0xbf
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0xc], 0xbf
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0xd], 0xbf
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x11], 0xbf
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x15], 0xbf
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x16], 0xbf
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x1a], 0xbf
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x1c], 0xbf
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x1e], 0xbf
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x20], 0xbf
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x21], 0xbf
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x22], 0xbf
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x24], 0x40
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x25], 0x40
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x26], 0x40
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x28], 0xff
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x2c], 0xff
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x2d], 0xff
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x31], 0xff
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x35], 0xff
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x36], 0xff
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x3a], 0xff
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x3c], 0xff
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x3e], 0xff
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov byte [eax + edx*4 + 0x40], 0xff
mov ecx, dword [0x522184]
mov edx, dword [0x51541c]
mov byte [edx + ecx*4 + 0x41], 0xff
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x42], 0xff
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xd8], eax
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov cl, byte [ebp - 0xd8]
mov byte [eax + edx*4 + 0x44], cl
movzx edx, word [ebp - 0xd8]
sar edx, 8
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x45], dl
mov edx, dword [ebp - 0xd8]
shr edx, 0x10
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x46], dl
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xd8], eax
mov edx, dword [0x522184]
mov eax, dword [0x51541c]
mov cl, byte [ebp - 0xd8]
mov byte [eax + edx*4 + 0x48], cl
movzx edx, word [ebp - 0xd8]
sar edx, 8
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x49], dl
mov edx, dword [ebp - 0xd8]
shr edx, 0x10
mov eax, dword [0x522184]
mov ecx, dword [0x51541c]
mov byte [ecx + eax*4 + 0x4a], dl
mov edx, dword [0x51541c]
push edx
call dword [sym.imp.GDI32.dll_CreatePalette]
mov dword [0x515404], eax
cmp dword [0x5153fc], 0
jne 0x412346
push 8
push 8
mov eax, dword [0x5222c8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x5153fc], eax
mov dword [0x515400], 1
mov dword [0x51540c], 0
mov dword [0x515410], 0
mov dword [0x50c968], 0xd
call fcn.00402660
cmp dword [0x515428], 0
jne 0x41238c
push str.Winteracter_CGM
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov dword [0x515428], eax
mov dword [0x52287c], 0
mov dword [0x522040], 0
mov dword [0x52202c], 0
mov dword [ebp - 0xec], 0
jmp 0x4123c5
mov ecx, dword [ebp - 0xec]
add ecx, 1
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xec], 0x34
jg 0x4123e3
mov edx, dword [ebp - 0xec]
imul edx, edx, 0x24
mov dword [edx + 0x521640], 0
jmp 0x4123b6
mov eax, dword [ebp - 0x108]
and eax, 0x80
jne 0x4123fd
mov ecx, dword [0x514ff0]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x514f20]
mov dword [0x513f98], edx
mov dword [0x513f64], 0
mov dword [0x513f6c], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret