Function at 0x406e80
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b00b
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x278], edi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call esi
push 0x2c
mov dword [edi + 0x410], eax
lea eax, [ebp - 0x2dc]
push 0
push eax
call fcn.004164d0
mov eax, dword [edi + 0x414]
add esp, 0xc
mov dword [ebp - 0x2e0], 0x30
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d4], 0
push 0x81
push eax
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2d8], 0x406800
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2b4], 0
call esi
mov dword [ebp - 0x2c4], eax
mov eax, dword [0x48b218]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2e0]
push eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], str.ATL:DownLoadFrameAE
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x147c]
push eax
mov dword [ebp - 0x2b0], eax
call esi
push 0x48b0f0
call esi
mov ebx, dword [0x489038]
push 0x340
call fcn.00413312
mov esi, eax
add esp, 4
test esi, esi
je 0x406fc1
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x406fc3
xor esi, esi
push ecx
push ebx
push 0x46b374
mov ecx, esi
call fcn.004120c0
mov dword [0x48b208], eax
test eax, eax
je 0x406feb
push esi
call fcn.00412a22
add esp, 4
or eax, 0xffffffff
jmp 0x407b5f
push 8
call fcn.00413312
mov ebx, eax
add esp, 4
mov dword [ebx + 4], esi
xor esi, esi
mov dword [ebx], 1
cmp dword [ebx], 1
jne 0x4070a5
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x270]
push eax
push esi
call fcn.00412160
mov dword [0x48b208], eax
test eax, eax
jne 0x4070af
push 0x104
call fcn.00413388
add esp, 4
mov dword [esi*4 + 0x48aa90], eax
lea ecx, [ebp - 0x26c]
push ecx
push 0x104
push eax
call fcn.00412f77
add esp, 0xc
push dword [ebp - 0x148]
call fcn.00413388
mov dword [esi*4 + 0x48ac90], eax
add esp, 4
cmp dword [ebx], 1
mov eax, dword [ebp - 0x148]
mov dword [esi*4 + 0x48ae90], eax
je 0x407088
mov dword [0x48b208], 0x80000
inc esi
jmp 0x407002
push ecx
mov ecx, dword [ebx + 4]
push eax
push dword [esi*4 + 0x48ac90]
push esi
call fcn.00412830
mov dword [0x48b208], eax
inc esi
jmp 0x407002
mov dword [0x48b208], 0x80000
lea ecx, [ebp - 0x2ac]
mov dword [0x48b090], esi
call fcn.004012f0
lea edx, [ebp - 0x2ac]
mov dword [ebp - 4], 0
xor ecx, ecx
call fcn.00401c20
test eax, eax
jne 0x4070df
xor esi, esi
jmp 0x407b52
mov eax, dword [ebp - 0x2a0]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 0x418], eax
mov eax, dword [ebp - 0x29c]
push 0
mov dword [edi + 0x41c], eax
call esi
sub eax, dword [edi + 0x418]
mov edi, dword [edi + 0x41c]
cdq
sub eax, edx
mov ebx, eax
push 1
sar ebx, 1
call esi
mov ecx, dword [ebp - 0x278]
sub eax, edi
push 0
cdq
sub eax, edx
push dword [ecx + 0x414]
sar eax, 1
push 0
push 0
push edi
mov edi, ecx
push dword [edi + 0x418]
push eax
push ebx
push 0x86ca0000
push 0
push str.ATL:DownLoadFrameAE
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x434510
push 0
push 0
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x12
mov dword [edi], eax
call esi
push 0x43451c
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x14
mov dword [edi + 0x428], eax
call esi
push 0x434510
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
mov dword [edi + 0x42c], eax
push 0
push 0x12
call esi
push 0x434510
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x10
mov dword [edi + 0x430], eax
call esi
push 0x434510
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x14
mov dword [edi + 0x434], eax
call esi
push 0x434510
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x1a
mov dword [edi + 0x438], eax
call esi
push 0x434510
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x1e
mov dword [edi + 0x440], eax
call esi
push 0x43451c
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
mov dword [edi + 0x444], eax
push 0xc
call esi
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push 0
push 0x406e40
push 0
push 0
mov dword [edi + 0x43c], eax
mov dword [0x48b0e4], 0
call ebx
push eax
call dword [sym.imp.GDI32.dll_EnumFontsW]
cmp dword [0x48b0e4], 0
jne 0x407326
push dword [edi + 0x434]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x43451c
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xa
call esi
mov dword [edi + 0x434], eax
lea eax, [edi + 0x147c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi]
call ebx
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 0x41c]
mov dword [edi + 0x420], eax
push dword [edi + 0x418]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [edi + 0x420]
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push dword [edi + 0x420]
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
call edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x278]
push dword [ecx + 0x41c]
mov dword [ecx + 0x424], eax
push dword [ecx + 0x418]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x278]
mov esi, eax
push esi
push dword [ecx + 0x424]
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x278]
push 1
push dword [esi + 0x424]
call edi
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2a0]
push ecx
push eax
sub esp, 8
push ecx
push eax
push 0
push 0
push dword [esi + 0x424]
lea ecx, [ebp - 0x2ac]
call fcn.00406460
push ebx
mov ebx, esi
push dword [ebx]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 0x128], 0xf5
lea edi, [ebx + 0x450]
mov dword [ebp - 0x124], 0xf0
xor esi, esi
mov dword [ebp - 0x120], 0x19f
mov dword [ebp - 0x11c], 0xaf
mov dword [ebp - 0x118], 0x104
mov dword [ebp - 0x114], 0x104
mov dword [ebp - 0x134], 0xad
mov dword [ebp - 0x130], 0x97
mov dword [ebp - 0x12c], 0x96
mov dword [ebp - 0x140], 0x31
mov dword [ebp - 0x13c], 0x28
mov dword [ebp - 0x138], 0x28
sub esp, 8
lea eax, [esi + 2]
mov ecx, edi
push dword [ebp + esi*4 - 0x140]
push dword [ebp + esi*4 - 0x134]
push dword [ebp + esi*4 - 0x11c]
push dword [ebp + esi*4 - 0x128]
push eax
push dword [ebx + 0x424]
call fcn.00401e40
inc esi
add edi, 0x34
cmp esi, 3
jl 0x407484
push 1
push 1
push 0x145
push 0x23f
push 0x1e
push 0x14
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 0xdcdcdc
mov dword [ebx + 0x448], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, dword [sym.imp.USER32.dll_SetRect]
push 0x58
push 0x195
push 0x28
mov dword [ebx + 0x44c], eax
lea eax, [ebx + 0x594]
push 0x23
push eax
call esi
push 0x58
push 0xcd
push 0x48
push 0x69
lea eax, [ebx + 0x5a4]
push eax
call esi
push 0x6e
push 0xcd
push 0x5e
push 0x69
lea eax, [ebx + 0x5b4]
push eax
call esi
push 0x84
push 0xcd
push 0x74
push 0x69
lea eax, [ebx + 0x5c4]
push eax
call esi
push 0x133
push 0x1a9
push 0x113
push 0x2d
lea eax, [ebx + 0x5d4]
push eax
call esi
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x4075ac
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
push eax
movdqu xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x28c], 0xffffffff
mov dword [ebp - 0x288], 0xffffffff
mov word [ebp - 0x290], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [ebp - 0x2ac]
mov ecx, 7
call fcn.00401c20
push dword [ebx + 0x424]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x12
push 0x1d6
push dword [ebx + 0x424]
mov dword [ebx + 0x5f4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebx + 0x5f4]
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push 0xc8
push 0x28
push dword [ebx + 0x424]
push 0x12
push 0x1d6
push 0
push 0
push dword [ebx + 0x5f4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp byte [ebp - 0x28f], 0
lea ecx, [ebp - 0x2ac]
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
setne byte [ebp - 0x271]
mov ebx, dword [ebx + 0x5f4]
mov word [ebp - 0x273], 0xff00
mov byte [ebp - 0x274], 0
call fcn.00401520
push dword [ebp - 0x274]
push esi
push edi
push 0
push 0
push dword [ebp - 0x284]
push 0x12
push 0x1d6
push 0
push 0
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea ecx, [ebp - 0x2ac]
call fcn.00401a30
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x4076d7
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
push eax
movdqu xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x28c], 0xffffffff
mov dword [ebp - 0x288], 0xffffffff
mov word [ebp - 0x290], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [ebp - 0x2ac]
mov ecx, 6
call fcn.00401c20
mov ebx, dword [ebp - 0x278]
push dword [ebx + 0x424]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x12
push 0x1d6
push dword [ebx + 0x424]
mov dword [ebx + 0x5f8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebx + 0x5f8]
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push 0xc8
push 0x28
push dword [ebx + 0x424]
push 0x12
push 0x1d6
push 0
push 0
push dword [ebx + 0x5f8]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp byte [ebp - 0x28f], 0
lea ecx, [ebp - 0x2ac]
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
setne byte [ebp - 0x271]
mov ebx, dword [ebx + 0x5f8]
mov word [ebp - 0x273], 0xff00
mov byte [ebp - 0x274], 0
call fcn.00401520
push dword [ebp - 0x274]
push esi
push edi
push 0
push 0
push dword [ebp - 0x284]
push 0x12
push 0x1d6
push 0
push 0
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea ecx, [ebp - 0x2ac]
call fcn.00401a30
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.004164d0
mov ebx, dword [ebp - 0x278]
lea eax, [ebp - 0x110]
add esp, 0xc
push pe_nt_image_headers32
push eax
push dword [ebx + 0x414]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
push 0x5c
push eax
call fcn.00413870
add esp, 8
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x110]
push 0x40
cmovne ecx, esi
push ecx
call fcn.00413720
mov esi, eax
add esp, 8
test esi, esi
je 0x4078ac
sub esp, 8
lea ecx, [ebx + 0x4ec]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 0xb
push dword [ebx + 0x424]
call fcn.00401e40
sub esp, 8
lea ecx, [ebx + 0x520]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 0xb
push dword [ebx + 0x424]
call fcn.00401e40
sub esp, 8
lea ecx, [ebx + 0x554]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 0xb
push dword [ebx + 0x424]
call fcn.00401e40
push esi
mov ecx, ebx
mov byte [ebx + 0x60b], 1
call fcn.00409140
cmp eax, 0xffffffff
jne 0x407af2
mov eax, 0x48b160
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078b4
sub eax, edx
cmp eax, 0xa
jbe 0x40792f
push str.__run
push 0x48b160
call fcn.004133a0
mov esi, eax
add esp, 8
test esi, esi
je 0x40792f
push str.qjwm_setup
push 0x48b160
add esi, 5
call fcn.004133a0
add esp, 8
test eax, eax
je 0x40792f
push 0x40
push 0x48b160
call fcn.00413720
add esp, 8
test eax, eax
je 0x40792f
push 0x5f
push eax
call fcn.00413720
add esp, 8
test eax, eax
je 0x40792f
push str..exe
push 0x48b160
call fcn.004133a0
add esp, 8
test eax, eax
jne 0x407815
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
lea ecx, [ebx + 0x4ec]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 5
push dword [ebx + 0x424]
call fcn.00401e40
sub esp, 8
lea ecx, [ebx + 0x520]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 5
push dword [ebx + 0x424]
call fcn.00401e40
sub esp, 8
lea ecx, [ebx + 0x554]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 5
push dword [ebx + 0x424]
call fcn.00401e40
push 0x188
mov byte [ebx + 0x60b], 0
call fcn.00413312
add esp, 4
mov dword [ebx + 0x634], eax
push 0x188
push 0
push eax
call fcn.004164d0
add esp, 0xc
push 0x434540
push pe_nt_image_headers32
push dword [ebx + 0x634]
call fcn.00412f77
add esp, 0xc
push dword [ebx + 0x634]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebx + 0x634]
mov dword [eax + 0x180], 0x434558
mov edx, dword [ebx + 0x634]
mov ecx, dword [edx + 0x180]
lea esi, [ecx + 1]
jmp 0x407a10
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407a10
sub ecx, esi
mov dword [0x489080], 0
mov dword [edx + 0x184], ecx
mov byte [ebx + 0x60f], 1
mov dword [ebx + 0x590], 0xce5157
mov edi, dword [0x48903c]
push 0x340
call fcn.00413312
mov esi, eax
add esp, 4
test esi, esi
je 0x407a6c
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x407a6e
xor esi, esi
push ecx
push edi
push 0x488834
mov ecx, esi
call fcn.004120c0
mov dword [0x48b208], eax
test eax, eax
je 0x407a90
push esi
call fcn.00412a22
add esp, 4
jmp 0x407aeb
push 8
call fcn.00413312
add esp, 4
mov edi, eax
lea eax, [ebp - 0x270]
mov ecx, esi
push eax
push 0
mov dword [edi], 1
mov dword [edi + 4], esi
call fcn.00412160
mov dword [0x48b208], eax
test eax, eax
jne 0x407aeb
mov esi, dword [ebp - 0x148]
lea eax, [esi + 1]
push eax
call fcn.00413388
push esi
push eax
xor edx, edx
mov dword [ebx + 0x1494], eax
mov ecx, edi
call fcn.00412930
mov eax, dword [ebx + 0x1494]
add esp, 0xc
mov byte [esi + eax], 0
mov ecx, ebx
call fcn.00407cf0
push 0x83
push dword [ebx + 0x414]
call dword [sym.imp.USER32.dll_LoadMenuW]
push str.ATL:Map_
push pe_nt_image_headers32
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebx + 0x408], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 0x40c], eax
test eax, eax
je 0x407b4b
push pe_nt_image_headers32
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebx]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
movzx esi, byte [ebx + 0x60b]
lea ecx, [ebp - 0x2ac]
call fcn.004013a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412a27
mov esp, ebp
pop ebp
ret