Function at 0x42b5d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b9fec
xor eax, eax
push ebp
push 0x42ba79
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [sym.DeltaC.exe__Synsock_SockEnhancedApi], 0
cmp dword [ebp - 4], 0
jne 0x42b611
lea eax, [ebp - 4]
mov edx, 0x42ba90
call fcn.004b9bd0
mov eax, dword [sym.DeltaC.exe__Synsock_SynSockCS]
call fcn.004a575c
xor eax, eax
push ebp
push 0x42ba5c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ec024], 0
jne 0x42ba34
mov byte [sym.DeltaC.exe__Synsock_SockEnhancedApi], 0
mov byte [sym.DeltaC.exe__Synsock_SockWship6Api], 0
mov eax, dword [ebp - 4]
call fcn.004b9ffc
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4ec028], eax
cmp dword [0x4ec028], 0
je 0x42ba38
push 0x42ba9c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_WSAIoctl], eax
push 0x42baa8
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock___WSAFDIsSet], eax
push 0x42bab8
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_CloseSocket], eax
push 0x42bac4
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_IoctlSocket], eax
push 0x42bad0
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_WSAGetLastError], eax
push 0x42bae0
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_WSAStartup], eax
push 0x42baec
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_WSACleanup], eax
push 0x42baf8
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssAccept], eax
push 0x42bb00
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssBind], eax
push 0x42bb08
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssConnect], eax
push 0x42bb10
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssGetPeerName], eax
push 0x42bb1c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssGetSockName], eax
push 0x42bb28
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetSockOpt], eax
push 0x42bb34
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_htonl], eax
push 0x42bb3c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_htons], eax
push 0x42bb44
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_Inet_addr], eax
push 0x42bb50
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_Inet_ntoa], eax
push 0x42bb5c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_Listen], eax
push 0x42bb64
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ntohl], eax
push 0x42bb6c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ntohs], eax
push 0x42bb74
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssRecv], eax
push 0x42bb7c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssRecvFrom], eax
push 0x42bb88
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_Select], eax
push 0x42bb90
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssSend], eax
push 0x42bb98
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssSendTo], eax
push 0x42bba0
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_SetSockOpt], eax
push 0x42bbac
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_Shutdown], eax
push 0x42bbb8
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_Socket], eax
push 0x42bbc0
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetHostByAddr], eax
push 0x42bbd0
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetHostByName], eax
push 0x42bbe0
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetProtoByName], eax
push 0x42bbf0
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetProtoByNumber], eax
push 0x42bc04
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetServByName], eax
push 0x42bc14
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetServByPort], eax
push 0x42bc24
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_ssGetHostName], eax
push 0x42bc30
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetAddrInfo], eax
push 0x42bc3c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_FreeAddrInfo], eax
push 0x42bc4c
mov eax, dword [0x4ec028]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetNameInfo], eax
cmp dword [sym.DeltaC.exe__Synsock_GetAddrInfo], 0
je 0x42b99d
cmp dword [sym.DeltaC.exe__Synsock_FreeAddrInfo], 0
je 0x42b99d
cmp dword [sym.DeltaC.exe__Synsock_GetNameInfo], 0
jne 0x42b9a1
xor eax, eax
jmp 0x42b9a3
mov al, 1
mov byte [sym.DeltaC.exe__Synsock_SockEnhancedApi], al
cmp byte [sym.DeltaC.exe__Synsock_SockEnhancedApi], 0
jne 0x42ba2e
push 0x42bc58
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4ec02c], eax
cmp dword [0x4ec02c], 0
je 0x42ba2e
push 0x42bc30
mov eax, dword [0x4ec02c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetAddrInfo], eax
push 0x42bc3c
mov eax, dword [0x4ec02c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_FreeAddrInfo], eax
push 0x42bc4c
mov eax, dword [0x4ec02c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [sym.DeltaC.exe__Synsock_GetNameInfo], eax
cmp dword [sym.DeltaC.exe__Synsock_GetAddrInfo], 0
je 0x42ba23
cmp dword [sym.DeltaC.exe__Synsock_FreeAddrInfo], 0
je 0x42ba23
cmp dword [sym.DeltaC.exe__Synsock_GetNameInfo], 0
jne 0x42ba27
xor eax, eax
jmp 0x42ba29
mov al, 1
mov byte [sym.DeltaC.exe__Synsock_SockWship6Api], al
mov byte [ebp - 5], 1
jmp 0x42ba38
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0x42ba44
inc dword [0x4ec024]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ba63
mov eax, dword [sym.DeltaC.exe__Synsock_SynSockCS]
call fcn.004a5770
ret