Function at 0x496120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e428
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f1
push dword [ebx + 4]
call esi
push 0x3f0
mov dword [ebx + 0x50], eax
push dword [ebx + 4]
call esi
push 0x3f1
mov esi, eax
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 4]
call esi
test eax, eax
je 0x4961c9
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 4]
call esi
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
sub edx, esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
push 0
push dword [0x6f8c60]
push 0
push dword [ebx + 4]
push edx
push eax
push esi
push ecx
push 0x5601094e
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x81
push 0
push 0x454
push eax
mov dword [ebx + 0x5c], eax
call edi
push 0x3f0
push 0xfffffffffffffff4
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x68
call fcn.00494e00
add esp, 4
mov dword [ebx + 0x58], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push 5
push 0x413
push dword [ebx + 0x5c]
call edi
push 0
push 0x14
push 0x41e
push dword [ebx + 0x5c]
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 4
push eax
push 0xffffffffffffffff
push 0x443
push dword [ebx + 0x5c]
mov dword [ebp - 0x20], 0x9c4a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 4
push eax
push 0xffffffffffffffff
push 0x443
push dword [ebx + 0x5c]
mov dword [ebp - 0x20], 0x9c4b
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0x104
push eax
push 0xffffffffffffffff
push 0x443
push dword [ebx + 0x5c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call edi
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x20], 0x9c4c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 2
push eax
push 0xffffffffffffffff
push 0x443
push dword [ebx + 0x5c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 4
push eax
push 0xffffffffffffffff
push 0x443
push dword [ebx + 0x5c]
mov dword [ebp - 0x20], 0x9c4d
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0x804
push eax
push 0xffffffffffffffff
push 0x443
push dword [ebx + 0x5c]
mov dword [ebp - 0x20], 0x9c4e
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push dword [ebx + 4]
call esi
push eax
lea ecx, [ebx + 0x60]
call fcn.004a8a70
mov ecx, dword [ebx + 0x260]
lea edx, [ebx + 0xd8]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0x38], eax
mov ecx, dword [ebx + 0xd8]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4963df
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push dword [ebx + 0x260]
push 0
push 0x6653ac
push ecx
call dword [eax + 0x4c]
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebx + 0x60]
call fcn.004a8720
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x3eb
push dword [ebx + 4]
call esi
push 0
push 1
push 0x1002
mov dword [ebx + 0x54], eax
push dword [ebx + 0x64]
call edi
push eax
push 0
push 0x402
push dword [ebx + 0x54]
call edi
push 4
push 4
push 0x40e
push dword [ebx + 0x54]
call edi
push 0x20
push 0x20
push 0x40e
push dword [ebx + 0x54]
call edi
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 4]
call esi
test eax, eax
je 0x496462
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 4]
call esi
push 0
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d3
push 0xfffffffffffffff4
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0x19c]
cmp ecx, esi
je 0x4964b9
mov byte [ebp - 4], 1
test esi, esi
je 0x4964a1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x19c]
mov dword [ebx + 0x19c], esi
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4964b5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0
push dword [ebp - 0x38]
add dword [ebp - 0x28], 2
lea eax, [ebx + 0x60]
mov esi, dword [ebx + 4]
mov dword [ebx + 0x1a0], eax
lea eax, [ebx + 0x104]
push eax
push 0x6eec30
push section..data
push 0x6f8c5c
call fcn.00493950
add esp, 0x14
movzx eax, ax
lea ecx, [ebx + 0xe4]
push 0
push eax
push 0
push 0
push 0x56020000
push 0
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00494460
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
sub eax, edx
mov ecx, dword [ebp - 0x34]
push 0
push eax
mov eax, dword [ebp - 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 4]
push dword [ebx + 0xe8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3eb
push 0xfffffffffffffff4
push dword [ebx + 0xe8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x1002
push dword [ebx + 0x64]
call esi
push eax
push 0
push 0x402
push dword [ebx + 0x21c]
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push dword [ebx + 4]
call esi
push 0x3ea
mov dword [ebx + 0xdc], eax
push dword [ebx + 4]
call esi
push 0x2000000
push 1
lea ecx, [ebx + 0x20]
mov dword [ebx + 0xe0], eax
push 1
call fcn.004946f0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 3
test eax, eax
je 0x4965b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2558
mov esp, ebp
pop ebp
ret 0x10