Function at 0x421f03
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [esi + 0x30]
test eax, eax
je 0x422158
mov eax, dword [esi + 0x34]
test eax, eax
je 0x422158
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
push 0x43c10e
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x43d86c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x421f59
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42212b
mov eax, dword [0x43d86c]
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 ecx, dword [0x43d818]
push 0x43d7e4
mov dword [esi + 8], ecx
mov dword [0x43d818], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x50]
mov eax, dword [0x43d7b8]
push 0
push 0x413e70
push edx
push 0xee
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [0x43d86c]
mov esi, dword [esp + 0x4c]
push 0xfffffffffffffff0
mov edx, dword [ecx + 4]
lea ebp, [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test esi, esi
mov edi, eax
jne 0x421fe8
test edi, 0x40000000
je 0x421fda
mov eax, dword [ebp]
push eax
call ebx
jmp 0x421fe6
mov ecx, dword [ebp]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov eax, dword [ebp]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, 0x40000000
jne 0x422061
test esi, esi
je 0x42201c
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x42201a
test eax, 0x20000000
je 0x42201c
xor esi, esi
lea ecx, [esp + 0x24]
push 0
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test esi, esi
jne 0x422053
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x42208e
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x42208e
mov ecx, dword [ebp]
push ecx
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x24]
mov edi, eax
push edx
push edi
call ebx
lea eax, [esp + 0x14]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push 2
push ecx
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
sub ebx, edx
mov edx, dword [esp + 0x1c]
sub edi, esi
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x18]
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 0x4220eb
mov eax, dword [esp + 0x2c]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x4220ed
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp esi, eax
jl 0x422102
mov eax, dword [esp + 0x30]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x422104
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 [0x43d86c]
pop edi
mov esi, ecx
mov edx, dword [ecx + 4]
pop ebp
mov dword [eax + 0x20], edx
mov ecx, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call esi
mov edx, dword [0x43d86c]
push 5
mov eax, dword [edx + 4]
push eax
call esi
mov ecx, dword [0x43d86c]
pop ebx
pop esi
mov eax, dword [ecx + 4]
add esp, 0x34
ret 0x10
mov eax, dword [esi + 4]
pop esi
add esp, 0x34
ret 0x10