Function at 0x10142300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8f4
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x8f0], eax
mov eax, dword [esp + 0x900]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x908]
mov ecx, dword [esp + 0x920]
lea ebp, [esi + 0xe0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x914]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10b0]
push edi
mov dword [esp + 0x20], esi
lea edi, [esp + 0x5c]
mov edx, dword [esp + 0x908]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x920]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x3198]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x30], ecx
mov ecx, 0x29
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
xor edi, edi
mov word [eax + 5], 0
mov word [eax + 0x14], 0xff00
mov word [eax + 0x86], di
lea eax, [esp + 0x500]
push eax
lea eax, [esp + 0x104]
movzx esi, byte [ecx + 0x107986f4]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x60]
mov ebx, dword [esp + 0x928]
push edi
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], edi
push eax
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x54], closesocket
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x84]
mov dword [esp + 0x64], 0xffffffff
push eax
movzx eax, byte [ecx + 0x1079870c]
imul eax, eax, 0x34
mov dword [esp + 0x6c], closesocket
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], closesocket
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], closesocket
mov byte [esp + 0x80], 0
mov dword [esp + 0x50], esi
push dword [eax + edi + 0x3508]
movzx esi, byte [ecx + 0x107986dc]
push ecx
push edi
push edx
call fcn.100c1df0
add esp, 0x3c
cmp dword [esp + 0x34], 0x7fffffff
je 0x10142545
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x86], 0
je 0x10142545
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 0x10798724]
mov eax, 1
sub ecx, 4
shl eax, cl
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [edi + 0x23b81]
push eax
call fcn.105137c0
mov eax, dword [esp + 0x24]
push dword [eax + 0x144]
lea eax, [esp + 0x510]
push eax
push dword [ebp + 0xfe8]
call fcn.105137c0
imul esi, dword [esp + 0x3c]
push esi
push dword [esp + 0x38]
push dword [esp + 0x48]
call fcn.105137c0
mov esi, dword [esp + 0x58]
add esp, 0x24
mov edx, dword [esp + 0x914]
add esi, edx
mov dword [esp + 0x34], esi
push ebp
call fcn.10140180
add esp, 4
cmp byte [esp + 0x54], 0
je 0x10142501
mov eax, dword [edi + eax*8 + 0x7c3c]
add eax, edx
jmp 0x1014250a
mov eax, dword [edi + eax*8 + 0x7c38]
add eax, esi
mov ecx, dword [edi + 0x31cc]
mov dl, byte [esp + 0x54]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov byte [ebx + 0x20], dl
mov dword [ebx], eax
imul ecx
mov dword [ebx + 8], edi
add eax, 0x100
mov dword [ebx + 0xc], esi
adc edx, 0
shld esi, edi, 7
shrd eax, edx, 9
shl edi, 7
sar edx, 9
add eax, edi
adc edx, esi
jmp 0x1014254d
or eax, 0xffffffff
mov edx, closesocket
mov ecx, dword [esp + 0x900]
pop edi
pop esi
mov dword [ebx + 0x10], eax
pop ebp
mov dword [ebx + 0x14], edx
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x8f4
ret