Function at 0x44d910
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x501230]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
mov dword [ebp - 0x18], ecx
push edi
mov edi, dword [ebp + 0x14]
sub eax, 0
je 0x44d960
sub eax, 2
je 0x44d960
sub eax, 0x15
je 0x44d960
push 0
push 0
push 5
push ebx
call edi
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c75e8
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00452e40
add esp, 4
test eax, eax
je 0x44d98a
push 0
push 0
push 4
push ebx
call edi
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c75e8
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
cmp esi, 2
je 0x44d99f
cmp esi, 0x17
jne 0x44daa3
mov ecx, dword [ebp - 0x18]
mov esi, ecx
mov dword [ebp - 0x1c], 0
mov al, byte [ecx]
test al, al
je 0x44da22
movzx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
jne 0x44d9c7
cmp byte [esi], 0x2e
jne 0x44da18
mov ecx, dword [ebp - 0x1c]
cmp byte [esi], 0x2e
lea eax, [ecx + 1]
cmovne eax, ecx
inc esi
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov al, byte [esi]
test al, al
jne 0x44d9b1
mov eax, 1
cmp ecx, 3
jne 0x44da1f
test eax, eax
je 0x44da1f
push dword [ebp - 0x18]
call dword [sym.imp.WSOCK32.dll_inet_addr]
xor ecx, ecx
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
setne cl
test ecx, ecx
je 0x44da1f
mov eax, 4
mov esi, 2
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x20]
jmp 0x44da49
mov ecx, dword [ebp - 0x1c]
xor eax, eax
jmp 0x44d9e4
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 0x10]
cmp esi, 0x17
jne 0x44daa3
lea eax, [ebp - 0x14]
push eax
push ecx
push esi
call fcn.00450990
add esp, 0xc
cmp eax, 1
jl 0x44daa3
mov eax, 0x10
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.004513d0
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x44dab4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0
push esi
mov dword [ebp - 0x38], eax
call fcn.004511a0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push ebx
call edi
push dword [ebp - 0x3c]
call dword [0x50113c]
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c75e8
mov esp, ebp
pop ebp
ret
push 0x20
call dword [0x501134]
mov esi, eax
add esp, 4
test esi, esi
jne 0x44dad1
push 0
push 0
push 0xf
push ebx
call edi
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c75e8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
mov dword [esi], eax
call fcn.004513d0
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], 0xffffffff
test eax, eax
jne 0x44db19
push esi
call dword [0x50113c]
push 0
push 0
push 0xf
push ebx
call edi
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c75e8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
push 0xb
mov eax, dword [eax + 0x34]
push esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
call fcn.0044e1b0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004c75e8
mov esp, ebp
pop ebp
ret