Function at 0x406a20
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429f4b
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.00415320
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], 0x406460
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 [0x489954]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2e0]
push eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], str.DownLoadFrame_7958a
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x1468]
push eax
mov dword [ebp - 0x2b0], eax
call esi
push 0x48982c
call esi
mov ebx, dword [0x4877a0]
push 0x340
call fcn.00412002
mov esi, eax
add esp, 4
test esi, esi
je 0x406b61
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x406b63
xor esi, esi
push ecx
push ebx
push 0x45db74
mov ecx, esi
call fcn.00410db0
mov dword [0x489944], eax
test eax, eax
je 0x406b8b
push esi
call fcn.00411712
add esp, 4
or eax, 0xffffffff
jmp 0x407699
push 8
call fcn.00412002
mov ebx, eax
add esp, 4
mov dword [ebx + 4], esi
xor esi, esi
mov dword [ebx], 1
cmp dword [ebx], 1
jne 0x406c45
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x270]
push eax
push esi
call fcn.00410e50
mov dword [0x489944], eax
test eax, eax
jne 0x406c4f
push 0x104
call fcn.00412078
add esp, 4
mov dword [esi*4 + 0x4891d0], eax
lea ecx, [ebp - 0x26c]
push ecx
push 0x104
push eax
call fcn.00411c67
add esp, 0xc
push dword [ebp - 0x148]
call fcn.00412078
mov dword [esi*4 + 0x4893d0], eax
add esp, 4
cmp dword [ebx], 1
mov eax, dword [ebp - 0x148]
mov dword [esi*4 + 0x4895d0], eax
je 0x406c28
mov dword [0x489944], 0x80000
inc esi
jmp 0x406ba2
push ecx
mov ecx, dword [ebx + 4]
push eax
push dword [esi*4 + 0x4893d0]
push esi
call fcn.00411520
mov dword [0x489944], eax
inc esi
jmp 0x406ba2
mov dword [0x489944], 0x80000
lea ecx, [ebp - 0x2ac]
mov dword [0x4897d0], esi
call fcn.004012f0
lea edx, [ebp - 0x2ac]
mov dword [ebp - 4], 0
xor ecx, ecx
call fcn.00401c20
test eax, eax
jne 0x406c7f
xor esi, esi
jmp 0x40768c
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 0x4334f8
push str.DownLoadFrame_7958a
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4334ec
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 0x433504
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 0x4334ec
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 0x4334ec
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 0x4334ec
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 0x4334ec
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 0x4334ec
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 0x433504
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 0x4069e0
push 0
push 0
mov dword [edi + 0x43c], eax
mov dword [0x489824], 0
call ebx
push eax
call dword [sym.imp.GDI32.dll_EnumFontsW]
cmp dword [0x489824], 0
jne 0x406ec9
push dword [edi + 0x434]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x433504
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 + 0x1468]
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.004061d0
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 0x407027
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 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 0x4071b2
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 0x4072dd
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.00415320
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.00412450
add esp, 8
mov esi, eax
jmp 0x407420
test esi, esi
lea ecx, [ebp - 0x110]
push 0x40
cmovne ecx, esi
push ecx
call fcn.00412300
add esp, 8
test eax, eax
je 0x407452
push eax
mov ecx, ebx
mov byte [ebx + 0x60b], 1
call fcn.00408a60
cmp eax, 0xffffffff
jne 0x40762c
mov eax, 0x489898
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407460
sub eax, edx
cmp eax, 0xa
jbe 0x4074db
push str.__run
push 0x489898
call fcn.00412090
mov esi, eax
add esp, 8
test esi, esi
je 0x4074db
push str.qjwm_setup
push 0x489898
add esi, 5
call fcn.00412090
add esp, 8
test eax, eax
je 0x4074db
push 0x40
push 0x489898
call fcn.00412300
add esp, 8
test eax, eax
je 0x4074db
push 0x5f
push eax
call fcn.00412300
add esp, 8
test eax, eax
je 0x4074db
push str..exe
push 0x489898
call fcn.00412090
add esp, 8
test eax, eax
jne 0x407420
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x108
mov byte [ebx + 0x60b], 0
call fcn.00412002
add esp, 4
mov dword [ebx + 0x620], eax
push 0x108
push 0
push eax
call fcn.00415320
add esp, 0xc
push 0x433528
push pe_nt_image_headers32
push dword [ebx + 0x620]
call fcn.00411c67
add esp, 0xc
push dword [ebx + 0x620]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebx + 0x620]
mov dword [eax + 0x100], 0x433540
mov edx, dword [ebx + 0x620]
mov ecx, dword [edx + 0x100]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407554
sub ecx, esi
mov dword [edx + 0x104], ecx
mov byte [ebx + 0x60f], 1
mov dword [ebx + 0x590], 0xce5157
mov edi, dword [0x4877a4]
push 0x340
call fcn.00412002
mov esi, eax
add esp, 4
test esi, esi
je 0x4075a6
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x4075a8
xor esi, esi
push ecx
push edi
push 0x486f9c
mov ecx, esi
call fcn.00410db0
mov dword [0x489944], eax
test eax, eax
je 0x4075ca
push esi
call fcn.00411712
add esp, 4
jmp 0x407625
push 8
call fcn.00412002
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.00410e50
mov dword [0x489944], eax
test eax, eax
jne 0x407625
mov esi, dword [ebp - 0x148]
lea eax, [esi + 1]
push eax
call fcn.00412078
push esi
push eax
xor edx, edx
mov dword [ebx + 0x1480], eax
mov ecx, edi
call fcn.00411620
mov eax, dword [ebx + 0x1480]
add esp, 0xc
mov byte [esi + eax], 0
mov ecx, ebx
call fcn.00407810
push 0x83
push dword [ebx + 0x414]
call dword [sym.imp.USER32.dll_LoadMenuW]
push str.qjwmwponkeysetupMap_
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 0x407685
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.00411717
mov esp, ebp
pop ebp
ret