Function at 0x484fc0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559f8d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], edx
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x2c], edi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], eax
test esi, esi
jne 0x485079
call fcn.0044f060
push 1
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x14], 0xab
call fcn.0041a580
mov edx, str.Buffer_not_provided_to_authenticate
lea ecx, [ebp - 0x19c]
call fcn.0041a5e0
lea ecx, [ebp - 0x144]
call fcn.0044dd10
lea eax, [ebp - 0x144]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
mov dword [edi], esi
mov eax, edi
jmp 0x48534a
push 0x5b417e
push 0x20
call fcn.0050a503
mov edi, eax
add esp, 8
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
jne 0x485108
call fcn.0044f060
push 1
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x14], 0xbb
call fcn.0041a580
mov edx, str.Failed_to_allocate_buffer_to_be_used_for_authentication
lea ecx, [ebp - 0x19c]
call fcn.0041a5e0
lea ecx, [ebp - 0x144]
call fcn.0044dd10
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x4c]
mov dword [eax], edi
jmp 0x48534a
mov eax, dword [esi]
push 0x5b417e
push 0xc
mov dword [edi], eax
call fcn.0050a503
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 6
test esi, esi
jne 0x4851a1
call fcn.0044f060
push 1
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], str.Authenticator.cpp
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x24], 0x36
call fcn.0041a580
mov edx, str.Failed_to_allocate_random_data_buffer
lea ecx, [ebp - 0x19c]
call fcn.0041a5e0
lea ecx, [ebp - 0x144]
call fcn.0044dd10
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov dword [ebp - 0x30], esi
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x48529a
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0x5d4588
mov dword [ebp - 0x14], 0
push 0
push 0
push 0x5d4108
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jne 0x4851e7
push eax
push 0xc
push esi
push dword [ebp - 0x14]
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
je 0x48527d
call fcn.0044f060
push 1
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], str.Authenticator.cpp
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x24], 0x3d
call fcn.0041a580
mov edx, str.Failed_to_generate_random_data_buffer
lea ecx, [ebp - 0xfc]
call fcn.0041a5e0
lea ecx, [ebp - 0xa4]
call fcn.0044dd10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0xa4], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x14]
xor esi, esi
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], 0x5d4588
test eax, eax
je 0x48526b
push esi
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x1c]
call fcn.0050aa90
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x48529a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], 0x5d4588
test eax, eax
je 0x485297
push 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4852c0
lea ecx, [edi + 4]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
jne 0x485368
call fcn.005254b7
mov dword [eax], 0x16
call fcn.00522dca
call fcn.0044f060
push 1
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x14], 0xca
call fcn.0041a580
mov edx, str.Failed_to_copy_salt_into_authentication_buffer
lea ecx, [ebp - 0x23c]
call fcn.0041a5e0
lea ecx, [ebp - 0x1e4]
call fcn.0044dd10
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x4c]
add esp, 4
mov dword [eax], 0
test esi, esi
je 0x485341
push dword [ebp - 0x1c]
call fcn.0050aa90
add esp, 4
push edi
call fcn.0050aa90
mov eax, dword [ebp - 0x4c]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
ret
movq xmm0, qword [eax]
mov edx, dword [ebp - 0x50]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
call fcn.00484db0
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4853af
mov eax, dword [ebp - 0x2c]
add eax, 0xc
jne 0x485429
call fcn.005254b7
mov dword [eax], 0x16
call fcn.00522dca
call fcn.0044f060
push 1
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x14], 0xd3
call fcn.0041a580
lea ecx, [ebp - 0xfc]
call fcn.00485ce0
lea ecx, [ebp - 0xa4]
call fcn.0044dd10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - 0xa4], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x4c]
add esp, 4
mov dword [eax], 0
test edi, edi
je 0x4854ff
jmp 0x4854f6
movups xmm0, xmmword [edi]
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x50]
movups xmmword [eax], xmm0
push 0x20
call fcn.00484730
add esp, 8
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x38], 0
jne 0x485514
call fcn.0044f060
push 1
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x14], 0xdb
call fcn.0041a580
mov edx, str.HMAC_generation_failed
lea ecx, [ebp - 0xfc]
call fcn.0041a5e0
lea ecx, [ebp - 0xa4]
call fcn.0044dd10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - 0xa4], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x4c]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [eax], 0
cmp ecx, 0x10
jb 0x4854f6
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4854ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48585c
push ecx
push edx
call fcn.0050a4c5
add esp, 8
push edi
call fcn.0050aa90
add esp, 4
test esi, esi
je 0x48550c
push esi
call fcn.0050aa90
add esp, 4
push dword [ebp - 0x20]
jmp 0x485342
push 0x5b417e
push 0x30
call fcn.0050a503
mov ecx, eax
add esp, 8
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0x10
test ecx, ecx
jne 0x4855fc
call fcn.0044f060
push 1
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x14], 0xe5
call fcn.0041a580
mov edx, str.Failed_to_allocate_authenticated_buffer
lea ecx, [ebp - 0xfc]
call fcn.0041a5e0
lea ecx, [ebp - 0xa4]
call fcn.0044dd10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
push eax
mov dword [ebp - 0xa4], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x4c]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [eax], 0
cmp ecx, 0x10
jb 0x4855da
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4855d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48585c
push ecx
push edx
call fcn.0050a4c5
add esp, 8
push edi
call fcn.0050aa90
add esp, 4
test esi, esi
je 0x48550c
push esi
call fcn.0050aa90
add esp, 4
push dword [ebp - 0x20]
jmp 0x485342
mov eax, dword [ebp - 0x58]
lea edx, [ecx + 4]
mov dword [ebp - 0x50], edx
mov eax, dword [eax]
mov dword [ecx], eax
test edx, edx
je 0x485631
test esi, esi
je 0x485623
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
xor eax, eax
jmp 0x485649
xorps xmm0, xmm0
movq qword [edx], xmm0
mov dword [edx + 8], 0
call fcn.005254b7
mov dword [eax], 0x16
call fcn.00522dca
mov edx, dword [ebp - 0x50]
mov eax, 0x16
test eax, eax
je 0x485722
call fcn.0044f060
push 1
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x14], 0xf3
call fcn.0041a580
mov edx, str.Failed_to_copy_salt_into_authenticated_buffer
lea ecx, [ebp - 0xfc]
call fcn.0041a5e0
lea ecx, [ebp - 0xa4]
call fcn.0044dd10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x13
push eax
mov dword [ebp - 0xa4], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
push edx
mov dword [eax], 0
call fcn.0050aa90
mov ecx, dword [ebp - 0x34]
add esp, 8
cmp ecx, 0x10
jb 0x485700
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4856f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48585c
push ecx
push edx
call fcn.0050a4c5
add esp, 8
push edi
call fcn.0050aa90
add esp, 4
test esi, esi
je 0x48550c
push esi
call fcn.0050aa90
add esp, 4
push dword [ebp - 0x20]
jmp 0x485342
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
cmovae eax, ecx
add edx, 0xc
je 0x485754
test eax, eax
je 0x48574a
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
movups xmm0, xmmword [eax + 0x10]
xor eax, eax
movups xmmword [edx + 0x10], xmm0
jmp 0x48576c
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
call fcn.005254b7
mov dword [eax], 0x16
call fcn.00522dca
mov ecx, dword [ebp - 0x48]
mov eax, 0x16
test eax, eax
je 0x485822
call fcn.0044f060
push 1
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str.Authenticator.cpp
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x14], 0xfa
call fcn.0041a580
mov edx, str.Failed_to_copy_HMAC_into_authenticated_buffer
lea ecx, [ebp - 0xfc]
call fcn.0041a5e0
lea ecx, [ebp - 0xa4]
call fcn.0044dd10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x14
push eax
mov dword [ebp - 0xa4], vtable.std::ios_base.0
call fcn.004f317c
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
push edx
mov dword [eax], 0
call fcn.0050aa90
mov eax, dword [ebp - 0x34]
add esp, 8
cmp eax, 0x10
jb 0x4854f6
mov ecx, dword [ebp - 0x48]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x48581b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48585c
push edx
push ecx
jmp 0x4854ee
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
mov dword [eax], 0x30
mov eax, dword [ebp - 0x4c]
mov dword [eax], edx
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x4854f6
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x48581b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48581b
call fcn.00522dda
int3