Function at 0x4dd060
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x434
push esi
mov esi, dword [esp + 0x448]
push esi
call fcn.00508aa0
add esp, 4
test eax, eax
jne 0x4dd083
pop esi
add esp, 0x434
ret
push ebp
mov ebp, dword [esp + 0x444]
test ebp, ebp
push edi
jne 0x4dd0b7
mov al, byte [esi + 0x14bc]
test al, al
je 0x4dd0b7
mov eax, dword [esi + 0x1720]
test eax, eax
je 0x4dd162
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x434
ret
mov eax, dword [esp + 0x444]
test eax, eax
je 0x4dd2b2
cmp byte [eax], 0
je 0x4dd2b2
push 0x40
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4dd15a
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4dd15a
push eax
lea eax, [esp + 0x10]
push 0x432
push eax
call fcn.00425550
lea ecx, [esp + 0x18]
push 0x20
push ecx
call fcn.005d9b20
add esp, 0x14
test eax, eax
je 0x4dd10c
mov byte [eax], 0
mov al, byte [esp + 0xc]
test al, al
je 0x4dd15a
lea edx, [esp + 0xc]
push 0x2e
push edx
call fcn.005da7f0
mov edi, eax
add esp, 8
test edi, edi
je 0x4dd15a
mov al, byte [edi + 1]
inc edi
test al, al
je 0x4dd14e
movzx eax, byte [edi]
push eax
call fcn.005db0a8
add esp, 4
test eax, eax
je 0x4dd14b
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4dd131
jmp 0x4dd14e
mov byte [edi], 0
mov al, byte [esp + 0xc]
test al, al
jne 0x4dd219
test ebp, ebp
jne 0x4dd1f0
mov cl, byte [esi + 0x14bc]
test cl, cl
lea eax, [esi + 0x14bc]
je 0x4dd1aa
mov ecx, dword [esi + 0x1720]
test ecx, ecx
jne 0x4dd2f6
mov ecx, dword [esp + 0x44c]
mov edx, dword [esi]
push 5
push ecx
push eax
push 0x5f4c90
push edx
call fcn.0047fc10
add esp, 0x14
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x434
ret
mov eax, dword [esp + 0x44c]
mov edx, dword [esi + 0x31fc]
mov ecx, dword [esi]
imul edx, edx, 0x132
push eax
push 0
push 0xa
push 0
push ecx
push 0
push 5
push 0
push 0
lea eax, [edx + esi + 0x2e66]
push 0
push eax
call fcn.00582fd0
add esp, 0x2c
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x434
ret
mov eax, dword [esp + 0x44c]
test eax, eax
je 0x4dd204
push esi
call fcn.005984f0
add esp, 4
push esi
call fcn.004d3250
add esp, 4
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x434
ret
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esi + 0x1720], eax
jne 0x4dd258
lea edx, [esp + 0xc]
push edx
lea edi, [esi + 0x14bc]
push 0x132
push edi
mov dword [esi + 0x1720], 0
mov byte [esi + 0x15ee], 0
call fcn.00425550
jmp 0x4dd282
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
lea edx, [esp + 0xc]
push edx
lea edi, [esi + 0x15ee]
push 0x132
push edi
mov dword [esi + 0x1720], eax
call fcn.00425550
mov byte [esi + 0x14bc], 0
push edi
call fcn.0055ad60
mov eax, dword [esp + 0x45c]
mov ecx, dword [esi]
push 5
push eax
push edi
push 0x5f4c90
push ecx
call fcn.0047fc10
add esp, 0x24
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x434
ret
test ebp, ebp
jne 0x4dd2f6
mov edx, dword [esp + 0x44c]
mov ecx, dword [esi + 0x31fc]
mov eax, dword [esi]
imul ecx, ecx, 0x132
push edx
push ebp
push 0xa
push ebp
push eax
push ebp
push 5
push ebp
push ebp
lea edx, [ecx + esi + 0x2e66]
push ebp
push edx
call fcn.00582fd0
add esp, 0x2c
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x434
ret
mov eax, dword [esp + 0x44c]
test eax, eax
je 0x4dd30a
push esi
call fcn.005984f0
add esp, 4
push esi
call fcn.004d3250
add esp, 4
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x434
ret