Function at 0x103add0
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.01064e0a
lea ecx, [ebp - 0xd34]
call fcn.01064dbf
push eax
lea ecx, [ebp - 0xd14]
call fcn.01065046
push 0xb
lea eax, [ebp - 0x6c]
push eax
push 0x1002160
lea ecx, [ebp - 0xd14]
mov dword [ebp - 0xcdc], edi
call fcn.010652ab
or ebx, 0xffffffff
cmp eax, ebx
je 0x103ae6e
lea eax, [ebp - 0x6c]
push eax
call fcn.01065ce5
cmp eax, edi
mov dword [ebp - 0xcdc], eax
jle 0x103b8fd
lea eax, [ebp - 0xd14]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.010b89cc
test eax, eax
jne 0x103b8fd
mov esi, 0x104
push esi
lea eax, [ebp - 0x4ac]
push eax
push 0x1002138
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, ebx
je 0x103b8fd
push esi
lea eax, [ebp - 0x8bc]
push eax
push 0x10021a4
lea ecx, [ebp - 0xd14]
mov dword [ebp - 0xcd0], edi
call fcn.010652ab
cmp eax, ebx
je 0x103aeed
push 0x1002374
lea eax, [ebp - 0x8bc]
push eax
call fcn.01065c12
test eax, eax
jne 0x103aeed
mov dword [ebp - 0xcd0], 1
push esi
lea eax, [ebp - 0x8bc]
push eax
push 0x10021cc
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, ebx
mov edi, 0x10021e8
je 0x103af26
push edi
lea eax, [ebp - 0x8bc]
push eax
call fcn.01065c12
test eax, eax
jne 0x103af26
or dword [ebp - 0xcd0], 4
push 0x10022bc
lea eax, [ebp - 0x4ac]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b1e1
and word [ebp - 0xac4], ax
push esi
lea eax, [ebp - 0xac4]
push eax
push 0x10020c4
lea ecx, [ebp - 0xd14]
call fcn.010652ab
and word [ebp - 0x2a4], 0
push esi
lea eax, [ebp - 0x2a4]
push eax
push 0x10020a0
lea ecx, [ebp - 0xd14]
call fcn.010652ab
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 0x103b10a
and dword [ebp - 0xcd4], eax
push 0xb
lea eax, [ebp - 0x54]
push eax
push 0x100210c
call fcn.010652ab
cmp eax, ebx
je 0x103afc9
lea eax, [ebp - 0x54]
push eax
call fcn.01065ce5
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.010652ab
cmp eax, ebx
je 0x103b003
push 0x1002aec
lea eax, [ebp - 0x3c]
push eax
call edi
test eax, eax
jne 0x103b003
mov dword [ebp - 0xce4], 1
push esi
lea eax, [ebp - 0xccc]
push eax
push 0x10020e8
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, ebx
je 0x103b8fd
push 0x10026a8
lea eax, [ebp - 0xccc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrPBrkW]
test eax, eax
jne 0x103b8fd
push 0x1c60
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
mov ebx, dword [ebp - 0xce0]
pop ecx
je 0x103b075
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.0106c8c3
mov esi, eax
jmp 0x103b077
xor esi, esi
test esi, esi
je 0x103b8fd
push dword [ebp - 0xcd4]
mov ecx, esi
push 0x1001bc8
call fcn.01035ab7
push dword [ebp - 0xce4]
mov ecx, esi
call fcn.0106ca75
push esi
lea ecx, [ebx + 0x70]
call fcn.0105f829
test eax, eax
je 0x103b8f0
lea eax, [ebp - 0xccc]
push eax
lea ecx, [ebp - 0xcd0]
call fcn.010382f9
push dword [ebp - 0xcd4]
mov ecx, ebx
push dword [eax]
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.0103a194
cmp dword [ebp - 0xcd0], 0
je 0x103b8fd
cmp dword [ebp - 0xcd0], 0x1111298
je 0x103b8fd
push dword [ebp - 0xcd0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x103b8fd
push esi
lea eax, [ebp - 0x6b4]
push eax
push 0x100207c
call fcn.010652ab
cmp eax, ebx
je 0x103b8fd
lea eax, [ebp - 0xac4]
push eax
lea ecx, [ebp - 0xce8]
call fcn.010382f9
mov esi, dword [eax]
lea eax, [ebp - 0x6b4]
push eax
lea ecx, [ebp - 0xcec]
call fcn.010382f9
mov edi, dword [eax]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0xcd4]
call fcn.010382f9
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.01039fc5
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
cmp dword [ebp - 0xcd4], ebx
mov esi, 0x1111298
je 0x103b1a4
cmp dword [ebp - 0xcd4], esi
je 0x103b1a4
push dword [ebp - 0xcd4]
call edi
cmp dword [ebp - 0xcec], ebx
je 0x103b1bc
cmp dword [ebp - 0xcec], esi
je 0x103b1bc
push dword [ebp - 0xcec]
call edi
cmp dword [ebp - 0xce8], ebx
je 0x103b8fd
cmp dword [ebp - 0xce8], esi
je 0x103b8fd
push dword [ebp - 0xce8]
call edi
jmp 0x103b8fd
push 0x10022cc
lea eax, [ebp - 0x4ac]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b7ad
push esi
lea eax, [ebp - 0x2a4]
push eax
push edi
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, ebx
je 0x103b21b
or dword [ebp - 0xcd0], 8
jmp 0x103b223
and word [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0xce0]
push 0
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.01036888
mov edi, eax
test edi, edi
mov dword [ebp - 0xcf4], edi
je 0x103b75d
test byte [ebp - 0xcd0], 8
je 0x103b483
push 0xb
lea eax, [ebp - 0x1c]
push eax
push 0x1002284
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, ebx
je 0x103b8fd
push 0xb
lea eax, [ebp - 0x3c]
push eax
push 0x100222c
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, ebx
je 0x103b8fd
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.010652ab
cmp eax, ebx
je 0x103b2e9
push 0x1002374
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x103b2e9
push 1
mov ecx, edi
call fcn.0106ca75
push dword [ebp - 0xcdc]
mov ecx, dword [ebp - 0xce0]
push dword [ebp - 0xcd8]
call fcn.0103a225
lea eax, [ebp - 0x3c]
push eax
call fcn.01065ce5
mov edi, eax
push 0xb
lea eax, [ebp - 0x84]
push eax
push 0x1002238
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, 0xffffffff
mov ebx, 0x3141
je 0x103b327
lea eax, [ebp - 0x84]
push eax
call fcn.01065ce5
mov edi, eax
xor edi, ebx
push esi
lea eax, [ebp - 0x6b4]
push eax
push 0x1002200
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, 0xffffffff
je 0x103b449
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 0x103b3c8
mov eax, dword [ebp - 0xcd4]
mov ecx, dword [eax]
lea edx, [ebp - 0xcd0]
push edx
push 0x1009f68
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 0x103b3c8
mov eax, dword [ebp - 0xcd0]
test eax, eax
je 0x103b3c8
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.01064439
mov ecx, eax
call fcn.01064509
push eax
call sub.WSOCK32.dll_inet_addr
lea ecx, [ebp - 0xd20]
mov dword [ebp - 0xcdc], eax
call fcn.01064479
mov eax, dword [ebp - 0xcdc]
cmp eax, dword [ebp - 0xce4]
jne 0x103b449
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.010652ab
cmp eax, 0xffffffff
je 0x103b449
lea eax, [ebp - 0x9c]
push eax
call fcn.01065ce5
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.01064439
mov ecx, eax
call fcn.01064509
mov ecx, dword [ebp - 0xcf4]
push eax
call fcn.0106cb20
lea ecx, [ebp - 0xd20]
call fcn.01064479
jmp 0x103b8fd
push 0
mov ecx, edi
call fcn.0106ca75
lea eax, [ebp - 0xd38]
push eax
lea eax, [ebp - 0xd3c]
push eax
lea eax, [ebp - 0xd24]
push eax
mov ecx, edi
call fcn.0106ca0a
test eax, eax
jl 0x103b8fd
test byte [ebp - 0xd24], 4
jne 0x103b8fd
xor ebx, ebx
cmp dword [edi + 0x1930], ebx
je 0x103b4cc
mov ebx, 0x80004005
and dword [ebp - 0xcd4], 0
test ebx, ebx
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
jl 0x103b51f
push dword [ebp - 0xcdc]
mov ecx, dword [ebp - 0xce0]
push dword [ebp - 0xcd8]
call fcn.0103a225
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x1002af0
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.01060a6c
mov ebx, eax
push 1
mov ecx, edi
call fcn.0106e09d
test ebx, ebx
jl 0x103b710
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.0106ca98
mov eax, dword [ebp - 0xcf0]
test eax, eax
jne 0x103b56d
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.01064e0a
push 0xffffffffffffffff
push 0x10022cc
push 0x1002138
lea ecx, [ebp - 0x24]
call fcn.010651a9
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push eax
push 0x1002160
lea ecx, [ebp - 0x24]
call fcn.010651a9
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0xd20]
call fcn.01064459
mov ecx, eax
call fcn.010644d2
push eax
push 0x10021e8
lea ecx, [ebp - 0x24]
call fcn.010651a9
lea ecx, [ebp - 0xd20]
call fcn.01064479
mov eax, dword [ebp - 0xcd4]
cmp dword [ebp - 0xce4], eax
mov ebx, 0x3141
mov edi, 0x1002af8
je 0x103b657
push eax
call sub.WSOCK32.dll_inet_ntoa
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xd20]
call fcn.01064459
mov ecx, eax
call fcn.010644d2
push eax
push 0x1002200
lea ecx, [ebp - 0x24]
call fcn.010651a9
lea ecx, [ebp - 0xd20]
call fcn.01064479
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 0x103b657
push 0xffffffffffffffff
push eax
push 0x1002248
lea ecx, [ebp - 0x24]
call fcn.010651a9
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 0x103b6a1
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
push 0x100222c
lea ecx, [ebp - 0x24]
call fcn.010651a9
xor esi, esi
cmp word [ebp - 0x3c], si
je 0x103b6bc
push 0xffffffffffffffff
lea eax, [ebp - 0x3c]
push eax
push 0x1002238
lea ecx, [ebp - 0x24]
call fcn.010651a9
cmp word [ebp - 0x6c], si
je 0x103b6d5
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
push 0x1002284
lea ecx, [ebp - 0x24]
call fcn.010651a9
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.01039234
lea ecx, [ebp - 0x24]
mov ebx, eax
call fcn.01065163
cmp ebx, esi
jge 0x103b8fd
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.0103a310
mov ecx, dword [ebp - 0xce0]
push 1
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.01036888
test eax, eax
je 0x103b8fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x103b8fd
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0xcf0]
call fcn.010382f9
mov esi, dword [ebp - 0xcf0]
test esi, esi
je 0x103b8fd
push dword [ebp - 0xcd0]
mov ecx, dword [ebp - 0xce0]
push esi
push dword [ebp - 0xcdc]
push dword [ebp - 0xcd8]
call fcn.0103a08b
cmp esi, 0x1111298
je 0x103b8fd
push esi
jmp 0x103b0ff
push 0x10022dc
lea eax, [ebp - 0x4ac]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b8fd
push esi
lea eax, [ebp - 0x2a4]
push eax
push 0x1002188
lea ecx, [ebp - 0xd14]
call fcn.010652ab
cmp eax, ebx
je 0x103b8fd
push 0x10022ec
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b805
mov ebx, 0x81000308
jmp 0x103b88b
push 0x10022fc
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b821
mov ebx, 0x81000309
jmp 0x103b88b
push 0x1002328
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b83d
mov ebx, 0x81000311
jmp 0x103b88b
push 0x1002360
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b859
mov ebx, 0x8100033e
jmp 0x103b88b
push 0x1002338
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065c12
test eax, eax
jne 0x103b875
mov ebx, 0x81000333
jmp 0x103b88b
push 0x1002354
lea eax, [ebp - 0x2a4]
push eax
call fcn.01065c12
mov ebx, 0x80004005
mov edi, dword [ebp - 0xcdc]
mov ecx, dword [ebp - 0xce0]
push 0
push edi
push dword [ebp - 0xcd8]
call fcn.01036888
mov ecx, dword [ebp - 0xce0]
push ebx
mov esi, eax
test esi, esi
push edi
push dword [ebp - 0xcd8]
je 0x103b8f8
call fcn.0103a292
cmp ebx, 0x81000333
jne 0x103b8ca
push 0
jmp 0x103b8d3
cmp ebx, 0x8100033e
jne 0x103b8dc
push ebx
mov ecx, esi
call fcn.0106ccff
jmp 0x103b8fd
mov ecx, dword [ebp - 0xce0]
push 1
push edi
push dword [ebp - 0xcd8]
call fcn.01036888
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x103b8fd
call fcn.0103a119
lea ecx, [ebp - 0xd14]
call fcn.01065163
lea ecx, [ebp - 0xd34]
call fcn.01064b19
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105ec09
leave
ret 8