Function at 0x486230
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7128ae
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
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 esi, ecx
cmp dword [esi + 0x214], 0xffffffff
mov dword [ebp - 0x80], esi
mov dword [ebp - 4], 0
jne 0x48683f
push 0
push 0
push 0x71e824
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov edi, eax
test edi, edi
jne 0x486931
push eax
push 0x10
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x78]
call sub.bcrypt.dll_BCryptGenRandom
mov edi, eax
test edi, edi
jne 0x486972
movzx eax, byte [ebp - 0x34]
lea edi, [esi + 0x5378]
and al, 0x3f
mov byte [ebp - 4], 0
or al, 0x80
mov byte [ebp - 0x34], al
movzx eax, byte [ebp - 0x36]
and al, 0xf
or al, 0x40
mov byte [ebp - 0x36], al
movups xmm0, xmmword [ebp - 0x3c]
mov eax, dword [ebp - 0x78]
movups xmmword [edi], xmm0
test eax, eax
je 0x4862f0
push 0
push eax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.004818e0
mov edi, eax
add esp, 8
lea eax, [esi + 0x68]
cmp eax, edi
je 0x48632f
mov ecx, eax
call fcn.0044ce10
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x68], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x78], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x486363
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x486359
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4869b6
push ecx
push edx
call fcn.006dec1c
add esp, 8
push dword [esi + 0x5364]
lea eax, [ebp - 0x17]
push eax
call fcn.0045ffe0
add esp, 8
lea ecx, [ebp - 0x79]
push ecx
lea ecx, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0045d130
lea edi, [esi + 0x534c]
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0x10]
lea eax, [edi + 0x10]
mov dword [ebp - 0x78], eax
mov eax, bind
sub eax, ecx
cmp eax, 1
jb 0x4869bb
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4863b3
mov eax, dword [edi]
push 1
push 0x71c4c4
push ecx
push eax
push edi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x5c]
call fcn.00463990
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x74]
call fcn.0044bde0
lea eax, [esi + 0x80]
lea ecx, [ebp - 0x74]
cmp eax, ecx
je 0x486416
mov ecx, eax
call fcn.0044ce10
movups xmm0, xmmword [ebp - 0x74]
mov ecx, 0xf
mov byte [ebp - 0x74], 0
movups xmmword [esi + 0x80], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [esi + 0x90], xmm0
jmp 0x486419
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x48644a
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x486440
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4869c0
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x486482
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x486478
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4869c0
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x4864ba
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4864b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4869c0
push ecx
push edx
call fcn.006dec1c
add esp, 8
call fcn.006dc9cf
push 0
push 0x2710
push edx
push eax
call fcn.006defa0
push dword [esi + 0x5364]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x17]
push eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0045ffe0
add esp, 8
lea ecx, [ebp - 0x79]
push ecx
lea ecx, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0045d130
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
cmova eax, dword [ebp - 0x5c]
cmp dword [edi + 0x14], 0xf
jbe 0x486530
mov edi, dword [edi]
push 0
push dword [ebp - 0x4c]
lea ecx, [esi + 0x270]
mov dword [ebp - 0x30], 2
push eax
mov eax, dword [ebp - 0x78]
push dword [eax]
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0048add0
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0xa
cmp ecx, 0xf
jbe 0x486591
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x486587
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4869c5
push ecx
push edx
call fcn.006dec1c
add esp, 8
mov eax, dword [0x7f51c4]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
movzx eax, byte [eax]
push eax
sub esp, 8
lea eax, [esi + 4]
mov edi, esp
mov dword [ebp - 0x30], edi
push eax
lea ecx, [edi + 4]
call fcn.004853c0
mov eax, dword [esi]
push 0
mov dword [edi], eax
lea eax, [ebp - 0x2c]
push 0x4877f0
push eax
call fcn.00483bc0
add esp, 0x18
mov edx, eax
mov ecx, dword [ebp - 0x88]
lea eax, [esi + 0x210]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
test ecx, ecx
je 0x48660d
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [edx]
mov dword [ebp - 0xa4], eax
mov al, byte [edx + 8]
mov byte [ebp - 0x9c], al
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x98], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x94], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], 0
push 1
sub esp, 0xc
mov byte [ebp - 4], 0xc
mov eax, esp
lea ecx, [ebp - 0xc4]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004859b0
mov edx, dword [ebp - 0x94]
or edi, 0xffffffff
mov dword [ebp - 0x30], edx
test edx, edx
je 0x4866d8
mov ecx, edi
lea eax, [edx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4866d8
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4866d8
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x486703
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x486703
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x486703
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x30], edx
test edx, edx
je 0x48673c
mov ecx, edi
lea eax, [edx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x48673c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov edx, edi
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x48673c
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x190], 0
lea eax, [esi + 0x180]
mov ecx, dword [eax]
je 0x486766
push 0xffffffffffffffff
add eax, 0x14
push eax
lea eax, [ecx + 0x14]
mov ecx, dword [ecx + 0x34]
push eax
call fcn.00460ad0
mov byte [esi + 0x190], 0
push 0
push 0
push 0
push 0xa
push 0
push 0
push 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push 0
movq qword [ebp - 0x38], xmm0
call fcn.004672b0
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x180]
call fcn.0047b690
mov eax, dword [0x7f51c4]
movzx eax, byte [eax]
push eax
sub esp, 8
mov eax, esp
mov dword [ebp - 0x30], eax
lea ecx, [eax + 4]
lea eax, [esi + 4]
push eax
call fcn.004853c0
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
push 0
push 0x487760
mov dword [ecx], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00483bc0
add esp, 0x18
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0xd
lea edx, [ecx + 0x28]
push edx
lea esi, [ecx + 8]
mov ecx, dword [ecx]
push eax
push esi
call fcn.00483830
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x486817
mov ecx, edi
lea eax, [esi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x486817
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, edi
lea eax, [esi + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x486817
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x88]
test esi, esi
je 0x48683f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48683f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x48683f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, 1
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
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 - 0x3c]
call fcn.0044c9c0
push 0x71e92c
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.0044bda0
lea eax, [ebp - 0x5c]
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
cdq
push edx
push eax
call fcn.00485360
push esi
push eax
mov byte [ebp - 4], 2
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 - 0x24]
call fcn.0044c9c0
push 0x71e9ac
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.0044bda0
lea eax, [ebp - 0x5c]
push eax
mov eax, edi
lea ecx, [ebp - 0xe4]
cdq
push edx
push eax
call fcn.00485360
push esi
push eax
mov byte [ebp - 4], 5
call fcn.004847f0
call fcn.006e51cf
call fcn.0044e900
call fcn.006e51cf
call fcn.006e51cf
int3