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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1078
call fcn.10512080
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x1074], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x28]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x3ee46]
mov byte [esp + 0xe], al
mov eax, ecx
shl eax, 4
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x54], esi
cmp dword [eax + 0x10670d90], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x14], ecx
jle 0x1046809b
mov eax, dword [edx + 0x243a4]
cmp eax, dword [esi + 0x5cee0]
jbe 0x1046809b
cmp byte [esi + 0x3ee49], 0
mov dword [esp + 0x40], 1
jne 0x104680a3
mov dword [esp + 0x40], 0
lea eax, [esi + 0x3abf0]
mov dword [esp + 0x64], eax
lea eax, [edx + 0xe0]
movzx edx, byte [ecx + 0x109f2ca0]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x1008]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x70]
test byte [eax + 0x8c], 8
lea eax, [esp + 0x870]
je 0x104680e0
shr eax, 1
shr edx, 1
push 0
push 0
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x20]
push ecx
push 0
mov dword [esp + 0x48], eax
mov esi, dword [edx]
mov dword [esp + 0x58], esi
mov esi, dword [edx + 4]
push esi
push dword [esp + 0x5c]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x6c]
mov byte [edi + 0x15], 0xff
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x2c], eax
lea eax, [esi + 0x3abf0]
push edx
push eax
call fcn.101152f0
mov eax, dword [esi + 0x3e7a8]
add esp, 0x20
mov cl, byte [eax + 0x4d]
xor eax, eax
test cl, cl
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x1c]
sete al
movups xmm0, xmmword [ecx]
lea eax, [eax*2 + 1]
push eax
sub esp, 0x18
mov eax, esp
push dword [esp + 0x34]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
call fcn.1016f710
mov edx, dword [esp + 0x6c]
add esp, 0x20
cmp byte [esp + 0x12], 0
movsx ecx, byte [edi + 0x14]
mov byte [edi + 0x15], 0
mov eax, dword [edx + 0x54]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], closesocket
mov al, byte [ecx + eax]
mov byte [esp + 0x11], al
mov eax, closesocket
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
je 0x104681ee
push edx
push dword [esp + 0x38]
lea eax, [esp + 0x28]
push dword [esp + 0x40]
push dword [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x29]
push eax
push dword [esp + 0x58]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push dword [esp + 0x40]
push dword [esp + 0x80]
push esi
call fcn.10468b00
add esp, 0x38
cmp eax, 0xffffffff
je 0x104682ac
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov esi, dword [edi + 0xc]
xor edx, edx
mov ecx, closesocket
mov eax, esi
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x40], edx
je 0x1046828c
push dword [esp + 0x2c]
lea eax, [esp + 0x5c]
push dword [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x60]
lea eax, [esp + 0x88]
push dword [esp + 0x4c]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x894]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x41]
push eax
push dword [esp + 0x70]
push edi
push dword [esp + 0x50]
push dword [esp + 0x90]
push dword [esp + 0x98]
call fcn.10468ee0
add esp, 0x48
cmp eax, 0xffffffff
je 0x104682ac
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x28], 0xffffffff
jne 0x104682c3
cmp dword [esp + 0x2c], 0x7fffffff
jne 0x104682c3
cmp dword [esp + 0x68], 0xffffffff
jne 0x104682c3
cmp ecx, 0x7fffffff
jne 0x104682c3
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
cmp ecx, dword [esp + 0x2c]
jg 0x10468340
jl 0x104682d5
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x68], ecx
jae 0x10468340
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0xc], eax
mov eax, edx
sub eax, dword [esi]
add dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [esi], edx
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
add dword [eax], ecx
cmp byte [esp + 0x13], 0
jne 0x1046832a
push 2
push 1
push esi
push dword [esp + 0x28]
push dword [esp + 0x70]
push dword [esp + 0x5c]
push edi
push dword [esp + 0x80]
call fcn.101152f0
add esp, 0x20
mov ecx, dword [esp + 0x107c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x12], 0
je 0x104682f0
cmp dword [esp + 0x40], 0
je 0x104682f0
mov al, byte [esp + 0x11]
and byte [edi + 0xa0], 0xfb
push 0
push 0
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x1c]
push esi
push dword [esp + 0x28]
mov byte [edi + 0x44], al
push dword [esp + 0x70]
mov edi, dword [esp + 0x2c]
push dword [esp + 0x5c]
push edi
push dword [esp + 0x80]
call fcn.101152f0
add esp, 0x20
jmp 0x104682f8