Function at 0x49a640
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7142c3
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x7f9c40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push str.proxy
push eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0
call fcn.005092b0
mov edi, eax
push edi
mov dword [ebp - 0x84], edi
call fcn.00509000
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x94], ecx
xor eax, eax
mov dword [ebp - 0x80], eax
cmp eax, ecx
jae 0x49aa1e
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
push edi
mov byte [ebp - 4], 1
call fcn.00509010
add esp, 8
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push 0
push 0
push 0x720ac0
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov edi, eax
test edi, edi
jne 0x49aa46
push eax
push 0x10
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x7c]
call sub.bcrypt.dll_BCryptGenRandom
mov edi, eax
test edi, edi
jne 0x49aa8a
movzx eax, byte [ebp - 0x70]
and al, 0x3f
mov byte [ebp - 4], 1
or al, 0x80
mov byte [ebp - 0x70], al
movzx eax, byte [ebp - 0x72]
and al, 0xf
or al, 0x40
mov byte [ebp - 0x72], al
movups xmm0, xmmword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
movups xmmword [ebp - 0x64], xmm0
test eax, eax
je 0x49a789
push edi
push eax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov eax, dword [ebp - 0x80]
xorps xmm0, xmm0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x7c], 0x2f
call fcn.0044b200
mov ecx, dword [ebp - 0x7c]
lea edi, [ebp - 0x2c]
or dword [ebp - 0x88], 1
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
movups xmmword [eax], xmm0
cmp ecx, 0xf
mov dword [ebp - 0x1c], 0x24
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
cmova edi, eax
mov dword [ebp - 0x18], ecx
xor esi, esi
mov byte [eax + 0x24], 0
movzx edx, byte [ebp + esi - 0x64]
mov eax, 9
mov ecx, edx
shr ecx, 4
cmp eax, ecx
sbb al, al
and edx, 0xf
and al, 0x27
add al, 0x30
add al, cl
mov byte [edi], al
mov eax, 9
cmp eax, edx
sbb al, al
and al, 0x27
add al, 0x30
add al, dl
mov byte [edi + 1], al
add edi, 2
cmp esi, 3
je 0x49a839
cmp esi, 5
je 0x49a839
cmp esi, 7
je 0x49a839
cmp esi, 9
jne 0x49a83d
mov byte [edi], 0x2d
inc edi
inc esi
lea eax, [ebp - 0x64]
add eax, esi
lea ecx, [ebp - 0x54]
cmp eax, ecx
jne 0x49a7f2
movups xmm0, xmmword [ebp - 0x2c]
mov esi, dword [ebp - 0x98]
push str.port
movups xmmword [ebp - 0x54], xmm0
push esi
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x44], xmm0
call fcn.005092f0
fstp qword [ebp - 0x9c]
cvttsd2si eax, qword [ebp - 0x9c]
push 0x71ae18
push esi
mov word [ebp - 0x3c], ax
call fcn.005092b0
mov esi, eax
push esi
mov dword [ebp - 0x7c], esi
call fcn.00509000
add esp, 0x14
mov dword [ebp - 0x98], eax
xor edi, edi
cmp edi, eax
jae 0x49a952
push edi
push esi
call fcn.00509040
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
add esp, 8
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49a8d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0044b260
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
cmp esi, dword [ebp - 0x30]
je 0x49a902
mov ecx, esi
call fcn.00452ce0
add esi, 0x18
mov dword [ebp - 0x34], esi
jmp 0x49a90b
push esi
lea ecx, [ebp - 0x38]
call fcn.004935b0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x49a943
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49a939
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49aad1
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov eax, dword [ebp - 0x98]
inc edi
mov esi, dword [ebp - 0x7c]
jmp 0x49a8a0
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x68]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x49a971
mov ecx, eax
call fcn.00465f60
add dword [esi + 4], 0x3c
jmp 0x49a979
push eax
mov ecx, esi
call fcn.004933c0
mov edi, dword [ebp - 0x90]
mov eax, dword [edi + 0xa8]
lea ecx, [edi + 0xa4]
cmp eax, dword [edi + 0xac]
je 0x49a9a7
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.00465f60
add dword [edi + 0xa8], 0x3c
jmp 0x49a9b1
lea edx, [ebp - 0x68]
push edx
push eax
call fcn.004933c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00477010
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x49a9f1
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x49a9e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49aad1
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x94]
inc eax
mov edi, dword [ebp - 0x84]
jmp 0x49a6ba
mov ecx, dword [esi]
xor eax, eax
cmp ecx, dword [esi + 4]
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006def69
mov esp, ebp
pop ebp
ret 8
push 0xd
push str.__thiscall_boost::uuids::detail::random_provider_base::random_provider_base_void_
push 0x34
push str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libsuuidinclude_boost_uuid_detail_random_provider_bcrypt.ipp
lea ecx, [ebp - 0x78]
call fcn.0044c9c0
push 0x71e92c
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0044bda0
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
lea ecx, [ebp - 0xac]
cdq
push edx
push eax
call fcn.00485360
push esi
push eax
mov byte [ebp - 4], 3
call fcn.004847f0
push 0xd
push str.void___thiscall_boost::uuids::detail::random_provider_base::get_random_bytes_void__unsigned_int_
push 0x58
push str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libsuuidinclude_boost_uuid_detail_random_provider_bcrypt.ipp
lea ecx, [ebp - 0xa4]
call fcn.0044c9c0
push 0x71e9ac
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0044bda0
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
lea ecx, [ebp - 0xc4]
cdq
push edx
push eax
call fcn.00485360
push esi
push eax
mov byte [ebp - 4], 6
call fcn.004847f0
call fcn.006e51cf
int3