Function at 0x43b2b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x274]
mov edi, dword [esi + 0x26c]
cmp dword [eax + 0x27c], 0
je 0x43b31e
cmp byte [0x58a320], 2
jb 0x43b368
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 4]
push 4
push eax
push 0x1006
push 0xffff
push dword [edi + 8]
mov dword [ebp - 4], 0
call ebx
cmp eax, 0xffffffff
je 0x43b368
push 4
lea eax, [ebp - 4]
push eax
push 0x1005
push 0xffff
push dword [edi + 8]
call ebx
cmp eax, 0xffffffff
je 0x43b368
jmp 0x43b383
cmp byte [0x58a320], 2
jb 0x43b368
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 4]
push 4
push eax
push 0x1006
push 0xffff
push dword [edi + 8]
mov dword [ebp - 4], 0x7530
call ebx
cmp eax, 0xffffffff
je 0x43b368
push 4
lea eax, [ebp - 4]
push eax
push 0x1005
push 0xffff
push dword [edi + 8]
call ebx
cmp eax, 0xffffffff
jne 0x43b383
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.d:_saasultravncwinvncwinvnc_vncclient.cpp_:_failed_to_set_socket_timeout__d__n
push 0
push 0x558c50
call fcn.0041c840
add esp, 0x10
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x43b54e
mov eax, dword [ecx + 0x40c]
test eax, eax
je 0x43b531
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x43b559
mov eax, dword [ecx + 0x40c]
mov edi, dword [esi + 0x26c]
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x10], eax
test ecx, ecx
je 0x43b3e4
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0
test eax, eax
je 0x43b420
cmp dword [eax + 0x2f0], 0
jne 0x43b3fa
cmp dword [eax + 0x2f4], 0
je 0x43b420
mov ecx, dword [eax + 0x2f4]
test ecx, ecx
je 0x43b40b
call ecx
mov dword [edi + 4], eax
jmp 0x43b429
mov dword [edi + 4], 0
mov eax, dword [eax + 0x2f0]
test eax, eax
je 0x43b427
call eax
jmp 0x43b429
mov dword [edi + 4], 0
xor eax, eax
push str.d:_saasultravncwinvncwinvnc_vncclient.cpp_:_DSMPlugin_Pointer_to_socket_OK_n
push 9
push 0x558c50
mov dword [edi + 0x14], eax
call fcn.0041c840
mov ecx, dword [esi + 0x270]
add esp, 0xc
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x43b564
mov eax, dword [ecx + 0x40c]
cmp byte [eax + 0x21], 0
je 0x43b518
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x43b56f
mov eax, dword [ecx + 0x40c]
cmp dword [eax + 0x2f0], 0
jne 0x43b4b7
cmp dword [eax + 0x2f4], 0
jne 0x43b4b7
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x43b57a
mov eax, dword [ecx + 0x134]
test eax, eax
je 0x43b4b7
push str.d:_saasultravncwinvncwinvnc_vncclient.cpp_:_A_connection_using_DSM_already_exist___client_rejected_to_avoid_crash__n
push 1
jmp 0x43b538
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x43b582
mov eax, dword [ecx + 0x134]
test eax, eax
jne 0x43b4f5
mov ecx, dword [esi + 0x270]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x43b58a
mov eax, dword [ecx + 0x40c]
mov eax, dword [eax + 0x2ec]
call eax
mov eax, dword [esi + 0x26c]
pop edi
mov byte [eax + 0x18], 1
mov eax, dword [esi + 0x274]
pop esi
pop ebx
mov dword [eax + 0x23c], 0
mov al, 1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x274]
pop edi
pop esi
pop ebx
mov dword [eax + 0x23c], 1
mov al, 1
mov esp, ebp
pop ebp
ret
push str.d:_saasultravncwinvncwinvnc_vncclient.cpp_:_Invalid_DSMPlugin_Pointer_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [eax + 0x278]
jmp 0x43b39c
call dword [eax + 0x278]
jmp 0x43b3bd
call dword [eax + 0x278]
jmp 0x43b459
call dword [eax + 0x278]
jmp 0x43b47c
call dword [eax + 0x20]
jmp 0x43b4a7
call dword [eax + 0x20]
jmp 0x43b4d0
call dword [eax + 0x278]
jmp 0x43b4ed