Function at 0x10015690
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1003e620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax - 9]
push esi
mov ecx, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x8c], edx
cmp eax, edx
jbe 0x10015b33
mov esi, dword [ebp - 0x8c]
jmp 0x100156e6
mov ebx, dword [ebp - 0x88]
lea eax, [ecx - 0x1d]
cmp eax, 0xc
ja case.0x100156f2.33
jmp dword [eax*4 + 0x10015b48]
push 0
push 0
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0x78
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.10003220
add esp, 0x38
jmp case.0x100156f2.33
mov edx, dword [ebx]
lea eax, [ebp - 0x79]
push eax
lea ecx, [ebp - 0x78]
push ecx
push edi
push 0xb9
mov dword [ebp - 0x78], edx
call fcn.100092f0
add esp, 0x10
mov dword [ebp - 0x78], eax
test eax, eax
je 0x10015768
push str.clencher_un_objet_de_type__0_abstrait
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
jmp 0x10015a76
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov ecx, dword [ebx]
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
push 0xd7
push edi
mov dword [ebp - 0x78], ecx
call fcn.1001a6d0
add esp, 0x10
mov dword [ebp - 0x78], eax
jmp case.0x100156f2.33
mov ecx, dword [edi + 0x14]
push 6
push 1
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x10015ae7
push 4
lea edx, [ebp - 0x94]
push edx
push 4
push 0xffff
push eax
mov dword [ebp - 0x94], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
jmp case.0x100156f2.33
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi]
lea ebx, [edi + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x100158fe
mov eax, dword [edi]
push bind
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x100158ec
push edi
call fcn.100028b0
push eax
push str.get_TotalNonDominatingPhiSources
call fcn.10026fc6
mov ecx, dword [edi + 0x20]
mov edx, dword [edi]
add esp, 0xc
push ebx
push ecx
push edx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x100158da
mov ebx, 0xb0
mov eax, ebx
sub eax, 0xb0
je 0x10015868
sub eax, 0x5a
jne 0x100158c6
mov eax, dword [edi + 4]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x100158c6
push edi
call fcn.100028b0
push eax
push str.for_var_g0_g_d_g_
call fcn.10026fc6
push str.dst_y_3__x__0___value0_
call fcn.10026fc6
mov edx, dword [edi + 4]
push 0x79
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 0x74], edx
call fcn.10022c00
add esp, 0x1c
test eax, eax
je 0x100158b9
push 0x24
lea ecx, [ebp - 0x74]
push ecx
push 0
call fcn.10014c00
push str.__closing_connection_n
call fcn.10026fc6
add esp, 0x10
jmp 0x100158c6
push 0x1003455f
call fcn.10002df0
add esp, 4
add ebx, 0x5a
cmp ebx, 0x164
jb 0x10015842
jmp case.0x100156f2.33
push str.accept__
call fcn.10002df0
add esp, 4
jmp case.0x100156f2.33
push str.listen__
call fcn.10002df0
add esp, 4
jmp case.0x100156f2.33
push str.bind__
call fcn.10002df0
add esp, 4
jmp case.0x100156f2.33
cmp dword [ebp - 0x78], 0
je 0x10015920
push str.ika_W_linggo_ng_MMM
jmp 0x1001574b
cmp byte [ebp - 0x79], 0
jne 0x100159ef
mov ebx, 0xb1
nop
mov eax, ebx
sub eax, 0xaf
je 0x100159cd
dec eax
je 0x10015983
dec eax
jne 0x100159d3
push 0x14
call fcn.100279e1
mov esi, eax
add esp, 4
test esi, esi
jne 0x100159d3
push str.function_ArrayPopFallback__
push 0x1003455f
push eax
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
mov dword [ebp - 0x78], 5
jmp 0x10015a76
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [edx]
mov dword [esi], eax
mov edx, dword [ecx]
mov eax, dword [ebp - 0x88]
mov dword [esi + 4], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x84]
push edx
push esi
push 0x1000a200
push edi
push 0x66
mov dword [ebp - 0x84], ecx
call fcn.1001b9c0
add esp, 0x14
mov dword [ebp - 0x78], eax
jmp 0x100159d3
cmp dword [ebp - 0x78], 0
jne 0x100159e5
dec ebx
cmp ebx, 0xae
ja 0x10015930
jmp 0x10015a79
push str.getPackageContentDigest
jmp 0x1001574b
xor ebx, ebx
cmp ebx, 3
ja case.default.0x100159f6
jmp dword [ebx*4 + 0x10015b7c]
test esi, esi
jne case.default.0x100159f6
push str.Could_not_get_registered_data
jmp 0x1001574b
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x98]
push edx
push 0x6b
push 0
push 0
mov dword [ebp - 0x98], ecx
call fcn.10007f60
add esp, 0x14
mov esi, eax
jmp case.default.0x100159f6
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [esi], ecx
jmp case.default.0x100159f6
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov dword [esi + 4], eax
inc ebx
lea ecx, [ebx + 0x75]
cmp ecx, 0x79
jb 0x100159f1
jmp 0x10015a79
test edi, edi
jne case.0x100156f2.33
push str.zenShowNewTab
push 0x1003455f
push edi
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
mov dword [ebp - 0x78], 3
add esp, 0x18
cmp dword [ebp - 0x78], 0
mov dword [ebp - 0x80], 0x26
je case.0x100156f2.33
push esi
call fcn.100271f9
add esp, 4
jmp case.0x100156f2.33
xor esi, esi
mov dword [ebp - 0x78], esi
jmp case.0x100156f2.33
push 0
push 0xc8
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x84], 1
call fcn.1001ed30
add esp, 0x10
test eax, eax
je 0x10015b1c
mov ecx, dword [ebp - 0x80]
dec ecx
mov dword [ebp - 0x80], ecx
cmp ecx, dword [ebp - 0x8c]
ja 0x100156e0
mov eax, dword [ebp - 0x80]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
push str.socket__
call fcn.10002df0
mov eax, dword [ebp - 0x80]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x78]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
push str.spp_init_failed
call fcn.10026fc6
push str.spp_init
call fcn.10002df0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027670
mov esp, ebp
pop ebp
ret