Function at 0x40b070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push ebp
push esi
push edi
call fcn.00401950
push 0
push 0x3ff00000
push 0
push 0
mov edi, eax
mov eax, dword [0x6349a8]
push 0x3e8
push 0
push 0x32
push eax
push 0x145
push 0xffffff47
push edi
mov dword [esp + 0x40], edi
call fcn.00401b10
add esp, 0x2c
mov esi, 0x14
push 0
call fcn.0040b920
push 0
push 0x1e
push edi
call fcn.004026c0
add esp, 0x10
call fcn.004454f0
dec esi
jne 0x40b0ba
xor ebx, ebx
mov esi, 0x15e
lea edi, [esp + 0x20]
call fcn.00401950
mov edx, dword [0x6349a8]
push 0
push 0x3ff00000
push 0
mov cl, bl
push 0
push 0x3e8
add cl, 0x30
push 0
push ecx
push edx
push 0x15e
push esi
push eax
mov dword [edi], eax
call fcn.00401b10
add esp, 0x2c
add esi, 0xaa
inc ebx
add edi, 4
cmp esi, 0x2b2
jl 0x40b0e1
mov eax, dword [0x66c0a8]
mov ecx, dword [0x66c0d0]
push 0
push 0x40b2f0
push eax
push 0x85
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
mov eax, dword [0x66c0a8]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x66c0a8]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
sub eax, edx
mov edx, dword [esp + 0x1c]
push 1
push eax
mov eax, dword [esp + 0x20]
sub ecx, ebp
add edx, 0xec
push ecx
add eax, 0x17c
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x3e8
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [esp + 0x24]
push 0
call fcn.0040b920
call fcn.004454f0
push 1
call fcn.004234d0
add esp, 8
test eax, eax
je 0x40b226
call fcn.00423480
mov edi, eax
call fcn.00423490
mov ecx, dword [esp + 0x20]
mov ebx, eax
push ebx
push edi
push ecx
call fcn.00402b00
add esp, 0xc
test eax, eax
jne 0x40b243
push ebx
push edi
push ebp
call fcn.00402b00
add esp, 0xc
test eax, eax
jne 0x40b24f
cmp dword [0x66c0e0], 1
je 0x40b259
mov eax, dword [0x634bc4]
test eax, eax
jne 0x40b262
mov eax, dword [0x634b18]
test eax, eax
jne 0x40b275
jmp 0x40b1dc
mov dword [0x634bc4], 1
jmp 0x40b262
mov dword [0x634b18], 1
mov eax, dword [0x634bc4]
test eax, eax
je 0x40b275
push 0x51
push 0x634b70
push 0x3e8
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
lea esi, [esp + 0x20]
mov edi, 2
mov edx, dword [esi]
push edx
call fcn.00401a90
add esp, 4
add esi, 4
dec edi
jne 0x40b285
push 0
call fcn.0040b920
add esp, 4
mov esi, 0x14
push 0
call fcn.0040b920
mov eax, dword [esp + 0x18]
push 0
push 0x1e
push eax
call fcn.004026c0
add esp, 0x10
call fcn.004454f0
dec esi
jne 0x40b2a5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00401a90
mov ecx, dword [0x634bc4]
add esp, 4
xor eax, eax
test ecx, ecx
pop edi
pop esi
setne al
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret