Function at 0x4778a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f61cb
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10c], eax
lea eax, [edi + 8]
push eax
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [edi + 4], ecx
mov ecx, edi
jne 0x477907
push 1
call fcn.00477c30
jmp 0x47790c
call fcn.0047a210
mov ecx, dword [edi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x124]
cmp eax, vtable.vncServer.0
jne 0x477b14
mov eax, dword [ecx + 0x88]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x8c]
mov dword [ebp - 0x18], eax
mov esi, dword [edi + 0x1bc]
push str.d:_saasultravncwinvncwinvnc_vncpasswd.h_:_PASSWD_:_ToText_called_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
push 9
call fcn.004dad8d
add esp, 4
mov ebx, eax
mov edx, 1
mov ecx, 0x558aa0
test esi, esi
jne 0x477970
mov ecx, 0x558994
call fcn.0041d6e0
mov edx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0041d930
mov byte [ebx + 8], 0
mov dword [ebp - 0x128], ebx
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x477995
sub ecx, edx
jne 0x477ac2
cmp dword [edi + 0x114], ecx
je 0x477a83
call fcn.00429c30
test al, al
je 0x477a83
mov ecx, dword [edi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x19c]
cmp eax, vtable.vncServer.0
jne 0x477b1f
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x477ac2
lea ecx, [ebp - 0x124]
call fcn.00484360
test eax, eax
jne 0x477a0c
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00436290
xor eax, eax
jmp 0x477af6
mov ecx, 0x518188
lea eax, [ebp - 0x124]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x477a37
test dl, dl
je 0x477a33
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x477a37
add eax, 2
add ecx, 2
test dl, dl
jne 0x477a17
xor eax, eax
jmp 0x477a3c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x477a6d
push 0x30
push 0x567828
mov edx, 0x567610
mov byte [edi], 1
call fcn.00425e00
push str.d:_saasultravncwinvncwinvnc_vncproperties.cpp_:_should_never_get_there_we_dont_want_user_see_the_dialog__n
push 0
push 0x558c50
call fcn.0041c840
add esp, 0x14
mov byte [edi], 0
jmp 0x477ac2
push str.d:_saasultravncwinvncwinvnc_vncproperties.cpp_:_should_never_get_there_we_dont_want_user_see_the_dialog__n
push 0
push 0x558c50
call fcn.0041c840
add esp, 0xc
jmp 0x477ac2
mov ecx, dword [edi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x19c]
cmp eax, vtable.vncServer.0
jne 0x477b26
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x477ac2
push 0x10
push 0x567828
mov edx, 0x567548
call fcn.00425e00
add esp, 8
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x477ad0
sub ecx, edx
push ecx
push 0
push ebx
call fcn.004cddb0
add esp, 0xc
push ebx
call fcn.004dab64
add esp, 4
mov byte [edi], 0
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 - 0x14]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x1c]
push eax
call edx
jmp 0x477937
call edx
jmp 0x4779dc
call edx
jmp 0x477aa2