Function at 0x48ab30
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.004f0af0
test eax, eax
jne 0x48ab58
pop ebx
add esp, 0x3ec
ret 0xc
mov al, byte [0x5cd2a8]
push ebp
push esi
xor ebp, ebp
test al, al
push edi
jne 0x48ab8d
push 0x5a8324
call fcn.00594af0
add esp, 4
cmp eax, ebp
je 0x48abaf
cmp byte [eax], 0
je 0x48abaf
mov edx, 0x5cd2a8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48ab83
mov edi, dword [esp + 0x400]
cmp edi, 0xffffffff
jne 0x48ad24
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.00420e60
lea edx, [esp + 0x14]
mov ecx, 0xa8d
call fcn.0041f1a0
mov esi, dword [0x5f002c]
cmp esi, ebp
mov ebx, dword [esp + 0x404]
je 0x48ac23
lea esp, [esp]
cmp dword [esi + 8], ebx
jne 0x48abf0
mov ecx, esi
call fcn.004f0d40
test eax, eax
je 0x48abfc
mov esi, dword [esi + 0x2500]
cmp esi, ebp
jne 0x48abe0
jmp 0x48ac23
lea eax, [esp + 0x14]
lea edi, [esi + 0x444]
push eax
mov edx, 0x3e7
mov ecx, edi
call fcn.00420d70
mov ecx, esi
call fcn.005690a0
mov edx, esi
mov ecx, edi
call fcn.00568f00
push 2
lea ecx, [esp + 0x18]
push 0x5a75cc
push ecx
call fcn.005a2a05
add esp, 0xc
test eax, eax
jne 0x48ac5f
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48ac42
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x1a]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00592290
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.005379a0
mov ecx, dword [0x5c81a0]
cmp ecx, ebp
je 0x48ac86
cmp dword [ecx + 0x52c], ebx
je 0x48acc4
mov ecx, dword [ecx + 0x890]
cmp ecx, ebp
jne 0x48ac74
mov ecx, dword [0x5f4f78]
cmp ecx, ebp
je 0x48aca2
cmp dword [ecx + 0x340], ebx
je 0x48acd5
mov ecx, dword [ecx + 0x3d4]
cmp ecx, ebp
jne 0x48ac90
mov ecx, dword [0x5ed44c]
cmp ecx, ebp
je 0x48acfb
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48ace9
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48acb0
jmp 0x48acfb
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042f110
jmp 0x48acfb
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.005273e0
jmp 0x48acfb
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00492700
mov eax, dword [0x5cd2a0]
cmp eax, ebp
je 0x48ad0e
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48ad04
mov ecx, ebx
call fcn.00488ab0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3ec
ret 0xc
mov eax, dword [0x5cd3dc]
test eax, eax
mov ebp, dword [sym.imp.WSOCK32.dll_inet_addr]
jne 0x48b017
push ebx
call ebp
cmp eax, 0xffffffff
jne 0x48aea7
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.00420e60
lea edx, [esp + 0x14]
mov ecx, 0xa90
call fcn.0041f1a0
mov esi, dword [0x5f002c]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48adb5
cmp dword [esi + 8], ebx
jne 0x48ad82
mov ecx, esi
call fcn.004f0d40
test eax, eax
je 0x48ad8e
mov esi, dword [esi + 0x2500]
cmp esi, ebp
jne 0x48ad72
jmp 0x48adb5
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.00420d70
mov ecx, esi
call fcn.005690a0
mov edx, esi
mov ecx, edi
call fcn.00568f00
push 2
lea edx, [esp + 0x18]
push 0x5a75cc
push edx
call fcn.005a2a05
add esp, 0xc
test eax, eax
jne 0x48adf1
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48add4
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00592290
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.005379a0
mov ecx, dword [0x5c81a0]
cmp ecx, ebp
je 0x48ae18
cmp dword [ecx + 0x52c], ebx
je 0x48ae54
mov ecx, dword [ecx + 0x890]
cmp ecx, ebp
jne 0x48ae06
mov ecx, dword [0x5f4f78]
cmp ecx, ebp
je 0x48ae34
cmp dword [ecx + 0x340], ebx
je 0x48ae65
mov ecx, dword [ecx + 0x3d4]
cmp ecx, ebp
jne 0x48ae22
mov ecx, dword [0x5ed44c]
cmp ecx, ebp
je 0x48ae8b
mov edi, edi
cmp dword [ecx + 0x444], ebx
je 0x48ae79
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48ae40
jmp 0x48ae8b
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042f110
jmp 0x48ae8b
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.005273e0
jmp 0x48ae8b
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00492700
mov eax, dword [0x5cd2a0]
cmp eax, ebp
je 0x48ad0e
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48ae98
jmp 0x48ad0e
cmp edi, 1
jne 0x48b017
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.00420e60
lea edx, [esp + 0x14]
mov ecx, 0xa96
call fcn.0041f1a0
mov esi, dword [0x5f002c]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48af23
nop
cmp dword [esi + 8], ebx
jne 0x48aef0
mov ecx, esi
call fcn.004f0d40
test eax, eax
je 0x48aefc
mov esi, dword [esi + 0x2500]
cmp esi, ebp
jne 0x48aee0
jmp 0x48af23
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.00420d70
mov ecx, esi
call fcn.005690a0
mov edx, esi
mov ecx, edi
call fcn.00568f00
push 2
lea edx, [esp + 0x18]
push 0x5a75cc
push edx
call fcn.005a2a05
add esp, 0xc
test eax, eax
jne 0x48af5f
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48af42
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00592290
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.005379a0
mov ecx, dword [0x5c81a0]
cmp ecx, ebp
je 0x48af86
cmp dword [ecx + 0x52c], ebx
je 0x48afc4
mov ecx, dword [ecx + 0x890]
cmp ecx, ebp
jne 0x48af74
mov ecx, dword [0x5f4f78]
cmp ecx, ebp
je 0x48afa2
cmp dword [ecx + 0x340], ebx
je 0x48afd5
mov ecx, dword [ecx + 0x3d4]
cmp ecx, ebp
jne 0x48af90
mov ecx, dword [0x5ed44c]
cmp ecx, ebp
je 0x48affb
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48afe9
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48afb0
jmp 0x48affb
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042f110
jmp 0x48affb
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.005273e0
jmp 0x48affb
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00492700
mov eax, dword [0x5cd2a0]
cmp eax, ebp
je 0x48ad0e
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48b008
jmp 0x48ad0e
cmp dword [0x5cd3dc], 2
jne 0x48b197
cmp edi, 1
jne 0x48b197
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.00420e60
lea edx, [esp + 0x14]
mov ecx, 0xa96
call fcn.0041f1a0
mov esi, dword [0x5f002c]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48b0a3
lea esp, [esp]
cmp dword [esi + 8], ebx
jne 0x48b070
mov ecx, esi
call fcn.004f0d40
test eax, eax
je 0x48b07c
mov esi, dword [esi + 0x2500]
cmp esi, ebp
jne 0x48b060
jmp 0x48b0a3
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.00420d70
mov ecx, esi
call fcn.005690a0
mov edx, esi
mov ecx, edi
call fcn.00568f00
push 2
lea edx, [esp + 0x18]
push 0x5a75cc
push edx
call fcn.005a2a05
add esp, 0xc
test eax, eax
jne 0x48b0df
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48b0c2
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00592290
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.005379a0
mov ecx, dword [0x5c81a0]
cmp ecx, ebp
je 0x48b106
cmp dword [ecx + 0x52c], ebx
je 0x48b144
mov ecx, dword [ecx + 0x890]
cmp ecx, ebp
jne 0x48b0f4
mov ecx, dword [0x5f4f78]
cmp ecx, ebp
je 0x48b122
cmp dword [ecx + 0x340], ebx
je 0x48b155
mov ecx, dword [ecx + 0x3d4]
cmp ecx, ebp
jne 0x48b110
mov ecx, dword [0x5ed44c]
cmp ecx, ebp
je 0x48b17b
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48b169
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48b130
jmp 0x48b17b
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042f110
jmp 0x48b17b
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.005273e0
jmp 0x48b17b
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00492700
mov eax, dword [0x5cd2a0]
cmp eax, ebp
je 0x48ad0e
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48b188
jmp 0x48ad0e
call fcn.00488960
mov esi, eax
test esi, esi
jne 0x48b317
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.00420e60
lea edx, [esp + 0x14]
mov ecx, 0xa91
call fcn.0041f1a0
mov esi, dword [0x5f002c]
mov ebx, dword [esp + 0x404]
xor ebp, ebp
cmp esi, ebp
je 0x48b218
cmp dword [esi + 8], ebx
jne 0x48b1e5
mov ecx, esi
call fcn.004f0d40
test eax, eax
je 0x48b1f1
mov esi, dword [esi + 0x2500]
cmp esi, ebp
jne 0x48b1d5
jmp 0x48b218
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.00420d70
mov ecx, esi
call fcn.005690a0
mov edx, esi
mov ecx, edi
call fcn.00568f00
push 2
lea edx, [esp + 0x18]
push 0x5a75cc
push edx
call fcn.005a2a05
add esp, 0xc
test eax, eax
jne 0x48b254
lea eax, [esp + 0x16]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48b237
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00592290
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.005379a0
mov ecx, dword [0x5c81a0]
cmp ecx, ebp
je 0x48b282
lea esp, [esp]
cmp dword [ecx + 0x52c], ebx
je 0x48b2c4
mov ecx, dword [ecx + 0x890]
cmp ecx, ebp
jne 0x48b270
mov ecx, dword [0x5f4f78]
cmp ecx, ebp
je 0x48b2a2
lea esp, [esp]
cmp dword [ecx + 0x340], ebx
je 0x48b2d5
mov ecx, dword [ecx + 0x3d4]
cmp ecx, ebp
jne 0x48b290
mov ecx, dword [0x5ed44c]
cmp ecx, ebp
je 0x48b2fb
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48b2e9
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x48b2b0
jmp 0x48b2fb
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], ebp
call fcn.0042f110
jmp 0x48b2fb
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.005273e0
jmp 0x48b2fb
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.00492700
mov eax, dword [0x5cd2a0]
cmp eax, ebp
je 0x48ad0e
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x48b308
jmp 0x48ad0e
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 0x48b320
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 [0x5cd3dc]
push 0x5cd2a8
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], 0xffffffff
call ebp
cmp eax, 0xffffffff
jne 0x48b4f7
mov eax, dword [esp + 0x408]
mov ecx, dword [eax]
push 6
push edi
push 0x5cd2a8
mov edx, str.firewall
call fcn.00475c40
test eax, eax
jne 0x48ab9d
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.00420e60
lea edx, [esp + 0x14]
mov ecx, 0xa92
call fcn.0041f1a0
mov esi, dword [0x5f002c]
cmp esi, edi
je 0x48b3fa
cmp dword [esi + 8], ebx
jne 0x48b3c5
mov ecx, esi
call fcn.004f0d40
test eax, eax
je 0x48b3d1
mov esi, dword [esi + 0x2500]
cmp esi, edi
jne 0x48b3b5
jmp 0x48b3fa
lea ecx, [esp + 0x14]
lea edi, [esi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.00420d70
mov ecx, esi
call fcn.005690a0
mov edx, esi
mov ecx, edi
call fcn.00568f00
xor edi, edi
push 2
lea edx, [esp + 0x18]
push 0x5a75cc
push edx
call fcn.005a2a05
add esp, 0xc
test eax, eax
jne 0x48b43d
lea eax, [esp + 0x16]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48b420
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00592290
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x14]
call fcn.005379a0
mov ecx, dword [0x5c81a0]
cmp ecx, edi
je 0x48b464
cmp dword [ecx + 0x52c], ebx
je 0x48b4a4
mov ecx, dword [ecx + 0x890]
cmp ecx, edi
jne 0x48b452
mov ecx, dword [0x5f4f78]
cmp ecx, edi
je 0x48b482
mov edi, edi
cmp dword [ecx + 0x340], ebx
je 0x48b4b5
mov ecx, dword [ecx + 0x3d4]
cmp ecx, edi
jne 0x48b470
mov ecx, dword [0x5ed44c]
cmp ecx, edi
je 0x48b4db
lea esp, [esp]
cmp dword [ecx + 0x444], ebx
je 0x48b4c9
mov ecx, dword [ecx + 0x4bc]
cmp ecx, edi
jne 0x48b490
jmp 0x48b4db
lea edx, [esp + 0x14]
mov dword [ecx + 0x52c], edi
call fcn.0042f110
jmp 0x48b4db
lea edx, [esp + 0x14]
push edx
xor edx, edx
mov dword [ecx + 0x340], edi
call fcn.005273e0
jmp 0x48b4db
lea eax, [esp + 0x14]
push eax
xor edx, edx
mov dword [ecx + 0x444], edi
call fcn.00492700
mov eax, dword [0x5cd2a0]
cmp eax, edi
je 0x48ad0e
mov eax, dword [eax + 0x80]
cmp eax, edi
jne 0x48b4e8
jmp 0x48ad0e
mov edx, esi
mov ecx, 0x5cd2a8
call fcn.00488ec0
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x3ec
ret 0xc