Function at 0x422e50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4c
push ebx
push edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x38], 0
rep stosd dword es:[edi], eax
push 0x5e4
call fcn.00426d08
add esp, 4
test eax, eax
je 0x422e86
mov ecx, eax
call fcn.00425040
mov ebx, eax
jmp 0x422e88
xor ebx, ebx
push ebp
push esi
lea esi, [ebx + 8]
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x43b354
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x43b388]
push 0x43b354
mov dword [esi + 8], eax
mov dword [0x43b388], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x43b328]
push 0
push 0x412dc0
push 0
push 0xcb
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebx + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
and edi, 0x40000000
je 0x422efb
mov eax, dword [ebx + 4]
push eax
call ebp
jmp 0x422f07
mov ecx, dword [ebx + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, edi
jne 0x422f7e
test esi, esi
je 0x422f39
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x422f37
test eax, 0x20000000
je 0x422f39
xor esi, esi
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test esi, esi
jne 0x422f70
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x422fab
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x422fab
mov ecx, dword [ebx + 4]
push ecx
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x20]
mov edi, eax
push edx
push edi
call ebp
lea eax, [esp + 0x10]
push eax
push esi
call ebp
lea ecx, [esp + 0x10]
push 2
push ecx
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
sub ebp, edx
mov edx, dword [esp + 0x18]
sub edi, esi
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, ebp
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x20]
cmp ecx, eax
jl 0x423008
mov eax, dword [esp + 0x28]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x42300a
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp esi, eax
jl 0x42301f
mov eax, dword [esp + 0x2c]
lea edx, [esi + ebp]
cmp edx, eax
jle 0x423021
sub eax, ebp
mov esi, eax
mov eax, dword [ebx + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x423080
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea edx, [esp + 0x48]
push 0
push edx
call esi
test eax, eax
je 0x423079
lea eax, [esp + 0x40]
push eax
call edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42305a
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebp
test ebx, ebx
je 0x423099
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [esp + 0x40]
pop edi
pop ebx
add esp, 0x4c
ret