Function at 0x4be550
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x575494]
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.0051c450
push 0x7531
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, eax
test eax, eax
jne 0x4be5c5
mov ecx, 0x54ee24
mov eax, dword [esi + 4]
test eax, eax
je 0x4be5f3
test ecx, ecx
je 0x4be5f3
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4be5ff
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 0x4be5ff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x80ed
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4be632
push eax
call fcn.0051ebab
add esp, 4
lea esi, [ebx + 0x50]
test edi, edi
je 0x4be66f
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4be65b
push 0x3ea
push edi
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp + 8]
jmp 0x4be67f
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 0x4be67f
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 0x4be68b
mov ecx, 0x54ee24
mov eax, dword [ebx + 0x64]
lea esi, [ebx + 0x60]
test eax, eax
je 0x4be6bc
test ecx, ecx
je 0x4be6bc
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4be6c8
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 0x4be6c8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x7576
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
xor esi, esi
cmp eax, esi
je 0x4be706
push eax
call fcn.0051ebab
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 0x4be743
push 0x177e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4be72f
push 0x177e
push edi
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp + 8]
jmp 0x4be753
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 0x4be753
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 0x4be75f
mov ecx, 0x54ee24
mov eax, dword [ebx + 0x88]
lea esi, [ebx + 0x84]
test eax, eax
je 0x4be796
test ecx, ecx
je 0x4be796
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4be7a2
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 0x4be7a2
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
mov eax, edi
lea ecx, [ebx + 0x98]
call fcn.004be140
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0x4be7c4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4be7da
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 0x4be7f1
push eax
call fcn.0051ebab
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