Function at 0x10129680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f1509
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x10285040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x98], esi
cmp byte [0x10308a3c], 0
jne 0x101296d9
xor al, al
jmp 0x1012a4e5
mov edx, dword [0x10b33e60]
add edx, 0x7a4232c8
xor edx, 0xfcb4fca8
mov eax, dword [edx + 0x158]
mov ecx, dword [eax + 0x30]
mov eax, ecx
shr eax, 9
test al, 1
jne 0x1012971b
mov eax, ecx
shr eax, 0xa
test al, 1
jne 0x1012971b
mov eax, ecx
shr eax, 4
test al, 1
jne 0x1012971b
shr ecx, 3
mov byte [ebp - 0x7d], 0
test cl, 1
je 0x1012971f
mov byte [ebp - 0x7d], 1
mov ecx, dword [edx + 0x14c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
movss xmm2, dword [esi + 0x28]
movss xmm0, dword [esi + 0x24]
movss xmm1, dword [esi + 0x2c]
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm3, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
movss dword [ebp - 0x90], xmm5
movss dword [ebp - 0xa4], xmm5
movss dword [ebp - 0xa0], xmm4
movss dword [ebp - 0x9c], xmm3
addss xmm0, xmm1
call fcn.1000d460
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x101299f3
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x88], eax
mov eax, dword [0x10320228]
test al, 1
jne 0x10129924
or eax, 1
mov dword [0x10320228], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x74], eax
cmp eax, dword [0x1031cd84]
je 0x1012982a
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
test ecx, ecx
je 0x1012981c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x101297f0
xor edx, edx
test ecx, ecx
je 0x1012981c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10129800
cmp esi, 0x72e242a1
je 0x10129843
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x74], eax
cmp eax, dword [0x1031cd84]
jne 0x101297d5
mov esi, dword [ebp - 0x98]
xor eax, eax
mov dword [0x1031e930], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10129929
mov eax, dword [ebp - 0x90]
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
cmp dword [eax + 4], edi
jle 0x101298f1
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x7c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10129899
cmp dword [ecx + 4], 0
jle 0x10129899
push 0
mov edx, 0xa4a37590
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10129893
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x90]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x101298a2
xor edx, edx
test ecx, ecx
je 0x101298cf
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101298b0
cmp edi, 0xa4a37590
je 0x10129907
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x84]
inc edx
mov edi, dword [ebp - 0x78]
add ecx, 0x3c
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x84], ecx
cmp edx, dword [eax + 4]
jl 0x10129862
mov esi, dword [ebp - 0x98]
mov eax, edi
mov dword [0x1031e930], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10129929
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x98]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
mov dword [0x1031e930], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10129929
mov eax, dword [0x1031e930]
mov ecx, dword [ebp - 0x88]
test byte [ecx + eax], 1
jne 0x101299d8
mov eax, dword [0x10b33e60]
lea ecx, [ebp - 0x100]
subss xmm3, dword [0x10271330]
add eax, 0x7a4232c8
mov dword [ebp - 0x50], 0
xor eax, 0xfcb4fca8
mov dword [ebp - 0x88], 0x10270d28
xorps xmm0, xmm0
movss dword [ebp - 0xb0], xmm5
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
mov edi, dword [eax + 0x110]
movss dword [ebp - 0xac], xmm4
movss dword [ebp - 0xa8], xmm3
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1002deb0
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push 0x200400b
push eax
mov ecx, edi
call esi
mov esi, dword [ebp - 0x98]
movq xmm0, qword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
movq qword [esi + 0x24], xmm0
mov dword [esi + 0x2c], eax
jmp 0x1012a4dd
movq xmm0, qword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
movq qword [esi + 0x24], xmm0
mov dword [esi + 0x2c], eax
jmp 0x1012a4dd
mov byte [esi + 0x21], 1
mov eax, dword [0x10335008]
add eax, 0x9b31f5a8
xor eax, 0x82b71aa9
cmp byte [eax + 0x63d6a], 0
jne 0x10129a1f
cmp byte [eax + 0x63e70], 0
mov byte [ebp - 0x93], 0
je 0x10129a26
mov byte [ebp - 0x93], 1
cmp dword [esi + 4], 3
jl 0x1012a213
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x1031e958]
test al, 1
jne 0x10129bb8
or eax, 1
mov dword [0x1031e958], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x84], eax
cmp eax, dword [0x1031cd84]
je 0x10129ad0
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x10129abf
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10129a93
xor edx, edx
test ecx, ecx
je 0x10129abf
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10129aa0
cmp edi, 0xcd2ed041
je 0x10129ae3
mov eax, dword [ebp - 0x84]
add eax, 4
mov dword [ebp - 0x84], eax
cmp eax, dword [0x1031cd84]
jne 0x10129a80
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x10129bbd
mov eax, dword [ebp - 0x78]
xor edi, edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x84], edi
cmp dword [eax + 4], edi
jle 0x10129b8e
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x88], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10129b37
cmp dword [ecx + 4], 0
jle 0x10129b37
push 0
mov edx, 0xa2ccb41a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10129b34
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x74], edi
mov eax, dword [ebp - 0x78]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10129b40
xor edx, edx
test ecx, ecx
je 0x10129b6c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10129b50
cmp edi, 0xa2ccb41a
je 0x10129b9e
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x7c]
inc edx
mov edi, dword [ebp - 0x74]
add ecx, 0x3c
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x7c], ecx
cmp edx, dword [eax + 4]
jl 0x10129b00
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x10129bbd
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x74]
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10129bbd
mov eax, dword [0x10320234]
mov ecx, dword [ebp - 0x8c]
movzx esi, word [ecx + eax]
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
movsx eax, si
push eax
call edx
test eax, eax
je 0x10129f9e
mov eax, dword [eax + 0xc8]
cmp si, 0x1f
je 0x10129c11
test eax, eax
je 0x10129c11
cmp eax, 7
jl 0x10129f9e
cmp eax, 0x10
jg 0x10129f9e
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x88], eax
mov eax, dword [0x1031e958]
test al, 1
jne 0x10129d98
or eax, 1
mov dword [0x1031e958], eax
mov dword [ebp - 4], 2
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
je 0x10129caa
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x10129c9c
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10129c70
xor edx, edx
test ecx, ecx
je 0x10129c9c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10129c80
cmp edi, 0xcd2ed041
je 0x10129cbd
mov eax, dword [ebp - 0x7c]
add eax, 4
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
jne 0x10129c58
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x10129d9d
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
cmp dword [eax + 4], edi
jle 0x10129d6e
xor ecx, ecx
mov dword [ebp - 0x84], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10129d17
cmp dword [ecx + 4], 0
jle 0x10129d17
push 0
mov edx, 0xa2ccb41a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10129d14
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x74]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10129d20
xor edx, edx
test ecx, ecx
je 0x10129d4c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10129d30
cmp edi, 0xa2ccb41a
je 0x10129d7e
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x84]
inc edx
mov edi, dword [ebp - 0x78]
add ecx, 0x3c
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], ecx
cmp edx, dword [eax + 4]
jl 0x10129ce0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x10129d9d
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10129d9d
mov eax, dword [0x10320234]
mov ecx, dword [ebp - 0x88]
movzx esi, word [ecx + eax]
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
movsx eax, si
push eax
call edx
test eax, eax
je 0x10129dde
cmp dword [eax + 0xc8], 0
jne 0x10129dde
cmp si, 0x1f
jne 0x10129f9e
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x88], eax
mov eax, dword [0x1031e958]
test al, 1
jne 0x10129f58
or eax, 1
mov dword [0x1031e958], eax
mov dword [ebp - 4], 3
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
je 0x10129e6f
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x10129e61
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10129e38
xor edx, edx
test ecx, ecx
je 0x10129e61
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10129e45
cmp edi, 0xcd2ed041
je 0x10129e82
mov eax, dword [ebp - 0x7c]
add eax, 4
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
jne 0x10129e25
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x10129f5d
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
cmp dword [eax + 4], edi
jle 0x10129f2e
xor ecx, ecx
mov dword [ebp - 0x84], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10129ed7
cmp dword [ecx + 4], 0
jle 0x10129ed7
push 0
mov edx, 0xa2ccb41a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10129ed4
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x74]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10129ee0
xor edx, edx
test ecx, ecx
je 0x10129f0c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10129ef0
cmp edi, 0xa2ccb41a
je 0x10129f3e
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x84]
inc edx
mov edi, dword [ebp - 0x78]
add ecx, 0x3c
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], ecx
cmp edx, dword [eax + 4]
jl 0x10129ea0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x10129f5d
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10129f5d
mov eax, dword [0x10320234]
mov ecx, dword [ebp - 0x88]
movzx eax, word [ecx + eax]
mov edi, eax
mov esi, eax
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
movsx eax, si
push eax
call edx
test eax, eax
je 0x10129f95
cmp di, 0x1f
je 0x10129f9e
mov byte [ebp - 0x92], 1
jmp 0x10129fa5
mov byte [ebp - 0x92], 0
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
mov eax, dword [ecx + 0x158]
mov dl, byte [eax + 0x30]
mov eax, dword [ecx + 0x150]
and dl, 1
mov dword [ebp - 0x88], eax
mov eax, dword [0x1031e958]
mov byte [ebp - 0x91], dl
test al, 1
jne 0x1012a144
or eax, 1
mov dword [0x1031e958], eax
mov dword [ebp - 4], 4
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
je 0x1012a04b
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x1012a03d
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012a014
xor edx, edx
test ecx, ecx
je 0x1012a03d
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a021
cmp edi, 0xcd2ed041
je 0x1012a064
mov eax, dword [ebp - 0x7c]
add eax, 4
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
jne 0x1012a001
mov dl, byte [ebp - 0x91]
xor eax, eax
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a149
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
cmp dword [eax + 4], edi
jle 0x1012a10e
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1012a0b7
cmp dword [ecx + 4], 0
jle 0x1012a0b7
push 0
mov edx, 0xa2ccb41a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1012a0b4
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x74]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1012a0c0
xor edx, edx
test ecx, ecx
je 0x1012a0ec
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a0d0
cmp edi, 0xa2ccb41a
je 0x1012a124
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x84]
inc edx
mov edi, dword [ebp - 0x78]
add ecx, 0x3c
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], ecx
cmp edx, dword [eax + 4]
jl 0x1012a080
mov dl, byte [ebp - 0x91]
mov eax, edi
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a149
mov eax, dword [ebp - 0x8c]
mov dl, byte [ebp - 0x91]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a149
mov eax, dword [0x10320234]
mov ecx, dword [ebp - 0x88]
cmp word [ecx + eax], 0x40
mov eax, dword [0x10335008]
jne 0x1012a17c
test dl, dl
je 0x1012a178
lea ecx, [eax - 0x64ce0a58]
xor ecx, 0x82b71aa9
cmp byte [ecx + 0x63d6b], 0
je 0x1012a178
mov cl, 1
jmp 0x1012a182
xor cl, cl
jmp 0x1012a182
mov cl, byte [ebp - 0x91]
cmp byte [ebp - 0x92], 0
jne 0x1012a1cb
test cl, cl
jne 0x1012a1bc
add eax, 0x9b31f5a8
xor eax, 0x82b71aa9
cmp byte [eax + 0x63d69], cl
jne 0x1012a1bc
cmp byte [0x10306145], cl
je 0x1012a1fd
mov al, byte [ebp - 0x7d]
test al, al
jne 0x1012a1ce
mov esi, dword [ebp - 0x98]
mov byte [esi + 0x22], 1
jmp 0x1012a1d4
mov esi, dword [ebp - 0x98]
mov al, byte [ebp - 0x7d]
mov byte [esi + 0x22], 1
jmp 0x1012a1d4
mov al, byte [ebp - 0x7d]
mov esi, dword [ebp - 0x98]
cmp byte [0x10306145], 0
je 0x1012a203
test al, al
je 0x1012a203
cmp byte [esi + 0x20], 0
movss xmm4, dword [ebp - 0xa0]
movss xmm5, dword [ebp - 0x90]
jne 0x1012a213
mov byte [esi + 0x22], 0
jmp 0x1012a213
mov esi, dword [ebp - 0x98]
movss xmm4, dword [ebp - 0xa0]
movss xmm5, dword [ebp - 0x90]
cmp byte [esi + 0x22], 0
je 0x1012a4dd
movss xmm1, dword [esi + 0x24]
movss xmm0, dword [esi + 0x28]
subss xmm1, xmm5
subss xmm0, xmm4
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.1000d460
subss xmm5, dword [esi + 0x24]
subss xmm4, dword [esi + 0x28]
movss dword [ebp - 0x8c], xmm0
movss dword [ebp - 0x90], xmm5
divss xmm4, xmm5
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [ebp - 0x90]
comiss xmm1, dword [0x10270e70]
mulss xmm0, dword [0x102711d4]
movss xmm2, dword [0x10271280]
jb 0x1012a28b
addss xmm0, xmm2
movss xmm1, dword [ebp - 0x8c]
comiss xmm1, dword [0x10271110]
jbe 0x1012a32b
movss xmm3, dword [0x102713f4]
comiss xmm3, xmm0
movss xmm1, dword [0x102712cc]
jbe 0x1012a2be
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x1012a2b5
comiss xmm0, xmm2
jbe 0x1012a2cc
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x1012a2c3
movss dword [esi + 0x18], xmm0
mov edx, dword [0x10b33e60]
add edx, 0x7a4232c8
xor edx, 0xfcb4fca8
mov ecx, dword [edx + 0x264]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [edx + 0x158]
movss xmm0, dword [ebp - 0x8c]
movss dword [eax + 0x24], xmm0
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x158]
mov dword [eax + 0x28], 0
jmp 0x1012a4dd
cmp byte [ebp - 0x93], 0
jne 0x1012a4d9
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x14c]
mov eax, dword [0x1031e91c]
mov dword [ebp - 0x88], ecx
test al, 1
jne 0x1012a4a8
or eax, 1
mov dword [0x1031e91c], eax
mov dword [ebp - 4], 5
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
je 0x1012a3ca
nop
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x1012a3bc
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1012a393
xor edx, edx
test ecx, ecx
je 0x1012a3bc
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a3a0
cmp esi, 0x4e9f1122
je 0x1012a3e9
mov eax, dword [ebp - 0x7c]
add eax, 4
mov dword [ebp - 0x7c], eax
cmp eax, dword [0x1031cd84]
jne 0x1012a380
xor eax, eax
mov esi, dword [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x88]
mov dword [0x103201cc], eax
jmp 0x1012a4ad
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
cmp dword [eax + 4], edi
jle 0x1012a490
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1012a43c
cmp dword [ecx + 4], 0
jle 0x1012a43c
push 0
mov edx, 0x53630d14
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1012a439
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x74]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x1012a445
xor edx, edx
test ecx, ecx
je 0x1012a46e
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a452
cmp esi, 0x53630d14
je 0x1012a497
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x84]
inc edx
mov edi, dword [ebp - 0x78]
add ecx, 0x3c
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], ecx
cmp edx, dword [eax + 4]
jl 0x1012a405
mov eax, edi
jmp 0x1012a3cc
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
jmp 0x1012a3cc
mov eax, dword [0x103201cc]
movss xmm1, dword [ecx + eax + 4]
movss xmm0, dword [ecx + eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000d460
comiss xmm0, dword [0x1027112c]
jbe 0x1012a4d9
call fcn.1012a510
jmp 0x1012a4dd
mov byte [esi + 0x22], 0
mov al, byte [ebp - 0x7d]
mov byte [esi + 0x20], al
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret