Function at 0x55b1e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577d59
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x5bfd00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
test eax, eax
je 0x55b430
push eax
push dword [ebp + 8]
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x55b420
push 4
push 0x7d
push str.D:PROVINCEprovince.launcherBackendVendor_sentryexternalcrashpad_third_partymini_chromiummini_chromium_base_rand_util.cc
push str.void___cdecl_base::RandBytes_void__unsigned_int_
lea ecx, [ebp - 0xcc]
call fcn.00559920
mov esi, eax
mov dword [ebp + 0xc], esi
mov ecx, dword [esi]
mov dword [ebp - 4], ebx
or ebx, 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov ecx, dword [ecx + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_long_long___int64____thiscall_std::ios_base::width_void_const]
test edx, edx
jl 0x55b2a2
jg 0x55b271
test eax, eax
je 0x55b2a2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_long_long___int64____thiscall_std::ios_base::width_void_const]
test edx, edx
jl 0x55b2a2
jg 0x55b289
cmp eax, 0x15
jbe 0x55b2a2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_long_long___int64____thiscall_std::ios_base::width_void_const]
mov edi, eax
mov ebx, edx
sub edi, 0x15
sbb ebx, 0
jmp 0x55b2b0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
push esi
lea ecx, [ebp - 0x24]
call fcn.00424b80
cmp byte [ebp - 0x20], 0
mov dword [ebp - 4], 1
jne 0x55b2d0
mov ebx, 4
jmp 0x55b3d0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::ios_base::flags_void_const]
and eax, 0x1c0
cmp eax, 0x40
je 0x55b334
test ebx, ebx
jl 0x55b334
jg 0x55b2f1
test edi, edi
je 0x55b334
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______thiscall_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::fill_void_const]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char_]
mov esi, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x55b364
add edi, 0xffffffff
adc ebx, 0xffffffff
test ebx, ebx
jg 0x55b2f1
jl 0x55b331
test edi, edi
jne 0x55b2f1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______thiscall_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const]
push 0
push 0x15
push str.Check_failed:_success
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sputn_char_const___long_long___int64__]
cmp eax, 0x15
jne 0x55b35b
test edx, edx
je 0x55b36b
xor eax, eax
or eax, 4
mov ebx, eax
jmp 0x55b3bf
mov ebx, 4
jmp 0x55b3bf
test ebx, ebx
jl 0x55b3bc
jg 0x55b375
test edi, edi
je 0x55b3bc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______thiscall_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::fill_void_const]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char_]
mov esi, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x55b442
add edi, 0xffffffff
adc ebx, 0xffffffff
test ebx, ebx
jg 0x55b375
jl 0x55b3b9
test edi, edi
jne 0x55b375
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [esi]
push 0
push 0
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_long_long___int64____thiscall_std::ios_base::width_long_long___int64__]
mov eax, dword [esi]
push 0
push ebx
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, dword [ebp - 0x24]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::_Osfx_void_]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 2
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______thiscall_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const]
test eax, eax
je 0x55b40b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
push 0x5993c8
push esi
mov byte [ebp - 4], 0
call fcn.0042a880
mov ebx, dword [ebp - 0x14]
add esp, 8
test bl, 1
je 0x55b430
lea ecx, [ebp - 0xcc]
call fcn.00559c90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
or ebx, 4
jmp 0x55b3bf