Function at 0x4d3ee4
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x6cf9a6
call fcn.006b9c3c
sub esp, 0xf0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x58]
call fcn.0040fb3d
xor ecx, ecx
inc ecx
push ecx
call fcn.00689e2f
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004f56f5
mov esi, eax
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0xac]
push eax
call fcn.004f5c83
mov byte [ebp - 4], 3
push eax
mov ecx, 0x79031c
call fcn.0041b490
xor eax, eax
inc eax
mov byte [ebp - 4], al
push ebx
push eax
lea ecx, [ebp - 0xac]
call fcn.00411bc8
xor eax, eax
inc eax
push eax
push esi
call fcn.0068a1b1
pop ecx
pop ecx
mov al, byte [0x7a0194]
test al, al
jne 0x4d3f7d
mov ecx, 0x7a29c0
call fcn.004f5234
mov ecx, edi
call fcn.004d24c5
test eax, eax
je 0x4d3fac
mov byte [ebp - 4], bl
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x7a0194], bl
mov byte [0x7a00f2], bl
mov byte [0x7a032f], bl
push edi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x74]
call fcn.004ef124
add esp, 8
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.004ef137
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.005cd610
test al, al
jne 0x4d3fec
call fcn.00425f93
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push eax
mov esi, 0x7a3524
mov ecx, esi
call fcn.00426055
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x1c]
call fcn.00426013
mov ecx, esi
call fcn.005cd100
mov ecx, eax
call fcn.0047da23
mov ecx, esi
call fcn.005cce40
mov dword [ebp - 0x6c], 0xbb8
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x6c]
call fcn.0041cecb
call fcn.0044db7b
mov esi, eax
mov edi, edx
call fcn.0044db7b
mov dword [0x7a0330], eax
mov dword [0x7a0334], edx
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x2c]
call fcn.0041cecb
cmp byte [0x7a0194], 0
jne 0x4d407d
call fcn.0044db7b
sub eax, esi
sbb edx, edi
mov dword [ebp - 0x70], edx
jne 0x4d407d
cmp eax, 0x1388
jb 0x4d4057
mov eax, ebx
mov dword [ebp - 0x24], eax
push 0x1000
lea ecx, [ebp - 0x80]
call fcn.0041b39f
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x40], 0xffffffff
jne 0x4d4178
push 0x2719
lea ecx, [ebp - 0x58]
call fcn.0041cb53
mov esi, ebx
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x40], 0xffffffff
push 1
pop ecx
cmove eax, ecx
test eax, eax
jne 0x4d4444
test esi, esi
jle 0x4d4458
call fcn.0044db7b
mov dword [0x7a0330], eax
mov dword [0x7a0334], edx
xor eax, eax
inc eax
cmp esi, eax
jne 0x4d41f4
mov byte [ebp - 0x15], 0x40
lea eax, [ebp - 0x15]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x84], bl
push dword [ebp - 0x84]
mov eax, ecx
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x64]
call fcn.004b91c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x64]
push 0
pop eax
cmovne eax, dword [ebp - 0x64]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], ecx
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + 0x38]
lea edx, [ebp - 0xbc]
call fcn.0041e8e4
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.00411b0e
jmp 0x4d44ad
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x1c]
push ecx
push 0x4004667f
push dword [eax + 0x40]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
sets dl
lea ecx, [ebp - 0x58]
call fcn.0041556d
cmp dword [ebp - 0x58], 0x19
jne 0x4d41ad
push 0x2736
lea ecx, [ebp - 0x58]
call fcn.0041cb53
mov esi, dword [ebp - 0x1c]
xor eax, eax
cmp byte [ebp - 0x54], al
cmovne esi, eax
test esi, esi
jle 0x4d40bc
mov ecx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
sub ecx, edi
cmovne eax, edi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + 0x38]
call fcn.004ed7ed
mov esi, eax
jmp 0x4d40bf
lea eax, [edi + esi]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 0xac], bl
cmp edi, eax
je 0x4d422c
sub eax, edi
push eax
push edi
lea ecx, [ebp - 0xac]
call fcn.00411ddd
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xac]
push eax
mov esi, 0x790304
mov ecx, esi
call fcn.00411fef
xor eax, eax
mov word [ebp - 0x44], ax
mov dword [ebp - 0x40], 0x66
mov ecx, ebx
push 0x7f
pop edi
mov dword [ebp - 0x88], ecx
xor eax, eax
inc eax
cmp ecx, eax
jae 0x4d427f
push 0x21
pop eax
sub eax, dword [ebp + ecx*4 - 0x40]
imul eax, eax, 0x17
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x44], dl
inc ecx
jmp 0x4d4258
mov byte [ebp - 0x43], bl
lea eax, [ebp - 0x44]
mov dword [ebp - 0x8c], eax
lea edx, [ebp - 0x8c]
mov ecx, esi
call fcn.004b2244
test al, al
je 0x4d442e
xor eax, eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x48], 0x76
mov ecx, ebx
mov dword [ebp - 0x90], ecx
xor eax, eax
inc eax
cmp ecx, eax
jae 0x4d42d6
mov eax, dword [ebp + ecx*4 - 0x48]
sub eax, 0x1c
imul eax, eax, 0xc
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x4c], dl
inc ecx
jmp 0x4d42af
mov byte [ebp - 0x4b], bl
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x4c]
push eax
call fcn.00411aae
mov byte [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push esi
call fcn.00411add
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.0047d53b
add esp, 0x30
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x38]
call fcn.004a502a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.004aa208
mov esi, ebx
mov dword [ebp - 0x94], esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
sub eax, ecx
cdq
push 0x18
pop edi
idiv edi
cmp esi, eax
jae 0x4d43f4
imul edi, esi, 0x18
lea eax, [ecx + edi]
cmp dword [eax + 0x10], 0
jbe 0x4d43eb
push 0x73a9b4
call fcn.006909d0
pop ecx
push eax
push ebx
push 0x73a9b4
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx + edi]
call fcn.00411c7d
test eax, eax
je 0x4d43ee
mov eax, dword [ebp - 0x38]
add eax, edi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
call fcn.00411add
mov byte [ebp - 4], 0xd
push dword [ebp - 0x20]
push ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.004ed996
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3c]
call fcn.005cce40
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + edi + 0x10]
mov edi, dword [ebp - 0x24]
inc edi
add edi, eax
mov dword [ebp - 0x24], edi
xor eax, eax
inc eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], ebx
lea ecx, [ebp - 0xc4]
call fcn.0041cecb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00426013
jmp 0x4d43ee
inc dword [ebp - 0x24]
inc esi
jmp 0x4d4330
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
dec eax
push eax
lea eax, [ebp - 0xfc]
push eax
mov esi, 0x790304
mov ecx, esi
call fcn.004a6530
mov byte [ebp - 4], 0xf
push eax
mov ecx, esi
call fcn.0041b490
mov byte [ebp - 4], 9
push ebx
xor eax, eax
inc eax
push eax
lea ecx, [ebp - 0xfc]
call fcn.00411bc8
mov byte [ebp - 4], 7
push ebx
xor eax, eax
inc eax
push eax
lea ecx, [ebp - 0xac]
call fcn.00411bc8
jmp 0x4d4458
jle 0x4d4458
mov byte [0x7a0194], bl
mov byte [0x7a00f2], bl
mov byte [0x7a032f], bl
call fcn.0044db7b
mov esi, dword [0x7a0330]
sub eax, esi
mov ecx, dword [0x7a0334]
sbb edx, ecx
mov dword [ebp - 0x70], edx
jne 0x4d4479
cmp eax, 0xea60
jbe 0x4d4493
cmp ecx, ebx
ja 0x4d4481
cmp esi, ebx
jbe 0x4d4493
mov byte [0x7a0194], bl
mov byte [0x7a00f2], bl
mov byte [0x7a032f], bl
xor eax, eax
inc eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], ebx
lea ecx, [ebp - 0xcc]
call fcn.0041cecb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.004aa208
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x80]
call fcn.00411b0e
cmp byte [0x7a0194], 0
jne 0x4d407d
mov byte [ebp - 4], bl
test ebx, ebx
je 0x4d3f99
mov ecx, ebx
call fcn.0040f5b8
jmp 0x4d3f99