Function at 0x413e30
Capabilities:
Set socket configuration

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
mov eax, dword [esi + 8]
push eax
call fcn.00414850
cmp eax, 0xffffffff
je case.default.0x413e7f
mov ecx, dword [edi + 0x24]
mov edx, dword [esi + 0x10]
mov edi, dword [ecx + eax*4]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0x38]
mov dword [edi + 0x38], edx
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
xor eax, eax
mov al, byte [edi + 4]
dec eax
cmp eax, 5
ja case.default.0x413e7f
jmp dword [eax*4 + 0x414194]
mov cl, byte [esi + 0x48]
mov byte [edi + 0x48], cl
mov dl, byte [esi + 0x5d]
lea ecx, [esi + 0x60]
mov byte [edi + 0x5d], dl
mov al, byte [esi + 0x5e]
push ecx
lea ecx, [edi + 0x60]
mov byte [edi + 0x5e], al
call fcn.004623af
lea edx, [esi + 0x64]
lea ecx, [edi + 0x64]
push edx
call fcn.004623af
lea eax, [esi + 0x68]
lea ecx, [edi + 0x68]
push eax
call fcn.004623af
mov cl, byte [esi + 0x74]
lea edx, [esi + 0x70]
mov byte [edi + 0x74], cl
push edx
lea ecx, [edi + 0x70]
call fcn.004623af
lea eax, [esi + 0x6c]
lea ecx, [edi + 0x6c]
push eax
call fcn.004623af
mov cl, byte [esi + 0x5c]
mov byte [edi + 0x5c], cl
pop edi
pop esi
pop ebp
pop ebx
ret 4
lea ebx, [edi + 0xc0]
lea edx, [esi + 0xc0]
push edx
mov ecx, ebx
call fcn.004623af
lea eax, [esi + 0xc4]
lea ecx, [edi + 0xc4]
push eax
call fcn.004623af
lea ecx, [esi + 0xc8]
push ecx
lea ecx, [edi + 0xc8]
call fcn.004623af
lea edx, [esi + 0xcc]
lea ecx, [edi + 0xcc]
push edx
call fcn.004623af
lea eax, [esi + 0xd0]
lea ecx, [edi + 0xd0]
push eax
call fcn.004623af
lea ecx, [esi + 0xd4]
push ecx
lea ecx, [edi + 0xd4]
call fcn.004623af
lea edx, [esi + 0x48]
lea eax, [edi + 0x48]
push edx
push eax
call fcn.00413df0
lea eax, [esi + 0x70]
lea ecx, [edi + 0x70]
push eax
push ecx
call fcn.00413df0
lea edx, [esi + 0x84]
lea eax, [edi + 0x84]
push edx
push eax
call fcn.00413df0
lea eax, [esi + 0xac]
lea ecx, [edi + 0xac]
push eax
push ecx
call fcn.00413df0
lea edx, [esi + 0x5c]
lea eax, [edi + 0x5c]
push edx
push eax
call fcn.00413df0
add esi, 0x98
lea ecx, [edi + 0x98]
push esi
push ecx
call fcn.00413df0
mov ecx, dword [0x4aa490]
add esp, 0x30
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle case.default.0x413e7f
mov edx, dword [0x4aa48c]
mov esi, dword [edx + eax*4]
cmp byte [esi + 4], 3
jne 0x41403c
mov ecx, dword [esi + 0x24]
xor ebp, ebp
test ecx, ecx
jle 0x41403c
mov eax, dword [esi + 0x20]
mov cx, word [eax + ebp*2]
cmp cx, word [edi + 0xc]
jne 0x414030
mov eax, dword [0x4a956c]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
push ecx
push eax
call fcn.0043f04f
add esp, 8
test eax, eax
lea eax, [edi + 0x84]
jg 0x414013
lea eax, [edi + 0x48]
mov edx, dword [eax + 4]
lea ecx, [esi + 0xb0]
push edx
call fcn.004623af
mov eax, dword [ebx]
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x24]
inc ebp
cmp ebp, eax
jl 0x413fe4
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4aa490]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x413fcc
pop edi
pop esi
pop ebp
pop ebx
ret 4
lea eax, [esi + 0x48]
lea ecx, [edi + 0x48]
push eax
call fcn.004623af
lea ecx, [esi + 0x60]
push ecx
lea ecx, [edi + 0x60]
call fcn.004623af
lea edx, [esi + 0x50]
lea ecx, [edi + 0x50]
push edx
call fcn.004623af
lea eax, [esi + 0x64]
lea ecx, [edi + 0x64]
push eax
call fcn.004623af
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x4c], ecx
mov edx, dword [esi + 0x58]
mov dword [edi + 0x58], edx
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x54], ecx
pop edi
pop esi
pop ebp
pop ebx
ret 4
lea ebx, [edi + 0x48]
lea edx, [esi + 0x48]
push edx
mov ecx, ebx
call fcn.004623af
lea eax, [edi + 0x4c]
push 0x64
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.00461feb
call fcn.00415640
add esp, 0xc
lea ecx, [esi + 0xb0]
push ecx
lea ecx, [edi + 0xb0]
call fcn.004623af
mov edx, dword [esi + 0xb4]
mov dword [edi + 0xb4], edx
pop edi
pop esi
pop ebp
pop ebx
ret 4
lea eax, [esi + 0x48]
lea ecx, [edi + 0x48]
push eax
call fcn.004623af
lea ecx, [esi + 0x4c]
lea edx, [edi + 0x4c]
push ecx
push edx
call fcn.00413df0
add esp, 8
lea eax, [esi + 0x60]
lea ecx, [edi + 0x60]
push eax
call fcn.004623af
lea ecx, [esi + 0x64]
push ecx
lea ecx, [edi + 0x64]
call fcn.004623af
lea edx, [esi + 0x68]
lea ecx, [edi + 0x68]
push edx
call fcn.004623af
mov al, byte [esi + 0x70]
mov byte [edi + 0x70], al
mov ecx, dword [esi + 0x6c]
mov dword [edi + 0x6c], ecx
mov edx, dword [esi + 0x74]
mov dword [edi + 0x74], edx
pop edi
pop esi
pop ebp
pop ebx
ret 4
lea eax, [esi + 0x48]
lea ecx, [edi + 0x48]
push eax
call fcn.004623af
lea ecx, [esi + 0x4c]
push ecx
lea ecx, [edi + 0x4c]
call fcn.004623af
lea edx, [esi + 0x50]
lea ecx, [edi + 0x50]
push edx
call fcn.004623af
lea eax, [esi + 0x54]
lea ecx, [edi + 0x54]
push eax
call fcn.004623af
mov cl, byte [esi + 0x5c]
mov byte [edi + 0x5c], cl
mov edx, dword [esi + 0x58]
mov dword [edi + 0x58], edx
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
pop edi
pop esi
pop ebp
pop ebx
ret 4