Function at 0x103ae70
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd40
mov eax, dword [0x111121c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0xce0], ecx
lea ecx, [ebp - 0xd14]
mov dword [ebp - 0xcd8], esi
mov dword [ebp - 0xd34], edi
mov dword [ebp - 0xd30], edi
mov dword [ebp - 0xd2c], eax
mov dword [ebp - 0xd28], edi
call fcn.01064eaa
lea ecx, [ebp - 0xd34]
call fcn.01064e5f
push eax
lea ecx, [ebp - 0xd14]
call fcn.010650e6
push 0xb
lea eax, [ebp - 0x6c]
push eax
push 0x1002160
lea ecx, [ebp - 0xd14]
mov dword [ebp - 0xcdc], edi
call fcn.0106534b
or ebx, 0xffffffff
cmp eax, ebx
je 0x103af0e
lea eax, [ebp - 0x6c]
push eax
call fcn.01065d85
cmp eax, edi
mov dword [ebp - 0xcdc], eax
jle 0x103b99d
lea eax, [ebp - 0xd14]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.010b8a75
test eax, eax
jne 0x103b99d
mov esi, 0x104
push esi
lea eax, [ebp - 0x4ac]
push eax
push 0x1002138
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b99d
push esi
lea eax, [ebp - 0x8bc]
push eax
push 0x10021a4
lea ecx, [ebp - 0xd14]
mov dword [ebp - 0xcd0], edi
call fcn.0106534b
cmp eax, ebx
je 0x103af8d
push 0x1002374
lea eax, [ebp - 0x8bc]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103af8d
mov dword [ebp - 0xcd0], 1
push esi
lea eax, [ebp - 0x8bc]
push eax
push 0x10021cc
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
mov edi, 0x10021e8
je 0x103afc6
push edi
lea eax, [ebp - 0x8bc]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103afc6
or dword [ebp - 0xcd0], 4
push 0x10022bc
lea eax, [ebp - 0x4ac]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b281
and word [ebp - 0xac4], ax
push esi
lea eax, [ebp - 0xac4]
push eax
push 0x10020c4
lea ecx, [ebp - 0xd14]
call fcn.0106534b
and word [ebp - 0x2a4], 0
push esi
lea eax, [ebp - 0x2a4]
push eax
push 0x10020a0
lea ecx, [ebp - 0xd14]
call fcn.0106534b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x1002870
lea eax, [ebp - 0x2a4]
push eax
call edi
test eax, eax
lea ecx, [ebp - 0xd14]
jne 0x103b1aa
and dword [ebp - 0xcd4], eax
push 0xb
lea eax, [ebp - 0x54]
push eax
push 0x100210c
call fcn.0106534b
cmp eax, ebx
je 0x103b069
lea eax, [ebp - 0x54]
push eax
call fcn.01065d85
mov dword [ebp - 0xcd4], eax
and dword [ebp - 0xce4], 0
push 0xb
lea eax, [ebp - 0x3c]
push eax
push 0x1002268
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b0a3
push 0x1002af4
lea eax, [ebp - 0x3c]
push eax
call edi
test eax, eax
jne 0x103b0a3
mov dword [ebp - 0xce4], 1
push esi
lea eax, [ebp - 0xccc]
push eax
push 0x10020e8
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b99d
push 0x10026a8
lea eax, [ebp - 0xccc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrPBrkW]
test eax, eax
jne 0x103b99d
push 0x1c60
call fcn.0105f04e
test eax, eax
mov ebx, dword [ebp - 0xce0]
pop ecx
je 0x103b115
push dword [ebp - 0xcdc]
mov ecx, ebx
push dword [ebp - 0xcd8]
neg ecx
sbb ecx, ecx
lea edx, [ebx + 0x18]
and ecx, edx
push ecx
mov ecx, eax
call fcn.0106c963
mov esi, eax
jmp 0x103b117
xor esi, esi
test esi, esi
je 0x103b99d
push dword [ebp - 0xcd4]
mov ecx, esi
push 0x1001bc8
call fcn.01035b57
push dword [ebp - 0xce4]
mov ecx, esi
call fcn.0106cb15
push esi
lea ecx, [ebx + 0x70]
call fcn.0105f8c9
test eax, eax
je 0x103b990
lea eax, [ebp - 0xccc]
push eax
lea ecx, [ebp - 0xcd0]
call fcn.01038399
push dword [ebp - 0xcd4]
mov ecx, ebx
push dword [eax]
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.0103a234
cmp dword [ebp - 0xcd0], 0
je 0x103b99d
cmp dword [ebp - 0xcd0], 0x1111298
je 0x103b99d
push dword [ebp - 0xcd0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x103b99d
push esi
lea eax, [ebp - 0x6b4]
push eax
push 0x100207c
call fcn.0106534b
cmp eax, ebx
je 0x103b99d
lea eax, [ebp - 0xac4]
push eax
lea ecx, [ebp - 0xce8]
call fcn.01038399
mov esi, dword [eax]
lea eax, [ebp - 0x6b4]
push eax
lea ecx, [ebp - 0xcec]
call fcn.01038399
mov edi, dword [eax]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0xcd4]
call fcn.01038399
push dword [ebp - 0xcd0]
mov ecx, dword [ebp - 0xce0]
push esi
push edi
push dword [eax]
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.0103a065
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
cmp dword [ebp - 0xcd4], ebx
mov esi, 0x1111298
je 0x103b244
cmp dword [ebp - 0xcd4], esi
je 0x103b244
push dword [ebp - 0xcd4]
call edi
cmp dword [ebp - 0xcec], ebx
je 0x103b25c
cmp dword [ebp - 0xcec], esi
je 0x103b25c
push dword [ebp - 0xcec]
call edi
cmp dword [ebp - 0xce8], ebx
je 0x103b99d
cmp dword [ebp - 0xce8], esi
je 0x103b99d
push dword [ebp - 0xce8]
call edi
jmp 0x103b99d
push 0x10022cc
lea eax, [ebp - 0x4ac]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b84d
push esi
lea eax, [ebp - 0x2a4]
push eax
push edi
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b2bb
or dword [ebp - 0xcd0], 8
jmp 0x103b2c3
and word [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0xce0]
push 0
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.01036928
mov edi, eax
test edi, edi
mov dword [ebp - 0xcf4], edi
je 0x103b7fd
test byte [ebp - 0xcd0], 8
je 0x103b523
push 0xb
lea eax, [ebp - 0x1c]
push eax
push 0x1002284
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b99d
push 0xb
lea eax, [ebp - 0x3c]
push eax
push 0x100222c
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b99d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
push 0xb
lea eax, [ebp - 0x54]
push eax
push 0x100229c
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b389
push 0x1002374
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x103b389
push 1
mov ecx, edi
call fcn.0106cb15
push dword [ebp - 0xcdc]
mov ecx, dword [ebp - 0xce0]
push dword [ebp - 0xcd8]
call fcn.0103a2c5
lea eax, [ebp - 0x3c]
push eax
call fcn.01065d85
mov edi, eax
push 0xb
lea eax, [ebp - 0x84]
push eax
push 0x1002238
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, 0xffffffff
mov ebx, 0x3141
je 0x103b3c7
lea eax, [ebp - 0x84]
push eax
call fcn.01065d85
mov edi, eax
xor edi, ebx
push esi
lea eax, [ebp - 0x6b4]
push eax
push 0x1002200
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, 0xffffffff
je 0x103b4e9
xor eax, eax
lea edx, [ebp - 0xcd4]
mov dword [ebp - 0xcd0], eax
mov dword [ebp - 0xcd4], eax
mov dword [ebp - 0xce4], eax
mov eax, dword [ebp - 0xcd8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x103b468
mov eax, dword [ebp - 0xcd4]
mov ecx, dword [eax]
lea edx, [ebp - 0xcd0]
push edx
push 0x1009f78
push eax
call dword [ecx]
mov dword [ebp - 0xcdc], eax
mov eax, dword [ebp - 0xcd4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xcdc], 0
jl 0x103b468
mov eax, dword [ebp - 0xcd0]
test eax, eax
je 0x103b468
mov ecx, dword [eax]
lea edx, [ebp - 0xce4]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xcd0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0xd20]
call fcn.010644d9
mov ecx, eax
call fcn.010645a9
push eax
call sub.WSOCK32.dll_inet_addr
lea ecx, [ebp - 0xd20]
mov dword [ebp - 0xcdc], eax
call fcn.01064519
mov eax, dword [ebp - 0xcdc]
cmp eax, dword [ebp - 0xce4]
jne 0x103b4e9
push esi
lea eax, [ebp - 0x6b4]
push eax
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0xb
lea eax, [ebp - 0x9c]
push eax
push 0x1002248
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, 0xffffffff
je 0x103b4e9
lea eax, [ebp - 0x9c]
push eax
call fcn.01065d85
mov edi, eax
xor edi, ebx
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0xd20]
call fcn.010644d9
mov ecx, eax
call fcn.010645a9
mov ecx, dword [ebp - 0xcf4]
push eax
call fcn.0106cbc0
lea ecx, [ebp - 0xd20]
call fcn.01064519
jmp 0x103b99d
push 0
mov ecx, edi
call fcn.0106cb15
lea eax, [ebp - 0xd38]
push eax
lea eax, [ebp - 0xd3c]
push eax
lea eax, [ebp - 0xd24]
push eax
mov ecx, edi
call fcn.0106caaa
test eax, eax
jl 0x103b99d
test byte [ebp - 0xd24], 4
jne 0x103b99d
xor ebx, ebx
cmp dword [edi + 0x1930], ebx
je 0x103b56c
mov ebx, 0x80004005
and dword [ebp - 0xcd4], 0
test ebx, ebx
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
jl 0x103b5bf
push dword [ebp - 0xcdc]
mov ecx, dword [ebp - 0xce0]
push dword [ebp - 0xcd8]
call fcn.0103a2c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x1002af8
lea eax, [ebp - 0x54]
push 0xb
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0xcd4]
push eax
push dword [ebp - 0xcd8]
call fcn.01060b0c
mov ebx, eax
push 1
mov ecx, edi
call fcn.0106e13d
test ebx, ebx
jl 0x103b7b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0xcea]
push eax
push dword [ebp - 0xcd4]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xce6]
push eax
lea eax, [ebp - 0xcf0]
push eax
mov ecx, edi
call fcn.0106cb38
mov eax, dword [ebp - 0xcf0]
test eax, eax
jne 0x103b60d
mov eax, dword [ebp - 0xcd4]
push eax
mov dword [ebp - 0xce4], eax
call sub.WSOCK32.dll_inet_ntoa
lea ecx, [ebp - 0x24]
mov edi, eax
call fcn.01064eaa
push 0xffffffffffffffff
push 0x10022cc
push 0x1002138
lea ecx, [ebp - 0x24]
call fcn.01065249
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push eax
push 0x1002160
lea ecx, [ebp - 0x24]
call fcn.01065249
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0xd20]
call fcn.010644f9
mov ecx, eax
call fcn.01064572
push eax
push 0x10021e8
lea ecx, [ebp - 0x24]
call fcn.01065249
lea ecx, [ebp - 0xd20]
call fcn.01064519
mov eax, dword [ebp - 0xcd4]
cmp dword [ebp - 0xce4], eax
mov ebx, 0x3141
mov edi, 0x1002b00
je 0x103b6f7
push eax
call sub.WSOCK32.dll_inet_ntoa
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xd20]
call fcn.010644f9
mov ecx, eax
call fcn.01064572
push eax
push 0x1002200
lea ecx, [ebp - 0x24]
call fcn.01065249
lea ecx, [ebp - 0xd20]
call fcn.01064519
movzx eax, word [ebp - 0xcea]
xor eax, ebx
push eax
push edi
lea eax, [ebp - 0x9c]
push 0xb
push eax
call esi
lea eax, [ebp - 0x9c]
add esp, 0x10
test eax, eax
je 0x103b6f7
push 0xffffffffffffffff
push eax
push 0x1002248
lea ecx, [ebp - 0x24]
call fcn.01065249
movzx eax, word [ebp - 0xce6]
push eax
push edi
lea eax, [ebp - 0x84]
push 0xb
push eax
call esi
movzx eax, word [ebp - 0xce6]
xor eax, ebx
push eax
push edi
lea eax, [ebp - 0x3c]
push 0xb
push eax
call esi
add esp, 0x20
cmp word [ebp - 0x84], 0
je 0x103b741
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
push 0x100222c
lea ecx, [ebp - 0x24]
call fcn.01065249
xor esi, esi
cmp word [ebp - 0x3c], si
je 0x103b75c
push 0xffffffffffffffff
lea eax, [ebp - 0x3c]
push eax
push 0x1002238
lea ecx, [ebp - 0x24]
call fcn.01065249
cmp word [ebp - 0x6c], si
je 0x103b775
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
push 0x1002284
lea ecx, [ebp - 0x24]
call fcn.01065249
mov ecx, dword [ebp - 0xce0]
lea eax, [ebp - 0xd40]
push eax
push esi
push dword [ebp - 0xcd0]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xcd8]
call fcn.010392d4
lea ecx, [ebp - 0x24]
mov ebx, eax
call fcn.01065203
cmp ebx, esi
jge 0x103b99d
mov edi, dword [ebp - 0xcf4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov ecx, dword [ebp - 0xce0]
push ebx
push 0x44
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.0103a3b0
mov ecx, dword [ebp - 0xce0]
push 1
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.01036928
test eax, eax
je 0x103b99d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x103b99d
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0xcf0]
call fcn.01038399
mov esi, dword [ebp - 0xcf0]
test esi, esi
je 0x103b99d
push dword [ebp - 0xcd0]
mov ecx, dword [ebp - 0xce0]
push esi
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.0103a12b
cmp esi, 0x1111298
je 0x103b99d
push esi
jmp 0x103b19f
push 0x10022dc
lea eax, [ebp - 0x4ac]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b99d
push esi
lea eax, [ebp - 0x2a4]
push eax
push 0x1002188
lea ecx, [ebp - 0xd14]
call fcn.0106534b
cmp eax, ebx
je 0x103b99d
push 0x10022ec
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b8a5
mov ebx, 0x81000308
jmp 0x103b92b
push 0x10022fc
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b8c1
mov ebx, 0x81000309
jmp 0x103b92b
push 0x1002328
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b8dd
mov ebx, 0x81000311
jmp 0x103b92b
push 0x1002360
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b8f9
mov ebx, 0x8100033e
jmp 0x103b92b
push 0x1002338
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065cb2
test eax, eax
jne 0x103b915
mov ebx, 0x81000333
jmp 0x103b92b
push 0x1002354
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065cb2
mov ebx, 0x80004005
mov edi, dword [ebp - 0xcdc]
mov ecx, dword [ebp - 0xce0]
push 0
push edi
push dword [ebp - 0xcd8]
call fcn.01036928
mov ecx, dword [ebp - 0xce0]
push ebx
mov esi, eax
test esi, esi
push edi
push dword [ebp - 0xcd8]
je 0x103b998
call fcn.0103a332
cmp ebx, 0x81000333
jne 0x103b96a
push 0
jmp 0x103b973
cmp ebx, 0x8100033e
jne 0x103b97c
push ebx
mov ecx, esi
call fcn.0106cd9f
jmp 0x103b99d
mov ecx, dword [ebp - 0xce0]
push 1
push edi
push dword [ebp - 0xcd8]
call fcn.01036928
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x103b99d
call fcn.0103a1b9
lea ecx, [ebp - 0xd14]
call fcn.01065203
lea ecx, [ebp - 0xd34]
call fcn.01064bb9
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 8