Function at 0x416790
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x490683
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esi + 4]
push ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x18], eax
xor ebx, ebx
push eax
mov dword [esp + 0x88], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
mov edi, eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
push ebx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
push ebx
push ebx
mov dword [esp + 0x64], eax
push ebx
lea eax, [esp + 0x60]
mov dword [esp + 0x64], edx
push eax
mov ecx, 1
mov edx, 0x20
push edi
mov dword [esp + 0x68], 0x2c
mov word [esp + 0x74], cx
mov word [esp + 0x76], dx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov ecx, esi
call fcn.00415530
mov edx, dword [esi + 0x12c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4168c2
mov eax, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x20]
push ecx
push edi
lea ecx, [esi + 0x128]
call fcn.004198b0
mov eax, dword [esi + 0x54]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x416904
mov ecx, dword [esi + 4]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x20]
push edx
push edi
lea ecx, [esi + 0x50]
call fcn.004198b0
mov ecx, dword [esi + 0x1ac]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x416946
mov edx, dword [esi + 4]
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x40]
push eax
push ecx
mov eax, esp
lea ecx, [esi + 0x1a8]
mov dword [esp + 0x1c], esp
mov dword [eax], edi
call fcn.004131b0
cmp dword [esi + 0x20c], ebx
jne 0x41699c
push 0xc0
call fcn.00439350
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x84], 1
cmp eax, ebx
je 0x41698d
mov ecx, eax
call fcn.00441f40
jmp 0x41698f
xor eax, eax
mov byte [esp + 0x84], bl
mov dword [esi + 0x20c], eax
mov ecx, dword [esi + 0x20c]
mov edx, dword [ecx]
mov eax, dword [esi + 4]
mov edx, dword [edx + 0x10]
push ebx
push eax
call edx
mov ecx, dword [esi + 0x20c]
push 0x19
call fcn.00440020
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x20c]
push 0x404
push eax
call fcn.00440030
mov ecx, dword [esi + 0x20c]
push edi
call fcn.00441d50
mov ecx, dword [esi + 0x20c]
call fcn.00440470
mov ecx, dword [esi + 0x12c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ecx
call edi
mov edx, dword [esi + 0x1ac]
push ebx
push edx
call edi
mov eax, dword [esi + 0x54]
push ebx
push eax
call edi
mov ecx, dword [esi + 4]
push 0x3fe
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call edi
mov edx, dword [esi + 4]
push ebx
push 2
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
mov eax, dword [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret