Function at 0x101047f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x1022d400]
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.100a13a0
mov eax, dword [ebx + 0x118]
add esp, 0xc
test eax, eax
jne 0x10104870
mov dword [esp + 0x44], 0x10
jmp 0x10104884
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 0x10104f11
cmp dword [esp + 0x1d0], ebp
je 0x10104f42
test esi, esi
je 0x10104f73
test eax, eax
jne 0x101048eb
push dword [ebx + 8]
push dword [ebx + 4]
push str._s:mongo:_s
call fcn.100d4470
push eax
mov dword [esp + 0x40], eax
call fcn.10102500
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 0x101048d6
sub ecx, esi
push ecx
push edx
call fcn.100d29a0
add esp, 8
jmp 0x10104929
cmp eax, 1
jne 0x10104ee0
mov edx, dword [ebx + 8]
mov ecx, edx
mov al, byte [edx]
test al, al
je 0x10104912
nop
sub al, 0x20
cmp al, 0x5e
ja 0x101049b3
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x10104900
push edx
call fcn.100d4420
add esp, 4
mov dword [esp + 0x1c], eax
mov ebp, eax
test ebp, ebp
je 0x10104e80
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.10103d10
add esp, 0x14
test al, al
je 0x10104e6e
mov ecx, dword [esi]
lea eax, [ecx + 1]
cmp eax, dword [ebx + 0x108]
jae 0x10104e6e
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 0x10104e58
nop dword [eax]
movzx ecx, byte [ebp]
mov eax, ecx
sub eax, 0x69
je 0x101049d7
sub eax, 9
je 0x101049cd
sub eax, 1
jne 0x10104a73
lea eax, [esp + 0x24]
lea esi, [esp + 0x48]
jmp 0x101049df
push edi
push edx
push str.password
call fcn.10103740
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x1c], ebp
jmp 0x10104921
lea eax, [esp + 0x38]
lea esi, [esp + 0x40]
jmp 0x101049df
lea eax, [esp + 0x28]
lea esi, [esp + 0x4c]
cmp byte [ebp + 1], 0x3d
mov dword [esp + 0x2c], eax
jne 0x10104e5f
mov edi, dword [esp + 0x20]
add ebp, 2
sub edi, ebp
add edi, edx
push edi
push 0x2c
push ebp
call fcn.100a1c30
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.100d28d0
mov esi, eax
mov eax, dword [esp + 0x3c]
push edi
push ebp
push esi
mov dword [eax], esi
call fcn.100a1570
mov ebp, dword [esp + 0x58]
add esp, 0x1c
mov byte [esi + edi], 0
test ebp, ebp
je 0x10104a4e
mov eax, dword [esp + 0x20]
inc ebp
mov edx, dword [esp + 0x1c8]
add eax, edx
cmp ebp, eax
jb 0x10104990
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x10104e54
cmp dword [esp + 0x24], 0
jne 0x10104a8e
push str.SCRAM_Failure:_no_s_param_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x10104e78
push ecx
push str.SCRAM_Failure:_unknown_key___c__in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x24]
call fcn.100d52a0
add esp, 0x14
jmp 0x10104e80
cmp dword [esp + 0x28], 0
jne 0x10104aa7
push str.SCRAM_Failure:_no_i_param_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x10104e78
mov esi, dword [ebx + 0x100]
mov eax, esi
cdq
push edx
push eax
push 0
push dword [esp + 0x4c]
call fcn.101056e0
add esp, 0x10
test al, al
jne 0x10104ad9
push esi
lea eax, [ebx + 0xd0]
push eax
push ebp
call fcn.101299b0
add esp, 0xc
test eax, eax
je 0x10104af1
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.100d52a0
add esp, 0x10
jmp 0x10104af5
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x1d0]
mov dword [esi], 0
cmp edx, 9
jbe 0x10104e4d
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 [0x10190b54]
mov byte [ecx + 8], al
add dword [esi], 9
push ebp
call fcn.10103d10
add esp, 0x14
test al, al
je 0x10104e4d
mov esi, dword [esi]
mov edx, dword [ebx + 0x104]
mov ebp, dword [esp + 0x18]
test esi, esi
jns 0x10104b60
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10104b57
sub esi, ecx
mov ecx, dword [ebx + 0x10c]
lea eax, [ecx + esi]
cmp eax, dword [ebx + 0x108]
jae 0x10104e6e
push esi
lea eax, [ecx + edx]
push ebp
push eax
call fcn.100a1570
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 0x10104e4d
mov ax, word [0x10190b58]
mov word [ecx + ebp], ax
mov al, byte [0x10190b5a]
mov byte [ecx + ebp + 2], al
lea eax, [esp + 0x118]
add dword [edx], 3
push 0x40
push eax
push dword [esp + 0x2c]
call fcn.10126b50
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x10104bdc
push str.SCRAM_Failure:_unable_to_decode_salt_in_sasl_step2
jmp 0x10104e73
cmp dword [esp + 0x44], ebp
je 0x10104bfa
push ebp
push str.SCRAM_Failure:_invalid_salt_length_of__d_in_sasl_step2
push 0x1d
push 0xe
push edi
call fcn.100d52a0
add esp, 0x14
jmp 0x10104e80
push 0xa
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x30]
call fcn.100d4060
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
je 0x10104c22
push str.SCRAM_Failure:_unable_to_parse_iterations_in_sasl_step2
jmp 0x10104e73
test esi, esi
jns 0x10104c30
push str.SCRAM_Failure:_iterations_is_negative_in_sasl_step2
jmp 0x10104e73
cmp esi, 0x1000
jge 0x10104c42
push str.SCRAM_Failure:_iterations_must_be_at_least_4096
jmp 0x10104e73
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10104c59
push 0x20
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.100d4ad0
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.10103d60
add esp, 8
test al, al
je 0x10104cf5
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 0x10104d31
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 0x10104d11
sub ecx, dword [esp + 0x3c]
lea eax, [esp + 0x118]
push esi
push ebp
push eax
push ecx
push edx
push ebx
call fcn.101040a0
add esp, 0x18
cmp byte [ebx + 0x70], 0
lea esi, [ebx + 0x70]
mov ebp, 0x20
jne 0x10104d6f
mov ecx, dword [ebx + 0x118]
test ecx, ecx
jne 0x10104d4e
lea eax, [ebp - 0xc]
jmp 0x10104d56
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.10129920
add esp, 0x18
mov ecx, dword [ebx + 0x118]
test ecx, ecx
jne 0x10104d7e
lea eax, [ecx + 0x14]
jmp 0x10104d86
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.10129910
mov ecx, dword [ebx + 0x118]
add esp, 0x10
test ecx, ecx
jne 0x10104dae
lea eax, [ecx + 0x14]
jmp 0x10104db6
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.10129920
push ebx
call fcn.101056b0
add esp, 0x1c
xor edx, edx
test eax, eax
jle 0x10104e07
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 0x10104df0
mov eax, dword [ebx + 0x118]
test eax, eax
jne 0x10104e16
lea ecx, [eax + 0x14]
jmp 0x10104e1e
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.101269e0
add esp, 0x10
cmp eax, 0xffffffff
je 0x10104e85
add dword [esi], eax
jmp 0x10104e85
push str.SCRAM_Failure:_could_not_buffer_sasl_step2
jmp 0x10104e73
mov edi, dword [esp + 0x14]
push str.SCRAM_Failure:_no_r_param_in_sasl_step_2
jmp 0x10104e73
push str.SCRAM_Failure:_invalid_parse_state_in_sasl_step_2
push 0x1d
push 0xe
push dword [esp + 0x20]
jmp 0x10104e78
push str.SCRAM_Failure:_could_not_buffer_auth_message_in_sasl_step2
push 0x1d
push 0xe
push edi
call fcn.100d52a0
add esp, 0x10
mov byte [esp + 0x13], 0
push dword [esp + 0x38]
call fcn.100d28c0
push dword [esp + 0x28]
call fcn.100d28c0
push dword [esp + 0x30]
call fcn.100d28c0
mov ebx, dword [esp + 0x28]
add esp, 0xc
test ebx, ebx
je 0x10104ec3
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10104eb0
sub ecx, edx
push ecx
push ebx
call fcn.100d29a0
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.1009f33b
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.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
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.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
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.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
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.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
int3