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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x90]
push edi
lea eax, [esi + 0x3abf0]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x3bb8]
mov cl, byte [eax + 0x4d]
xor eax, eax
test cl, cl
mov byte [esp + 0x1b], cl
sete al
lea eax, [eax*2 + 1]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x10b0]
mov edi, dword [eax]
test byte [edi + 0x9f], 0x40
je 0x104641ae
xor ecx, ecx
jmp 0x1046420f
cmp byte [edi + 0x1c], 2
jne 0x104641b8
xor ecx, ecx
jmp 0x1046420f
mov al, byte [edi + 5]
cmp al, 0xf
je 0x104641c3
cmp al, 0x17
jne 0x1046420a
mov eax, dword [edi]
mov bl, byte [eax + 0x109e6470]
mov al, byte [eax + 0x109e6488]
cmp bl, al
movzx ecx, al
movzx edx, bl
cmovae edx, ecx
cmp edx, 2
jb 0x1046420a
mov ebx, dword [ebp + 0x1ba8]
xor ecx, ecx
xor edx, edx
cmp byte [edi + 0x15], cl
setg dl
inc edx
movsx eax, byte [edi + ecx + 0x14]
lea eax, [eax + eax*8]
cmp byte [ebx + eax*4 + 0x20], 1
je 0x1046420a
inc ecx
cmp ecx, edx
jl 0x104641f2
xor ecx, ecx
jmp 0x1046420f
mov ecx, 1
movsx eax, byte [edi + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x28], eax
xor ebx, ebx
mov eax, dword [esi + 0x3adb8]
or edx, 0xffffffff
mov esi, dword [esi + 0x5cf40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], 0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov byte [esp + 0x4c], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x54], ebx
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
mov byte [esp + 0x74], 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], edx
test esi, esi
je 0x104642a8
test ecx, ecx
je 0x104642b8
push esi
push dword [eax + 0x1470]
add eax, 0x58
push eax
push edi
call fcn.10465360
mov edx, eax
add esp, 0x10
mov dword [esp + 0x10], edx
jmp 0x104642b3
or edx, 0xffffffff
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x104642b8
cmp edx, 0xffffffff
jne 0x104642d9
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp ecx, 4
movzx eax, cx
cmove eax, esi
movzx eax, ax
mov ecx, eax
shl ecx, 0x10
or ecx, eax
mov dword [edi + 0x18], ecx
cmp edx, 0xffffffff
je 0x1046431f
mov ebx, dword [esp + 0xb4]
lea eax, [edx + edx*4]
mov edx, dword [ebx + eax*8 + 0x74]
mov ecx, dword [ebx + eax*8 + 0x70]
mov eax, dword [esp + 0xa8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov eax, dword [ebx + eax*8 + 0x78]
mov dword [ebp + edx*4 + 0x243b8], eax
mov eax, dword [esp + 0xb0]
mov dword [eax], 0
jmp 0x10464892
lea eax, [ebp + 0xe0]
push 0
push eax
call fcn.100bc3f0
mov esi, eax
lea eax, [ebp + 0xe0]
push 1
push eax
mov dword [esp + 0x90], esi
call fcn.100bc3f0
add esi, 0xa4a
mov dword [esp + 0x94], eax
add esp, 0x10
lea edx, [esi + esi*2]
mov esi, dword [edi + 0x18]
movzx ecx, si
add edx, ecx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x3bb8]
mov edx, dword [ebp + edx*4]
cmp byte [ecx + 0x40], bl
je 0x10464383
lea eax, [eax + eax*2]
shr esi, 0x10
add eax, 0x1ede
add esi, eax
add edx, dword [ebp + esi*4]
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x94]
mov dword [eax], edx
mov eax, dword [esp + 0xb0]
push dword [eax]
lea eax, [esp + 0x30]
push eax
push 0
push 0
push dword [esp + 0xb4]
push dword [esp + 0xb0]
push esi
push ebp
call fcn.104654e0
add esp, 0x20
cmp byte [esp + 0x1b], bl
jne 0x104643f1
mov eax, dword [esp + 0xb0]
push dword [eax]
lea eax, [esp + 0x58]
push eax
push 2
push 1
push dword [esp + 0xb4]
push dword [esp + 0xb0]
push esi
push ebp
call fcn.104654e0
mov ebx, dword [esp + 0x74]
add esp, 0x20
mov eax, dword [esp + 0xb0]
mov dword [eax], 1
cmp ebx, 0x7fffffff
je 0x104644b8
mov esi, dword [esp + 0x2c]
cmp esi, 0x7fffffff
je 0x104644b8
mov eax, esi
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov eax, ebx
cdq
add dword [esp + 0x10], eax
adc ecx, edx
test ecx, ecx
jg 0x10464440
jl 0x1046443c
cmp dword [esp + 0x10], 0x7fffffff
jae 0x10464440
add ebx, esi
jmp 0x10464445
mov ebx, closesocket
mov eax, dword [esp + 0x58]
test eax, eax
mov ecx, dword [esp + 0x5c]
cmove eax, dword [esp + 0x30]
add ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x60]
adc esi, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
cmp edx, 0x7fffffff
jg 0x104644aa
mov eax, dword [esp + 0x6c]
jl 0x10464487
cmp eax, 0xffffffff
jae 0x104644aa
cmp dword [esp + 0x48], 0x7fffffff
jg 0x104644aa
jl 0x1046449a
cmp dword [esp + 0x44], 0xffffffff
jae 0x104644aa
add eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
adc edx, dword [esp + 0x48]
mov dword [esp + 0x70], edx
mov al, byte [esp + 0x74]
and al, byte [esp + 0x4c]
mov byte [esp + 0x74], al
jmp 0x104644eb
mov ebx, closesocket
mov byte [esp + 0x74], 0
or ecx, 0xffffffff
mov dword [esp + 0x54], ebx
mov esi, ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
add eax, ebx
mov ebx, dword [esp + 0xa8]
imul dword [ebp + 0x31cc]
add eax, 0x100
adc edx, 0
shrd eax, edx, 9
shld esi, ecx, 7
sar edx, 9
shl ecx, 7
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [ebx], eax
mov eax, dword [esp + 0x48]
adc edx, esi
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x28]
shrd ecx, eax, 4
cmp dword [esp + 0x1c], 4
mov dword [ebp + edx*4 + 0x243b8], ecx
jne 0x10464892
cmp dword [esp + 0x14], 0
je 0x10464892
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1046462e
cmp byte [edi + 0x15], 0
jle 0x1046462e
movzx eax, byte [edi + 5]
movzx esi, byte [edi + 0x9f]
shr esi, 4
and esi, 3
movzx edx, byte [eax + 0x109f03c8]
movzx eax, byte [eax + 0x109f0558]
lea ecx, [esi + eax*2]
add ecx, eax
movsx eax, byte [edi + 0x15]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + eax*8]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*8 + 4]
lea ecx, [esi + edx*2]
movsx eax, byte [edi + 0x14]
add ecx, edx
mov dword [esp + 0x20], ebp
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, ebp
mov edx, dword [ecx + eax*8]
mov ebp, dword [esp + 0x90]
jg 0x104645db
jl 0x104645e5
mov eax, dword [esp + 0x10]
cmp edx, eax
jae 0x104645df
jmp 0x104645e5
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
shrd ecx, eax, 1
sar eax, 1
cmp eax, esi
jl 0x1046462e
jg 0x104645fa
cmp ecx, edx
jbe 0x1046462e
cmp dword [esp + 0xbc], 0x7fffffff
jg 0x1046462e
jl 0x10464613
cmp dword [esp + 0xb8], 0xffffffff
jae 0x1046462e
or eax, 0xffffffff
mov edx, closesocket
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.105116c0
add esp, 0x7c
ret
mov ebx, dword [esp + 0x94]
mov dword [ebp + 0x1dbf4], 0
mov eax, dword [ebx + 0x9154c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
call fcn.104648b0
mov esi, dword [esp + 0xb0]
add esp, 0x10
push dword [esp + 0x7c]
movups xmm0, xmmword [esi]
sub esp, 0x18
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp + 0xe0]
push eax
call fcn.1016f710
mov eax, dword [ebx + 0x3e7a8]
add esp, 0x20
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0xa8]
cmp byte [eax + 0x40], 0
mov dword [esp + 0x24], ecx
je 0x1046474b
cmp dword [ebx + 0x5cf38], 0
je 0x10464701
push dword [esp + 0x10]
lea eax, [esp + 0x84]
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0xbc]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push ecx
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push ebx
push ebp
call fcn.10464b20
jmp 0x10464788
mov eax, dword [esp + 0x10]
and eax, dword [esp + 0x14]
push 0
push 0x1fe
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0xc0]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x48]
push eax
push esi
push ecx
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push ebx
push ebp
call fcn.10464d00
add esp, 0x38
jmp 0x1046478b
push dword [esp + 0x14]
lea eax, [esp + 0x84]
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0xbc]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push ecx
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push ebx
push ebp
call fcn.104650d0
add esp, 0x34
push dword [esp + 0x7c]
lea eax, [esp + 0x24]
push eax
lea eax, [ebp + 0xe0]
push eax
call fcn.10465a70
add esp, 0xc
cmp dword [ebp + 0x1dbf4], 1
jne 0x104647d9
push 0
push 0
push dword [esp + 0xa4]
lea eax, [ebp + 0xe0]
push dword [esp + 0xb0]
push dword [eax + 4]
push dword [eax]
push eax
lea eax, [ebx + 0x3abf0]
push eax
call fcn.101152f0
add esp, 0x20
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
shrd ecx, eax, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov dword [ebp + eax*4 + 0x243b8], ecx
cmp dword [ebx + 0x5cf40], 0
je 0x10464892
mov ebx, dword [esp + 0xb4]
mov edx, dword [ebx + 0x1470]
cmp edx, 0x80
jge 0x1046488c
mov eax, dword [edi + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
movzx eax, byte [edi + 0x14]
mov byte [esp + 0x38], al
movzx eax, byte [edi + 0x15]
mov byte [esp + 0x39], al
movzx eax, byte [edi + 0x4f]
mov byte [esp + 0x3a], al
movzx eax, byte [edi + 0xa0]
movups xmm0, xmmword [esp + 0x2c]
shr eax, 1
and eax, 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [edx + edx*4]
movups xmmword [ebx + eax*8 + 0x58], xmm0
inc edx
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [ebx + eax*8 + 0x68], xmm0
movq xmm0, qword [esp + 0x4c]
movq qword [ebx + eax*8 + 0x78], xmm0
mov dword [ebx + 0x1470], edx
mov ecx, dword [esp + 0x88]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor edx, edx
call fcn.105116c0
add esp, 0x7c
ret