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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10317358]
mov ebx, ecx
mov eax, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], eax
push edi
mov eax, dword [eax + 0x3eb0]
and byte [ebx + 0xa4], 0xfb
cmp dword [ebx + 0x18], 0
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x78], 0
jne 0x1006a6d7
call fcn.1006a210
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
mov ecx, ebx
call fcn.1006a1b0
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 [ebx + 0x78], edx
cmp dword [ebx + 0x90], 0
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], ecx
jne 0x1006a64e
test esi, esi
je 0x1006a6b4
mov eax, dword [esi]
mov dword [ebx + 0x90], eax
test esi, esi
je 0x1006a6b4
mov eax, dword [esi + 0x2c]
mov ecx, 1
mov eax, dword [eax]
movups xmm0, xmmword [eax + 0x14]
movups xmmword [ebx + 0x50], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [ebx + 0x60], xmm0
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x68], eax
mov edi, dword [esi + 0x24]
cmp edi, ecx
jle 0x1006a6b4
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x34], eax
lea esi, [eax + 4]
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
je 0x1006a696
inc ecx
add esi, 4
cmp ecx, edi
jl 0x1006a684
jmp 0x1006a6b4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax + 0x14]
movups xmmword [ebx + 0x50], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [ebx + 0x60], xmm0
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x68], eax
test edx, edx
je 0x1006a6ce
nop dword [eax + eax]
or byte [edx + 0xa4], 0x20
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x1006a6c0
mov esi, dword [0x10317358]
mov dword [ebp - 0x40], esi
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x1006a719
mov eax, dword [ebx + 0x10]
shr eax, 0xc
test al, 1
je 0x1006a719
push ecx
mov ecx, edi
call fcn.100e0fa0
mov eax, dword [0x10317358]
test eax, eax
je 0x1006a6ff
dec dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [0x10317358]
add esp, 4
mov dword [ebx + 0x30], 0
mov dword [ebp - 0x40], esi
mov edi, dword [ebx + 0x18]
xor dl, dl
test edi, edi
jne 0x1006a8dd
test dword [ebx + 0x10], 0x400
jne 0x1006a8dd
mov ecx, dword [ebx + 0x24]
cmp ecx, 1
jg 0x1006a758
cmp dword [ebx + 0x1c], edi
jne 0x1006a758
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x46], dl
jne 0x1006a758
test ecx, ecx
je 0x1006a756
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x2c], dl
jne 0x1006a758
mov dl, 1
cmp dword [ebx + 0x80], 0
je 0x1006a769
test dl, dl
je 0x1006a8dd
cmp ecx, 1
jne 0x1006a835
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0xa0]
and eax, 0xfffffebf
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 0x38]
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1006a7cf
cmp dword [ecx + 0x4928], eax
jne 0x1006a7cf
xor edx, edx
mov ecx, esi
call fcn.1005b2a0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1006a82c
test dword [ecx + 0x5c80], 0x100
je 0x1006a7fc
push dword [esi + 4]
mov eax, dword [eax + 0x30]
push dword [esi + 8]
push dword [eax]
push dword [ebx]
push str._viewport__Node__08X_transfer_Viewport__08X___08X_to_Window__s_n
call fcn.100794b0
add esp, 0x14
mov eax, dword [ebx + 0x70]
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x30], ecx
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x70]
cmp byte [eax + 0xde], 0
je 0x1006a82c
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 [ebx + 0x9c], eax
mov ecx, ebx
call fcn.1006a140
mov al, byte [ebx + 0xa4]
and al, 0xbf
mov dword [ebx + 0x14], 1
and al, 0xe7
mov dword [ebx + 0x98], 0
test byte [ebx + 0xa5], 1
mov byte [ebx + 0xa4], al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3eb0]
mov dword [ebx + 0x88], eax
je 0x1006b282
cmp dword [ebx + 0x24], 1
jne 0x1006b282
mov eax, dword [ebx + 0x2c]
mov esi, dword [0x10317358]
mov edi, dword [eax]
mov ecx, edi
call fcn.10051390
movss xmm1, dword [esi + 0x36b4]
movss xmm0, dword [esi + 0x36b8]
subss xmm1, dword [ebx + 0x34]
subss xmm0, dword [ebx + 0x38]
mov dword [esi + 0x3f40], edi
movss dword [esi + 0x3f94], xmm1
movss dword [esi + 0x3f98], xmm0
and byte [ebx + 0xa5], 0xfe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret
test byte [ebx + 0xa4], 1
je 0x1006a965
cmp dword [ebx + 0x70], 0
jne 0x1006a965
test edi, edi
jne 0x1006a965
test dword [ebx + 0x10], 0x400
jne 0x1006a965
cmp dword [ebx + 0x1c], edi
jne 0x1006a965
cmp dword [ebx + 0x94], edi
je 0x1006a936
mov edi, dword [ebx + 0x24]
xor ecx, ecx
test edi, edi
jle 0x1006a936
mov edx, dword [ebx + 0x2c]
mov eax, dword [edx]
mov esi, dword [ebx + 0x94]
cmp dword [eax + 8], esi
mov esi, dword [ebp - 0x40]
je 0x1006a92c
inc ecx
add edx, 4
cmp ecx, edi
jl 0x1006a912
jmp 0x1006a936
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x1006a93b
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0xfc], 0
jg 0x1006a94d
cmp byte [eax + 0xfd], 0
jle 0x1006a965
mov dword [ebx + 0x14], 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], edi
test edi, edi
jle 0x1006a993
test ecx, 0x4000
jne 0x1006a993
mov al, byte [ebx + 0xa4]
mov cl, 0x10
and al, 0xef
or al, cl
and al, 0xf7
mov byte [ebx + 0xa4], al
jmp 0x1006a9ab
mov al, byte [ebx + 0xa4]
xor dl, dl
and al, 0xef
or al, dl
and al, 0xf7
mov byte [ebx + 0xa4], al
test edi, edi
jle 0x1006a9fb
xor esi, esi
nop dword [eax]
mov eax, dword [ebx + 0x2c]
mov cl, byte [ebx + 0xa4]
mov edx, dword [eax + esi*4]
mov al, byte [edx + 0xe9]
shl al, 3
or al, cl
and cl, 0xf7
and al, 8
xor al, cl
cmp edi, 1
mov byte [ebx + 0xa4], al
mov al, byte [edx + 0x39d]
setg cl
and al, 0xfe
inc esi
or cl, al
mov byte [edx + 0x39d], cl
mov edi, dword [ebx + 0x24]
cmp esi, edi
jl 0x1006a9b0
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x34], edi
test dword [ebp - 0x44], 0x8000
je 0x1006aa0b
and byte [ebx + 0xa4], 0xf7
shr ecx, 0xa
xor edi, edi
mov byte [ebp - 0x39], 0
test cl, 1
je 0x1006aa21
mov edi, dword [ebx + 0x70]
jmp 0x1006acb6
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x1006ac4c
test byte [ebx + 0xa4], 1
je 0x1006ac5c
cmp dword [ebp - 0x34], edi
jle 0x1006aa45
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
jmp 0x1006aa47
xor edx, edx
mov eax, dword [ebx + 0xa0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1006aa6b
test edx, edx
je 0x1006aaa5
or dword [esi + 0x47e8], 1
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
jmp 0x1006aa7c
cmp eax, 1
jne 0x1006aaa5
or dword [esi + 0x47e8], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
mov byte [esi + 0x4824], 1
mov dword [esi + 0x47ec], 1
mov dword [esi + 0x4808], edi
mov dword [esi + 0x4804], edi
mov dword [esi + 0x4800], ecx
mov dword [esi + 0x47fc], eax
mov eax, dword [ebx + 0xa0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x1006aac8
test edx, edx
je 0x1006aaf0
or dword [esi + 0x47e8], eax
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
jmp 0x1006aada
cmp eax, 1
jne 0x1006aaf0
or dword [esi + 0x47e8], 2
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
mov dword [esi + 0x47f0], 1
mov dword [esi + 0x4810], ecx
mov dword [esi + 0x480c], eax
mov eax, dword [ebx + 0xa0]
and al, 0x38
cmp al, 0x10
jne 0x1006ab1d
test edx, edx
je 0x1006ab1d
mov al, byte [edx + 0xe2]
or dword [esi + 0x47e8], 8
mov byte [esi + 0x4825], al
mov dword [esi + 0x47f4], 1
mov eax, dword [ebx + 0xa0]
and eax, 0x1c0
cmp eax, 0x80
jne 0x1006ab52
test edx, edx
je 0x1006ab38
mov eax, dword [edx + 0x34]
jmp 0x1006ab42
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x1006ab52
or dword [esi + 0x47e8], 0x100
mov dword [esi + 0x4844], eax
or dword [esi + 0x47e8], 0x400
movups xmm0, xmmword [ebx + 0x50]
movups xmmword [esi + 0x484c], xmm0
movq xmm0, qword [ebx + 0x60]
movq qword [esi + 0x485c], xmm0
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x4864], eax
lea eax, [ebp - 0x18]
push dword [ebx]
push str.DockNode__02X
push 0x14
push eax
call fcn.1004ba60
mov eax, dword [0x10317358]
lea edx, [ebp - 0x4c]
mov ecx, 2
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
or dword [eax + 0x47e8], 0x40
mov dword [eax + 0x4840], edi
call fcn.1004dcc0
push 0x20081139
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.100580c0
add esp, 0x14
mov ecx, 1
call fcn.1004dd40
mov eax, dword [ebp - 0x38]
mov byte [ebp - 0x39], 1
mov edi, dword [eax + 0x3f34]
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1006abfa
cmp eax, edi
je 0x1006abfa
cmp dword [eax + 0x3bc], ebx
jne 0x1006abfa
mov dword [eax + 0x3bc], 0
mov dword [edi + 0x3bc], ebx
mov dword [ebx + 0x70], edi
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
movss dword [edi + 0x128], xmm0
movss dword [edi + 0x12c], xmm1
movss dword [ebx + 0x34], xmm0
movss dword [ebx + 0x38], xmm1
mov ecx, dword [edi + 0x50]
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x3c], eax
cmp byte [ecx + 0xe5], 0
je 0x1006ac44
call fcn.1005b220
mov esi, dword [0x10317358]
jmp 0x1006ac52
mov edi, dword [eax + 0x70]
mov dword [ebx + 0x70], edi
and dword [ebx + 0xa0], 0xfffffe00
test byte [ebx + 0xa5], 1
je 0x1006acb6
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1006acb6
mov ecx, eax
call fcn.10051390
movss xmm1, dword [esi + 0x36b4]
movss xmm0, dword [esi + 0x36b8]
subss xmm1, dword [ebx + 0x34]
subss xmm0, dword [ebx + 0x38]
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x3f40], eax
movss dword [esi + 0x3f94], xmm1
movss dword [esi + 0x3f98], xmm0
and byte [ebx + 0xa5], 0xfe
mov esi, dword [0x10317358]
cmp dword [ebx + 0x18], 0
mov dword [ebx + 0x9c], 0
jne 0x1006ad1f
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x4928]
test edx, edx
je 0x1006ad1f
mov edx, dword [edx + 0x340]
test edx, edx
je 0x1006ad1f
nop dword [eax]
mov ecx, dword [edx + 0x3b8]
test ecx, ecx
je 0x1006ad1f
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x1006acfa
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x1006acf1
cmp ecx, ebx
je 0x1006ad11
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x1006ad1f
mov edx, dword [edx + 0x340]
test edx, edx
jne 0x1006ace0
jmp 0x1006ad1f
mov eax, dword [edx + 0x3b8]
mov eax, dword [eax]
mov dword [ebx + 0x90], eax
cmp dword [ebx + 0x18], 0
mov edx, dword [ebx + 0x78]
mov dword [ebp - 0x40], edx
jne 0x1006aef5
test edi, edi
je 0x1006aef5
test byte [ebp - 0x44], 8
je 0x1006aef5
test edx, edx
je 0x1006aef5
cmp dword [edx + 0x1c], 0
jne 0x1006aef5
cmp dword [edx + 0x24], 0
jne 0x1006aef5
cmp byte [esi + 0x4ac0], 0
mov byte [ebp - 0x2d], 1
je 0x1006adda
cmp dword [esi + 0x4ae0], 0xffffffff
je 0x1006adda
lea eax, [esi + 0x4ad0]
test eax, eax
je 0x1006adda
cmp dword [eax + 0x10], 0xffffffff
je 0x1006adda
lea ecx, [eax + 0x14]
mov eax, str._IMWINDOW
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006adb0
test dl, dl
je 0x1006adac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006adb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006ad90
xor eax, eax
jmp 0x1006adb5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006add7
mov edx, dword [esi + 0x4ad0]
mov ecx, edi
mov edx, dword [edx]
call fcn.1006c720
test al, al
je 0x1006add7
mov al, byte [ebp - 0x2d]
mov byte [ebp - 0x2e], al
jmp 0x1006af12
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x18]
mov ecx, edx
test eax, eax
je 0x1006adec
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x1006ade3
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 [0x102f39d8]
jbe 0x1006ae2f
addss xmm2, xmm0
comiss xmm5, xmm4
jbe 0x1006ae38
subss xmm4, xmm0
comiss xmm1, xmm6
jbe 0x1006ae41
addss xmm1, xmm0
comiss xmm7, xmm3
jbe 0x1006ae4a
subss xmm3, xmm0
comiss xmm2, xmm4
ja 0x1006adcc
comiss xmm1, xmm3
ja 0x1006adcc
subss xmm4, xmm2
movaps xmm0, xmm2
subss xmm3, xmm1
cvttss2si eax, xmm4
mov word [ebp - 0x34], ax
movzx edx, ax
cvttss2si eax, xmm3
movzx ecx, ax
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x268], eax
subss xmm0, dword [edi + 0x44]
mov dword [ebp - 0x48], ecx
mov ecx, dword [edi + 0x338]
cvttss2si eax, xmm0
movaps xmm0, xmm1
mov word [ebp - 0x34], ax
subss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm0
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x26c], eax
test ecx, ecx
je 0x1006aef9
mov eax, dword [ebp - 0x48]
mov word [ebp - 0x32], ax
mov word [ebp - 0x34], dx
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x268], eax
subss xmm2, dword [ecx + 0x44]
subss xmm1, dword [ecx + 0x48]
cvttss2si eax, xmm2
mov word [ebp - 0x34], ax
cvttss2si eax, xmm1
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x26c], eax
mov ecx, dword [ebx + 0x18]
jmp 0x1006af04
mov byte [ebp - 0x2d], 0
mov ecx, dword [ebx + 0x18]
test edi, edi
je 0x1006b1c3
mov al, byte [ebp - 0x2d]
mov byte [ebp - 0x2e], al
test ecx, ecx
jne 0x1006afe0
push dword [edi + 0x50]
xor edx, edx
mov ecx, ebx
push dword [edi + 0x4c]
push dword [edi + 0x48]
push dword [edi + 0x44]
call fcn.1006de20
movups xmm0, xmmword [esi + 0x3abc]
add esp, 0x10
mov dword [ebp - 0x2c], 0x1b
lea eax, [ebp - 0x2c]
lea ecx, [esi + 0x4870]
movups xmmword [ebp - 0x28], xmm0
push eax
call fcn.100e0890
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], 0x1d
movups xmm0, xmmword [eax + 0x395c]
lea eax, [ebp - 0x2c]
push eax
movups xmmword [esi + 0x3abc], xmm0
mov esi, dword [0x10317358]
movups xmm0, xmmword [esi + 0x3adc]
lea ecx, [esi + 0x4870]
movups xmmword [ebp - 0x28], xmm0
call fcn.100e0890
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], 0x1c
movups xmm0, xmmword [eax + 0x3b0c]
lea eax, [ebp - 0x2c]
push eax
movups xmmword [esi + 0x3adc], xmm0
mov esi, dword [0x10317358]
movups xmm0, xmmword [esi + 0x3acc]
lea ecx, [esi + 0x4870]
movups xmmword [ebp - 0x28], xmm0
call fcn.100e0890
mov eax, dword [ebp - 0x38]
mov ecx, ebx
movups xmm0, xmmword [eax + 0x3afc]
movups xmmword [esi + 0x3acc], xmm0
call fcn.1006e180
mov ecx, 3
call fcn.1004dc00
mov al, byte [ebp - 0x2e]
cmp dword [ebx + 0x1c], 0
jne 0x1006b086
cmp dword [ebx + 0x24], 0
jne 0x1006b086
test byte [ebx + 0xa4], 1
mov byte [ebp - 0x2d], al
je 0x1006b086
mov ecx, dword [edi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.10087eb0
test byte [ebp - 0x44], 8
je 0x1006b024
mov dword [ebx + 0x6c], 0
jmp 0x1006b079
movss xmm1, dword [0x102f38f4]
mov ecx, 0x27
call fcn.1004d9d0
mov dword [ebx + 0x6c], eax
test eax, eax
je 0x1006b079
movss xmm0, dword [ebx + 0x34]
lea ecx, [ebx + 0x34]
addss xmm0, dword [ebx + 0x3c]
push 0
push ecx
mov dword [esp], 0
push eax
movss dword [ebp - 0x4c], xmm0
lea eax, [ebp - 0x4c]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [ebx + 0x40]
push eax
push ecx
mov ecx, dword [edi + 0x2a4]
movss dword [ebp - 0x48], xmm0
call fcn.10086c10
mov al, byte [ebp - 0x2e]
or byte [ebx + 0xa4], 4
mov byte [ebp - 0x2d], al
test edi, edi
je 0x1006b1c3
cmp dword [ebx + 0x18], 0
jne 0x1006b1a1
test byte [ebp - 0x44], 8
je 0x1006b1a1
test byte [ebx + 0xa4], 1
je 0x1006b1a1
mov ecx, dword [edi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.10087eb0
cmp byte [ebp - 0x2d], 0
lea esi, [ebx + 0x34]
je 0x1006b157
mov eax, dword [ebp - 0x40]
sub esp, 8
movss xmm2, dword [esi]
mov ecx, 2
movss dword [ebp - 0x54], xmm2
addss xmm2, dword [ebx + 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 - 0x4c], xmm2
mov dword [esp + 4], 0
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebx + 0x38]
movss dword [ebp - 0x50], xmm0
addss xmm0, dword [ebx + 0x40]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [0x102f38f4]
movss dword [ebp - 0x48], xmm0
call fcn.1004d9d0
mov ecx, dword [edi + 0x2a4]
lea edx, [ebp - 0x54]
add esp, 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1008c9c0
add esp, 0xc
jmp 0x1006b1a1
movss xmm0, dword [ebx + 0x3c]
addss xmm0, dword [esi]
movss xmm1, dword [0x102f38f4]
push 0
push ecx
mov ecx, 2
mov dword [esp], 0
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, dword [ebx + 0x40]
movss dword [ebp - 0x48], xmm0
call fcn.1004d9d0
mov ecx, dword [edi + 0x2a4]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.10086c10
mov ecx, dword [edi + 0x2a4]
push 1
push ecx
add ecx, 0x78
call fcn.10087eb0
cmp dword [ebx + 0x24], 0
jle 0x1006b1c3
mov edx, edi
mov ecx, ebx
call fcn.1006b420
jmp 0x1006b1dd
mov al, byte [ebx + 0xa4]
and al, 0xbf
mov dword [ebx + 0x98], 0
and al, 0xfd
mov byte [ebx + 0xa4], al
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1006b1eb
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1006b1fc
cmp dword [ebx + 0x24], 0
jle 0x1006b202
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0xa4]
mov dword [ebx + 0x94], eax
test edi, edi
je 0x1006b23f
test byte [ebx + 0xa4], 1
je 0x1006b23f
cmp dword [ebx + 0x18], 0
jne 0x1006b23f
mov esi, dword [ebp - 0x38]
mov eax, dword [esi + 0x3f40]
test eax, eax
je 0x1006b22a
cmp dword [eax + 0x348], edi
je 0x1006b23f
mov ecx, edi
call fcn.1006f880
mov eax, dword [esi + 0x3eb0]
mov dword [ebx + 0x88], eax
jmp 0x1006b252
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3eb0]
mov dword [ebx + 0x88], eax
test edi, edi
je 0x1006b277
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x1006b25e
call fcn.1006a5b0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1006b26a
call fcn.1006a5b0
cmp dword [ebx + 0x18], 0
jne 0x1006b277
mov ecx, edi
call fcn.10056d20
cmp byte [ebp - 0x39], 0
je 0x1006b282
call fcn.1005af70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013cfec
mov esp, ebp
pop ebp
ret