Function at 0x419145
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp], str.ws2_32.dll
call sym._load_system32_dll
mov dword [0x47d1ec], eax
mov eax, dword [0x47d1ec]
mov dword [0x47d390], eax
mov eax, dword [0x47d1ec]
test eax, eax
jne 0x419180
mov dword [esp], str.wsock32.dll
call sym._load_system32_dll
mov dword [0x47d1ec], eax
mov eax, dword [0x47d1ec]
test eax, eax
jne 0x419195
mov dword [esp], 0x462737
call sym._modalfatalbox
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.getaddrinfo
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
test eax, eax
je 0x419249
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4191dc
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.getaddrinfo
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4191e1
mov eax, 0
mov dword [0x47d1dc], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41920b
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.freeaddrinfo
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419210
mov eax, 0
mov dword [0x47d1e0], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41923a
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.getnameinfo
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41923f
mov eax, 0
mov dword [0x47d1e4], eax
jmp 0x4192f4
mov dword [esp], str.wship6.dll
call sym._load_system32_dll
mov dword [0x47d394], eax
mov eax, dword [0x47d394]
test eax, eax
je 0x4192f4
mov eax, dword [0x47d394]
test eax, eax
je 0x41928c
mov eax, dword [0x47d394]
mov dword [esp + 4], str.getaddrinfo
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419291
mov eax, 0
mov dword [0x47d1dc], eax
mov eax, dword [0x47d394]
test eax, eax
je 0x4192bb
mov eax, dword [0x47d394]
mov dword [esp + 4], str.freeaddrinfo
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4192c0
mov eax, 0
mov dword [0x47d1e0], eax
mov eax, dword [0x47d394]
test eax, eax
je 0x4192ea
mov eax, dword [0x47d394]
mov dword [esp + 4], str.getnameinfo
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4192ef
mov eax, 0
mov dword [0x47d1e4], eax
mov eax, dword [0x47d390]
test eax, eax
je 0x419319
mov eax, dword [0x47d390]
mov dword [esp + 4], str.WSAAddressToStringA
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41931e
mov eax, 0
mov dword [0x47d1e8], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419348
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.WSAAsyncSelect
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41934d
mov eax, 0
mov dword [0x47d160], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419377
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.WSAEventSelect
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41937c
mov eax, 0
mov dword [0x47d164], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4193a6
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.select
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4193ab
mov eax, 0
mov dword [0x47d170], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4193d5
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.WSAGetLastError
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4193da
mov eax, 0
mov dword [0x47d168], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419404
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.WSAEnumNetworkEvents
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419409
mov eax, 0
mov dword [0x47d16c], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419433
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.WSAStartup
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419438
mov eax, 0
mov dword [0x47d178], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419462
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.WSACleanup
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419467
mov eax, 0
mov dword [0x47d17c], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419491
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.closesocket
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419496
mov eax, 0
mov dword [0x47d180], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4194c0
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.ntohl
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4194c5
mov eax, 0
mov dword [0x47d184], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4194ef
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.htonl
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4194f4
mov eax, 0
mov dword [0x47d188], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41951e
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.htons
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419523
mov eax, 0
mov dword [0x47d18c], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41954d
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.ntohs
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419552
mov eax, 0
mov dword [0x47d190], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41957c
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.gethostname
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419581
mov eax, 0
mov dword [0x47d194], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4195ab
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.gethostbyname
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4195b0
mov eax, 0
mov dword [0x47d198], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4195da
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.getservbyname
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4195df
mov eax, 0
mov dword [0x47d19c], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419609
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.inet_addr
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41960e
mov eax, 0
mov dword [0x47d1a0], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419638
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.inet_ntoa
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41963d
mov eax, 0
mov dword [0x47d1a4], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419667
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.inet_ntop
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41966c
mov eax, 0
mov dword [0x47d1a8], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419696
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.connect
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x41969b
mov eax, 0
mov dword [0x47d1ac], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4196c5
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.bind
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4196ca
mov eax, 0
mov dword [0x47d1b0], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4196f4
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.setsockopt
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4196f9
mov eax, 0
mov dword [0x47d1b4], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419723
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.socket
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419728
mov eax, 0
mov dword [0x47d1b8], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419752
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.listen
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419757
mov eax, 0
mov dword [0x47d1bc], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x419781
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.send
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419786
mov eax, 0
mov dword [0x47d1c0], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4197b0
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.shutdown
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4197b5
mov eax, 0
mov dword [0x47d1c4], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x4197df
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.ioctlsocket
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4197e4
mov eax, 0
mov dword [0x47d1c8], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41980e
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.accept
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419813
mov eax, 0
mov dword [0x47d1cc], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41983d
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.getpeername
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419842
mov eax, 0
mov dword [0x47d1d0], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41986c
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.recv
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x419871
mov eax, 0
mov dword [0x47d1d4], eax
mov eax, dword [0x47d1ec]
test eax, eax
je 0x41989b
mov eax, dword [0x47d1ec]
mov dword [esp + 4], str.WSAIoctl
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
jmp 0x4198a0
mov eax, 0
mov dword [0x47d1d8], eax
mov dword [esp + 4], 2
mov dword [esp], 2
call sym._sk_startup
xor eax, 1
test al, al
je 0x419902
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._sk_startup
xor eax, 1
test al, al
je 0x419902
mov dword [esp + 4], 1
mov dword [esp], 1
call sym._sk_startup
xor eax, 1
test al, al
je 0x419902
mov dword [esp], 0x4628bc
call sym._modalfatalbox
mov dword [esp], sym._cmpfortree
call sym._newtree234
mov dword [0x47d174], eax
nop
leave
ret