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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x103b9004]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, ecx
push edi
movups xmm1, xmmword [esi + 0x34]
movaps xmm0, xmm1
movd ecx, xmm1
psrldq xmm0, 8
movd eax, xmm0
movaps xmmword [esp + 0x30], xmm1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
cmp eax, ecx
jle 0x1008248d
mov edi, dword [esp + 0x3c]
cmp edi, dword [esp + 0x34]
jle 0x1008248d
cmp dword [esi + 0x10], 0
jne 0x1008220d
push 0x34
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
mov dword [esp + 0x4c], edi
test edi, edi
je 0x10082204
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x2c], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CFX_FxgeDevice.0
mov dword [edi + 0x30], 0
jmp 0x10082206
xor edi, edi
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1008221a
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x28
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x10082245
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.10095ed0
jmp 0x10082247
xor eax, eax
sub edi, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x14]
push 0
push 0x18
push edi
push ecx
mov ecx, eax
mov dword [esi + 0xc], eax
call fcn.10095fa0
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
call fcn.10096a30
mov ecx, dword [esi + 0x10]
push 0
push 0
sub esp, 8
push dword [esi + 0xc]
call fcn.100ba4a0
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1008228f
mov eax, dword [ecx]
push dword [esi + 0xc]
call dword [eax + 8]
cmp dword [esi + 0x5c], 0
je 0x100822a1
cmp dword [esi + 0x64], 0
je 0x100822a1
cmp dword [esi + 0x60], 0
je 0x100822c3
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x100822ae
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov ecx, esi
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x58], 0
mov dword [esp + 0x28], 1
call fcn.100827f0
xor ecx, ecx
mov dword [esi + 4], 0
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x30], ecx
jle 0x100823d7
nop dword [eax]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov edi, eax
test edi, edi
je 0x100823c5
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 4]
call edx
test eax, eax
jne 0x10082361
mov ecx, edi
call fcn.100838c0
cmp dword [edi + 0x1c], 0
mov dword [edi + 0x60], 0
je 0x100823c5
mov eax, dword [edi + 0x34]
push dword [edi + 0x2c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x100823c5
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0xac]
test ecx, ecx
je 0x100823c5
call fcn.101161c0
jmp 0x100823c5
cmp dword [esp + 0x28], 0
je 0x1008237c
mov ecx, dword [esi + 0x74]
push dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov dword [esp + 0x28], 0
mov ecx, dword [esi + 0x74]
push dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x100823bb
cmp dword [esi + 4], 0
jne 0x100823bb
mov ecx, dword [esi + 0x74]
push dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [esi + 0x7c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x44], eax
test ecx, ecx
je 0x100823b4
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
mov dword [esi + 4], 1
inc dword [esi + 0x58]
mov ecx, edi
call fcn.10083630
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esi + 0x30]
jl 0x10082300
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x100823e3
mov eax, dword [ecx]
call dword [eax + 0x18]
push dword [esi + 0xc]
mov ecx, esi
call fcn.100824a0
mov edi, dword [esi + 0x64]
test edi, edi
je 0x10082486
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 8]
mov edx, dword [esi + 0x6c]
add eax, ecx
movups xmm0, xmmword [esi + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
add eax, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x50]
movups xmmword [esp + 0x50], xmm0
push eax
movaps xmm0, xmmword [esp + 0x34]
movaps xmmword [esp + 0x34], xmm0
call fcn.1008d4c0
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x30]
jle 0x10082486
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jle 0x10082486
cmp dword [esi + 0xc], 0
je 0x10082486
push 0
mov eax, edx
sub ecx, edx
sub eax, dword [esi + 0x6c]
sub edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esi + 0x68]
push eax
mov eax, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x48]
push ecx
mov ecx, dword [esi + 0xc]
sub edi, eax
sub eax, dword [esp + 0x64]
push edi
push edx
push eax
call fcn.10096e10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret