Function at 0x42d1f0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bf48
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x4a90d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10c], ebx
mov byte [ebp - 0x105], bl
test esi, esi
je 0x42d5c0
lea eax, [edi - 1]
cmp eax, 0xfffffffd
ja 0x42d5c0
mov eax, dword [ecx]
test eax, eax
jne 0x42d409
push eax
push 0x48b408
push 0x48b444
push ecx
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
je 0x42d3f9
mov dword [ebp - 0x70], ebx
mov ecx, 0xa5d
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 2
mov word [ebp - 0x70], cx
mov byte [ebp - 0x6e], bl
push eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], ebx
push eax
call fcn.0042c620
add esp, 8
push 0x3c
mov dword [ebp - 0x58], ebx
lea ecx, [ebp - 0x58]
push str.Failed_to_create_the_bcrypt_algorithm_provider.__MS_Error_
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
call fcn.0040e130
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0xe8]
call fcn.0042c750
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0xa0]
call fcn.0042c750
mov ebx, 7
mov dword [ebp - 0x10c], ebx
lea ecx, [ebp - 0xe8]
call fcn.0040d6e0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x42d350
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d346
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbcc
push edx
push ecx
call fcn.00428a50
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0xd0]
call fcn.0040d6e0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x42d3a5
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d39b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbcc
push edx
push ecx
call fcn.00428a50
add esp, 8
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push 0
cmovae eax, dword [ebp - 0xa0]
push eax
push str._ProgramData_DellDell_Data_ProtectionEncryptionCredCSS.log
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0042bbe0
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0xa0]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov dword [eax], 0
call fcn.0040d6e0
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
test eax, eax
je 0x42d5b0
push 0
push edi
push esi
push eax
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jne 0x42d41e
mov al, 1
jmp 0x42dbae
mov dword [ebp - 0x40], 0
mov ecx, 0xa5d
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 2
mov word [ebp - 0x40], cx
mov byte [ebp - 0x3e], 0
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 9
push eax
call fcn.0042c620
add esp, 8
or ebx, 8
push 0x50
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Failed_to_generate_random_bytes_with_the_bcrypt_algorithm_provider.__MS_Error_
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e130
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0xb8]
call fcn.0042c750
or ebx, 0x10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0x88]
call fcn.0042c750
or ebx, 0x20
mov dword [ebp - 0x10c], ebx
lea ecx, [ebp - 0xb8]
call fcn.0040d6e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x42d515
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d50b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd1
push edx
push ecx
call fcn.00428a50
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x100]
call fcn.0040d6e0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x42d56a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d560
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd1
push edx
push ecx
call fcn.00428a50
add esp, 8
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
push 0
cmovae eax, dword [ebp - 0x88]
push eax
push str._ProgramData_DellDell_Data_ProtectionEncryptionCredCSS.log
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0042bbe0
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.0040d6e0
nop dword [eax + eax]
mov byte [esi], 0
lea esi, [esi + 1]
sub edi, 1
jne 0x42d5b0
jmp 0x42dba8
mov dword [ebp - 0x1bc], 0x48b3f8
mov dword [ebp - 0x1ac], 0x48b400
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
push 0
lea eax, [ebp - 0x1a4]
mov dword [ebp - 4], 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0x40
push eax
lea ecx, [ebp - 0x154]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x158], 0x50
movlpd qword [ebp - 0x1b4], xmm0
call fcn.0042dbe0
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1b0], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x1c0], eax
mov eax, dword [ebp - 0x1bc]
push 8
mov dword [ebp - 4], 0x17
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1c0], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00428aa3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42d6d9
push 1
mov byte [ebp - 4], 0x18
call fcn.00426554
add esp, 4
mov dword [ebx + 4], eax
jmp 0x42d6db
xor ebx, ebx
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x180]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
push esi
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], 0x19
call fcn.0042cc50
mov dword [ebp - 0xa0], 0
mov eax, 0xa2e
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 2
mov word [ebp - 0xa0], ax
mov byte [ebp - 0x9e], 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
push edi
push eax
call fcn.0042c6e0
add esp, 8
mov eax, dword [0x48b4ec]
movq xmm0, qword [str.__bufferLen_]
mov dword [ebp - 0x38], eax
mov ax, word [0x48b4f0]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xe
movq qword [ebp - 0x40], xmm0
mov word [ebp - 0x34], ax
mov byte [ebp - 0x32], 0
mov eax, dword [ebp - 0x168]
xorps xmm0, xmm0
and al, 0x22
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x10c], 0x1440
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
cmp al, 2
je 0x42d879
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax]
test ecx, ecx
je 0x42d879
mov eax, dword [ebp - 0x194]
cmp ecx, dword [ebp - 0x16c]
cmovb ecx, dword [ebp - 0x16c]
mov edx, dword [eax]
sub ecx, edx
jmp 0x42d8a8
test byte [ebp - 0x168], 4
jne 0x42d8a2
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
test ecx, ecx
je 0x42d8a2
mov eax, dword [ebp - 0x198]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x178]
add ecx, dword [eax]
jmp 0x42d8a8
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x42d8b9
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.0040e130
push 0x35
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push str.Invalid_parameters_passed_to_GenerateBytes._buffer_
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0040e130
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0xd0]
call fcn.0042c750
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0xb8]
call fcn.0042c750
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0x58]
call fcn.0042c750
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x104]
lea ecx, [ebp - 0x28]
call fcn.0042c750
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x24
cmp edx, 0x10
jb 0x42d99d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d993
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x25
cmp edx, 0x10
jb 0x42d9db
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d9d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
mov edx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x26
cmp edx, 0x10
jb 0x42da19
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42da0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x27
cmp edx, 0x10
jb 0x42da51
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42da47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x28
cmp edx, 0x10
jb 0x42da8c
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42da82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x29
cmp edx, 0x10
jb 0x42dac4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42daba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
mov edx, dword [ebp - 0xd4]
mov byte [ebp - 4], 0x2a
cmp edx, 0x10
jb 0x42db02
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42daf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x2b
cmp edx, 0x10
jb 0x42db40
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42db36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push str._ProgramData_DellDell_Data_ProtectionEncryptionCredCSS.log
call fcn.0042bbe0
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x42db8b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42db81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dbd6
push edx
push ecx
call fcn.00428a50
add esp, 8
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0042ce40
mov al, byte [ebp - 0x105]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428a63
mov esp, ebp
pop ebp
ret 8
call fcn.00435e90
call fcn.00435e90
call fcn.00435e90
int3