Function at 0x422f70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
mov eax, dword [0x43d874]
mov dword [esp], ecx
push esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x422f98
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x423170
mov eax, dword [0x43d874]
push ebx
lea esi, [eax + 8]
push ebp
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x43d7e4
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x43d818]
push 0x43d7e4
mov dword [esi + 8], eax
mov dword [0x43d818], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x50]
mov edx, dword [0x43d7b8]
push 0
push 0x413e70
push ecx
push 0xec
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [0x43d874]
mov esi, dword [esp + 0x4c]
push 0xfffffffffffffff0
mov ecx, dword [eax + 4]
lea ebp, [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test esi, esi
jne 0x42302d
test edi, 0x40000000
je 0x42301f
mov edx, dword [ebp]
push edx
call ebx
jmp 0x42302b
mov eax, dword [ebp]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov edx, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, 0x40000000
jne 0x4230a6
test esi, esi
je 0x423061
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x42305f
test eax, 0x20000000
je 0x423061
xor esi, esi
lea eax, [esp + 0x24]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test esi, esi
jne 0x423098
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x4230d3
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4230d3
mov eax, dword [ebp]
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x24]
mov edi, eax
push ecx
push edi
call ebx
lea edx, [esp + 0x14]
push edx
push esi
call ebx
lea eax, [esp + 0x14]
push 2
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
sub ebx, edx
mov edx, dword [esp + 0x14]
sub edi, esi
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x20]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, ebx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
jl 0x423131
mov eax, dword [esp + 0x2c]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x423133
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp esi, eax
jl 0x423148
mov eax, dword [esp + 0x30]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x42314a
sub eax, ebx
mov esi, eax
mov eax, dword [ebp]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x43d874]
pop edi
pop ebp
mov edx, dword [ecx + 4]
pop ebx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ecx + 4]
push edx
call esi
mov eax, dword [0x43d874]
push 5
mov ecx, dword [eax + 4]
push ecx
call esi
mov edx, dword [0x43d874]
pop esi
mov eax, dword [edx + 4]
add esp, 0x34
ret 0x10