Function at 0x48b900
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50863a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x541074]
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 esi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, 1
jne 0x48bbb0
push dword [esi + 4]
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00423d00
push 0xe98
mov dword [edi], esi
call fcn.004c8893
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00467df0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x448]
mov dword [esi + 0x44c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
cmp eax, method.ui::ProgressBar.virtual_28
jne 0x48b98d
mov eax, dword [ecx + 0x1b0]
jmp 0x48b98f
call eax
push eax
mov ecx, edi
call fcn.0042ae10
mov ecx, dword [esi + 0x44c]
push 1
push 0
push edi
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x44c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1ec]
cmp eax, method.ui::VBox.1.virtual_492
jne 0x48b9c5
mov byte [ecx + 0xe70], 0
jmp 0x48b9c9
push 0
call eax
mov eax, dword [esi + 0x448]
mov ebx, dword [eax + 0xe9c]
test ebx, ebx
je 0x48ba76
cmp dword [ebx + 0x874], 0
jne 0x48ba3d
push 0x60
call fcn.004c8893
mov edx, eax
add esp, 4
mov dword [ebp - 0x2c], edx
lea ecx, [edx + 0x18]
mov dword [edx], vtable.ui::Layer.0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov word [edx + 0x14], 0
call fcn.004b05a0
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
mov byte [edx + 0x16], 1
mov dword [ebx + 0x874], edx
mov eax, dword [esi + 0x448]
mov ecx, dword [eax + 0xe9c]
mov dword [ecx + 0x7f4], 0
call fcn.00456ed0
mov eax, dword [esi + 0x448]
mov ecx, dword [esi + 0x44c]
add ecx, 0xe40
mov edx, dword [eax + 0xe9c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
push dword [esi + 0x44c]
mov ecx, edi
call fcn.00428890
cmp dword [esi + 0x458], 0
jne 0x48bb90
mov eax, dword [esi + 0x448]
mov ecx, dword [eax + 0xe9c]
test ecx, ecx
je 0x48bb90
push str.dropshadow
lea eax, [ebp - 0x28]
push eax
call fcn.0045b200
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x48bb88
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00425230
push 0x30
call fcn.004c8893
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
call fcn.0044a8f0
mov ecx, dword [esi + 0x380]
push dword [esi + 4]
mov dword [esi + 0x458], eax
movss xmm2, dword [ecx + 4]
mov ecx, eax
call fcn.0044aa10
mov eax, dword [esi + 0x458]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48bb1f
and byte [eax + 0xc], 0xf9
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00425810
mov edi, eax
test edi, edi
je 0x48bb88
push dword [edi]
mov ecx, dword [esi + 0x458]
call fcn.0044ba20
push dword [edi + 0x10]
mov ecx, dword [esi + 0x458]
push dword [edi + 0xc]
call fcn.0044baf0
push dword [edi + 4]
mov ecx, dword [esi + 0x458]
call fcn.0044ba70
movzx eax, byte [edi + 0xb]
mov ecx, dword [esi + 0x458]
push eax
call fcn.0044bab0
push dword [edi + 8]
mov ecx, dword [esi + 0x458]
call fcn.0044bb60
mov eax, dword [esi + 0x458]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
lea ecx, [ebp - 0x28]
call fcn.00402ca0
xor eax, eax
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.004c8882
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 0x10
jne 0x48bc6e
mov ecx, dword [esi + 0x448]
mov edi, dword [ecx + 0xe9c]
test edi, edi
je 0x48bbef
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
cmp eax, method.ui::ProgressBar.virtual_28
jne 0x48bbdd
mov eax, dword [ecx + 0x1b0]
jmp 0x48bbdf
call eax
push 1
push dword [esi + 0x448]
mov ecx, edi
push eax
mov eax, dword [edi]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x448]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
cmp eax, method.ui::ProgressBar.virtual_76
jne 0x48bc09
lea edi, [ecx + 0x2d0]
jmp 0x48bc0d
call eax
mov edi, eax
mov ecx, dword [edi]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x448]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esi + 0x448]
push 1
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push dword [ebp + 0x10]
lea ecx, [esi + 0x30]
push edi
push ebx
call fcn.00425a10
test al, al
je 0x48bd72
mov eax, dword [ebp - 0x2c]
jmp 0x48bb92
cmp ebx, 0x202
jne 0x48bd1c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x38]
mov ecx, dword [esi + 0x74]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
push 0xd
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
push 0x42c240
call dword [eax + 0x18c]
test eax, eax
je 0x48bc43
mov edx, dword [eax]
mov ecx, eax
mov edi, str.ScrollBar
call dword [edx + 0xc]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x48bcfb
test cx, cx
je 0x48bcf7
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x48bcfb
add eax, 4
add edi, 4
test cx, cx
jne 0x48bcd5
xor eax, eax
jmp 0x48bd00
sbb eax, eax
or eax, 1
test eax, eax
je 0x48bc43
push 0
push 0
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x48bc43
cmp ebx, 0x100
jne 0x48bd53
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x48bd08
cmp eax, 0x1b
je 0x48bd08
mov ecx, dword [esi + 0x448]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 3
mov word [ebp - 0x44], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1a0]
jmp 0x48bb90
cmp ebx, 8
jne 0x48bc43
mov edi, dword [ebp + 0xc]
cmp dword [esi + 4], edi
je 0x48bc46
call fcn.0048b880
jmp 0x48bc46
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48bb90
push dword [ebp + 0x10]
push edi
push ebx
push dword [esi + 4]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x48bb92