Function at 0x4b6a38
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp bl, byte [eax + 0x88]
je 0x4b6f7e
test bl, bl
je 0x4b6c4e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x4b6ad7
mov eax, esi
mov edx, dword [0x4795ac]
call fcn.00404cc4
test al, al
je 0x4b6abf
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b4470]
call fcn.004b6070
mov edx, dword [ebp - 4]
mov dword [edx + 0xa4], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b72b4
mov eax, dword [ebp - 4]
call fcn.004b975c
mov eax, dword [ebp - 4]
call fcn.004b695c
test eax, eax
je 0x4b6aed
mov eax, dword [ebp - 4]
call fcn.004b695c
xor edx, edx
call fcn.004801a8
jmp 0x4b6aed
mov ecx, 0x4b6f90
mov dl, 1
mov eax, dword [0x4b5508]
call fcn.0040f558
call fcn.004053ec
jmp 0x4b6aed
mov ecx, 0x4b6fd0
mov dl, 1
mov eax, dword [0x4b5508]
call fcn.0040f558
call fcn.004053ec
cmp dword [0x5dc098], 0
je 0x4b6b13
mov edx, dword [ebp - 4]
mov eax, dword [0x5dc098]
call fcn.0041ebf8
inc eax
jne 0x4b6b13
mov edx, dword [ebp - 4]
mov eax, dword [0x5dc098]
call fcn.0041ea44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x89], 0
jne 0x4b6b6f
mov eax, dword [0x5dc098]
cmp dword [eax + 8], 1
jne 0x4b6b95
cmp word [0x5cf212], 0
jne 0x4b6b53
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
mov edx, dword [eax + 0x100]
mov dword [0x5cf210], edx
mov edx, dword [eax + 0x104]
mov dword [0x5cf214], edx
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x104], edx
mov dword [eax + 0x100], 0x4b9b4c
jmp 0x4b6b95
cmp dword [0x5cf220], 0
jne 0x4b6b95
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
mov eax, dword [0x5d97f8]
push eax
push 0x4b5564
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5cf220], eax
cmp dword [0x5dc098], 0
je 0x4b6bec
mov eax, dword [0x5dc098]
cmp dword [eax + 8], 1
jne 0x4b6bec
cmp word [0x5cf21a], 0
jne 0x4b6bd2
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
mov edx, dword [eax + 0x128]
mov dword [0x5cf218], edx
mov edx, dword [eax + 0x12c]
mov dword [0x5cf21c], edx
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x12c], edx
mov dword [eax + 0x128], 0x4b9974
push ebp
call fcn.004b6a08
pop ecx
test al, al
je 0x4b6c1e
mov eax, dword [ebp - 4]
call fcn.004b695c
mov esi, eax
mov eax, esi
call fcn.0047c444
mov eax, dword [esi + 0x70]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004b8138
mov eax, dword [ebp - 4]
test byte [eax + 0xd4], 1
je 0x4b6d7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004822a0
jmp 0x4b6d7a
mov edx, dword [ebp - 4]
mov eax, dword [0x5dc098]
call fcn.0041ed38
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
mov edx, dword [0x5cf218]
mov dword [eax + 0x128], edx
mov edx, dword [0x5cf21c]
mov dword [eax + 0x12c], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x89], 0
jne 0x4b6cb2
mov eax, dword [0x5dc098]
cmp dword [eax + 8], 0
jne 0x4b6cd8
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
mov edx, dword [0x5cf210]
mov dword [eax + 0x100], edx
mov edx, dword [0x5cf214]
mov dword [eax + 0x104], edx
jmp 0x4b6cd8
cmp dword [0x5dc098], 0
je 0x4b6cc6
mov eax, dword [0x5dc098]
cmp dword [eax + 8], 0
jne 0x4b6cd8
mov eax, dword [0x5cf220]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x5cf220], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
jne 0x4b6d44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00482298
mov eax, dword [ebp - 4]
call fcn.004b9440
push ebp
call fcn.004b6a08
pop ecx
test al, al
je 0x4b6d15
mov eax, dword [ebp - 4]
call fcn.004b695c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x84]
call fcn.00467e58
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b72b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x4b6d3c
call fcn.00404b38
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xa4], edx
mov eax, dword [ebp - 4]
call fcn.004b8238
push ebp
call fcn.004b6a08
pop ecx
test al, al
je 0x4b6d7a
mov eax, dword [ebp - 4]
call fcn.004b695c
mov esi, eax
mov eax, esi
call fcn.0047c44c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, esi
call fcn.00467e58
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], bl
push ebp
call fcn.004b6a08
pop ecx
test al, al
je 0x4b6e56
mov eax, dword [ebp - 4]
call fcn.004b695c
mov esi, eax
mov eax, esi
call fcn.0042af70
mov edi, eax
dec edi
test edi, edi
jl 0x4b6e56
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.0042af44
mov edx, dword [0x462c14]
call fcn.00404cc4
test al, al
je 0x4b6e4e
mov edx, ebx
mov eax, esi
call fcn.0042af44
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004b674c
test al, al
jne 0x4b6e4e
mov edx, ebx
mov eax, esi
call fcn.0042af44
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x88]
call fcn.004b6a00
mov edx, ebx
mov eax, esi
call fcn.0042af44
mov edx, dword [0x4634a8]
call fcn.00404cc4
test al, al
je 0x4b6e4e
mov edx, ebx
mov eax, esi
call fcn.0042af44
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x4b6e3e
push 5
mov eax, dword [ebp - 8]
call fcn.0046fcd8
push eax
call sub.user32.dll_ShowWindow
jmp 0x4b6e4e
push 0
mov eax, dword [ebp - 8]
call fcn.0046fcd8
push eax
call sub.user32.dll_ShowWindow
inc ebx
dec edi
jne 0x4b6db1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x4b6eba
push ebp
call fcn.004b6a08
pop ecx
test al, al
je 0x4b6e88
push 0xfffffffffffffffc
mov eax, dword [ebp - 4]
call fcn.004b695c
call fcn.0046fcd8
push eax
call sub.user32.dll_GetWindowLongA
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
push eax
push 0x4b8384
call fcn.0047b238
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
push eax
push 0xfffffffffffffffc
mov eax, dword [ebp - 4]
call fcn.004b695c
call fcn.0046fcd8
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4b6f09
push ebp
call fcn.004b6a08
pop ecx
test al, al
je 0x4b6eea
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x4b6eea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
push 0xfffffffffffffffc
mov eax, dword [ebp - 4]
call fcn.004b695c
call fcn.0046fcd8
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4b6ef9
call fcn.0047b24c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [0x5d60d4]
mov eax, dword [eax]
xor edx, edx
call fcn.00483ac0
push ebp
call fcn.004b6a08
pop ecx
test al, al
je 0x4b6f32
mov eax, dword [ebp - 4]
call fcn.004b695c
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x4b6f5f
mov eax, dword [ebp - 4]
cmp word [eax + 0x152], 0
je 0x4b6f7e
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x154]
call dword [ebx + 0x150]
jmp 0x4b6f7e
mov eax, dword [ebp - 4]
cmp word [eax + 0x15a], 0
je 0x4b6f7e
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x15c]
call dword [ebx + 0x158]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret