Function at 0x4211c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
mov eax, dword [0x43b59c]
mov dword [esp], ecx
push esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4211e8
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4213c0
mov eax, dword [0x43b59c]
push ebx
lea esi, [eax + 8]
push ebp
push edi
mov dword [esi], eax
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 [esp + 0x50]
mov edx, dword [0x43b328]
push 0
push 0x412dc0
push ecx
push 0xec
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov eax, dword [0x43b59c]
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 0x42127d
test edi, 0x40000000
je 0x42126f
mov edx, dword [ebp]
push edx
call ebx
jmp 0x42127b
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 0x4212f6
test esi, esi
je 0x4212b1
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x4212af
test eax, 0x20000000
je 0x4212b1
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 0x4212e8
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 0x421323
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x421323
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 0x421381
mov eax, dword [esp + 0x2c]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x421383
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp esi, eax
jl 0x421398
mov eax, dword [esp + 0x30]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x42139a
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 [0x43b59c]
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 [0x43b59c]
push 5
mov ecx, dword [eax + 4]
push ecx
call esi
mov edx, dword [0x43b59c]
pop esi
mov eax, dword [edx + 4]
add esp, 0x34
ret 0x10