Function at 0x4b4870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c848
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x2c]
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x40], edi
mov dword [esi + 4], edi
mov byte [esi + 0xc], 0
mov eax, dword [ebx + 0xc]
push 1
push eax
mov ecx, esi
call fcn.00511140
push 0x7531
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, eax
test eax, eax
jne 0x4b48e5
mov ecx, 0x538640
mov eax, dword [esi + 4]
test eax, eax
je 0x4b4913
test ecx, ecx
je 0x4b4913
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4b491f
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x4b491f
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x80ed
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b4952
push eax
call fcn.005134a7
add esp, 4
lea esi, [ebx + 0x50]
test edi, edi
je 0x4b498f
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4b497b
push 0x3ea
push edi
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp + 8]
jmp 0x4b499f
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4b499f
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4b49ab
mov ecx, 0x538640
mov eax, dword [ebx + 0x64]
lea esi, [ebx + 0x60]
test eax, eax
je 0x4b49dc
test ecx, ecx
je 0x4b49dc
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4b49e8
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x4b49e8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x7576
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
xor esi, esi
cmp eax, esi
je 0x4b4a26
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
lea esi, [ebx + 0x74]
test edi, edi
je 0x4b4a63
push 0x177e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4b4a4f
push 0x177e
push edi
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp + 8]
jmp 0x4b4a73
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4b4a73
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4b4a7f
mov ecx, 0x538640
mov eax, dword [ebx + 0x88]
lea esi, [ebx + 0x84]
test eax, eax
je 0x4b4ab6
test ecx, ecx
je 0x4b4ab6
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4b4ac2
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x4b4ac2
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
mov eax, edi
lea ecx, [ebx + 0x98]
call fcn.004b4460
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0x4b4ae4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4b4afa
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax + 4]
lea ebx, [ecx + ebx + 0xa8]
mov dword [ebx], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b4b11
push eax
call fcn.005134a7
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc