Function at 0x427e40
Capabilities:
Create thread
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
push 0x44ff50
push 2
push 2
push 0x80
push 4
push 0xee
push 0
push 0
push 0
push 0x3e7
push 0
push 0
push 0x3c
push 0x58
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 5
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
push 0x48
push 0x5a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xe
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x4663a4], eax
push 0x44ff74
push 2
push 2
push 0x80
push 4
push 0xee
push 0
push 0
push 0
push 0x3e7
push 0
push 0
push 0x48
push 0x58
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 5
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
push 0x48
push 0x5a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xe
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x4663a0], eax
push 0x44ff98
push 2
push 2
push 0x80
push 4
push 0xee
push 0
push 0
push 0
push 0x3e7
push 0
push 0
push 0x3c
push 0x58
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 4
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
push 0x48
push 0x5a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xd
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x4663a8], eax
push 0x44ffac
push 2
push 2
push 0x80
push 4
push 0xee
push 0
push 0
push 0
push 0x3e7
push 0
push 0
push 0x49
push 0x58
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 5
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
push 0x3f
push 0x5a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xb
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x4663b0], eax
push 0x44ffc0
push 2
push 2
push 0x80
push 4
push 0xee
push 0
push 0
push 0
push 0x3e7
push 0
push 0
push 0x3c
push 0x58
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 4
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
push 0x48
push 0x5a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xc
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x4663b4], eax
push str.Terminal
push 2
push 2
push 0x80
push 4
push 0xee
push 0
push 0
push 0
push 0x3e7
push 0
push 0
push 0x3c
push 0x58
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 4
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
push 0x48
push 0x5a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xb
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x4663b8], eax
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xa
push 0x3d7
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4280ea
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x466414], eax
push 0xa
push 0x3d5
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x428122
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x466420], eax
push 0xa
push 0x3d4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42815a
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x466418], eax
push 0xa
push 0x195
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x428192
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x46641c], eax
push str.GlobalC0011L0110S1111Cls
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4281b3
xor eax, eax
jmp 0x428846
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4282e6
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4500d8
push 0x4500ec
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4282e4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42822d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040d500
add esp, 4
push 0x465fac
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 5
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x10], 0
je 0x4282c5
push 0x4500f4
mov eax, dword [ebp + 0x10]
push eax
call fcn.0042fb23
add esp, 8
test eax, eax
je 0x4282c5
push 0x450154
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042fb23
add esp, 8
test eax, eax
je 0x428276
push 0x450258
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042fb23
add esp, 8
test eax, eax
jne 0x428282
mov dword [0x465f7c], 0
jmp 0x4282c5
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [0x465f54]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042fb85
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x28]
push edx
push 0
push 0x4a
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040a8b0
add esp, 8
xor eax, eax
jmp 0x428846
jmp 0x4282f7
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 0
je 0x428359
push 0x450264
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042fb23
add esp, 8
test eax, eax
je 0x428359
push 0x4502c4
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042fb23
add esp, 8
test eax, eax
je 0x42833c
push 0x4502c8
mov eax, dword [ebp + 0x10]
push eax
call fcn.0042fb23
add esp, 8
test eax, eax
jne 0x428348
mov dword [0x465f7c], 0
jmp 0x428359
mov ecx, dword [ebp + 0x10]
push ecx
push 0x466430
call fcn.0042fb63
add esp, 8
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x7c], 0x41e650
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x70], edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x6c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x68], eax
push 0x3d8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0x4502d4
mov dword [ebp - 0x5c], 0x4502dc
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
je 0x428841
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0xca
push 0xc6
push 6
push 6
push SysReAllocString
push 0x4502e4
mov edx, dword [ebp - 0x5c]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4663ec], eax
mov dword [ebp - 0x18], 0x1280
push 1
mov eax, dword [ebp - 0x18]
push eax
call fcn.0042f5a5
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x466414]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042ca90
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov dword [ebp - 0x3c], eax
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [0x4663ec]
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
cmp dword [ebp - 0x14], 0
je 0x428470
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042f5b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov ecx, dword [0x4663ec]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42881d
push 0x4502f4
push 0x466430
call fcn.0042fb23
add esp, 8
test eax, eax
jne 0x428507
cmp dword [0x465f7c], 1
jne 0x4284c9
mov edx, dword [ebp + 8]
push edx
call fcn.0041c480
add esp, 4
jmp 0x428505
push 0
mov eax, dword [0x4663ec]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x466ab0], 1
push 0
push 0
mov ecx, dword [0x466ab0]
push ecx
push 0x450384
mov edx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041bd10
add esp, 0x18
jmp 0x42851c
cmp dword [0x4663ac], 0
je 0x42851c
mov eax, dword [ebp + 8]
push eax
call fcn.0041c480
add esp, 4
push 0x30
push 0
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0042d590
add esp, 0xc
push 0x30
push 0
lea edx, [ebp - 0xb0]
push edx
call fcn.0042d590
add esp, 0xc
mov dword [ebp - 0xb0], 0x30
push 0x3d8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [ebp - 0x90], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], 0x4057c0
mov dword [ebp - 0x88], 0x450394
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [0x4663ec]
push ecx
push 0x11c
push 0x126
push 0x40
push 0x40
push SysReAllocString
push 0
mov edx, dword [ebp - 0x88]
push edx
push 0x8000028
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4663f8], eax
push 0
mov eax, dword [0x4663f8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x194
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [0x466384], eax
push 0x466388
push 0x18
mov edx, dword [0x466384]
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x30
push 0
lea eax, [ebp - 0xe0]
push eax
call fcn.0042d590
add esp, 0xc
push 0x30
push 0
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0042d590
add esp, 0xc
mov dword [ebp - 0xe0], 0x30
push 0x3d8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [ebp - 0xc0], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd8], 0x40a8f0
mov dword [ebp - 0xb8], str.Help
lea ecx, [ebp - 0xe0]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [0x4663ec]
push eax
push 0x11c
push 0x126
push 0x40
push 0x40
push SysReAllocString
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x8000028
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4663fc], eax
push 0
mov edx, dword [0x4663fc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x30
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0042d590
add esp, 0xc
push 0x30
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.0042d590
add esp, 0xc
mov dword [ebp - 0x110], 0x30
push 0x3d8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [ebp - 0xf0], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x108], 0x40d870
mov dword [ebp - 0xe8], str.Menus
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 1
push 1
push 0
push 0
push SysReAllocString
push 0
mov eax, dword [ebp - 0xe8]
push eax
push 0x8000028
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x466400], eax
push 0
mov ecx, dword [0x466400]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
push 0x409e10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4287d8
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
push 5
push 0
push 1
push str._d._d._d._d
push 0x46691c
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push 0
push 0
push 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x42881d
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4287f3
mov eax, dword [0x4663ec]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42883a
push 0x465fac
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [ebp - 0x50]
jmp 0x428846
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10