Function at 0x100b2140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e495d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100f500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x38], edx
cmp byte [edx], 0
lea esi, [edx + 4]
mov eax, dword [0x10186dbc]
movss xmm0, dword [esi]
movss xmm1, dword [eax + 0x14]
mulss xmm1, dword [0x100e9d6c]
je 0x100b2194
addss xmm0, xmm1
jmp 0x100b2198
subss xmm0, xmm1
movss dword [esi], xmm0
lea ecx, [ebp - 0x34]
comiss xmm0, dword [0x100e9cac]
mov dword [ebp - 0x34], 0x3f800000
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
xorps xmm1, xmm1
cmovbe ecx, esi
movss xmm0, dword [ecx]
comiss xmm0, xmm1
cmova eax, ecx
movss xmm0, dword [eax]
movss dword [esi], xmm0
mulss xmm0, dword [0x100e9e38]
cvttss2si ecx, xmm0
mov dword [edx + 8], ecx
test ecx, ecx
je 0x100b2804
mov eax, dword [0x101870d0]
mov ebx, dword [edx + 0x18]
mov edi, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x1c]
mov byte [ebp - 0x29], cl
mov byte [ebp - 0x2d], cl
mov ecx, dword [0x10186d6c]
mov dword [ebp - 0x34], eax
mov word [ebp - 0x2c], 0x1212
mov byte [ebp - 0x2a], 0x12
mov eax, dword [ecx]
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x34]
add eax, 0xffffffc9
add eax, edi
push eax
lea eax, [ebx + 0xf]
add eax, esi
push eax
push edi
push esi
call edx
push 4
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push str.guap
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.10028790
mov ebx, dword [ebp - 0x38]
lea eax, [ebp - 0x54]
mov esi, dword [ebp - 0x30]
push 2
push eax
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
add eax, 2
push esi
push eax
mov eax, dword [ebx + 0x18]
add ecx, 0xfffffee9
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, 0x101870d4
push eax
call fcn.100ce130
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x100b22d9
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b22cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b22cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dc450
add esp, 8
push 4
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push str.ware
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.10028790
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x14]
cdq
add edi, 2
sub eax, edx
lea edx, [ecx - 0xfc]
sar eax, 1
add edx, eax
lea eax, [ebp - 0x54]
push 2
push eax
push ecx
mov eax, esp
mov ecx, 0x101870d4
push edi
push edx
mov dword [eax], 0xffcdcdcd
call fcn.100ce130
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x100b2379
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b236f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b236f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dc450
add esp, 8
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x10186d6c]
mov edi, dword [ebx + 0x18]
push dword [0x101870d0]
mov eax, dword [eax + 0x10]
mov ebx, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [ebx + 2]
push eax
mov eax, dword [ebp - 0x34]
add eax, 0xf
add eax, edi
push eax
push ebx
push dword [ebp - 0x34]
call edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x10186d6c]
mov ebx, dword [0x101870d0]
push ebx
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
lea edx, [esi + 0x1bd]
push 0
push 0
shr ebx, 0x18
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x34]
add ecx, 0xfffffd8c
mov eax, dword [eax + 0x1ec]
add edi, ecx
mov ecx, dword [0x10186d6c]
push edx
push edi
push esi
push ebx
call eax
mov ecx, dword [0x10186d6c]
push 0xff000000
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
lea edx, [esi + 0x1bd]
push 0
push 0xff
push 0
mov eax, dword [ecx]
push edx
push edi
push esi
mov eax, dword [eax + 0x1ec]
push ebx
call eax
mov ecx, dword [ebp - 0x38]
mov edi, dword [0x101870d0]
push edi
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0x34], eax
sub ebx, 0x274
mov eax, dword [ecx + 0x10]
mov ecx, dword [0x10186d6c]
add eax, 0x283
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
mov edx, dword [ebp - 0x34]
add ebx, dword [ebp - 0x2c]
add edx, 0x1bd
push 0
mov eax, dword [ecx]
push 0
shr edi, 0x18
push edi
mov edi, dword [ebp - 0x34]
mov eax, dword [eax + 0x1ec]
push edx
push ebx
push edi
push dword [ebp - 0x2c]
call eax
mov ecx, dword [0x10186d6c]
push 0xff000000
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
lea edx, [edi + 0x1bd]
push 0
push 0xff
push 0
mov eax, dword [ecx]
push edx
push ebx
push edi
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x1ec]
call eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x24]
cmp eax, dword [ecx + 0x28]
je 0x100b2804
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
add eax, 0x14
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov ecx, dword [0x10186d6c]
lea ebx, [edx + 0x91]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0x1212
mov byte [ebp - 0x2a], 0x12
mov eax, dword [ecx]
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x58], edi
mov eax, dword [eax + 0x38]
call eax
mov edx, dword [ebp - 0x3c]
add edi, 0xffffff9c
mov ecx, dword [0x10186d6c]
add edi, edx
push edi
push ebx
push edx
mov eax, dword [ecx]
mov edx, dword [ebp - 0x34]
add edx, 0x14
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [ebp - 0x38]
mov word [ebp - 0x2c], 0
mov byte [ebp - 0x2a], 0
mov eax, dword [ecx + 8]
mov ecx, dword [0x10186d6c]
mov byte [ebp - 0x29], al
push dword [ebp - 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
push edi
mov edi, dword [ebp - 0x34]
push ebx
mov eax, dword [ecx]
add edi, 0x14
mov ebx, dword [ebp - 0x3c]
push ebx
push edi
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [ebp - 0x38]
inc ebx
mov word [ebp - 0x2c], 0x3030
inc edi
mov byte [ebp - 0x2a], 0x30
mov eax, dword [ecx + 8]
mov ecx, dword [0x10186d6c]
mov byte [ebp - 0x29], al
push dword [ebp - 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x58]
add eax, 0xffffff9a
add eax, ebx
push eax
lea eax, [edi + 0x7b]
push eax
push ebx
push edi
call edx
mov ebx, dword [ebp - 0x38]
xor edi, edi
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
sub eax, ecx
sar eax, 2
mov esi, dword [ebp - 0x30]
test eax, eax
je 0x100b262c
mov edx, dword [ebp - 0x3c]
add edx, 5
mov dword [ebp - 0x3c], edx
mov ecx, dword [ecx + edi*4]
cmp ecx, dword [ebx + 0x30]
jne 0x100b25ef
mov eax, esi
jmp 0x100b25fd
mov eax, dword [ebx + 8]
movzx eax, al
shl eax, 0x18
or eax, 0x989898
push 0
push ecx
push eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x10186f2c
push edx
add eax, 0x1e
push eax
call fcn.100ce130
mov eax, dword [ebx + 0x28]
inc edi
mov ecx, dword [ebx + 0x24]
sub eax, ecx
mov edx, dword [ebp - 0x3c]
add edx, 0x10
sar eax, 2
mov dword [ebp - 0x3c], edx
cmp edi, eax
jb 0x100b25e3
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
je 0x100b2804
mov eax, dword [ebx + 0x18]
mov ecx, dword [0x10186d6c]
mov esi, dword [ebx + 0x14]
mov edi, dword [ebx + 0x1c]
add esi, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0x10]
mov byte [ebp - 0x2d], al
add ebx, 0xa5
mov eax, dword [ecx]
mov word [ebp - 0x30], 0x1212
mov byte [ebp - 0x2e], 0x12
push dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x34], esi
call eax
mov ecx, dword [0x10186d6c]
add edi, 0xffffff9c
add esi, edi
mov edi, dword [ebp - 0x3c]
push esi
add edi, 0xffffff56
mov eax, dword [ecx]
add edi, ebx
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x40]
push ebx
call eax
mov ecx, dword [ebp - 0x38]
mov word [ebp - 0x30], 0
mov byte [ebp - 0x2e], 0
mov eax, dword [ecx + 8]
mov ecx, dword [0x10186d6c]
mov byte [ebp - 0x2d], al
push dword [ebp - 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
push esi
mov esi, dword [ebp - 0x34]
push edi
mov eax, dword [ecx]
push esi
push ebx
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [ebp - 0x38]
lea edi, [esi + 1]
mov word [ebp - 0x30], 0x3030
lea esi, [ebx + 1]
mov byte [ebp - 0x2e], 0x30
mov eax, dword [ecx + 8]
mov ecx, dword [0x10186d6c]
mov byte [ebp - 0x2d], al
push dword [ebp - 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10186d6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x58]
add eax, 0xffffff9a
add eax, edi
push eax
mov eax, dword [ebp - 0x3c]
add eax, 0xffffff54
add eax, esi
push eax
push edi
push esi
call edx
mov dword [ebp - 0x48], 0x1b4d5475
xor eax, eax
mov dword [ebp - 0x44], 0x91b030a
mov dword [ebp - 0x40], 0x3b0a090b
xor byte [ebp + eax - 0x48], 0x3b
inc eax
cmp eax, 0xc
jb 0x100b2736
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b2760
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10028790
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 2
mov eax, dword [ecx + 0x30]
mov edi, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x100b27bd
nop dword [eax]
mov edx, dword [esi]
test edx, edx
je 0x100b27b6
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x100b27a1
cmp edx, eax
je 0x100b27b6
cmp byte [edx + 0x68], 0
je 0x100b27b6
test byte [edx + 0x50], 1
je 0x100b27b6
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x38]
add esi, 4
cmp esi, edi
jne 0x100b2790
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x100b27ce
cmp byte [ecx + 0x68], 0
je 0x100b27ce
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100b2804
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b27fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b27fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dc450
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dbfd5
mov esp, ebp
pop ebp
ret