Function at 0x448d30
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x45ba9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x338
mov al, byte [0x481910]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov byte [esp + 0x3c], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 4]
or edi, 0xffffffff
cmp eax, edi
jne 0x448dc0
mov ecx, dword [esp + 0x358]
push edi
push ecx
lea edx, [esp + 0x44]
push 0x47d0d0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
jne 0x448dab
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x448dab
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x448dab
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00446e00
add esp, 8
xor eax, eax
jmp 0x44905f
mov ebx, dword [esp + 0x358]
xor esi, esi
cmp ebx, esi
je 0x448f48
mov dword [esp + 0x10], 0x462e5c
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x354], esi
call fcn.00448ba0
test eax, eax
je 0x448f30
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x473430
lea ecx, [esp + 0x18]
inc esi
call fcn.004490e0
test eax, eax
je 0x448e49
lea ecx, [esp + 0x10]
inc esi
call fcn.00448c80
push 0
call edi
push 0x3e8
call edi
push 0
call edi
cmp esi, 5
jg 0x448e5b
jmp 0x448e15
lea ecx, [esp + 0x10]
call fcn.00448c80
cmp esi, 5
jle 0x448f2d
mov eax, dword [ebp + 0x10]
mov edi, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
jne 0x448e85
call edi
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x448e85
call fcn.00452f4b
cmp dword [eax], 0
je 0x448e85
call fcn.00452f4b
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [0x481a8c]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x3c]
push 0x104
push edx
push 0x12
push eax
call esi
mov edx, dword [0x481a8c]
lea ecx, [esp + 0x244]
push 0x104
push ecx
push 0xc
push edx
call esi
call fcn.00445b80
test eax, eax
je 0x448eee
call fcn.00445610
test eax, eax
je 0x448eee
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x448ee0
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x448ee0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x448ee0
call edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00446e00
add esp, 8
push 0x3a98
lea ecx, [esp + 0x248]
push 0x10
lea edx, [esp + 0x44]
push ecx
push edx
push 0
call fcn.0042f2f0
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.00448c80
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x462e5c
call fcn.00448c80
xor eax, eax
jmp 0x44905f
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x350], edi
mov dword [esp + 0x10], 0x462e5c
call fcn.00448c80
push ebx
mov word [esp + 0x30], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x2e], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x140]
push 0x104
push eax
mov byte [esp + 0x148], 0
call fcn.0042e2a0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
test eax, eax
je 0x448fb3
lea ecx, [esp + 0x140]
push ecx
call esi
test eax, eax
jle 0x448fb3
lea edx, [esp + 0x140]
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
jmp 0x448fbb
push 0
call dword [sym.imp.WSOCK32.dll_htonl]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push 0x10
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
jge 0x449022
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x448ffc
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x448ffc
call fcn.00452f4b
cmp dword [eax], 0
je 0x448ffc
call fcn.00452f4b
mov edx, dword [eax]
mov dword [ebp + 0x10], edx
push ebx
lea eax, [esp + 0x40]
push 0x47d0b8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00446e00
add esp, 0x14
xor eax, eax
jmp 0x44905f
lea eax, [esp + 0x140]
push eax
call esi
test eax, eax
je 0x44905a
test ebx, ebx
je 0x44905a
lea ecx, [esp + 0x140]
lea edx, [esp + 0x3c]
push ecx
push ebx
push 0x47d090
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x4c]
push eax
call fcn.00446ea0
add esp, 0x14
mov eax, 1
mov ecx, dword [esp + 0x348]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x344
ret 4