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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1022d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [0x1022d548]
mov eax, edi
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 0x3eb0]
and byte [ebx + 0xa4], 0xfb
and dword [ebx + 0x7c], 0
and dword [ebx + 0x78], 0
cmp dword [ebx + 0x18], 0
mov dword [ebx + 0x84], eax
jne 0x1001990f
call fcn.100197d9
mov edi, dword [0x1022d548]
cmp dword [ebx + 0x30], 0
je 0x1001992c
mov eax, dword [ebx + 0x10]
shr eax, 0xc
test al, 1
je 0x1001992c
mov ecx, ebx
call fcn.1001aedc
mov edi, dword [0x1022d548]
mov esi, dword [ebx + 0x18]
xor dl, dl
test esi, esi
jne 0x10019aa0
test dword [ebx + 0x10], 0x400
jne 0x10019aa0
mov ecx, dword [ebx + 0x24]
cmp ecx, 1
jg 0x1001996b
cmp dword [ebx + 0x1c], esi
jne 0x1001996b
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x46], dl
jne 0x1001996b
test ecx, ecx
je 0x10019969
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x2c], dl
jne 0x1001996b
mov dl, 1
cmp dword [ebx + 0x80], 0
je 0x1001997c
test dl, dl
je 0x10019aa0
cmp ecx, 1
jne 0x10019a47
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 0x20]
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 [ebx + 0x70]
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [ebx + 0xa0], eax
mov eax, ecx
test ecx, ecx
je 0x100199e4
cmp dword [edi + 0x4934], ecx
jne 0x100199e8
xor edx, edx
mov ecx, esi
call fcn.1000df9f
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x10019a3e
test dword [edi + 0x5c88], 0x100
je 0x10019a11
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.1001e266
mov eax, dword [ebx + 0x70]
add esp, 0x14
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 0x10019a3e
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.100194b1
mov al, byte [ebx + 0xa4]
xor ecx, ecx
and dword [ebx + 0x98], 0
and al, 0xbf
and al, 0xe7
inc ecx
mov byte [ebx + 0xa4], al
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x14], ecx
mov eax, dword [eax + 0x3eb0]
mov dword [ebx + 0x88], eax
test byte [ebx + 0xa5], cl
je 0x1001a2b7
cmp dword [ebx + 0x24], ecx
jne 0x1001a2b7
mov edx, dword [ebx + 0x2c]
mov ecx, ebx
mov edx, dword [edx]
call fcn.1001978a
jmp 0x1001a2b7
mov cl, byte [ebx + 0xa4]
test cl, 1
je 0x10019b20
cmp dword [ebx + 0x70], 0
jne 0x10019b20
test esi, esi
jne 0x10019b20
test dword [ebx + 0x10], 0x400
jne 0x10019b20
cmp dword [ebx + 0x1c], esi
jne 0x10019b20
cmp dword [ebx + 0x94], esi
je 0x10019afd
xor edx, edx
cmp dword [ebx + 0x24], edx
jle 0x10019afd
mov esi, dword [ebx + 0x2c]
mov eax, dword [esi]
mov edi, dword [ebx + 0x94]
cmp dword [eax + 8], edi
mov edi, dword [0x1022d548]
je 0x10019af3
inc edx
add esi, 4
cmp edx, dword [ebx + 0x24]
jl 0x10019ad5
jmp 0x10019afd
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + edx*4]
test eax, eax
jne 0x10019b02
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
cmp byte [eax + 0xfc], 0
jg 0x10019b14
cmp byte [eax + 0xfd], 0
jle 0x10019b20
mov dword [ebx + 0x14], 2
jmp 0x1001a2b7
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x30], edx
test eax, eax
jle 0x10019b39
test edx, 0x4000
jne 0x10019b39
mov dl, 0x10
jmp 0x10019b3b
xor dl, dl
and cl, 0xef
xor esi, esi
or cl, dl
and cl, 0xf7
mov byte [ebx + 0xa4], cl
mov ecx, dword [ebp - 0x30]
test eax, eax
jle 0x10019b98
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax + esi*4]
mov al, byte [ebx + 0xa4]
mov cl, byte [edx + 0xe9]
shl cl, 3
or cl, al
xor cl, al
and cl, 8
xor cl, al
cmp dword [ebx + 0x24], 1
mov byte [ebx + 0xa4], cl
mov al, byte [edx + 0x39d]
setg cl
and al, 0xfe
or cl, al
inc esi
mov byte [edx + 0x39d], cl
mov eax, dword [ebx + 0x24]
cmp esi, eax
jl 0x10019b52
mov ecx, dword [ebx + 0x10]
test dword [ebp - 0x30], 0x8000
je 0x10019ba8
and byte [ebx + 0xa4], 0xf7
xor edx, edx
shr ecx, 0xa
xor esi, esi
mov byte [ebp - 0x1a], 0
inc edx
mov dword [ebp - 0x24], esi
test dl, cl
je 0x10019bc6
mov esi, dword [ebx + 0x70]
mov dword [ebp - 0x24], esi
jmp 0x10019dc4
mov ecx, dword [ebx + 0x18]
test ecx, ecx
jne 0x10019d95
test byte [ebx + 0xa4], dl
je 0x10019da8
test eax, eax
jle 0x10019be8
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax]
jmp 0x10019bea
xor esi, esi
mov eax, dword [ebx + 0xa0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x10019c04
test esi, esi
je 0x10019c20
lea ecx, [esi + 0x44]
jmp 0x10019c0b
cmp eax, edx
jne 0x10019c20
lea ecx, [ebx + 0x34]
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
and dword [ebp - 0x24], 0
xor edx, edx
push eax
call fcn.1000e7ff
inc edx
pop ecx
mov eax, dword [ebx + 0xa0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x10019c43
test esi, esi
je 0x10019c66
or dword [edi + 0x47e8], eax
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
jmp 0x10019c54
cmp eax, edx
jne 0x10019c66
or dword [edi + 0x47e8], 2
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
mov dword [edi + 0x47f0], edx
mov dword [edi + 0x4810], ecx
mov dword [edi + 0x480c], eax
mov ecx, dword [ebx + 0xa0]
mov eax, ecx
and al, 0x38
cmp al, 0x10
jne 0x10019c97
test esi, esi
je 0x10019c97
mov al, byte [esi + 0xe2]
or dword [edi + 0x47e8], 8
mov byte [edi + 0x4825], al
mov dword [edi + 0x47f4], edx
mov ecx, dword [ebx + 0xa0]
and ecx, 0x1c0
cmp ecx, 0x80
jne 0x10019cc8
test esi, esi
je 0x10019cae
mov eax, dword [esi + 0x34]
jmp 0x10019cb8
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x10019cc8
or dword [edi + 0x47e8], 0x100
mov dword [edi + 0x4844], eax
or dword [edi + 0x47e8], 0x400
lea esi, [ebx + 0x50]
push 7
pop ecx
add edi, 0x484c
lea eax, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
push dword [ebx]
push str.DockNode__02X
push 0x14
push eax
call fcn.10003292
mov eax, dword [0x1022d548]
lea edx, [ebp - 0x28]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
push 2
or dword [eax + 0x47e8], 0x40
and dword [eax + 0x4840], 0
pop ecx
call fcn.10004976
push 0x20081139
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.1000bac2
add esp, 0x14
xor ecx, ecx
inc ecx
call fcn.100049e4
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov byte [ebp - 0x1a], 1
mov esi, dword [eax + 0x3f34]
mov edx, esi
mov dword [ebp - 0x24], esi
call fcn.1001989f
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x34], eax
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x3c], eax
cmp byte [ecx + 0xe5], 0
je 0x10019d80
call fcn.1000de7e
and dword [ebx + 0xa0], 0xfffffe00
xor edx, edx
mov edi, dword [0x1022d548]
inc edx
jmp 0x10019da8
mov esi, dword [ecx + 0x70]
and dword [ebx + 0xa0], 0xfffffe00
mov dword [ebp - 0x24], esi
mov dword [ebx + 0x70], esi
test byte [ebx + 0xa5], dl
je 0x10019dc4
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x10019dc4
mov ecx, ebx
call fcn.1001978a
mov edi, dword [0x1022d548]
and dword [ebx + 0x9c], 0
cmp dword [ebx + 0x18], 0
jne 0x10019dfa
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4934]
test ecx, ecx
je 0x10019ea1
mov ecx, dword [ecx + 0x340]
test ecx, ecx
je 0x10019dfa
mov eax, dword [ecx + 0x3b8]
test eax, eax
jne 0x10019e81
cmp dword [ebx + 0x18], 0
mov edx, dword [ebx + 0x78]
mov dword [ebp - 0x2c], edx
jne 0x10019fad
test esi, esi
je 0x10019fad
test byte [ebp - 0x30], 8
je 0x10019fad
test edx, edx
je 0x10019fad
cmp dword [edx + 0x1c], 0
jne 0x10019fad
cmp dword [edx + 0x24], 0
jne 0x10019fad
cmp byte [edi + 0x4acc], 0
mov byte [ebp - 0x19], 1
je 0x10019e78
cmp dword [edi + 0x4aec], 0xffffffff
je 0x10019e78
add edi, 0x4adc
je 0x10019e78
push ecx
mov ecx, edi
call fcn.100010f3
test al, al
je 0x10019e75
mov edx, dword [edi]
mov ecx, esi
mov edx, dword [edx]
call fcn.1001af98
test al, al
jne 0x10019fa8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x18]
mov ecx, edx
jmp 0x10019ec1
mov eax, edx
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x10019e7f
cmp eax, ebx
je 0x10019eac
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x10019ea1
mov ecx, dword [ecx + 0x340]
test ecx, ecx
jne 0x10019dec
mov edx, dword [ebx + 0x78]
mov dword [ebp - 0x2c], edx
jmp 0x10019e0a
mov eax, dword [ecx + 0x3b8]
mov eax, dword [eax]
mov dword [ebx + 0x90], eax
jmp 0x10019ea1
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x10019ebc
mov eax, dword [ecx + 0x34]
movss xmm0, dword [ecx + 0x34]
movss xmm5, dword [ecx + 0x38]
movss xmm2, dword [edx + 0x34]
movss xmm1, dword [edx + 0x38]
addss xmm2, dword [edx + 0x3c]
addss xmm1, dword [edx + 0x40]
addss xmm0, dword [ecx + 0x3c]
addss xmm5, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x38]
movss xmm4, dword [0x10227b84]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x50], eax
movss xmm3, dword [ebp - 0x50]
comiss xmm3, dword [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 0x38]
mov dword [ebp - 0x4c], ecx
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x44], xmm1
jbe 0x10019f2b
addss xmm3, xmm4
movss dword [ebp - 0x50], xmm3
comiss xmm0, xmm2
jbe 0x10019f39
subss xmm2, xmm4
movss dword [ebp - 0x48], xmm2
movss xmm0, dword [ebp - 0x4c]
comiss xmm0, dword [ebp - 0x3c]
jbe 0x10019f4d
addss xmm0, xmm4
movss dword [ebp - 0x4c], xmm0
comiss xmm5, xmm1
jbe 0x10019f5b
subss xmm1, xmm4
movss dword [ebp - 0x44], xmm1
comiss xmm3, xmm2
ja 0x10019fa8
comiss xmm0, xmm1
ja 0x10019fa8
subss xmm1, xmm0
mov ecx, esi
subss xmm2, xmm3
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x50]
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x38], xmm2
call fcn.1000e7af
mov ecx, dword [esi + 0x338]
add esp, 4
test ecx, ecx
je 0x10019fb1
lea eax, [ebp - 0x38]
movss dword [ebp - 0x38], xmm2
push eax
movss dword [ebp - 0x34], xmm1
call fcn.1000e7af
add esp, 4
mov eax, dword [ebx + 0x18]
jmp 0x10019fbc
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x18]
test esi, esi
je 0x1001a209
test eax, eax
jne 0x1001a014
push dword [esi + 0x50]
xor edx, edx
mov ecx, ebx
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
call fcn.1001c32b
mov edi, dword [ebp - 0x20]
add esp, 0x10
push 0x1b
lea edx, [edi + 0x395c]
pop ecx
call fcn.10004885
push 0x1d
lea edx, [edi + 0x3b0c]
pop ecx
call fcn.10004885
push 0x1c
lea edx, [edi + 0x3afc]
pop ecx
call fcn.10004885
mov ecx, ebx
call fcn.1001c69c
push 3
pop ecx
call fcn.100048cc
cmp dword [ebx + 0x1c], 0
jne 0x1001a0c5
cmp dword [ebx + 0x24], 0
jne 0x1001a0c5
test byte [ebx + 0xa4], 1
je 0x1001a0c5
mov ecx, dword [esi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.1002858c
test byte [ebp - 0x30], 8
je 0x1001a050
xor eax, eax
jmp 0x1001a07f
mov eax, dword [0x1022d548]
lea edi, [ebp - 0x50]
lea ecx, [ebp - 0x50]
lea esi, [eax + 0x3b7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebp - 0x44]
mulss xmm0, dword [eax + 0x382c]
movss dword [ebp - 0x44], xmm0
call fcn.10003a11
mov esi, dword [ebp - 0x24]
mov dword [ebx + 0x6c], eax
test eax, eax
je 0x1001a0be
lea ecx, [ebx + 0x34]
movss xmm0, dword [ecx]
addss xmm0, dword [ebx + 0x3c]
push 0
push ecx
and dword [esp], 0
push eax
movss dword [ebp - 0x38], xmm0
lea eax, [ebp - 0x38]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [ebx + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x2a4]
movss dword [ebp - 0x34], xmm0
call fcn.10027f23
or byte [ebx + 0xa4], 4
test esi, esi
je 0x1001a209
cmp dword [ebx + 0x18], 0
jne 0x1001a1e7
test byte [ebp - 0x30], 8
je 0x1001a1e7
test byte [ebx + 0xa4], 1
je 0x1001a1e7
mov ecx, dword [esi + 0x2a4]
push 0
push ecx
add ecx, 0x78
call fcn.1002858c
cmp byte [ebp - 0x19], 0
lea edi, [ebp - 0x60]
mov eax, dword [0x1022d548]
lea esi, [eax + 0x392c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebp - 0x54]
mulss xmm0, dword [eax + 0x382c]
movss dword [ebp - 0x54], xmm0
je 0x1001a1a4
mov eax, dword [ebp - 0x2c]
push ecx
and dword [esp], 0
lea ecx, [ebp - 0x60]
movss xmm1, dword [eax + 0x34]
movss xmm0, dword [eax + 0x38]
movss dword [ebp - 0x50], xmm1
addss xmm1, dword [eax + 0x3c]
movss dword [ebp - 0x4c], xmm0
addss xmm0, dword [eax + 0x40]
movss dword [ebp - 0x48], xmm1
movss xmm1, dword [ebx + 0x34]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebx + 0x38]
movss dword [ebp - 0x40], xmm1
addss xmm1, dword [ebx + 0x3c]
movss dword [ebp - 0x3c], xmm0
addss xmm0, dword [ebx + 0x40]
movss dword [ebp - 0x38], xmm1
movss dword [ebp - 0x34], xmm0
call fcn.10003a11
mov esi, dword [ebp - 0x24]
lea edx, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [esi + 0x2a4]
call fcn.1002b85c
add esp, 0xc
jmp 0x1001a1e7
movss xmm0, dword [ebx + 0x3c]
lea esi, [ebx + 0x34]
addss xmm0, dword [esi]
push 0
push ecx
and dword [esp], 0
lea ecx, [ebp - 0x60]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebx + 0x40]
addss xmm0, dword [esi + 4]
movss dword [ebp - 0x34], xmm0
call fcn.10003a11
push eax
lea eax, [ebp - 0x38]
push eax
push esi
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi + 0x2a4]
call fcn.10027f23
mov ecx, dword [esi + 0x2a4]
push 1
push ecx
add ecx, 0x78
call fcn.1002858c
cmp dword [ebx + 0x24], 0
jle 0x1001a209
mov edx, esi
mov ecx, ebx
call fcn.1001a538
jmp 0x1001a220
mov al, byte [ebx + 0xa4]
and dword [ebx + 0x98], 0
and al, 0xbf
and al, 0xfd
mov byte [ebx + 0xa4], al
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1001a22e
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1001a23f
cmp dword [ebx + 0x24], 0
jle 0x1001a245
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0xa4]
mov dword [ebx + 0x94], eax
test esi, esi
je 0x1001a274
test byte [ebx + 0xa4], 1
je 0x1001a274
cmp dword [ebx + 0x18], 0
jne 0x1001a274
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3f40]
test eax, eax
je 0x1001a26d
cmp dword [eax + 0x348], esi
je 0x1001a274
mov ecx, esi
call fcn.1001d3a4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3eb0]
mov dword [ebx + 0x88], eax
test esi, esi
je 0x1001a2ac
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x1001a293
call fcn.100198c3
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1001a29f
call fcn.100198c3
cmp dword [ebx + 0x18], 0
jne 0x1001a2ac
mov ecx, esi
call fcn.1000a948
cmp byte [ebp - 0x1a], 0
je 0x1001a2b7
call fcn.1000dcec
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004676c
leave
ret