Function at 0x4079ce
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.00407937
mov eax, dword [ebx + 0x44]
cmp dword [eax - 0xc], 0
push 0x1c
pop esi
je 0x407a18
push 0x3ee
push dword [ebx + 4]
call edi
push eax
push 0xc
call fcn.00407937
mov esi, dword [ebx + 0x40]
add esi, 0x19
mov eax, dword [ebx + 0x48]
cmp dword [eax - 0xc], 0
je 0x407a7e
push 0x3ee
push dword [ebx + 4]
call edi
push eax
push 0xc
call fcn.00407937
mov eax, dword [ebx + 0x44]
cmp dword [eax - 0xc], 0
push 0x19
pop esi
je 0x407a45
mov esi, dword [ebx + 0x40]
add esi, 0x19
push 0x3fc
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407a5c
push eax
push esi
call fcn.00407937
jmp 0x407a65
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x48]
push 0x3fc
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add esi, 0xa
jmp 0x407a91
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 0x407aa7
and dword [esp + 0xc], 0
jmp 0x407aab
mov dword [esp + 0xc], eax
push 0x419
push dword [ebx + 4]
call edi
cmp dword [esp + 0xc], 0
jl 0x407ac8
push eax
push dword [esp + 0x10]
call fcn.00407937
jmp 0x407ad1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fd
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407ae8
push eax
push esi
call fcn.00407937
jmp 0x407af1
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 0x407b0b
push eax
push esi
call fcn.00407937
jmp 0x407b14
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x421
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407b2b
push eax
push esi
call fcn.00407937
jmp 0x407b34
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x13
call fcn.004010c5
mov eax, dword [eax]
cmp dword [eax + 0x5f8], 0
jne 0x407b67
push 0x41a
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407b5e
push eax
push esi
call fcn.00407937
jmp 0x407b67
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 0x407bb8
call edi
test esi, esi
jl 0x407b87
push eax
push esi
call fcn.00407937
jmp 0x407b90
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 0x407baa
push eax
push ecx
call fcn.00407937
jmp 0x407bb3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xf
jmp 0x407bd6
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 0x407bef
push eax
push esi
call fcn.00407937
jmp 0x407bf8
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 0x407c12
push eax
push esi
call fcn.00407937
jmp 0x407c1b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f4
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407c32
push eax
push esi
call fcn.00407937
jmp 0x407c3b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x420
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407c52
push eax
push esi
call fcn.00407937
jmp 0x407c5b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f9
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407c72
push eax
push esi
call fcn.00407937
jmp 0x407c7b
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 0x407ca9
call edi
test esi, esi
jl 0x407c9b
push eax
push esi
call fcn.00407937
jmp 0x407ca4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x2f
jmp 0x407cb4
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 0x407ccb
push eax
push esi
call fcn.00407937
jmp 0x407cd4
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 0x407cee
push eax
push esi
call fcn.00407937
jmp 0x407cf7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [ebx + 4]
call edi
test esi, esi
jl 0x407d0b
push eax
push esi
call fcn.00407937
jmp 0x407d14
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