Function at 0x10022f50
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10162378]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10167324]
push esi
mov esi, ebx
mov dword [ebp - 0x38], ebx
push edi
mov edi, ecx
mov dword [ebp - 0x40], esi
mov eax, dword [esi + 0x3fe0]
mov dword [edi + 0x84], eax
mov al, byte [edi + 0xa4]
and al, 0xfb
mov dword [edi + 0x7c], 0
cmp dword [edi + 0x18], 0
mov byte [edi + 0xa4], al
mov dword [edi + 0x78], 0
jne 0x1002307e
call fcn.10022c90
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
mov ecx, edi
call fcn.10022c40
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov esi, dword [ebp - 0x20]
cmp ecx, 1
mov edx, dword [ebp - 0x24]
cmove eax, esi
mov dword [edi + 0x78], edx
cmp dword [edi + 0x90], 0
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], ecx
jne 0x10022ff5
test esi, esi
je 0x10023060
mov eax, dword [esi]
mov dword [edi + 0x90], eax
test esi, esi
je 0x10023060
mov eax, dword [esi + 0x2c]
mov ecx, 1
mov eax, dword [eax]
movups xmm0, xmmword [eax + 0x14]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [edi + 0x60], xmm0
mov eax, dword [eax + 0x2c]
mov dword [edi + 0x68], eax
mov ebx, dword [esi + 0x24]
cmp ebx, ecx
jle 0x10023060
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x3c], eax
lea esi, [eax + 4]
nop dword [eax + eax]
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
je 0x10023042
inc ecx
add esi, 4
cmp ecx, ebx
jl 0x10023030
jmp 0x10023060
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax + 0x14]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [edi + 0x60], xmm0
mov eax, dword [eax + 0x2c]
mov dword [edi + 0x68], eax
test edx, edx
je 0x10023072
or byte [edx + 0xa4], 0x20
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x10023064
mov ebx, dword [0x10167324]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x38], ebx
cmp dword [edi + 0x30], 0
je 0x1002309e
mov eax, dword [edi + 0x10]
shr eax, 0xc
test al, 1
je 0x1002309e
mov ecx, edi
call fcn.100253b0
mov ebx, dword [0x10167324]
mov dword [ebp - 0x38], ebx
mov ecx, dword [edi + 0x18]
xor al, al
mov byte [ebp - 0x29], al
test ecx, ecx
jne 0x100232bd
test dword [edi + 0x10], 0x400
jne 0x100232bd
mov ecx, dword [edi + 0x24]
lea edx, [edi + 0x24]
cmp ecx, 1
jg 0x100230e7
cmp dword [edi + 0x1c], 0
jne 0x100230e7
cmp byte [esi + 0x46], al
jne 0x100230e7
test ecx, ecx
je 0x100230e0
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x100230e4
mov al, 1
jmp 0x100230e7
mov al, byte [ebp - 0x29]
cmp dword [edi + 0x80], 0
je 0x100230fc
test al, al
jne 0x100230fc
mov ecx, dword [edi + 0x18]
jmp 0x100232c0
cmp ecx, 1
jne 0x100231d7
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0xa0]
and eax, 0xfffffebf
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 0x40]
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0x70]
test eax, eax
je 0x10023168
cmp dword [ecx + 0x4b34], eax
jne 0x10023168
xor edx, edx
mov ecx, esi
call fcn.10013b80
mov ebx, dword [0x10167324]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi + 0x70]
test eax, eax
je 0x100231cb
test dword [ecx + 0x5f3c], 0x100
je 0x1002319b
push dword [esi + 4]
mov eax, dword [eax + 0x30]
push dword [esi + 8]
push dword [eax]
push dword [edi]
push str._viewport__Node__08X_transfer_Viewport__08X___08X_to_Window__s_n
call fcn.100331f0
mov ebx, dword [0x10167324]
add esp, 0x14
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x30], ecx
mov eax, dword [edi + 0x70]
mov eax, dword [eax + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x70]
cmp byte [eax + 0xde], 0
je 0x100231cb
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
mov dword [eax + 0x48], esi
mov byte [esi + 0xde], 1
mov eax, dword [esi + 0x34]
lea edx, [edi + 0x24]
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0x70]
test eax, eax
je 0x100231f7
cmp dword [eax + 0x3bc], edi
jne 0x100231f0
mov dword [eax + 0x3bc], 0
mov dword [edi + 0x70], 0
cmp dword [edx], 1
jne 0x1002320d
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov dword [edi + 0x74], eax
mov eax, dword [ecx]
and byte [eax + 0x39d], 0xfe
cmp dword [edi + 0x30], 0
je 0x10023223
mov ecx, edi
call fcn.100253b0
mov ebx, dword [0x10167324]
lea edx, [edi + 0x24]
mov al, byte [edi + 0xa4]
mov esi, dword [ebp - 0x40]
and al, 0xbf
and al, 0xe7
mov dword [edi + 0x14], 1
test byte [edi + 0xa5], 1
mov dword [edi + 0x98], 0
mov byte [edi + 0xa4], al
mov eax, dword [esi + 0x3fe0]
mov dword [edi + 0x88], eax
je 0x10023d2e
cmp dword [edx], 1
jne 0x10023d2e
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
mov ecx, esi
call fcn.10009be0
movss xmm1, dword [ebx + 0x37dc]
movss xmm0, dword [ebx + 0x37e0]
subss xmm1, dword [edi + 0x34]
subss xmm0, dword [edi + 0x38]
mov dword [ebx + 0x4070], esi
movss dword [ebx + 0x40c4], xmm1
movss dword [ebx + 0x40c8], xmm0
and byte [edi + 0xa5], 0xfe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10110a52
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x24]
mov al, byte [edi + 0xa4]
mov esi, edx
mov dword [ebp - 0x48], esi
test al, 1
je 0x10023362
cmp dword [edi + 0x70], 0
mov dword [ebp - 0x48], esi
jne 0x10023362
test ecx, ecx
jne 0x10023355
test dword [edi + 0x10], 0x400
jne 0x10023355
mov dword [ebp - 0x48], esi
cmp dword [edi + 0x1c], ecx
jne 0x10023362
mov edx, dword [edi + 0x94]
lea esi, [edi + 0x24]
mov dword [ebp - 0x48], esi
test edx, edx
je 0x10023326
mov ecx, dword [esi + 8]
mov eax, dword [esi]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x3c], eax
cmp ecx, eax
je 0x10023323
mov eax, dword [ecx]
cmp dword [eax + 8], edx
je 0x1002332b
add ecx, 4
cmp ecx, dword [ebp - 0x3c]
jne 0x10023314
mov dword [ebp - 0x48], esi
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0xfc], 0
jg 0x1002333d
cmp byte [eax + 0xfd], 0
jle 0x1002335c
mov dword [edi + 0x14], 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10110a52
mov esp, ebp
pop ebp
ret
mov esi, edx
mov dword [ebp - 0x48], esi
jmp 0x10023362
mov al, byte [edi + 0xa4]
mov edx, dword [esi]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x4c], ecx
test edx, edx
jle 0x1002337a
test ecx, 0x4000
jne 0x1002337a
mov cl, 0x10
jmp 0x1002337c
xor cl, cl
and al, 0xef
or al, cl
mov ecx, dword [ebp - 0x4c]
and al, 0xf7
mov byte [edi + 0xa4], al
mov esi, dword [edi + 0x2c]
lea eax, [esi + edx*4]
mov dword [ebp - 0x3c], eax
cmp esi, eax
je 0x100233e4
mov ebx, dword [ebp - 0x48]
nop dword [eax + eax]
mov edx, dword [esi]
mov cl, byte [edi + 0xa4]
mov al, byte [edx + 0xe9]
shl al, 3
or al, cl
and cl, 0xf7
and al, 8
xor al, cl
cmp dword [ebx], 1
mov byte [edi + 0xa4], al
mov al, byte [edx + 0x39d]
setg cl
and al, 0xfe
add esi, 4
or cl, al
mov byte [edx + 0x39d], cl
cmp esi, dword [ebp - 0x3c]
jne 0x100233a0
mov ecx, dword [edi + 0x10]
mov ebx, dword [ebp - 0x38]
test dword [ebp - 0x4c], 0x8000
je 0x100233f4
and byte [edi + 0xa4], 0xf7
xor esi, esi
shr ecx, 0xa
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x29], 0
test cl, 1
je 0x10023410
mov esi, dword [edi + 0x70]
mov dword [ebp - 0x50], esi
jmp 0x100236e6
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10023679
test byte [edi + 0xa4], 1
je 0x1002368c
mov eax, dword [ebp - 0x48]
cmp dword [eax], esi
jle 0x10023436
mov eax, dword [edi + 0x2c]
mov edx, dword [eax]
jmp 0x10023438
xor edx, edx
mov eax, dword [edi + 0xa0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1002345c
test edx, edx
je 0x10023496
or dword [ebx + 0x49e4], 1
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
jmp 0x1002346d
cmp eax, 1
jne 0x10023496
or dword [ebx + 0x49e4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov byte [ebx + 0x4a20], 1
mov dword [ebx + 0x49e8], 1
mov dword [ebx + 0x4a04], esi
mov dword [ebx + 0x4a00], esi
mov dword [ebx + 0x49fc], ecx
mov dword [ebx + 0x49f8], eax
mov eax, dword [edi + 0xa0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x100234b9
test edx, edx
je 0x100234e1
or dword [ebx + 0x49e4], eax
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
jmp 0x100234cb
cmp eax, 1
jne 0x100234e1
or dword [ebx + 0x49e4], 2
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [ebx + 0x49ec], 1
mov dword [ebx + 0x4a0c], ecx
mov dword [ebx + 0x4a08], eax
mov eax, dword [edi + 0xa0]
and al, 0x38
cmp al, 0x10
jne 0x1002350e
test edx, edx
je 0x1002350e
mov al, byte [edx + 0xe2]
or dword [ebx + 0x49e4], 8
mov byte [ebx + 0x4a21], al
mov dword [ebx + 0x49f0], 1
mov eax, dword [edi + 0xa0]
and eax, 0x1c0
cmp eax, 0x80
jne 0x10023543
test edx, edx
je 0x10023529
mov eax, dword [edx + 0x34]
jmp 0x10023533
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x10023543
or dword [ebx + 0x49e4], 0x100
mov dword [ebx + 0x4a40], eax
or dword [ebx + 0x49e4], 0x400
movups xmm0, xmmword [edi + 0x50]
movups xmmword [ebx + 0x4a48], xmm0
movq xmm0, qword [edi + 0x60]
movq qword [ebx + 0x4a58], xmm0
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x4a60], eax
lea eax, [ebp - 0x18]
push dword [edi]
push str.DockNode__02X
push 0x14
push eax
call fcn.10003e90
mov esi, dword [0x10167324]
lea eax, [ebp - 0x5c]
add esp, 0x10
mov dword [ebp - 0x5c], 2
or dword [esi + 0x49e4], 0x40
lea ecx, [esi + 0x4a7c]
mov dword [esi + 0x4a3c], 0
movss xmm1, dword [esi + 0x395c]
movss xmm0, dword [esi + 0x3960]
push eax
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x54], xmm0
call fcn.10035700
push 0x20081139
xor edx, edx
mov dword [esi + 0x395c], 0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x3960], 0
call fcn.10010630
add esp, 4
mov ecx, 1
call fcn.10006060
mov esi, dword [ebp - 0x40]
mov eax, dword [edi + 0x70]
mov byte [ebp - 0x29], 1
mov esi, dword [esi + 0x4064]
mov dword [ebp - 0x50], esi
test eax, eax
je 0x10023627
cmp eax, esi
je 0x10023627
cmp dword [eax + 0x3bc], edi
jne 0x10023627
mov dword [eax + 0x3bc], 0
mov dword [esi + 0x3bc], edi
mov dword [edi + 0x70], esi
movss xmm0, dword [esi + 0x44]
movss xmm1, dword [esi + 0x48]
movss dword [esi + 0x128], xmm0
movss dword [esi + 0x12c], xmm1
movss dword [edi + 0x34], xmm0
movss dword [edi + 0x38], xmm1
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x40], ecx
mov ecx, dword [edi + 0x70]
mov dword [edi + 0x3c], eax
cmp byte [ecx + 0xe5], 0
je 0x10023671
call fcn.10013b00
mov ebx, dword [0x10167324]
jmp 0x10023682
mov esi, dword [eax + 0x70]
mov dword [ebp - 0x50], esi
mov dword [edi + 0x70], esi
and dword [edi + 0xa0], 0xfffffe00
test byte [edi + 0xa5], 1
je 0x100236e6
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100236e6
mov ecx, eax
call fcn.10009be0
movss xmm1, dword [ebx + 0x37dc]
movss xmm0, dword [ebx + 0x37e0]
subss xmm1, dword [edi + 0x34]
subss xmm0, dword [edi + 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x4070], eax
movss dword [ebx + 0x40c4], xmm1
movss dword [ebx + 0x40c8], xmm0
and byte [edi + 0xa5], 0xfe
mov ebx, dword [0x10167324]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x9c], 0
test ecx, ecx
jne 0x1002375c
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x4b34]
test eax, eax
je 0x10023741
mov eax, dword [eax + 0x340]
test eax, eax
je 0x1002375c
nop
mov edx, dword [eax + 0x3b8]
test edx, edx
je 0x10023759
mov ecx, edx
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x1002372c
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x10023723
cmp ecx, edi
je 0x10023749
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x10023741
mov eax, dword [eax + 0x340]
test eax, eax
jne 0x10023710
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x34], eax
jmp 0x1002376a
mov eax, dword [edx]
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x34], eax
jmp 0x1002376a
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x34], eax
test ecx, ecx
jne 0x1002396e
mov edx, eax
mov dword [ebp - 0x30], edx
test esi, esi
je 0x1002396e
mov ecx, dword [ebp - 0x4c]
and ecx, 8
mov dword [ebp - 0x38], ecx
je 0x1002396e
test eax, eax
je 0x1002396e
cmp dword [eax + 0x1c], 0
jne 0x1002396e
cmp dword [eax + 0x24], 0
jne 0x1002396e
cmp byte [ebx + 0x4d14], 0
mov byte [ebp - 0x41], 1
je 0x10023829
cmp dword [ebx + 0x4d34], 0xffffffff
je 0x10023829
lea ecx, [ebx + 0x4d24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x10023833
cmp dword [ecx + 0x10], 0xffffffff
je 0x10023829
add ecx, 0x14
mov eax, str._IMWINDOW
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100237f3
test dl, dl
je 0x100237ef
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100237f3
add eax, 2
add ecx, 2
test dl, dl
jne 0x100237d3
xor eax, eax
jmp 0x100237f8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10023826
mov edx, dword [ebx + 0x4d24]
mov ecx, esi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov edx, dword [edx]
call fcn.100254f0
test al, al
je 0x10023830
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x10023980
mov edx, dword [ebp - 0x30]
mov eax, edx
mov dword [ebp - 0x34], eax
jmp 0x10023833
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x18]
mov edx, eax
test ecx, ecx
je 0x10023849
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x10023840
movss xmm2, dword [eax + 0x34]
mov ecx, eax
comiss xmm2, dword [edx + 0x34]
mov dword [ebp - 0x3c], ecx
movss xmm6, dword [edx + 0x38]
movaps xmm4, xmm2
movss xmm1, dword [ecx + 0x38]
movaps xmm7, xmm6
movss xmm5, dword [edx + 0x34]
movaps xmm3, xmm1
addss xmm5, dword [edx + 0x3c]
addss xmm7, dword [edx + 0x40]
addss xmm4, dword [eax + 0x3c]
addss xmm3, dword [eax + 0x40]
movss xmm0, dword [0x1015caf0]
jbe 0x10023891
addss xmm2, xmm0
comiss xmm5, xmm4
jbe 0x1002389a
subss xmm4, xmm0
comiss xmm1, xmm6
jbe 0x100238a3
addss xmm1, xmm0
comiss xmm7, xmm3
jbe 0x100238ac
subss xmm3, xmm0
comiss xmm2, xmm4
ja 0x10023966
comiss xmm1, xmm3
ja 0x10023966
subss xmm4, xmm2
movaps xmm0, xmm2
subss xmm3, xmm1
cvttss2si eax, xmm4
mov word [ebp - 0x30], ax
movzx edx, ax
cvttss2si eax, xmm3
movzx ecx, ax
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x268], eax
subss xmm0, dword [esi + 0x44]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x338]
cvttss2si eax, xmm0
movaps xmm0, xmm1
mov word [ebp - 0x30], ax
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x26c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x1002397d
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x2e], ax
mov word [ebp - 0x30], dx
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x268], eax
subss xmm2, dword [ecx + 0x44]
subss xmm1, dword [ecx + 0x48]
cvttss2si eax, xmm2
mov word [ebp - 0x30], ax
cvttss2si eax, xmm1
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x26c], eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x10023980
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
jmp 0x10023980
mov ecx, dword [ebp - 0x4c]
and ecx, 8
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x38], ecx
jmp 0x10023980
mov ecx, dword [ebp - 0x38]
cmp dword [edi + 0x18], 0
mov edx, eax
mov dword [ebp - 0x30], edx
mov eax, ecx
jne 0x10023a6c
test esi, esi
je 0x10023b30
push dword [esi + 0x50]
xor edx, edx
mov ecx, edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.10026ec0
movups xmm0, xmmword [ebx + 0x3bec]
add esp, 0x10
mov dword [ebp - 0x64], 0x1b
lea eax, [ebp - 0x64]
lea ecx, [ebx + 0x4a70]
movups xmmword [ebp - 0x60], xmm0
push eax
call fcn.10035810
mov eax, dword [ebp - 0x40]
mov esi, dword [0x10167324]
mov dword [ebp - 0x64], 0x1d
movups xmm0, xmmword [eax + 0x3a8c]
lea eax, [ebp - 0x64]
push eax
movups xmmword [ebx + 0x3bec], xmm0
lea ecx, [esi + 0x4a70]
movups xmm0, xmmword [esi + 0x3c0c]
movups xmmword [ebp - 0x60], xmm0
call fcn.10035810
mov ebx, dword [ebp - 0x40]
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x1c
movups xmm0, xmmword [ebx + 0x3c3c]
movups xmmword [esi + 0x3c0c], xmm0
mov esi, dword [0x10167324]
movups xmm0, xmmword [esi + 0x3bfc]
lea ecx, [esi + 0x4a70]
movups xmmword [ebp - 0x60], xmm0
call fcn.10035810
movups xmm0, xmmword [ebx + 0x3c2c]
mov ecx, edi
movups xmmword [esi + 0x3bfc], xmm0
call fcn.10027280
mov ecx, 3
call fcn.10005f20
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
jmp 0x10023a74
test esi, esi
je 0x10023b30
cmp dword [edi + 0x1c], 0
jne 0x10023b2e
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
jne 0x10023b2e
test byte [edi + 0xa4], 1
mov eax, ecx
mov ebx, edx
je 0x10023b33
mov ecx, dword [esi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.1006e8f0
mov eax, dword [ebp - 0x4c]
and eax, 8
mov dword [ebp - 0x3c], eax
je 0x10023aca
or byte [edi + 0xa4], 4
mov ebx, dword [ebp - 0x30]
mov dword [edi + 0x6c], 0
jmp 0x10023b33
movss xmm1, dword [0x1015ca30]
mov ecx, 0x27
call fcn.10005cf0
mov dword [edi + 0x6c], eax
test eax, eax
je 0x10023b1f
movss xmm0, dword [edi + 0x34]
lea ecx, [edi + 0x34]
addss xmm0, dword [edi + 0x3c]
push 0
push ecx
mov dword [esp], 0
push eax
movss dword [ebp - 0x20], xmm0
lea eax, [ebp - 0x20]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [edi + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x2a4]
movss dword [ebp - 0x1c], xmm0
call fcn.1006d780
mov eax, dword [ebp - 0x3c]
or byte [edi + 0xa4], 4
mov ebx, dword [ebp - 0x30]
jmp 0x10023b33
mov eax, ecx
mov ebx, dword [ebp - 0x34]
test esi, esi
je 0x10023c6d
cmp dword [edi + 0x18], 0
jne 0x10023c49
test eax, eax
je 0x10023c49
test byte [edi + 0xa4], 1
je 0x10023c49
mov ecx, dword [esi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.1006e8f0
cmp byte [ebp - 0x41], 0
lea edx, [edi + 0x34]
je 0x10023bff
movss xmm0, dword [ebx + 0x38]
sub esp, 8
movss xmm1, dword [ebx + 0x34]
mov ecx, 2
movss xmm2, dword [edx]
movss dword [ebp - 0x5c], xmm0
addss xmm0, dword [ebx + 0x40]
movss dword [ebp - 0x60], xmm1
addss xmm1, dword [ebx + 0x3c]
movss dword [ebp - 0x28], xmm2
addss xmm2, dword [edi + 0x3c]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x24], xmm0
addss xmm0, dword [edi + 0x40]
movss dword [ebp - 0x58], xmm1
movss xmm1, dword [0x1015ca30]
movss dword [ebp - 0x20], xmm2
mov dword [esp + 4], 0
movss dword [ebp - 0x1c], xmm0
call fcn.10005cf0
mov ecx, dword [esi + 0x2a4]
lea edx, [ebp - 0x28]
add esp, 4
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10073470
add esp, 0xc
jmp 0x10023c49
movss xmm0, dword [edx]
addss xmm0, dword [edi + 0x3c]
movss xmm1, dword [0x1015ca30]
push 0
push ecx
mov ecx, 2
mov dword [esp], 0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edx + 4]
addss xmm0, dword [edi + 0x40]
movss dword [ebp - 0x1c], xmm0
call fcn.10005cf0
mov ecx, dword [esi + 0x2a4]
push eax
lea eax, [ebp - 0x20]
push eax
push edx
call fcn.1006d780
mov ecx, dword [esi + 0x2a4]
push 1
push ecx
add ecx, 0x78
call fcn.1006e8f0
mov ebx, dword [ebp - 0x48]
cmp dword [ebx], 0
jle 0x10023c70
mov edx, esi
mov ecx, edi
call fcn.10023eb0
jmp 0x10023c8a
mov ebx, dword [ebp - 0x48]
mov al, byte [edi + 0xa4]
and al, 0xbf
mov dword [edi + 0x98], 0
and al, 0xfd
mov byte [edi + 0xa4], al
mov eax, dword [edi + 0x30]
test eax, eax
je 0x10023c98
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10023ca8
cmp dword [ebx], 0
jle 0x10023cae
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0xa4]
mov dword [edi + 0x94], eax
test esi, esi
je 0x10023ceb
test byte [edi + 0xa4], 1
je 0x10023ceb
cmp dword [edi + 0x18], 0
jne 0x10023ceb
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x4070]
test eax, eax
je 0x10023cd6
cmp dword [eax + 0x348], esi
je 0x10023ceb
mov ecx, esi
call fcn.10028a50
mov eax, dword [ebx + 0x3fe0]
mov dword [edi + 0x88], eax
jmp 0x10023cfe
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x3fe0]
mov dword [edi + 0x88], eax
test esi, esi
je 0x10023d23
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x10023d0a
call fcn.10022f50
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10023d16
call fcn.10022f50
cmp dword [edi + 0x18], 0
jne 0x10023d23
mov ecx, esi
call fcn.1000f210
cmp byte [ebp - 0x29], 0
je 0x10023d2e
call fcn.10013850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10110a52
mov esp, ebp
pop ebp
ret