Function at 0x445ff6
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4825c0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
movzx ecx, bx
mov ebx, dword [esp + 0x50]
cmp ebx, 0x10
ja 0x4461fc
je 0x4461bf
lea eax, [ebx - 2]
cmp eax, 4
ja case.0x445fd2.4
jmp dword [eax*4 + 0x446398]
mov eax, 0xffff8300
cmp cx, ax
je 0x445fe8
mov eax, ecx
mov dword [edi + 0x54], eax
mov esi, dword [esp + 0x10]
mov eax, esi
shr eax, 0x10
mov dword [edi + 0x58], eax
jmp 0x445ffa
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x28]
cmp edx, 0xffff8300
je 0x446030
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, edx
mov dword [edi + 0x5c], eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov dword [edi + 0x54], edx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x60], eax
cmp byte [edi + 0x6a], 0
je 0x446070
push 0x66
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x421
push eax
mov dword [edi + 0x74], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
push eax
push dword [edi + 0x74]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jmp 0x446083
push 0
push dword [edi + 0x74]
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi + 0x69], 0
je 0x4460c0
push 0x67
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 5
push eax
mov dword [edi + 0x70], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
push eax
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x4460d3
push 0
push dword [edi + 0x70]
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x38]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
add eax, edx
push 4
sub ecx, eax
push ecx
push dword [esp + 0x48]
mov dword [esp + 0x50], ecx
push edx
push 0
push 0
push 0x65
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x10], 0
je 0x446125
push 5
push dword [edi + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x14], 0
je 0x446358
push 5
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
test bp, bp
je case.0x445fd2.4
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x229
push dword [edi + 0x6c]
call esi
test eax, eax
je 0x446381
push 0
push 0
push 0x222
push eax
call esi
jmp 0x446381
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [esp + 0x10]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x446381
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esp + 0x10]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
cmp ebx, 0x233
ja 0x44634c
je 0x44631f
cmp ebx, 0x4e
je 0x4462b8
cmp ebx, 0x111
jne case.0x445fd2.4
mov edx, dword [edi]
mov ecx, edi
movzx esi, bp
push esi
call dword [edx + 8]
mov eax, dword [edi + 0x6c]
mov ecx, 0xc350
cmp si, cx
jb 0x44626d
mov esi, dword [esp + 0x10]
push esi
push ebp
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefFrameProcW]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
push 0
push 0
push 0x229
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x446358
push esi
push ebp
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x74]
cmp dword [esi], eax
jne 0x446358
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xe6e6e6
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0x18]
push esi
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x10]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
push ebp
mov ecx, edi
call fcn.0043d300
mov esi, dword [esp + 0x10]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
cmp ebx, 0x8000
je 0x446379
mov esi, dword [esp + 0x10]
push esi
push ebp
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc
push ebp
mov ecx, edi
call fcn.004408d0
mov ecx, dword [esp + 0x48]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448686
add esp, 0x3c
ret 0xc