Function at 0x100d99b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x101f3600]
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.10076270
mov eax, dword [ebx + 0x118]
add esp, 0xc
test eax, eax
jne 0x100d9a30
mov dword [esp + 0x44], 0x10
jmp 0x100d9a44
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 0x100da0d1
cmp dword [esp + 0x1d0], ebp
je 0x100da102
test esi, esi
je 0x100da133
test eax, eax
jne 0x100d9aab
push dword [ebx + 8]
push dword [ebx + 4]
push str._s:mongo:_s
call fcn.100a9610
push eax
mov dword [esp + 0x40], eax
call fcn.100d76d0
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 0x100d9a96
sub ecx, esi
push ecx
push edx
call fcn.100a7b20
add esp, 8
jmp 0x100d9ae9
cmp eax, 1
jne 0x100da0a0
mov edx, dword [ebx + 8]
mov ecx, edx
mov al, byte [edx]
test al, al
je 0x100d9ad2
nop
sub al, 0x20
cmp al, 0x5e
ja 0x100d9b73
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x100d9ac0
push edx
call fcn.100a95c0
add esp, 4
mov dword [esp + 0x1c], eax
mov ebp, eax
test ebp, ebp
je 0x100da040
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.100d8ee0
add esp, 0x14
test al, al
je 0x100da02e
mov ecx, dword [esi]
lea eax, [ecx + 1]
cmp eax, dword [ebx + 0x108]
jae 0x100da02e
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 0x100da018
nop dword [eax]
movzx ecx, byte [ebp]
mov eax, ecx
sub eax, 0x69
je 0x100d9b97
sub eax, 9
je 0x100d9b8d
sub eax, 1
jne 0x100d9c33
lea eax, [esp + 0x24]
lea esi, [esp + 0x48]
jmp 0x100d9b9f
push edi
push edx
push str.password
call fcn.100d8910
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x1c], ebp
jmp 0x100d9ae1
lea eax, [esp + 0x38]
lea esi, [esp + 0x40]
jmp 0x100d9b9f
lea eax, [esp + 0x28]
lea esi, [esp + 0x4c]
cmp byte [ebp + 1], 0x3d
mov dword [esp + 0x2c], eax
jne 0x100da01f
mov edi, dword [esp + 0x20]
add ebp, 2
sub edi, ebp
add edi, edx
push edi
push 0x2c
push ebp
call fcn.10076c30
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.100a7a50
mov esi, eax
mov eax, dword [esp + 0x3c]
push edi
push ebp
push esi
mov dword [eax], esi
call fcn.10076440
mov ebp, dword [esp + 0x58]
add esp, 0x1c
mov byte [esi + edi], 0
test ebp, ebp
je 0x100d9c0e
mov eax, dword [esp + 0x20]
inc ebp
mov edx, dword [esp + 0x1c8]
add eax, edx
cmp ebp, eax
jb 0x100d9b50
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x100da014
cmp dword [esp + 0x24], 0
jne 0x100d9c4e
push str.SCRAM_Failure:_no_s_param_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x100da038
push ecx
push str.SCRAM_Failure:_unknown_key___c__in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x24]
call fcn.100aa440
add esp, 0x14
jmp 0x100da040
cmp dword [esp + 0x28], 0
jne 0x100d9c67
push str.SCRAM_Failure:_no_i_param_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x100da038
mov esi, dword [ebx + 0x100]
mov eax, esi
cdq
push edx
push eax
push 0
push dword [esp + 0x4c]
call fcn.100da8a0
add esp, 0x10
test al, al
jne 0x100d9c99
push esi
lea eax, [ebx + 0xd0]
push eax
push ebp
call fcn.100feb50
add esp, 0xc
test eax, eax
je 0x100d9cb1
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.100aa440
add esp, 0x10
jmp 0x100d9cb5
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x1d0]
mov dword [esi], 0
cmp edx, 9
jbe 0x100da00d
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 [0x10163c74]
mov byte [ecx + 8], al
add dword [esi], 9
push ebp
call fcn.100d8ee0
add esp, 0x14
test al, al
je 0x100da00d
mov esi, dword [esi]
mov edx, dword [ebx + 0x104]
mov ebp, dword [esp + 0x18]
test esi, esi
jns 0x100d9d20
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100d9d17
sub esi, ecx
mov ecx, dword [ebx + 0x10c]
lea eax, [ecx + esi]
cmp eax, dword [ebx + 0x108]
jae 0x100da02e
push esi
lea eax, [ecx + edx]
push ebp
push eax
call fcn.10076440
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 0x100da00d
mov ax, word [0x10163c78]
mov word [ecx + ebp], ax
mov al, byte [0x10163c7a]
mov byte [ecx + ebp + 2], al
lea eax, [esp + 0x118]
add dword [edx], 3
push 0x40
push eax
push dword [esp + 0x2c]
call fcn.100fbcf0
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x100d9d9c
push str.SCRAM_Failure:_unable_to_decode_salt_in_sasl_step2
jmp 0x100da033
cmp dword [esp + 0x44], ebp
je 0x100d9dba
push ebp
push str.SCRAM_Failure:_invalid_salt_length_of__d_in_sasl_step2
push 0x1d
push 0xe
push edi
call fcn.100aa440
add esp, 0x14
jmp 0x100da040
push 0xa
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x30]
call fcn.100a9200
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
je 0x100d9de2
push str.SCRAM_Failure:_unable_to_parse_iterations_in_sasl_step2
jmp 0x100da033
test esi, esi
jns 0x100d9df0
push str.SCRAM_Failure:_iterations_is_negative_in_sasl_step2
jmp 0x100da033
cmp esi, 0x1000
jge 0x100d9e02
push str.SCRAM_Failure:_iterations_must_be_at_least_4096
jmp 0x100da033
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100d9e19
push 0x20
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.100a9c70
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.100d8f30
add esp, 8
test al, al
je 0x100d9eb5
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 0x100d9ef1
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 0x100d9ed1
sub ecx, dword [esp + 0x3c]
lea eax, [esp + 0x118]
push esi
push ebp
push eax
push ecx
push edx
push ebx
call fcn.100d9250
add esp, 0x18
cmp byte [ebx + 0x70], 0
lea esi, [ebx + 0x70]
mov ebp, 0x20
jne 0x100d9f2f
mov ecx, dword [ebx + 0x118]
test ecx, ecx
jne 0x100d9f0e
lea eax, [ebp - 0xc]
jmp 0x100d9f16
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.100feac0
add esp, 0x18
mov ecx, dword [ebx + 0x118]
test ecx, ecx
jne 0x100d9f3e
lea eax, [ecx + 0x14]
jmp 0x100d9f46
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.100feab0
mov ecx, dword [ebx + 0x118]
add esp, 0x10
test ecx, ecx
jne 0x100d9f6e
lea eax, [ecx + 0x14]
jmp 0x100d9f76
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.100feac0
push ebx
call fcn.100da870
add esp, 0x1c
xor edx, edx
test eax, eax
jle 0x100d9fc7
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 0x100d9fb0
mov eax, dword [ebx + 0x118]
test eax, eax
jne 0x100d9fd6
lea ecx, [eax + 0x14]
jmp 0x100d9fde
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.100fbb80
add esp, 0x10
cmp eax, 0xffffffff
je 0x100da045
add dword [esi], eax
jmp 0x100da045
push str.SCRAM_Failure:_could_not_buffer_sasl_step2
jmp 0x100da033
mov edi, dword [esp + 0x14]
push str.SCRAM_Failure:_no_r_param_in_sasl_step_2
jmp 0x100da033
push str.SCRAM_Failure:_invalid_parse_state_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x100da038
push str.SCRAM_Failure:_could_not_buffer_auth_message_in_sasl_step2
push 0x1d
push 0xe
push edi
call fcn.100aa440
add esp, 0x10
mov byte [esp + 0x13], 0
push dword [esp + 0x38]
call fcn.100a7a40
push dword [esp + 0x28]
call fcn.100a7a40
push dword [esp + 0x30]
call fcn.100a7a40
mov ebx, dword [esp + 0x28]
add esp, 0xc
test ebx, ebx
je 0x100da083
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100da070
sub ecx, edx
push ecx
push ebx
call fcn.100a7b20
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.100747a0
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
int3