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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1026500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10265568]
mov eax, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [eax + 0x3eb0]
and byte [edi + 0xa4], 0xfb
cmp dword [edi + 0x18], 0
mov dword [edi + 0x84], eax
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
jne 0x10020294
call fcn.1001fe50
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
mov ecx, edi
call fcn.1001fe00
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 0x1002020b
test esi, esi
je 0x10020271
mov eax, dword [esi]
mov dword [edi + 0x90], eax
test esi, esi
je 0x10020271
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 0x10020271
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x3c], eax
lea esi, [eax + 4]
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
je 0x10020253
inc ecx
add esi, 4
cmp ecx, ebx
jl 0x10020241
jmp 0x10020271
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 0x1002028e
nop word [eax + eax]
or byte [edx + 0xa4], 0x20
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x10020280
mov ebx, dword [0x10265568]
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x100202b7
mov eax, dword [edi + 0x10]
shr eax, 0xc
test al, 1
je 0x100202b7
call fcn.100282c0
mov ebx, dword [0x10265568]
mov dword [edi + 0x30], 0
mov esi, dword [edi + 0x18]
xor dl, dl
test esi, esi
jne 0x100204cc
test dword [edi + 0x10], 0x400
jne 0x100204cc
mov ecx, dword [edi + 0x24]
cmp ecx, 1
jg 0x100202f6
cmp dword [edi + 0x1c], esi
jne 0x100202f6
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x46], dl
jne 0x100202f6
test ecx, ecx
je 0x100202f4
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x2c], dl
jne 0x100202f6
mov dl, 1
cmp dword [edi + 0x80], 0
je 0x10020307
test dl, dl
je 0x100204cc
cmp ecx, 1
jne 0x100203e1
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 [edi + 0x70]
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [edi + 0xa0], eax
mov eax, ecx
test ecx, ecx
je 0x10020375
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x4934], ecx
jne 0x10020379
xor edx, edx
mov ecx, esi
call fcn.10012430
mov eax, dword [edi + 0x70]
mov ebx, dword [0x10265568]
test eax, eax
je 0x100203d8
mov ecx, dword [ebp - 0x34]
test dword [ecx + 0x5c88], 0x100
je 0x100203ab
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.100267a0
mov eax, dword [edi + 0x70]
add esp, 0x14
mov ebx, dword [0x10265568]
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 0x100203d8
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]
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0x70]
test eax, eax
je 0x10020401
cmp dword [eax + 0x3bc], edi
jne 0x100203fa
mov dword [eax + 0x3bc], 0
mov dword [edi + 0x70], 0
cmp dword [edi + 0x24], 1
jne 0x10020418
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov dword [edi + 0x74], eax
mov eax, dword [ecx]
and byte [eax + 0x39d], 0xfe
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x10020431
call fcn.100282c0
mov ebx, dword [0x10265568]
mov dword [edi + 0x30], 0
mov al, byte [edi + 0xa4]
and al, 0xbf
mov dword [edi + 0x14], 1
and al, 0xe7
mov dword [edi + 0x98], 0
test byte [edi + 0xa5], 1
mov byte [edi + 0xa4], al
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x3eb0]
mov dword [edi + 0x88], eax
je 0x10020eb6
cmp dword [edi + 0x24], 1
jne 0x10020eb6
mov eax, dword [edi + 0x2c]
mov esi, dword [eax]
mov ecx, esi
call fcn.10008de0
movss xmm1, dword [ebx + 0x36b8]
movss xmm0, dword [ebx + 0x36bc]
subss xmm1, dword [edi + 0x34]
subss xmm0, dword [edi + 0x38]
mov dword [ebx + 0x3f40], esi
movss dword [ebx + 0x3f94], xmm1
movss dword [ebx + 0x3f98], xmm0
and byte [edi + 0xa5], 0xfe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077e95
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 0xa4]
test al, 1
je 0x10020569
cmp dword [edi + 0x70], 0
jne 0x10020569
test esi, esi
jne 0x10020569
test dword [edi + 0x10], 0x400
jne 0x10020569
cmp dword [edi + 0x1c], esi
jne 0x10020569
cmp dword [edi + 0x94], esi
je 0x10020534
mov esi, dword [edi + 0x24]
xor ecx, ecx
test esi, esi
jle 0x10020534
mov edx, dword [edi + 0x2c]
nop
mov eax, dword [edx]
mov esi, dword [edi + 0x94]
cmp dword [eax + 8], esi
mov esi, dword [edi + 0x24]
je 0x1002052a
inc ecx
add edx, 4
cmp ecx, esi
jl 0x10020510
jmp 0x10020534
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x10020539
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0xfc], 0
jg 0x1002054b
cmp byte [eax + 0xfd], 0
jle 0x10020563
mov dword [edi + 0x14], 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077e95
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 0xa4]
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x38], edx
test ecx, ecx
jle 0x1002058a
test edx, 0x4000
jne 0x1002058a
and al, 0xf7
or al, 0x10
mov byte [edi + 0xa4], al
jmp 0x10020598
and al, 0xe7
mov byte [edi + 0xa4], al
mov eax, edx
test ecx, ecx
jle 0x100205e9
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x2c]
mov edx, dword [eax + esi*4]
mov al, byte [edi + 0xa4]
mov cl, byte [edx + 0xe9]
shl cl, 3
or cl, al
xor cl, al
and cl, 8
xor cl, al
cmp dword [edi + 0x24], 1
mov byte [edi + 0xa4], cl
mov al, byte [edx + 0x39d]
setg cl
and al, 0xfe
inc esi
or cl, al
mov byte [edx + 0x39d], cl
mov ecx, dword [edi + 0x24]
cmp esi, ecx
jl 0x100205a0
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x38]
test edx, 0x8000
je 0x100205f8
and byte [edi + 0xa4], 0xf7
xor esi, esi
shr eax, 0xa
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x2d], 0
test al, 1
je 0x10020613
mov esi, dword [edi + 0x70]
mov dword [ebp - 0x50], esi
jmp 0x100208a5
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10020838
test byte [edi + 0xa4], 1
je 0x1002084b
test ecx, ecx
jle 0x10020636
mov eax, dword [edi + 0x2c]
mov edx, dword [eax]
jmp 0x10020638
xor edx, edx
mov eax, dword [edi + 0xa0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1002065c
test edx, edx
je 0x10020696
or dword [ebx + 0x47e8], 1
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
jmp 0x1002066d
cmp eax, 1
jne 0x10020696
or dword [ebx + 0x47e8], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov byte [ebx + 0x4824], 1
mov dword [ebx + 0x47ec], 1
mov dword [ebx + 0x4808], esi
mov dword [ebx + 0x4804], esi
mov dword [ebx + 0x4800], ecx
mov dword [ebx + 0x47fc], eax
mov eax, dword [edi + 0xa0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x100206b9
test edx, edx
je 0x100206e1
or dword [ebx + 0x47e8], eax
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
jmp 0x100206cb
cmp eax, 1
jne 0x100206e1
or dword [ebx + 0x47e8], 2
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [ebx + 0x47f0], 1
mov dword [ebx + 0x4810], ecx
mov dword [ebx + 0x480c], eax
mov ecx, dword [edi + 0xa0]
mov eax, ecx
and al, 0x38
cmp al, 0x10
jne 0x10020716
test edx, edx
je 0x10020716
mov al, byte [edx + 0xe2]
or dword [ebx + 0x47e8], 8
mov byte [ebx + 0x4825], al
mov dword [ebx + 0x47f4], 1
mov ecx, dword [edi + 0xa0]
and ecx, 0x1c0
cmp ecx, 0x80
jne 0x10020747
test edx, edx
je 0x1002072d
mov eax, dword [edx + 0x34]
jmp 0x10020737
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x10020747
or dword [ebx + 0x47e8], 0x100
mov dword [ebx + 0x4844], eax
or dword [ebx + 0x47e8], 0x400
movups xmm0, xmmword [edi + 0x50]
movups xmmword [ebx + 0x484c], xmm0
movq xmm0, qword [edi + 0x60]
movq qword [ebx + 0x485c], xmm0
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x4864], eax
lea eax, [ebp - 0x18]
push dword [edi]
push str.DockNode__02X
push 0x14
push eax
call fcn.10004690
mov eax, dword [0x10265568]
lea edx, [ebp - 0x40]
mov ecx, 2
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
or dword [eax + 0x47e8], 0x40
mov dword [eax + 0x4840], esi
call fcn.10006350
push 0x20081139
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.1000f510
add esp, 0x14
mov ecx, 1
call fcn.100063d0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x2d], 1
mov esi, dword [eax + 0x3f34]
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x50], esi
test eax, eax
je 0x100207f2
cmp eax, esi
je 0x100207f2
cmp dword [eax + 0x3bc], edi
jne 0x100207f2
mov dword [eax + 0x3bc], 0
mov dword [esi + 0x3bc], edi
mov dword [edi + 0x70], esi
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x34], eax
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 0x10020830
call fcn.100123b0
mov ebx, dword [0x10265568]
jmp 0x10020841
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 0x100208a5
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100208a5
mov ecx, eax
call fcn.10008de0
movss xmm1, dword [ebx + 0x36b8]
movss xmm0, dword [ebx + 0x36bc]
subss xmm1, dword [edi + 0x34]
subss xmm0, dword [edi + 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x3f40], eax
movss dword [ebx + 0x3f94], xmm1
movss dword [ebx + 0x3f98], xmm0
and byte [edi + 0xa5], 0xfe
mov ebx, dword [0x10265568]
mov eax, dword [edi + 0x18]
mov dword [edi + 0x9c], 0
test eax, eax
jne 0x10020920
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x4934]
test edx, edx
je 0x100208ff
mov edx, dword [edx + 0x340]
test edx, edx
je 0x10020920
nop dword [eax]
mov ecx, dword [edx + 0x3b8]
test ecx, ecx
je 0x1002091d
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x100208ea
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x100208e1
cmp ecx, edi
je 0x10020907
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x100208ff
mov edx, dword [edx + 0x340]
test edx, edx
jne 0x100208d0
mov edx, dword [edi + 0x78]
mov dword [ebp - 0x4c], edx
jmp 0x1002092e
mov eax, dword [edx + 0x3b8]
mov edx, dword [edi + 0x78]
mov dword [ebp - 0x4c], edx
mov eax, dword [eax]
mov dword [edi + 0x90], eax
jmp 0x1002092e
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x78]
mov dword [ebp - 0x4c], edx
test eax, eax
jne 0x10020ae6
test esi, esi
je 0x10020ae6
test byte [ebp - 0x38], 8
je 0x10020ae6
test edx, edx
je 0x10020ae6
cmp dword [edx + 0x1c], 0
jne 0x10020ae6
cmp dword [edx + 0x24], 0
jne 0x10020ae6
cmp byte [ebx + 0x4acc], 0
mov byte [ebp - 0x2e], 1
je 0x100209d7
cmp dword [ebx + 0x4aec], 0xffffffff
je 0x100209d7
lea eax, [ebx + 0x4adc]
test eax, eax
je 0x100209d7
cmp dword [eax + 0x10], 0xffffffff
je 0x100209d7
lea ecx, [eax + 0x14]
mov eax, str._IMWINDOW
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100209b0
test dl, dl
je 0x100209ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100209b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10020990
xor eax, eax
jmp 0x100209b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100209d4
mov edx, dword [ebx + 0x4adc]
mov ecx, esi
mov edx, dword [edx]
call fcn.10022680
test al, al
je 0x100209d4
mov eax, dword [edi + 0x18]
jmp 0x10020af5
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x18]
mov ecx, edx
test eax, eax
je 0x100209e9
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x100209e0
movss xmm2, dword [edx + 0x34]
comiss xmm2, dword [ecx + 0x34]
movss xmm6, dword [ecx + 0x38]
movaps xmm4, xmm2
movss xmm1, dword [edx + 0x38]
movaps xmm7, xmm6
movss xmm5, dword [ecx + 0x34]
movaps xmm3, xmm1
addss xmm5, dword [ecx + 0x3c]
addss xmm7, dword [ecx + 0x40]
addss xmm4, dword [edx + 0x3c]
addss xmm3, dword [edx + 0x40]
movss xmm0, dword [0x1025cdd0]
jbe 0x10020a2c
addss xmm2, xmm0
comiss xmm5, xmm4
jbe 0x10020a35
subss xmm4, xmm0
comiss xmm1, xmm6
jbe 0x10020a3e
addss xmm1, xmm0
comiss xmm7, xmm3
jbe 0x10020a47
subss xmm3, xmm0
comiss xmm2, xmm4
ja 0x100209cc
comiss xmm1, xmm3
ja 0x100209cc
subss xmm4, xmm2
mov ecx, dword [esi + 0x338]
subss xmm3, xmm1
movaps xmm0, xmm2
cvttss2si edx, xmm4
cvttss2si eax, xmm3
mov word [ebp - 0x3c], dx
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x268], eax
subss xmm0, dword [esi + 0x44]
cvttss2si eax, xmm0
movaps xmm0, xmm1
mov word [ebp - 0x3c], ax
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x26c], eax
test ecx, ecx
je 0x10020aea
cvttss2si eax, xmm3
mov word [ebp - 0x3c], dx
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x268], eax
subss xmm2, dword [ecx + 0x44]
subss xmm1, dword [ecx + 0x48]
cvttss2si eax, xmm2
mov word [ebp - 0x3c], ax
cvttss2si eax, xmm1
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x26c], eax
mov eax, dword [edi + 0x18]
jmp 0x10020af5
mov byte [ebp - 0x2e], 0
mov eax, dword [edi + 0x18]
test esi, esi
je 0x10020cb8
test eax, eax
jne 0x10020c10
push dword [esi + 0x50]
xor edx, edx
mov ecx, edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.10023e50
movups xmm0, xmmword [ebx + 0x3abc]
add esp, 0x10
mov dword [ebp - 0x2c], 0x1b
lea eax, [ebp - 0x2c]
lea ecx, [ebx + 0x4870]
movups xmmword [ebp - 0x28], xmm0
push eax
call fcn.10027890
mov eax, dword [ebp - 0x34]
mov esi, dword [0x10265568]
mov dword [ebp - 0x2c], 0x1d
movups xmm0, xmmword [eax + 0x395c]
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebx + 0x3abc], xmm0
lea ecx, [esi + 0x4870]
movups xmm0, xmmword [esi + 0x3adc]
movups xmmword [ebp - 0x28], xmm0
call fcn.10027890
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x1c
movups xmm0, xmmword [ebx + 0x3b0c]
movups xmmword [esi + 0x3adc], xmm0
mov esi, dword [0x10265568]
movups xmm0, xmmword [esi + 0x3acc]
lea ecx, [esi + 0x4870]
movups xmmword [ebp - 0x28], xmm0
call fcn.10027890
movups xmm0, xmmword [ebx + 0x3afc]
mov ecx, edi
movups xmmword [esi + 0x3acc], xmm0
call fcn.100241e0
mov esi, dword [0x10265568]
mov ebx, 3
mov eax, dword [esi + 0x4870]
cmp eax, ebx
jge 0x10020be0
mov ebx, eax
test ebx, ebx
jle 0x10020c0d
nop word [eax + eax]
mov eax, dword [esi + 0x4870]
dec ebx
mov ecx, dword [esi + 0x4878]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x390c], xmm0
dec dword [esi + 0x4870]
test ebx, ebx
jg 0x10020be0
mov esi, dword [ebp - 0x50]
cmp dword [edi + 0x1c], 0
jne 0x10020cb8
cmp dword [edi + 0x24], 0
jne 0x10020cb8
test byte [edi + 0xa4], 1
je 0x10020cb8
mov ecx, dword [esi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.10033690
mov ebx, dword [ebp - 0x38]
test bl, 8
je 0x10020c5a
or byte [edi + 0xa4], 4
mov dword [edi + 0x6c], 0
jmp 0x10020cbb
movss xmm1, dword [0x1025cd5c]
mov ecx, 0x27
call fcn.100060b0
mov dword [edi + 0x6c], eax
test eax, eax
je 0x10020caf
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 - 0x40], xmm0
lea eax, [ebp - 0x40]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [edi + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x2a4]
movss dword [ebp - 0x3c], xmm0
call fcn.10032b40
or byte [edi + 0xa4], 4
jmp 0x10020cbb
mov ebx, dword [ebp - 0x38]
test esi, esi
je 0x10020df7
cmp dword [edi + 0x18], 0
jne 0x10020dd5
test bl, 8
je 0x10020dd5
test byte [edi + 0xa4], 1
je 0x10020dd5
mov ecx, dword [esi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.10033690
cmp byte [ebp - 0x2e], 0
lea ebx, [edi + 0x34]
je 0x10020d8b
mov eax, dword [ebp - 0x4c]
sub esp, 8
movss xmm2, dword [ebx]
mov ecx, 2
movss dword [ebp - 0x48], xmm2
addss xmm2, dword [edi + 0x3c]
movss xmm0, dword [eax + 0x38]
movss xmm1, dword [eax + 0x34]
movss dword [ebp - 0x24], xmm0
addss xmm0, dword [eax + 0x40]
movss dword [ebp - 0x28], xmm1
addss xmm1, dword [eax + 0x3c]
movss dword [ebp - 0x40], xmm2
mov dword [esp + 4], 0
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x44], xmm0
addss xmm0, dword [edi + 0x40]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x1025cd5c]
movss dword [ebp - 0x3c], xmm0
call fcn.100060b0
mov ecx, dword [esi + 0x2a4]
lea edx, [ebp - 0x48]
add esp, 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100373d0
add esp, 0xc
jmp 0x10020dd5
movss xmm0, dword [ebx]
addss xmm0, dword [edi + 0x3c]
movss xmm1, dword [0x1025cd5c]
push 0
push ecx
mov ecx, 2
mov dword [esp], 0
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebx + 4]
addss xmm0, dword [edi + 0x40]
movss dword [ebp - 0x3c], xmm0
call fcn.100060b0
mov ecx, dword [esi + 0x2a4]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.10032b40
mov ecx, dword [esi + 0x2a4]
push 1
push ecx
add ecx, 0x78
call fcn.10033690
cmp dword [edi + 0x24], 0
jle 0x10020df7
mov edx, esi
mov ecx, edi
call fcn.10021040
jmp 0x10020e11
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 0x10020e1f
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10020e30
cmp dword [edi + 0x24], 0
jle 0x10020e36
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0xa4]
mov dword [edi + 0x94], eax
test esi, esi
je 0x10020e73
test byte [edi + 0xa4], 1
je 0x10020e73
cmp dword [edi + 0x18], 0
jne 0x10020e73
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x3f40]
test eax, eax
je 0x10020e5e
cmp dword [eax + 0x348], esi
je 0x10020e73
mov ecx, esi
call fcn.10025300
mov eax, dword [ebx + 0x3eb0]
mov dword [edi + 0x88], eax
jmp 0x10020e86
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x3eb0]
mov dword [edi + 0x88], eax
test esi, esi
je 0x10020eab
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x10020e92
call fcn.10020170
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10020e9e
call fcn.10020170
cmp dword [edi + 0x18], 0
jne 0x10020eab
mov ecx, esi
call fcn.1000e030
cmp byte [ebp - 0x2d], 0
je 0x10020eb6
call fcn.10012190
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10077e95
mov esp, ebp
pop ebp
ret