Function at 0x100e5270
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x618
mov esi, ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x610], eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [0x101cd028]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100e59bd
movzx ecx, byte [0x101cd018]
mov byte [esp + 0x30], cl
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100e5a9f
mov dword [esp + 0x2c], esi
mov esi, dword [esi + 8]
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
mov dword [esp + 0x24], esi
je 0x100e5373
sar eax, 3
push 0
mov dword [esp + 0xc], eax
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.1016c7e0
mov edi, 0xfffffffe
sub edi, eax
mov ebx, 0xffffffff
sbb ebx, edx
lea esi, [esp + 0x50]
nop dword [eax + eax]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
push 8
push esi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x100e5b7b
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp edi, eax
mov edx, ebx
sbb edx, ecx
jb 0x100e5330
push 0
push dword [esp + 0xc]
push ecx
push eax
call fcn.1016c7e0
mov esi, dword [esp + 0x24]
jmp 0x100e5375
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
movzx ecx, byte [esi + 0x1c]
test cl, 1
jne 0x100e55a2
mov ebx, dword [esi + 0x10]
lea edi, [ebx + eax*8]
mov dword [esp + 0x40], edi
cmp edi, dword [esi + 0x14]
mov dword [esp + 0x1c], edi
je 0x100e55bf
mov ebx, edi
jmp 0x100e53e0
mov ebx, dword [esp + 0x18]
mov byte [ebx + 5], 1
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add ebx, 8
mov dword [esp + 0x40], ebx
cmp ebx, dword [esi + 0x14]
je 0x100e55ab
movzx eax, byte [ebx + 5]
test al, 1
jne 0x100e53d0
movzx eax, byte [ebx + 4]
test al, 1
jne 0x100e5590
mov byte [ebx + 4], 1
mov dword [esp + 0x18], ebx
mov edi, dword [ebx]
push 0x5bc
push 0xff
lea esi, [esp + 0x58]
push esi
call fcn.10149430
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x10], edi
mov edx, edi
call fcn.100e95a0
mov eax, dword [esp + 0x608]
test eax, eax
je 0x100e53c0
lea eax, [eax + eax*2]
lea eax, [esp + eax*4]
add eax, 0x50
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
jmp 0x100e5451
mov eax, dword [esp + 8]
add eax, 0xc
cmp eax, dword [esp + 0x14]
je 0x100e53c0
mov edi, dword [eax]
mov esi, dword [eax + 4]
shl edi, 2
or edi, dword [esp + 0x10]
lea ebx, [edi + esi*4]
shl esi, 2
mov dword [esp + 8], eax
mov eax, dword [eax + 8]
cmp eax, 0x100
jae 0x100e54c7
mov eax, dword [0x101cd01c]
mov dword [esp + 4], eax
add esi, 0xfff
and esi, 0xfffff000
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 4]
push esi
push edi
call dword [esp + 8]
cmp ebx, edi
lea esi, [esp + 0x30]
ja 0x100e54b7
jmp 0x100e5440
add edi, 4
cmp edi, ebx
jae 0x100e5440
mov eax, dword [edi]
test eax, eax
je 0x100e54b0
mov ecx, esi
push eax
call fcn.100e9710
jmp 0x100e54b0
mov dword [esp], eax
mov eax, dword [0x101cd01c]
mov dword [esp + 4], eax
add esi, 0xfff
and esi, 0xfffff000
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 4]
push esi
push edi
call dword [esp + 0x14]
cmp edi, ebx
jae 0x100e5440
shl dword [esp], 2
mov eax, edi
and eax, 0xffe00000
or eax, 0x4000
mov dword [esp + 0xc], eax
jmp 0x100e5528
cmp edi, ebx
jae 0x100e5440
mov edx, edi
mov eax, edi
shr eax, 5
and eax, 0xfffc
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + eax]
mov ecx, edx
shr cl, 2
and cl, 0x1e
shr eax, cl
not eax
mov ecx, dword [esp]
add edi, ecx
test al, 3
jne 0x100e5520
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
mov dword [esp + 4], eax
cmp edx, eax
jb 0x100e5579
jmp 0x100e5520
add edx, 4
cmp edx, dword [esp + 4]
jae 0x100e5520
mov eax, dword [edx]
test eax, eax
je 0x100e5570
lea ecx, [esp + 0x30]
push eax
mov esi, edx
call fcn.100e9710
mov edx, esi
jmp 0x100e5570
lea ecx, [esp + 0x44]
lea edx, [esp + 0x40]
call fcn.100e8940
jmp 0x100e53d0
mov ecx, dword [esp + 0x44]
jmp 0x100e5992
mov ebx, dword [esi + 0x10]
jmp 0x100e55bf
mov ebx, dword [esp + 0x18]
mov byte [ebx + 5], 1
mov edi, dword [esp + 0x1c]
add ebx, 8
mov dword [esp + 0x40], ebx
cmp ebx, edi
je 0x100e5795
movzx eax, byte [ebx + 5]
test al, 1
jne 0x100e55bc
movzx eax, byte [ebx + 4]
test al, 1
jne 0x100e5780
mov byte [ebx + 4], 1
mov dword [esp + 0x18], ebx
mov edi, dword [ebx]
push 0x5bc
push 0xff
lea esi, [esp + 0x58]
push esi
call fcn.10149430
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x10], edi
mov edx, edi
call fcn.100e95a0
mov eax, dword [esp + 0x608]
test eax, eax
je 0x100e55b0
lea eax, [eax + eax*2]
lea eax, [esp + eax*4]
add eax, 0x50
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
jmp 0x100e5641
mov eax, dword [esp + 8]
add eax, 0xc
cmp eax, dword [esp + 0x14]
je 0x100e55b0
mov edi, dword [eax]
mov esi, dword [eax + 4]
shl edi, 2
or edi, dword [esp + 0x10]
lea ebx, [edi + esi*4]
shl esi, 2
mov dword [esp + 8], eax
mov eax, dword [eax + 8]
cmp eax, 0x100
jae 0x100e56b7
mov eax, dword [0x101cd01c]
mov dword [esp + 4], eax
add esi, 0xfff
and esi, 0xfffff000
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 4]
push esi
push edi
call dword [esp + 8]
cmp ebx, edi
lea esi, [esp + 0x30]
ja 0x100e56a7
jmp 0x100e5630
add edi, 4
cmp edi, ebx
jae 0x100e5630
mov eax, dword [edi]
test eax, eax
je 0x100e56a0
mov ecx, esi
push eax
call fcn.100e9710
jmp 0x100e56a0
mov dword [esp], eax
mov eax, dword [0x101cd01c]
mov dword [esp + 4], eax
add esi, 0xfff
and esi, 0xfffff000
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 4]
push esi
push edi
call dword [esp + 0x14]
cmp edi, ebx
jae 0x100e5630
shl dword [esp], 2
mov eax, edi
and eax, 0xffe00000
or eax, 0x4000
mov dword [esp + 0xc], eax
jmp 0x100e5718
cmp edi, ebx
jae 0x100e5630
mov edx, edi
mov eax, edi
shr eax, 5
and eax, 0xfffc
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + eax]
mov ecx, edx
shr cl, 2
and cl, 0x1e
shr eax, cl
not eax
mov ecx, dword [esp]
add edi, ecx
test al, 3
jne 0x100e5710
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
mov dword [esp + 4], eax
cmp edx, eax
jb 0x100e5769
jmp 0x100e5710
add edx, 4
cmp edx, dword [esp + 4]
jae 0x100e5710
mov eax, dword [edx]
test eax, eax
je 0x100e5760
lea ecx, [esp + 0x30]
push eax
mov esi, edx
call fcn.100e9710
mov edx, esi
jmp 0x100e5760
lea ecx, [esp + 0x44]
lea edx, [esp + 0x40]
call fcn.100e8940
add ebx, 8
jmp 0x100e55bf
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
cmp ecx, edx
je 0x100e598a
lea esi, [esp + 0x50]
mov edi, ecx
nop dword [eax + eax]
mov ebx, dword [edi]
movzx eax, byte [ebx + 5]
test al, 1
je 0x100e57c6
add edi, 4
cmp edi, edx
jne 0x100e57b0
jmp 0x100e598a
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], ecx
mov byte [ebx + 4], 1
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
push 0x5bc
push 0xff
push esi
call fcn.10149430
add esp, 0xc
mov ecx, esi
mov edx, dword [esp + 0x1c]
call fcn.100e95a0
mov eax, dword [esp + 0x608]
test eax, eax
je 0x100e5975
lea eax, [eax + eax*2]
lea eax, [esp + eax*4]
add eax, 0x50
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
jmp 0x100e5829
mov eax, dword [esp + 4]
add eax, 0xc
cmp eax, dword [esp + 0x18]
je 0x100e5975
mov esi, dword [eax]
mov edx, dword [eax + 4]
shl esi, 2
or esi, dword [esp + 0x1c]
lea ecx, [esi + edx*4]
mov dword [esp + 8], ecx
shl edx, 2
mov dword [esp + 4], eax
mov eax, dword [eax + 8]
cmp eax, 0x100
jae 0x100e58ad
mov eax, dword [0x101cd01c]
mov dword [esp + 0x14], eax
add edx, 0xfff
and edx, 0xfffff000
mov dword [esp], edx
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 0x14]
push dword [esp]
push esi
call dword [esp + 0x18]
mov edx, dword [esp + 8]
cmp edx, esi
ja 0x100e5897
jmp 0x100e5818
add esi, 4
cmp esi, edx
jae 0x100e5818
mov eax, dword [esi]
test eax, eax
je 0x100e5890
lea ecx, [esp + 0x30]
push eax
call fcn.100e9710
mov edx, dword [esp + 8]
jmp 0x100e5890
mov dword [esp + 0x14], eax
mov eax, dword [0x101cd01c]
mov dword [esp + 0x20], eax
add edx, 0xfff
and edx, 0xfffff000
mov dword [esp], edx
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 0x20]
push dword [esp]
push esi
call dword [esp + 0x18]
mov edx, dword [esp + 8]
cmp esi, edx
jae 0x100e5818
shl dword [esp + 0x14], 2
mov eax, esi
and eax, 0xffe00000
or eax, 0x4000
mov dword [esp + 0x20], eax
jmp 0x100e590f
cmp esi, edx
jae 0x100e5818
mov dword [esp], esi
shr esi, 5
and esi, 0xfffc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + esi]
mov ecx, dword [esp]
shr cl, 2
and cl, 0x1e
shr eax, cl
not eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp]
add esi, ecx
mov ecx, dword [esp]
test al, 3
jne 0x100e5907
cmp esi, edx
mov eax, edx
cmovb eax, esi
mov dword [esp + 0x10], eax
cmp ecx, eax
jb 0x100e5959
jmp 0x100e5907
add ecx, 4
cmp ecx, dword [esp + 0x10]
jae 0x100e5907
mov eax, dword [ecx]
test eax, eax
je 0x100e5950
mov dword [esp], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.100e9710
mov ecx, dword [esp]
mov edx, dword [esp + 8]
jmp 0x100e5950
mov byte [ebx + 5], 1
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
lea esi, [esp + 0x50]
jmp 0x100e57ba
mov eax, dword [esp + 0x24]
mov byte [eax + 0x1c], 1
test ecx, ecx
mov esi, dword [esp + 0x2c]
je 0x100e599f
call fcn.100e9130
mov eax, dword [esp + 0x3c]
lock add dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x610]
xor ecx, ebp
call fcn.101465a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101cd028
call fcn.10145c47
add esp, 4
mov eax, dword [0x101cd028]
cmp eax, 0xffffffff
jne 0x100e52b8
xorps xmm0, xmm0
movups xmmword [0x101ccfc0], xmm0
mov dword [0x101ccfd4], 0
mov dword [0x101ccfd0], 0
mov dword [0x101ccfd8], 0x3f800000
movups xmmword [0x101ccfdc], xmm0
mov dword [0x101ccfec], 0x3f800000
mov dword [0x101ccff0], 0
mov byte [0x101ccff4], 0
movups xmmword [0x101ccff8], xmm0
mov dword [0x101cd008], 0x3f800000
mov dword [0x101cd00c], 0
mov byte [0x101cd010], 0
mov dword [0x101cd014], 0
call fcn.101191b0
xor ecx, ecx
cmp byte [eax + 0x11], 0
setne cl
cmp byte [eax + 0x16], 0
mov eax, 2
cmove eax, ecx
mov byte [0x101cd018], al
mov dword [0x101cd01c], 0
mov dword [0x101cd020], 0
mov byte [0x101cd024], 0
push 0x101cd028
call fcn.10145cbd
add esp, 4
mov eax, dword [0x101cd028]
jmp 0x100e52b8
push 0x101cd028
call fcn.10145c47
add esp, 4
cmp dword [0x101cd028], 0xffffffff
jne 0x100e52f3
xorps xmm0, xmm0
movups xmmword [0x101ccfc0], xmm0
mov dword [0x101ccfd4], 0
mov dword [0x101ccfd0], 0
mov dword [0x101ccfd8], 0x3f800000
movups xmmword [0x101ccfdc], xmm0
mov dword [0x101ccfec], 0x3f800000
mov dword [0x101ccff0], 0
mov byte [0x101ccff4], 0
movups xmmword [0x101ccff8], xmm0
mov dword [0x101cd008], 0x3f800000
mov dword [0x101cd00c], 0
mov byte [0x101cd010], 0
mov dword [0x101cd014], 0
call fcn.101191b0
xor ecx, ecx
cmp byte [eax + 0x11], 0
setne cl
cmp byte [eax + 0x16], 0
mov eax, 2
cmove eax, ecx
mov byte [0x101cd018], al
mov dword [0x101cd01c], 0
mov dword [0x101cd020], 0
mov byte [0x101cd024], 0
push 0x101cd028
call fcn.10145cbd
add esp, 4
jmp 0x100e52f3
int3