Function at 0x100a89b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x101c6040]
xor eax, esp
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x1b4]
push ebx
mov ebx, dword [esp + 0x1b4]
push ebp
push esi
mov esi, dword [esp + 0x1d0]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x1d8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1cc]
push 0x40
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x11c]
push ebp
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.10048bd0
mov eax, dword [ebx + 0x118]
add esp, 0xc
test eax, eax
jne 0x100a8a30
mov dword [esp + 0x44], 0x10
jmp 0x100a8a44
cmp eax, 1
mov ecx, 0xfffffffc
mov edx, 0x1c
cmove ecx, edx
mov dword [esp + 0x44], ecx
mov byte [esp + 0x13], 1
cmp dword [esp + 0x18], ebp
je 0x100a90d1
cmp dword [esp + 0x1d0], ebp
je 0x100a9102
test esi, esi
je 0x100a9133
test eax, eax
jne 0x100a8aab
push dword [ebx + 8]
push dword [ebx + 4]
push str._s:mongo:_s
call fcn.10078540
push eax
mov dword [esp + 0x40], eax
call fcn.100a66d0
mov edx, dword [esp + 0x40]
add esp, 0x10
mov ecx, edx
mov dword [esp + 0x1c], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8a96
sub ecx, esi
push ecx
push edx
call fcn.10076a70
add esp, 8
jmp 0x100a8ae9
cmp eax, 1
jne 0x100a90a0
mov edx, dword [ebx + 8]
mov ecx, edx
mov al, byte [edx]
test al, al
je 0x100a8ad2
nop
sub al, 0x20
cmp al, 0x5e
ja 0x100a8b73
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x100a8ac0
push edx
call fcn.100784f0
add esp, 4
mov dword [esp + 0x1c], eax
mov ebp, eax
test ebp, ebp
je 0x100a9040
mov ecx, dword [esp + 0x20]
lea esi, [ebx + 0x10c]
push esi
push dword [ebx + 0x108]
push dword [ebx + 0x104]
push dword [esp + 0x1d4]
push ecx
call fcn.100a7ee0
add esp, 0x14
test al, al
je 0x100a902e
mov ecx, dword [esi]
lea eax, [ecx + 1]
cmp eax, dword [ebx + 0x108]
jae 0x100a902e
mov eax, dword [ebx + 0x104]
mov edx, dword [esp + 0x1c8]
mov byte [ecx + eax], 0x2c
mov ecx, dword [esp + 0x20]
mov ebp, ecx
inc dword [esi]
lea eax, [ecx + edx]
cmp ecx, eax
jae 0x100a9018
nop dword [eax]
movzx ecx, byte [ebp]
mov eax, ecx
sub eax, 0x69
je 0x100a8b97
sub eax, 9
je 0x100a8b8d
sub eax, 1
jne 0x100a8c33
lea eax, [esp + 0x24]
lea esi, [esp + 0x48]
jmp 0x100a8b9f
push edi
push edx
push str.password
call fcn.100a7910
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x1c], ebp
jmp 0x100a8ae1
lea eax, [esp + 0x38]
lea esi, [esp + 0x40]
jmp 0x100a8b9f
lea eax, [esp + 0x28]
lea esi, [esp + 0x4c]
cmp byte [ebp + 1], 0x3d
mov dword [esp + 0x2c], eax
jne 0x100a901f
mov edi, dword [esp + 0x20]
add ebp, 2
sub edi, ebp
add edi, edx
push edi
push 0x2c
push ebp
call fcn.10049350
mov ecx, eax
mov dword [esp + 0x48], eax
sub ecx, ebp
test eax, eax
cmovne edi, ecx
mov dword [esi], edi
lea eax, [edi + 1]
push eax
call fcn.100769a0
mov esi, eax
mov eax, dword [esp + 0x3c]
push edi
push ebp
push esi
mov dword [eax], esi
call fcn.10048db0
mov ebp, dword [esp + 0x58]
add esp, 0x1c
mov byte [esi + edi], 0
test ebp, ebp
je 0x100a8c0e
mov eax, dword [esp + 0x20]
inc ebp
mov edx, dword [esp + 0x1c8]
add eax, edx
cmp ebp, eax
jb 0x100a8b50
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x100a9014
cmp dword [esp + 0x24], 0
jne 0x100a8c4e
push str.SCRAM_Failure:_no_s_param_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x100a9038
push ecx
push str.SCRAM_Failure:_unknown_key___c__in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x24]
call fcn.10079370
add esp, 0x14
jmp 0x100a9040
cmp dword [esp + 0x28], 0
jne 0x100a8c67
push str.SCRAM_Failure:_no_i_param_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x100a9038
mov esi, dword [ebx + 0x100]
mov eax, esi
cdq
push edx
push eax
push 0
push dword [esp + 0x4c]
call fcn.100a98a0
add esp, 0x10
test al, al
jne 0x100a8c99
push esi
lea eax, [ebx + 0xd0]
push eax
push ebp
call fcn.100cdb50
add esp, 0xc
test eax, eax
je 0x100a8cb1
mov edi, dword [esp + 0x14]
push str.SCRAM_Failure:_client_nonce_not_repeated_in_sasl_step_2
push 0x1d
push 0xe
push edi
call fcn.10079370
add esp, 0x10
jmp 0x100a8cb5
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x1d0]
mov dword [esi], 0
cmp edx, 9
jbe 0x100a900d
mov ecx, dword [esp + 0x18]
movq xmm0, qword [str.cbiws_r]
push esi
push edx
push ecx
push dword [esp + 0x4c]
movq qword [ecx], xmm0
mov al, byte [0x101277ac]
mov byte [ecx + 8], al
add dword [esi], 9
push ebp
call fcn.100a7ee0
add esp, 0x14
test al, al
je 0x100a900d
mov esi, dword [esi]
mov edx, dword [ebx + 0x104]
mov ebp, dword [esp + 0x18]
test esi, esi
jns 0x100a8d20
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100a8d17
sub esi, ecx
mov ecx, dword [ebx + 0x10c]
lea eax, [ecx + esi]
cmp eax, dword [ebx + 0x108]
jae 0x100a902e
push esi
lea eax, [ecx + edx]
push ebp
push eax
call fcn.10048db0
mov edx, dword [esp + 0x40]
add esp, 0xc
add dword [ebx + 0x10c], esi
mov ecx, dword [edx]
lea eax, [ecx + 3]
cmp eax, dword [esp + 0x1d0]
jae 0x100a900d
mov ax, word [0x101277b0]
mov word [ecx + ebp], ax
mov al, byte [0x101277b2]
mov byte [ecx + ebp + 2], al
lea eax, [esp + 0x118]
add dword [edx], 3
push 0x40
push eax
push dword [esp + 0x2c]
call fcn.100cacf0
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x100a8d9c
push str.SCRAM_Failure:_unable_to_decode_salt_in_sasl_step2
jmp 0x100a9033
cmp dword [esp + 0x44], ebp
je 0x100a8dba
push ebp
push str.SCRAM_Failure:_invalid_salt_length_of__d_in_sasl_step2
push 0x1d
push 0xe
push edi
call fcn.10079370
add esp, 0x14
jmp 0x100a9040
push 0xa
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x30]
call fcn.10078130
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
je 0x100a8de2
push str.SCRAM_Failure:_unable_to_parse_iterations_in_sasl_step2
jmp 0x100a9033
test esi, esi
jns 0x100a8df0
push str.SCRAM_Failure:_iterations_is_negative_in_sasl_step2
jmp 0x100a9033
cmp esi, 0x1000
jge 0x100a8e02
push str.SCRAM_Failure:_iterations_must_be_at_least_4096
jmp 0x100a9033
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a8e19
push 0x20
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.10078ba0
add esp, 0xc
movups xmm0, xmmword [esp + 0x118]
lea eax, [esp + 0x50]
mov dword [ebx + 0x6c], esi
push ebx
movups xmmword [ebx + 0x2c], xmm0
push eax
movups xmm0, xmmword [esp + 0x130]
movups xmmword [ebx + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x140]
movups xmmword [ebx + 0x4c], xmm0
movups xmm0, xmmword [esp + 0x150]
movups xmmword [ebx + 0x5c], xmm0
call fcn.100a7f30
add esp, 8
test al, al
je 0x100a8eb5
movups xmm0, xmmword [esp + 0xb8]
movups xmmword [ebx + 0x70], xmm0
movups xmm0, xmmword [esp + 0xc8]
movups xmmword [ebx + 0x80], xmm0
movups xmm0, xmmword [esp + 0xd8]
movups xmmword [ebx + 0x90], xmm0
movups xmm0, xmmword [esp + 0xe8]
movups xmmword [ebx + 0xa0], xmm0
movups xmm0, xmmword [esp + 0xf8]
movups xmmword [ebx + 0xb0], xmm0
movups xmm0, xmmword [esp + 0x108]
movups xmmword [ebx + 0xc0], xmm0
cmp byte [ebx + 0xb0], 0
lea edi, [ebx + 0xb0]
jne 0x100a8ef1
mov edx, dword [esp + 0x1c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8ed1
sub ecx, dword [esp + 0x3c]
lea eax, [esp + 0x118]
push esi
push ebp
push eax
push ecx
push edx
push ebx
call fcn.100a8250
add esp, 0x18
cmp byte [ebx + 0x70], 0
lea esi, [ebx + 0x70]
mov ebp, 0x20
jne 0x100a8f2f
mov ecx, dword [ebx + 0x118]
test ecx, ecx
jne 0x100a8f0e
lea eax, [ebp - 0xc]
jmp 0x100a8f16
xor eax, eax
cmp ecx, 1
cmove eax, ebp
push esi
push 0xa
push str.Client_Key
push eax
lea eax, [ebx + 0x110]
push edi
push eax
call fcn.100cdac0
add esp, 0x18
mov ecx, dword [ebx + 0x118]
test ecx, ecx
jne 0x100a8f3e
lea eax, [ecx + 0x14]
jmp 0x100a8f46
xor eax, eax
cmp ecx, 1
cmove eax, ebp
lea ecx, [esp + 0x158]
push ecx
push eax
lea edi, [ebx + 0x110]
push esi
push edi
call fcn.100cdab0
mov ecx, dword [ebx + 0x118]
add esp, 0x10
test ecx, ecx
jne 0x100a8f6e
lea eax, [ecx + 0x14]
jmp 0x100a8f76
xor eax, eax
cmp ecx, 1
cmove eax, ebp
lea ecx, [esp + 0x178]
push ecx
push dword [ebx + 0x10c]
push dword [ebx + 0x104]
push eax
lea eax, [esp + 0x168]
push eax
push edi
call fcn.100cdac0
push ebx
call fcn.100a9870
add esp, 0x1c
xor edx, edx
test eax, eax
jle 0x100a8fc7
nop dword [eax + eax]
mov cl, byte [esp + edx + 0x178]
xor cl, byte [edx + ebx + 0x70]
mov byte [esp + edx + 0x198], cl
inc edx
cmp edx, eax
jl 0x100a8fb0
mov eax, dword [ebx + 0x118]
test eax, eax
jne 0x100a8fd6
lea ecx, [eax + 0x14]
jmp 0x100a8fde
xor ecx, ecx
cmp eax, 1
cmove ecx, ebp
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x1d0]
mov eax, dword [esi]
sub edx, eax
add eax, dword [esp + 0x18]
push edx
push eax
push ecx
lea eax, [esp + 0x1a4]
push eax
call fcn.100cab80
add esp, 0x10
cmp eax, 0xffffffff
je 0x100a9045
add dword [esi], eax
jmp 0x100a9045
push str.SCRAM_Failure:_could_not_buffer_sasl_step2
jmp 0x100a9033
mov edi, dword [esp + 0x14]
push str.SCRAM_Failure:_no_r_param_in_sasl_step_2
jmp 0x100a9033
push str.SCRAM_Failure:_invalid_parse_state_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x100a9038
push str.SCRAM_Failure:_could_not_buffer_auth_message_in_sasl_step2
push 0x1d
push 0xe
push edi
call fcn.10079370
add esp, 0x10
mov byte [esp + 0x13], 0
push dword [esp + 0x38]
call fcn.10076990
push dword [esp + 0x28]
call fcn.10076990
push dword [esp + 0x30]
call fcn.10076990
mov ebx, dword [esp + 0x28]
add esp, 0xc
test ebx, ebx
je 0x100a9083
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9070
sub ecx, edx
push ecx
push ebx
call fcn.10076a70
add esp, 8
mov ecx, dword [esp + 0x1b8]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10046e60
add esp, 0x1ac
ret
push str.false
push str._mongoc_scram_step2
push 0x2a3
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_scram.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
push str.outbuf
push str._mongoc_scram_step2
push 0x28f
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_scram.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
push str.outbufmax
push str._mongoc_scram_step2
push 0x290
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_scram.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
push str.outbuflen
push str._mongoc_scram_step2
push 0x291
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_scram.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
int3