Function at 0x100226a7
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1003e620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
lea ebx, [eax - 0xb]
push edi
mov edi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
jbe case.0x10022693.104
jmp 0x10022680
lea eax, [ecx - 0x5b]
cmp eax, 0x1a
ja case.0x10022693.96
movzx ecx, byte [eax + 0x10022930]
jmp dword [ecx*4 + 0x10022900]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
jmp case.0x10022693.96
cmp dword [ebp - 0x1c], 0
jbe case.0x10022693.96
mov ebx, 3
mov dword [ebp - 0x30], 4
lea ecx, [ecx]
cmp ebx, 3
ja case.default.0x100226c5
jmp dword [ebx*4 + 0x1002294c]
mov eax, dword [esi + 0x10]
push 0x10
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x28]
push eax
push 0x5d
push edi
mov dword [ebp - 0x28], ecx
call fcn.10001a90
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp case.default.0x100226c5
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0x10
jmp case.default.0x100226c5
lea edx, [esi + 0x2c]
push edx
push 0xb3
call fcn.100224a0
add esp, 8
jmp case.default.0x100226c5
mov eax, dword [ebp - 0x28]
add edi, eax
sub dword [ebp - 0x1c], eax
dec ebx
dec dword [ebp - 0x30]
jne 0x100226c0
cmp dword [ebp - 0x1c], 0
ja 0x100226b1
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
jmp case.0x10022693.96
mov dword [ebp - 0x18], 0
test esi, esi
jne case.0x10022693.96
push str.___V8_binary_version:__.s
jmp 0x10022835
mov eax, dword [esi]
mov dword [ebp - 0x34], 0
test eax, eax
jne 0x100227b6
push str.NULL_addr
push 0x1003455f
push eax
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0x69
mov dword [ebp - 0x24], ecx
jmp case.0x10022693.96
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
jmp case.0x10022693.96
lea eax, [edi + 8]
mov dword [eax], 0
mov ecx, dword [esi + 0x10]
mov dword [ecx], edi
cmp dword [esi], 0
mov dword [esi + 0x10], eax
je 0x100228a6
push 0xda
lea edx, [esi + 0x30]
push edx
push 0
call fcn.10001050
add esp, 0xc
test eax, eax
je 0x100228a6
push str.Segment_instance_not_found:
jmp 0x10022884
lea eax, [esi + 0x18]
push 0x1c
push eax
call fcn.1000a240
mov edx, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 0x20], 0x5c
mov dword [ebp - 0x24], edx
jmp case.0x10022693.96
test edi, edi
jne 0x1002282b
push str.MAAP_MAXXBASS_CUTOFF_SIDES
jmp 0x10022835
cmp dword [edi], 0
jne 0x10022866
push str.Failed_to_create_CSP_object:__x
push 0x1003455f
push 0
push 0x1003455f
push str.HG_Util
push 2
call fcn.100021f0
mov dword [ebp - 0x18], 0xffffffff
mov edx, dword [ebp - 0x18]
add esp, 0x18
mov dword [ebp - 0x20], 0x5c
mov dword [ebp - 0x24], edx
jmp case.0x10022693.96
push 0
lea eax, [esi + 0x18]
push 0xa4
push eax
call fcn.1001eaa0
add esp, 0xc
cmp dword [esi + 0x14], 0
je case.0x10022693.96
push str.Pool_is_shutting_down
push 0x1003455f
push 0
push 0x1003455f
push str.HG_Util
push 2
call fcn.100021f0
mov dword [ebp - 0x18], 0xffffffff
add esp, 0x18
mov dword [ebp - 0x20], 0x5d
mov ecx, dword [ebp - 0x20]
dec ecx
mov dword [ebp - 0x20], ecx
cmp ecx, ebx
ja 0x10022680
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
dec eax
lahf
into
sbb eax, 0xdc458b7a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027670
mov esp, ebp
pop ebp
ret