Function at 0x440be0
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
push ecx
mov eax, ecx
mov ecx, dword [0x5192f0]
push ebx
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 4], eax
jne 0x441083
mov al, byte [0x519468]
push esi
xor esi, esi
test al, 4
jne 0x440c1a
or al, 8
push 2
push str.SeDebugPrivilege
mov byte [0x519468], al
call fcn.00420c19
add esp, 8
cmp dword [0x5192ec], ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x440c52
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440c4c
push str.WSAStartup
push esi
call ebp
mov dword [0x5192ec], eax
jmp 0x440c52
mov dword [0x5192ec], ebx
cmp dword [0x5192f4], ebx
jne 0x440c80
cmp esi, ebx
jne 0x440c6b
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440c7a
push str.shutdown
push esi
call ebp
mov dword [0x5192f4], eax
jmp 0x440c80
mov dword [0x5192f4], ebx
cmp dword [0x5192f8], ebx
jne 0x440cae
cmp esi, ebx
jne 0x440c99
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440ca8
push str.closesocket
push esi
call ebp
mov dword [0x5192f8], eax
jmp 0x440cae
mov dword [0x5192f8], ebx
cmp dword [0x5192fc], ebx
jne 0x440cdc
cmp esi, ebx
jne 0x440cc7
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440cd6
push str.connect
push esi
call ebp
mov dword [0x5192fc], eax
jmp 0x440cdc
mov dword [0x5192fc], ebx
cmp dword [0x519300], ebx
jne 0x440d0a
cmp esi, ebx
jne 0x440cf5
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440d04
push str.send
push esi
call ebp
mov dword [0x519300], eax
jmp 0x440d0a
mov dword [0x519300], ebx
cmp dword [0x519304], ebx
jne 0x440d38
cmp esi, ebx
jne 0x440d23
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440d32
push str.select
push esi
call ebp
mov dword [0x519304], eax
jmp 0x440d38
mov dword [0x519304], ebx
cmp dword [0x519308], ebx
jne 0x440d66
cmp esi, ebx
jne 0x440d51
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440d60
push str.recvfrom
push esi
call ebp
mov dword [0x519308], eax
jmp 0x440d66
mov dword [0x519308], ebx
cmp dword [0x51930c], ebx
jne 0x440d94
cmp esi, ebx
jne 0x440d7f
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440d8e
push str.sendto
push esi
call ebp
mov dword [0x51930c], eax
jmp 0x440d94
mov dword [0x51930c], ebx
cmp dword [0x519310], ebx
jne 0x440dc2
cmp esi, ebx
jne 0x440dad
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440dbc
push str.bind
push esi
call ebp
mov dword [0x519310], eax
jmp 0x440dc2
mov dword [0x519310], ebx
cmp dword [0x519314], ebx
jne 0x440df0
cmp esi, ebx
jne 0x440ddb
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440dea
push str.listen
push esi
call ebp
mov dword [0x519314], eax
jmp 0x440df0
mov dword [0x519314], ebx
cmp dword [0x519318], ebx
jne 0x440e1e
cmp esi, ebx
jne 0x440e09
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440e18
push str.accept
push esi
call ebp
mov dword [0x519318], eax
jmp 0x440e1e
mov dword [0x519318], ebx
cmp dword [0x519320], ebx
jne 0x440e4c
cmp esi, ebx
jne 0x440e37
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440e46
push str.getsockname
push esi
call ebp
mov dword [0x519320], eax
jmp 0x440e4c
mov dword [0x519320], ebx
cmp dword [0x51931c], ebx
jne 0x440e7a
cmp esi, ebx
jne 0x440e65
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440e74
push str.getpeername
push esi
call ebp
mov dword [0x51931c], eax
jmp 0x440e7a
mov dword [0x51931c], ebx
cmp dword [0x519324], ebx
jne 0x440ea8
cmp esi, ebx
jne 0x440e93
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440ea2
push str.ioctlsocket
push esi
call ebp
mov dword [0x519324], eax
jmp 0x440ea8
mov dword [0x519324], ebx
cmp dword [0x519328], ebx
jne 0x440ed6
cmp esi, ebx
jne 0x440ec1
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440ed0
push str.setsockopt
push esi
call ebp
mov dword [0x519328], eax
jmp 0x440ed6
mov dword [0x519328], ebx
cmp dword [0x51932c], ebx
jne 0x440f04
cmp esi, ebx
jne 0x440eef
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440efe
push str.ntohl
push esi
call ebp
mov dword [0x51932c], eax
jmp 0x440f04
mov dword [0x51932c], ebx
cmp dword [0x519330], ebx
jne 0x440f32
cmp esi, ebx
jne 0x440f1d
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440f2c
push str.htonl
push esi
call ebp
mov dword [0x519330], eax
jmp 0x440f32
mov dword [0x519330], ebx
cmp dword [0x519334], ebx
jne 0x440f60
cmp esi, ebx
jne 0x440f4b
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440f5a
push str.htons
push esi
call ebp
mov dword [0x519334], eax
jmp 0x440f60
mov dword [0x519334], ebx
cmp dword [0x519338], ebx
jne 0x440f8e
cmp esi, ebx
jne 0x440f79
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440f88
push str.inet_addr
push esi
call ebp
mov dword [0x519338], eax
jmp 0x440f8e
mov dword [0x519338], ebx
cmp dword [0x51933c], ebx
jne 0x440fbc
cmp esi, ebx
jne 0x440fa7
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440fb6
push str.gethostbyname
push esi
call ebp
mov dword [0x51933c], eax
jmp 0x440fbc
mov dword [0x51933c], ebx
cmp dword [0x519340], ebx
jne 0x440fea
cmp esi, ebx
jne 0x440fd5
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x440fe4
push str.inet_ntoa
push esi
call ebp
mov dword [0x519340], eax
jmp 0x440fea
mov dword [0x519340], ebx
cmp dword [0x519344], ebx
jne 0x441018
cmp esi, ebx
jne 0x441003
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x441012
push str.WSAGetLastError
push esi
call ebp
mov dword [0x519344], eax
jmp 0x441018
mov dword [0x519344], ebx
cmp dword [0x519348], ebx
jne 0x441046
cmp esi, ebx
jne 0x441031
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x441040
push str.__WSAFDIsSet
push esi
call ebp
mov dword [0x519348], eax
jmp 0x441046
mov dword [0x519348], ebx
cmp dword [0x5192f0], ebx
jne 0x44107c
cmp esi, ebx
jne 0x44105f
push str.WS2_32.DLL
call edi
mov esi, eax
cmp esi, ebx
je 0x441076
push str.socket
push esi
call ebp
pop edi
pop ebp
pop esi
mov dword [0x5192f0], eax
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov dword [0x5192f0], ebx
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret