Function at 0x407975
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push 0x3ee
push dword [ebx + 4]
call edi
push eax
push 0xf
call fcn.004078de
mov eax, dword [ebx + 0x40]
cmp dword [eax - 0xc], 0
push 0x1c
pop esi
je 0x4079bf
push 0x3ee
push dword [ebx + 4]
call edi
push eax
push 0xc
call fcn.004078de
mov esi, dword [ebx + 0x3c]
add esi, 0x19
mov eax, dword [ebx + 0x44]
cmp dword [eax - 0xc], 0
je 0x407a25
push 0x3ee
push dword [ebx + 4]
call edi
push eax
push 0xc
call fcn.004078de
mov eax, dword [ebx + 0x40]
cmp dword [eax - 0xc], 0
push 0x19
pop esi
je 0x4079ec
mov esi, dword [ebx + 0x3c]
add esi, 0x19
push 0x3fc
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407a03
push eax
push esi
call fcn.004078de
jmp 0x407a0c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x44]
push 0x3fc
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add esi, 0xa
jmp 0x407a38
push 0x3fc
push dword [ebx + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xa
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, 0xfffffff1
jns 0x407a4e
and dword [esp + 0xc], 0
jmp 0x407a52
mov dword [esp + 0xc], eax
push 0x419
push dword [ebx + 4]
call edi
cmp dword [esp + 0xc], 0
jl 0x407a6f
push eax
push dword [esp + 0x10]
call fcn.004078de
jmp 0x407a78
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fd
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407a8f
push eax
push esi
call fcn.004078de
jmp 0x407a98
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fb
push dword [ebx + 4]
add esi, 5
call edi
test esi, esi
jl 0x407ab2
push eax
push esi
call fcn.004078de
jmp 0x407abb
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x421
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407ad2
push eax
push esi
call fcn.004078de
jmp 0x407adb
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41a
push dword [ebx + 4]
add esi, 0x13
call edi
test esi, esi
jl 0x407af5
push eax
push esi
call fcn.004078de
jmp 0x407afe
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xd
cmp dword [ebx + 0x18], 0
push 0x3eb
push dword [ebx + 4]
je 0x407b4f
call edi
test esi, esi
jl 0x407b1e
push eax
push esi
call fcn.004078de
jmp 0x407b27
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ea
push dword [ebx + 4]
call edi
lea ecx, [esi + 2]
test ecx, ecx
jl 0x407b41
push eax
push ecx
call fcn.004078de
jmp 0x407b4a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xf
jmp 0x407b6d
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ea
push dword [ebx + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41d
push dword [ebx + 4]
inc esi
inc esi
call edi
test esi, esi
jl 0x407b86
push eax
push esi
call fcn.004078de
jmp 0x407b8f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f8
push dword [ebx + 4]
add esi, 0x32
call edi
test esi, esi
jl 0x407ba9
push eax
push esi
call fcn.004078de
jmp 0x407bb2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f4
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407bc9
push eax
push esi
call fcn.004078de
jmp 0x407bd2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x420
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407be9
push eax
push esi
call fcn.004078de
jmp 0x407bf2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f9
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407c09
push eax
push esi
call fcn.004078de
jmp 0x407c12
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xf
cmp dword [ebx + 0x10], 0
push 0x3f2
push dword [ebx + 4]
je 0x407c40
call edi
test esi, esi
jl 0x407c32
push eax
push esi
call fcn.004078de
jmp 0x407c3b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x2f
jmp 0x407c4b
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fe
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407c62
push eax
push esi
call fcn.004078de
jmp 0x407c6b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41b
push dword [ebx + 4]
add esi, 5
call edi
test esi, esi
jl 0x407c85
push eax
push esi
call fcn.004078de
jmp 0x407c8e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407ca2
push eax
push esi
call fcn.004078de
jmp 0x407cab
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esp + 0x20], 0
and dword [esp + 0x10], 0
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 4]
add esi, 0x10
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_MapDialogRect]
lea eax, [esp + 0x10]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
push 0x16
sub eax, dword [esp + 0x38]
xor esi, esi
add eax, dword [esp + 0x40]
add eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
push eax
push esi
push esi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret