Function at 0x405db0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e5ce
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x406478
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405df0
sub eax, edx
sar eax, 1
je 0x406478
mov eax, dword [0x441dbc]
test eax, eax
jne 0x405e2a
push ecx
mov edx, str.Log_Debug
xor ecx, ecx
call fcn.0040c188
add esp, 4
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [0x441dbc], eax
cmp eax, 2
jne 0x405e41
push 0x438178
push str.Log_Debug
call fcn.0040b248
add esp, 8
push esi
lea ecx, [ebp - 0x98]
call fcn.00403240
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.00408e3b
mov ecx, dword [ebp - 0x84]
mov esi, eax
cmp ecx, 8
jb 0x405e79
inc ecx
push ecx
push dword [ebp - 0x98]
call fcn.00402680
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], eax
mov word [ebp - 0xb0], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 4
test esi, esi
je 0x4063b2
push str.width
lea ecx, [ebp - 0x28]
call fcn.00403240
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00405d60
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402610
push str.height
lea ecx, [ebp - 0x28]
call fcn.00403240
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00405d60
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402610
push str.status
lea ecx, [ebp - 0x28]
call fcn.00403240
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00405d10
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402610
push 0x43820c
lea ecx, [ebp - 0x28]
call fcn.00403240
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00405d10
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402610
push 0x438214
lea ecx, [ebp - 0x28]
call fcn.00403240
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00405d10
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402610
push 0x43821c
lea ecx, [ebp - 0x28]
call fcn.00403240
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00405d10
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00402610
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push str.fail
lea ecx, [ebp - 0xb0]
call fcn.00405c40
test eax, eax
jne 0x406067
mov eax, dword [0x441dbc]
test eax, eax
jne 0x406054
push ecx
mov edx, str.Log_Debug
xor ecx, ecx
call fcn.0040c188
add esp, 4
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [0x441dbc], eax
cmp eax, 2
jne 0x4063ee
push 0x438278
jmp 0x4063e1
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0041e204
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov esi, eax
cmovae ecx, dword [ebp - 0x40]
push ecx
call fcn.0041e204
mov ecx, dword [edi + 4]
add esp, 8
test ecx, ecx
je 0x4060a0
lea edx, [ebp - 0x70]
push edx
push eax
push esi
call fcn.00401a40
mov eax, dword [edi]
xorps xmm0, xmm0
mov esi, dword [eax + 0x50]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x100], esi
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
sub eax, edx
mov ecx, dword [ebp - 0x80]
push 0x14
push eax
mov eax, dword [ebp - 0x78]
sub eax, ecx
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0xe8]
xorps xmm0, xmm0
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
movups xmmword [ebp - 0xe8], xmm0
call esi
lea eax, [ebp - 0xf8]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0xf8], xmm0
call esi
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0x108]
push 0x10
push eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xf8]
add eax, dword [ebp - 0x10c]
push eax
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x100]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 8
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x100]
call esi
lea eax, [ebp - 0xf8]
push eax
push edi
call esi
mov ecx, dword [ebp - 0xdc]
sub ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xe8]
push ecx
push eax
push 0
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgn]
push 0
call edi
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xe0]
sub ecx, dword [ebp - 0xe4]
sub edx, dword [ebp - 0xe8]
push ecx
push edx
push 0
push 0
mov dword [ebp - 0xfc], eax
call edi
mov edx, dword [ebp - 0xdc]
sub edx, dword [ebp - 0xe4]
sub edx, dword [ebp - 0xdc]
add edx, dword [ebp - 0xec]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0xe8]
push edx
push eax
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xe4]
push eax
push 0
call edi
mov edx, dword [ebp - 0xdc]
sub edx, dword [ebp - 0xe4]
sub edx, dword [ebp - 0xdc]
add edx, dword [ebp - 0xec]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xe8]
mov ecx, eax
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xe4]
push edx
push ecx
sub ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0xf0]
push eax
push ecx
call edi
mov esi, dword [ebp - 0xdc]
sub esi, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe0]
sub ecx, dword [ebp - 0xe8]
push esi
sub esi, dword [ebp - 0xdc]
add esi, dword [ebp - 0xec]
push ecx
push esi
push 0
mov dword [ebp - 0x104], eax
call edi
mov esi, dword [sym.imp.GDI32.dll_CombineRgn]
mov edi, eax
mov eax, dword [ebp - 0xfc]
push 4
push dword [ebp - 0x114]
push eax
push eax
call esi
mov eax, dword [ebp - 0xfc]
push 4
push dword [ebp - 0x110]
push eax
push eax
call esi
mov eax, dword [ebp - 0xfc]
push 4
push dword [ebp - 0x104]
push eax
push eax
call esi
mov eax, dword [ebp - 0xfc]
push 4
push edi
push eax
push eax
call esi
mov esi, dword [ebp - 0xfc]
push 0
push esi
push dword [ebp - 0x100]
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0x28
push eax
push 1
push dword [ebp - 0x100]
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0xd4], xmm0
movups xmmword [ebp - 0xc4], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xec]
add eax, dword [ebp - 0xe4]
push 0x55
push 0
push 0
push eax
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0xe8]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x100]
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x110]
call esi
push dword [ebp - 0x114]
call esi
push dword [ebp - 0x104]
call esi
push edi
call esi
jmp 0x4063ee
mov eax, dword [0x441dbc]
test eax, eax
jne 0x4063d7
push ecx
mov edx, str.Log_Debug
xor ecx, ecx
call fcn.0040c188
add esp, 4
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [0x441dbc], eax
cmp eax, 2
jne 0x4063ee
push str._POP__ShowPop_json_is_wrong_
push str.Log_Debug
call fcn.0040b248
add esp, 8
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x406400
inc eax
push eax
push dword [ebp - 0x70]
call fcn.00402680
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x406426
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402680
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x40644c
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00402680
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x406478
inc eax
push eax
push dword [ebp - 0xb0]
call fcn.00402680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004171a2
mov esp, ebp
pop ebp
ret 4