Function at 0x48a3e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x3ec
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x3fc]
mov word [esp + 4], dx
call fcn.004e2760
test eax, eax
jne 0x48a408
pop ebx
add esp, 0x3ec
ret 0xc
mov al, byte [0x5a8a28]
push ebp
push esi
xor ebp, ebp
test al, al
push edi
jne 0x48a43d
push 0x587a6c
call fcn.005731e0
add esp, 4
cmp eax, ebp
je 0x48a45f
cmp byte [eax], 0
je 0x48a45f
mov edx, 0x5a8a28
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48a433
mov edi, dword [esp + 0x400]
cmp edi, 0xffffffff
jne 0x48a5d4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3ec
ret 0xc
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.0041ef30
lea edx, [esp + 0x14]
mov ecx, 0xa8d
call fcn.0041d620
mov esi, dword [0x5ab6c4]
cmp esi, ebp
mov ebx, dword [esp + 0x404]
je 0x48a4d3
lea esp, [esp]
cmp dword [esi + 8], ebx
jne 0x48a4a0
mov ecx, esi
call fcn.004e29b0
test eax, eax
je 0x48a4ac
mov esi, dword [esi + 0x2424]
cmp esi, ebp
jne 0x48a490
jmp 0x48a4d3
lea eax, [esp + 0x14]
lea edi, [esi + 0x444]
push eax
mov edx, 0x3e7
mov ecx, edi
call fcn.0041ee40
mov ecx, esi
call fcn.0054a7d0
mov edx, esi
mov ecx, edi
call fcn.0054a630
push 2
lea ecx, [esp + 0x18]
push 0x586074
push ecx
call fcn.00580a2f
add esp, 0xc
test eax, eax
jne 0x48a50f
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a4f2
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x1a]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00571040
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.00524ec0
mov ecx, dword [0x5a3a48]
cmp ecx, ebp
je 0x48a536
cmp dword [ecx + 0x52c], ebx
je 0x48a574
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x48a524
mov ecx, dword [0x5afc18]
cmp ecx, ebp
je 0x48a552
cmp dword [ecx + 0x340], ebx
je 0x48a585
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x48a540
mov ecx, dword [0x5a8ba4]
cmp ecx, ebp
je 0x48a5ab
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48a599
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48a560
jmp 0x48a5ab
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042cb60
jmp 0x48a5ab
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.00515c80
jmp 0x48a5ab
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00490190
mov eax, dword [0x5a8a20]
cmp eax, ebp
je 0x48a5be
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48a5b4
mov ecx, ebx
call fcn.00488360
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0xc
mov eax, dword [0x5a8b5c]
test eax, eax
mov ebp, dword [sym.imp.WSOCK32.dll_inet_addr]
jne 0x48a8c7
push ebx
call ebp
cmp eax, 0xffffffff
jne 0x48a757
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.0041ef30
lea edx, [esp + 0x14]
mov ecx, 0xa90
call fcn.0041d620
mov esi, dword [0x5ab6c4]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48a665
cmp dword [esi + 8], ebx
jne 0x48a632
mov ecx, esi
call fcn.004e29b0
test eax, eax
je 0x48a63e
mov esi, dword [esi + 0x2424]
cmp esi, ebp
jne 0x48a622
jmp 0x48a665
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.0041ee40
mov ecx, esi
call fcn.0054a7d0
mov edx, esi
mov ecx, edi
call fcn.0054a630
push 2
lea edx, [esp + 0x18]
push 0x586074
push edx
call fcn.00580a2f
add esp, 0xc
test eax, eax
jne 0x48a6a1
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a684
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00571040
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.00524ec0
mov ecx, dword [0x5a3a48]
cmp ecx, ebp
je 0x48a6c8
cmp dword [ecx + 0x52c], ebx
je 0x48a704
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x48a6b6
mov ecx, dword [0x5afc18]
cmp ecx, ebp
je 0x48a6e4
cmp dword [ecx + 0x340], ebx
je 0x48a715
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x48a6d2
mov ecx, dword [0x5a8ba4]
cmp ecx, ebp
je 0x48a73b
mov edi, edi
cmp dword [ecx + 0x444], ebx
je 0x48a729
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48a6f0
jmp 0x48a73b
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042cb60
jmp 0x48a73b
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.00515c80
jmp 0x48a73b
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00490190
mov eax, dword [0x5a8a20]
cmp eax, ebp
je 0x48a5be
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48a748
jmp 0x48a5be
cmp edi, 1
jne 0x48a8c7
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.0041ef30
lea edx, [esp + 0x14]
mov ecx, 0xa96
call fcn.0041d620
mov esi, dword [0x5ab6c4]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48a7d3
nop
cmp dword [esi + 8], ebx
jne 0x48a7a0
mov ecx, esi
call fcn.004e29b0
test eax, eax
je 0x48a7ac
mov esi, dword [esi + 0x2424]
cmp esi, ebp
jne 0x48a790
jmp 0x48a7d3
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.0041ee40
mov ecx, esi
call fcn.0054a7d0
mov edx, esi
mov ecx, edi
call fcn.0054a630
push 2
lea edx, [esp + 0x18]
push 0x586074
push edx
call fcn.00580a2f
add esp, 0xc
test eax, eax
jne 0x48a80f
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a7f2
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00571040
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.00524ec0
mov ecx, dword [0x5a3a48]
cmp ecx, ebp
je 0x48a836
cmp dword [ecx + 0x52c], ebx
je 0x48a874
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x48a824
mov ecx, dword [0x5afc18]
cmp ecx, ebp
je 0x48a852
cmp dword [ecx + 0x340], ebx
je 0x48a885
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x48a840
mov ecx, dword [0x5a8ba4]
cmp ecx, ebp
je 0x48a8ab
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48a899
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48a860
jmp 0x48a8ab
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042cb60
jmp 0x48a8ab
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.00515c80
jmp 0x48a8ab
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00490190
mov eax, dword [0x5a8a20]
cmp eax, ebp
je 0x48a5be
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48a8b8
jmp 0x48a5be
cmp dword [0x5a8b5c], 2
jne 0x48aa47
cmp edi, 1
jne 0x48aa47
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.0041ef30
lea edx, [esp + 0x14]
mov ecx, 0xa96
call fcn.0041d620
mov esi, dword [0x5ab6c4]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48a953
lea esp, [esp]
cmp dword [esi + 8], ebx
jne 0x48a920
mov ecx, esi
call fcn.004e29b0
test eax, eax
je 0x48a92c
mov esi, dword [esi + 0x2424]
cmp esi, ebp
jne 0x48a910
jmp 0x48a953
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.0041ee40
mov ecx, esi
call fcn.0054a7d0
mov edx, esi
mov ecx, edi
call fcn.0054a630
push 2
lea edx, [esp + 0x18]
push 0x586074
push edx
call fcn.00580a2f
add esp, 0xc
test eax, eax
jne 0x48a98f
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a972
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00571040
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.00524ec0
mov ecx, dword [0x5a3a48]
cmp ecx, ebp
je 0x48a9b6
cmp dword [ecx + 0x52c], ebx
je 0x48a9f4
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x48a9a4
mov ecx, dword [0x5afc18]
cmp ecx, ebp
je 0x48a9d2
cmp dword [ecx + 0x340], ebx
je 0x48aa05
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x48a9c0
mov ecx, dword [0x5a8ba4]
cmp ecx, ebp
je 0x48aa2b
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48aa19
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48a9e0
jmp 0x48aa2b
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042cb60
jmp 0x48aa2b
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.00515c80
jmp 0x48aa2b
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00490190
mov eax, dword [0x5a8a20]
cmp eax, ebp
je 0x48a5be
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48aa38
jmp 0x48a5be
call fcn.00488210
mov esi, eax
test esi, esi
jne 0x48abc7
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.0041ef30
lea edx, [esp + 0x14]
mov ecx, 0xa91
call fcn.0041d620
mov esi, dword [0x5ab6c4]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48aac8
cmp dword [esi + 8], ebx
jne 0x48aa95
mov ecx, esi
call fcn.004e29b0
test eax, eax
je 0x48aaa1
mov esi, dword [esi + 0x2424]
cmp esi, ebp
jne 0x48aa85
jmp 0x48aac8
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.0041ee40
mov ecx, esi
call fcn.0054a7d0
mov edx, esi
mov ecx, edi
call fcn.0054a630
push 2
lea edx, [esp + 0x18]
push 0x586074
push edx
call fcn.00580a2f
add esp, 0xc
test eax, eax
jne 0x48ab04
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48aae7
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00571040
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.00524ec0
mov ecx, dword [0x5a3a48]
cmp ecx, ebp
je 0x48ab32
lea esp, [esp]
cmp dword [ecx + 0x52c], ebx
je 0x48ab74
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x48ab20
mov ecx, dword [0x5afc18]
cmp ecx, ebp
je 0x48ab52
lea esp, [esp]
cmp dword [ecx + 0x340], ebx
je 0x48ab85
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x48ab40
mov ecx, dword [0x5a8ba4]
cmp ecx, ebp
je 0x48abab
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48ab99
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48ab60
jmp 0x48abab
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042cb60
jmp 0x48abab
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.00515c80
jmp 0x48abab
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00490190
mov eax, dword [0x5a8a20]
cmp eax, ebp
je 0x48a5be
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48abb8
jmp 0x48a5be
mov edx, esi
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48abd0
mov cx, word [esp + 0x10]
mov ebx, dword [esp + 0x404]
mov dword [esi + 0x68], edi
xor edi, edi
mov word [esi + 0x64], cx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], 0xb4
mov edx, dword [0x5a8b5c]
push 0x5a8a28
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], 0xffffffff
call ebp
cmp eax, 0xffffffff
jne 0x48ada7
mov eax, dword [esp + 0x408]
mov ecx, dword [eax]
push 6
push edi
push 0x5a8a28
mov edx, str.firewall
call fcn.00470c10
test eax, eax
jne 0x48a44d
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.0041ef30
lea edx, [esp + 0x14]
mov ecx, 0xa92
call fcn.0041d620
mov esi, dword [0x5ab6c4]
cmp esi, edi
je 0x48acaa
cmp dword [esi + 8], ebx
jne 0x48ac75
mov ecx, esi
call fcn.004e29b0
test eax, eax
je 0x48ac81
mov esi, dword [esi + 0x2424]
cmp esi, edi
jne 0x48ac65
jmp 0x48acaa
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.0041ee40
mov ecx, esi
call fcn.0054a7d0
mov edx, esi
mov ecx, edi
call fcn.0054a630
xor edi, edi
push 2
lea edx, [esp + 0x18]
push 0x586074
push edx
call fcn.00580a2f
add esp, 0xc
test eax, eax
jne 0x48aced
lea eax, [esp + 0x16]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48acd0
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00571040
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.00524ec0
mov ecx, dword [0x5a3a48]
cmp ecx, edi
je 0x48ad14
cmp dword [ecx + 0x52c], ebx
je 0x48ad54
mov ecx, dword [ecx + 0x88c]
cmp ecx, edi
jne 0x48ad02
mov ecx, dword [0x5afc18]
cmp ecx, edi
je 0x48ad32
mov edi, edi
cmp dword [ecx + 0x340], ebx
je 0x48ad65
mov ecx, dword [ecx + 0x3cc]
cmp ecx, edi
jne 0x48ad20
mov ecx, dword [0x5a8ba4]
cmp ecx, edi
je 0x48ad8b
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48ad79
mov ecx, dword [ecx + 0x4bc]
cmp ecx, edi
jne 0x48ad40
jmp 0x48ad8b
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], edi
call fcn.0042cb60
jmp 0x48ad8b
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], edi
call fcn.00515c80
jmp 0x48ad8b
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], edi
call fcn.00490190
mov eax, dword [0x5a8a20]
cmp eax, edi
je 0x48a5be
mov eax, dword [eax + 0x80]
cmp eax, edi
jne 0x48ad98
jmp 0x48a5be
mov edx, esi
mov ecx, 0x5a8a28
call fcn.00488770
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x3ec
ret 0xc