Function at 0x43c050
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + 8]
lea ecx, [esp + 0x18]
push edi
push ecx
mov dword [esp + 0x18], 0
call fcn.004176c0
mov edx, dword [eax]
mov dword [ebp + 0x128], edx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x12c], ecx
mov edx, dword [eax + 8]
mov dword [ebp + 0x130], edx
mov eax, dword [eax + 0xc]
lea ebx, [ebp + 0x98]
add esp, 4
lea edi, [ebp + 8]
mov dword [ebp + 0x134], eax
mov dword [esp + 0x10], ebx
call fcn.0043b440
mov ebx, eax
test ebx, ebx
jne 0x43c210
mov ecx, dword [esp + 0x30]
push ecx
mov ebx, esi
call fcn.0043bf90
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43c210
cmp dword [ebp + 8], 0x17
jne 0x43c0f6
push 4
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x1b
push 0x29
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, str.__Trying___s_:_d...
jmp 0x43c0fb
mov eax, str.__Trying__s:_d...
mov edx, dword [ebp + 0xec]
push edx
lea ecx, [ebp + 0xbc]
push ecx
push eax
push esi
call fcn.00413420
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, 2
je 0x43c120
cmp eax, 0x17
jne 0x43c12a
mov edi, 1
cmp dword [ebp + 0xc], edi
je 0x43c12e
xor edi, edi
jmp 0x43c142
cmp dword [esi + 0x7a4], 0
je 0x43c142
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
call fcn.0043b270
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.0043b5b0
add esp, 4
test edi, edi
je 0x43c169
cmp dword [esi + 0x7c0], 0
je 0x43c169
mov edx, dword [esp + 0x10]
mov edi, dword [edx]
call fcn.0043b2e0
cmp dword [esi + 0x1cc], 0
je 0x43c1ac
push 1
push esi
call fcn.00414260
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [esi + 0x1d0]
mov eax, dword [esi + 0x1cc]
push 0
push ecx
push edx
call eax
push 0
push esi
mov edi, eax
call fcn.00414260
add esp, 0x1c
cmp edi, 2
jne 0x43c1f0
mov dword [esp + 0x14], 1
mov eax, dword [ebp + 8]
cmp eax, 2
je 0x43c1b9
cmp eax, 0x17
jne 0x43c1fb
lea ecx, [ebp + 0x18]
push ecx
call fcn.00441710
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0xc]
push ecx
push eax
mov edi, esi
call fcn.0043b660
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x43c1fb
cmp ebx, 1
jne 0x43c20c
lea ebx, [eax + 6]
jmp 0x43c210
test edi, edi
je 0x43c1ac
mov ebx, 0x2a
jmp 0x43c210
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 1
push edx
call fcn.004416e0
add esp, 8
test ebx, ebx
je 0x43c28b
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
cmp edi, 0xffffffff
je 0x43c2d9
mov ecx, dword [esp + 0x30]
mov ebp, dword [ecx + 0xc]
test ebp, ebp
je 0x43c270
cmp dword [ebp + 0x30], 0
push edi
push esi
je 0x43c268
call fcn.00413b70
push 1
push esi
call fcn.00414260
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
push edi
push edx
call eax
push 0
push esi
call fcn.00414260
mov ecx, dword [esp + 0x30]
add esp, 0x20
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword [ecx], 0xffffffff
pop ebx
add esp, 0x1c
ret
call fcn.00413b70
add esp, 8
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword [ecx], 0xffffffff
pop ebx
add esp, 0x1c
ret
cmp dword [esp + 0x14], 0
je 0x43c2d9
mov edx, dword [esp + 0x30]
push edx
mov edi, esi
call fcn.0043be60
lea eax, [esp + 0x20]
push eax
call fcn.004176c0
mov ecx, dword [eax]
mov dword [ebp + 0x138], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x13c], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 0x140], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x144], edx
add esp, 8
mov dword [eax + 0x14], 1
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1c
ret