Function at 0xb673d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xbcdd3b
call fcn.00bccc28
sub esp, 0x98
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [eax + 4]
je 0xb674d6
mov eax, dword [ebx]
cmp eax, 8
jne 0xb6742b
mov ecx, ebx
lea edi, [ebp - 0x58]
call fcn.00b67e2a
inc dword [ebp - 0x44]
jmp 0xb674be
cmp eax, 6
jne 0xb6743c
mov ecx, ebx
lea edi, [ebp - 0x28]
call fcn.00b67e2a
jmp 0xb674bb
cmp eax, 7
jne 0xb674a9
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
je 0xb67484
cmp dword [esi - 0x20], 6
je 0xb67481
lea ecx, [esi - 0x20]
lea edi, [ebp - 0x58]
call fcn.00b67e2a
cmp dword [ebp - 0x28], esi
je 0xb67475
push 0
push 1
lea ecx, [esi - 0x1c]
call fcn.00b44c93
add esi, 0xffffffe0
mov dword [ebp - 0x24], esi
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
jne 0xb6744d
mov ebx, dword [ebp - 0x2c]
mov eax, esi
sub eax, dword [ebp - 0x28]
test eax, 0xffffffe0
je 0xb674dd
cmp dword [ebp - 0x28], esi
je 0xb674be
add esi, 0xffffffe0
push 0
push 1
lea ecx, [esi + 4]
call fcn.00b44c93
mov dword [ebp - 0x24], esi
jmp 0xb674be
mov ecx, ebx
lea edi, [ebp - 0x28]
call fcn.00b67e2a
cmp dword [ebx], 5
je 0xb674bb
dec dword [ebp - 0x44]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add ebx, 0x20
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [eax + 4]
jne 0xb67412
cmp dword [ebp - 0x44], 1
jge 0xb67506
call fcn.00b67872
jmp 0xb674e2
call fcn.00b677f9
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00ba6955
mov dword [ebp - 0x18], vtable.std::runtime_error.0
push 0xbf2d18
lea eax, [ebp - 0x18]
push eax
call fcn.00bb0865
jle 0xb67537
call fcn.00b678f8
jmp 0xb674e2
lea ebx, [esi - 0x20]
cmp dword [ebx], 6
je 0xb67543
mov ecx, ebx
lea edi, [ebp - 0x58]
call fcn.00b67e2a
cmp dword [ebp - 0x28], esi
je 0xb67537
push 0
push 1
lea ecx, [ebx + 4]
call fcn.00b44c93
mov esi, ebx
mov dword [ebp - 0x24], esi
mov eax, esi
sub eax, dword [ebp - 0x28]
sar eax, 5
test eax, eax
jne 0xb6750f
sub esi, dword [ebp - 0x28]
sar esi, 5
cmp esi, 1
jbe 0xb67555
call fcn.00b67975
jmp 0xb674e2
lea eax, [ebp - 0x28]
push eax
call fcn.00b67ea9
xor edi, edi
lea eax, [ebp + 8]
push eax
xor eax, eax
lea esi, [ebp - 0x40]
mov dword [ebp + 8], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.00b68481
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x54]
je 0xb676a7
mov eax, dword [esi]
cmp eax, 8
jne 0xb675b3
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0xb67736
mov eax, dword [ecx]
lea edx, [esi + 4]
push edx
call dword [eax + 4]
mov byte [ebp - 0x2c], al
push dword [ebp - 0x2c]
jmp 0xb67688
cmp eax, 5
jne 0xb675f1
cmp dword [ebp - 0x30], 1
jb 0xb6773b
lea edi, [ebp - 0x48]
lea eax, [ebp - 0x40]
call fcn.00b67f33
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne bl
call fcn.00b67f99
test bl, bl
sete al
movzx eax, al
jmp 0xb67687
cmp dword [ebp - 0x30], 2
jb 0xb67745
lea edi, [ebp - 0x6c]
lea eax, [ebp - 0x40]
call fcn.00b67f33
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne byte [ebp + 0xb]
call fcn.00b67f99
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.00b67f33
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edi, edi
inc edi
shl edi, cl
test dword [edx], edi
lea edi, [ebp - 0x40]
setne bl
call fcn.00b67f99
mov eax, dword [esi]
sub eax, 0
je 0xb67729
dec eax
je 0xb67712
dec eax
je 0xb6767a
dec eax
je 0xb6766d
dec eax
jne 0xb6774f
test bl, bl
je 0xb67684
cmp byte [ebp + 0xb], 0
je 0xb67684
xor al, al
jmp 0xb67687
test bl, bl
jne 0xb67669
cmp byte [ebp + 0xb], bl
jne 0xb67669
mov al, 1
jmp 0xb67687
test bl, bl
jne 0xb67663
cmp byte [ebp + 0xb], 0
je 0xb67669
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00b67f67
add esi, 0x20
cmp esi, dword [ebp - 0x54]
jne 0xb6758d
cmp dword [ebp - 0x30], 1
je 0xb67793
test byte [0xc07d8c], 1
jne 0xb676ef
or dword [0xc07d8c], 1
mov dword [0xc06800], 0xe5f2eacd
mov dword [0xc06804], 0xa4e0ede8
mov dword [0xc06808], 0xf6f4fce1
mov dword [0xc0680c], 0xedf7f7e1
mov word [0xc06810], 0xeaeb
mov byte [0xc06812], 0x84
xor eax, eax
mov cl, byte [eax + 0xc06800]
xor cl, 0x84
mov byte [eax + 0xc06950], cl
inc eax
cmp eax, 0x13
jb 0xb676f1
mov dword [ebp + 8], 0xc06950
jmp 0xb674e5
test bl, bl
je 0xb67669
cmp byte [ebp + 0xb], 0
je 0xb67669
jmp 0xb67676
test bl, bl
jne 0xb67684
jmp 0xb6767e
call fcn.00ba65a7
call fcn.00b679e8
jmp 0xb674e2
call fcn.00b67a76
jmp 0xb674e2
mov eax, dword [esi]
cdq
push edx
push eax
lea esi, [ebp - 0x88]
call fcn.00b6e0d5
pop ecx
pop ecx
push eax
mov byte [ebp - 4], 4
call fcn.00b67b0d
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00b46b01
add esp, 0xc
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00b45bea
push 0xbf2d18
mov eax, esi
jmp 0xb67500
lea edi, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.00b67f33
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor esi, esi
inc esi
shl esi, cl
test dword [edx], esi
setne bl
cmp dword [ebp - 0x40], 0
je 0xb677bc
push dword [ebp - 0x40]
call fcn.00ba7273
pop ecx
lea esi, [ebp - 0x28]
call fcn.00b5b4e0
lea esi, [ebp - 0x58]
call fcn.00b5b4e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0xb677e8
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret