Function at 0x407951
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.004078ba
mov eax, dword [ebx + 0x40]
cmp dword [eax - 0xc], 0
push 0x1c
pop esi
je 0x40799b
push 0x3ee
push dword [ebx + 4]
call edi
push eax
push 0xc
call fcn.004078ba
mov esi, dword [ebx + 0x3c]
add esi, 0x19
mov eax, dword [ebx + 0x44]
cmp dword [eax - 0xc], 0
je 0x407a01
push 0x3ee
push dword [ebx + 4]
call edi
push eax
push 0xc
call fcn.004078ba
mov eax, dword [ebx + 0x40]
cmp dword [eax - 0xc], 0
push 0x19
pop esi
je 0x4079c8
mov esi, dword [ebx + 0x3c]
add esi, 0x19
push 0x3fc
push dword [ebx + 4]
call edi
test esi, esi
jl 0x4079df
push eax
push esi
call fcn.004078ba
jmp 0x4079e8
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 0x407a14
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 0x407a2a
and dword [esp + 0xc], 0
jmp 0x407a2e
mov dword [esp + 0xc], eax
push 0x419
push dword [ebx + 4]
call edi
cmp dword [esp + 0xc], 0
jl 0x407a4b
push eax
push dword [esp + 0x10]
call fcn.004078ba
jmp 0x407a54
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fd
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407a6b
push eax
push esi
call fcn.004078ba
jmp 0x407a74
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 0x407a8e
push eax
push esi
call fcn.004078ba
jmp 0x407a97
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x421
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407aae
push eax
push esi
call fcn.004078ba
jmp 0x407ab7
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 0x407ad1
push eax
push esi
call fcn.004078ba
jmp 0x407ada
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 0x407b2b
call edi
test esi, esi
jl 0x407afa
push eax
push esi
call fcn.004078ba
jmp 0x407b03
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 0x407b1d
push eax
push ecx
call fcn.004078ba
jmp 0x407b26
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xf
jmp 0x407b49
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 0x407b62
push eax
push esi
call fcn.004078ba
jmp 0x407b6b
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 0x407b85
push eax
push esi
call fcn.004078ba
jmp 0x407b8e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f4
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407ba5
push eax
push esi
call fcn.004078ba
jmp 0x407bae
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x420
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407bc5
push eax
push esi
call fcn.004078ba
jmp 0x407bce
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f9
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407be5
push eax
push esi
call fcn.004078ba
jmp 0x407bee
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 0x407c1c
call edi
test esi, esi
jl 0x407c0e
push eax
push esi
call fcn.004078ba
jmp 0x407c17
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x2f
jmp 0x407c27
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 0x407c3e
push eax
push esi
call fcn.004078ba
jmp 0x407c47
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 0x407c61
push eax
push esi
call fcn.004078ba
jmp 0x407c6a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407c7e
push eax
push esi
call fcn.004078ba
jmp 0x407c87
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