Function at 0x100e4d70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x600
mov esi, ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x5f8], eax
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 0x100e5186
mov edi, dword [0x101cd01c]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
test al, al
je 0x100e5170
mov esi, dword [esi + 8]
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
mov dword [esp + 0x1c], esi
je 0x100e4e53
sar eax, 3
push 0
mov dword [esp + 8], 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 + 0x38]
nop word cs:[eax + eax]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
push 8
push esi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x100e5262
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp edi, eax
mov edx, ebx
sbb edx, ecx
jb 0x100e4e10
push 0
push dword [esp + 8]
push ecx
push eax
call fcn.1016c7e0
mov esi, dword [esp + 0x1c]
jmp 0x100e4e55
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
movzx ecx, byte [esi + 0x2c]
test cl, 1
jne 0x100e4f78
mov edi, dword [esi + 0x20]
lea eax, [edi + eax*8]
mov dword [esp + 0x28], eax
cmp eax, dword [esi + 0x24]
mov dword [esp + 8], eax
je 0x100e4f90
mov edi, eax
jmp 0x100e4ebd
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
call fcn.100e8940
add edi, 8
mov dword [esp + 0x28], edi
cmp edi, dword [esi + 0x24]
je 0x100e4f89
movzx eax, byte [edi + 5]
test al, 1
jne 0x100e4ead
movzx eax, byte [edi + 4]
test al, 1
jne 0x100e4ea0
mov byte [edi + 4], 1
mov dword [esp + 0xc], edi
mov edi, dword [edi]
push 0x5bc
push 0xff
lea esi, [esp + 0x40]
push esi
call fcn.10149430
add esp, 0xc
mov ecx, esi
mov esi, edi
mov edx, edi
call fcn.100e95a0
mov eax, dword [esp + 0x5f0]
test eax, eax
je 0x100e4f67
lea eax, [eax + eax*2]
lea eax, [esp + eax*4]
add eax, 0x38
mov dword [esp + 0x10], eax
lea edi, [esp + 0x38]
mov dword [esp + 0x14], esi
nop dword [eax]
mov ebx, dword [edi]
mov eax, dword [edi + 4]
shl ebx, 2
or ebx, esi
mov ecx, dword [0x101cd01c]
mov dword [esp + 4], ecx
lea esi, [eax*4 + 0xfff]
and esi, 0xfffff000
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x18]
push ebx
call dword [esp + 0x20]
add edi, 0xc
cmp edi, dword [esp + 0x10]
jne 0x100e4f20
mov edi, dword [esp + 0xc]
mov byte [edi + 5], 1
mov esi, dword [esp + 0x1c]
jmp 0x100e4ead
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x100e516b
jmp 0x100e5170
mov edi, dword [esi + 0x20]
mov eax, dword [esp + 8]
mov dword [esp + 0x28], edi
cmp edi, eax
je 0x100e5078
mov esi, eax
jmp 0x100e4fbc
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
call fcn.100e8940
add edi, 8
mov dword [esp + 0x28], edi
cmp edi, esi
je 0x100e5078
movzx eax, byte [edi + 5]
test al, 1
jne 0x100e4fad
movzx eax, byte [edi + 4]
test al, 1
jne 0x100e4fa0
mov byte [edi + 4], 1
mov dword [esp + 0xc], edi
mov edi, dword [edi]
push 0x5bc
push 0xff
lea esi, [esp + 0x40]
push esi
call fcn.10149430
add esp, 0xc
mov ecx, esi
mov esi, edi
mov edx, edi
call fcn.100e95a0
mov eax, dword [esp + 0x5f0]
test eax, eax
je 0x100e5067
lea eax, [eax + eax*2]
lea eax, [esp + eax*4]
add eax, 0x38
mov dword [esp + 0x10], eax
lea edi, [esp + 0x38]
mov dword [esp + 0x14], esi
nop dword [eax + eax]
mov ebx, dword [edi]
mov eax, dword [edi + 4]
shl ebx, 2
or ebx, esi
mov ecx, dword [0x101cd01c]
mov dword [esp + 4], ecx
lea esi, [eax*4 + 0xfff]
and esi, 0xfffff000
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x18]
push ebx
call dword [esp + 0x20]
add edi, 0xc
cmp edi, dword [esp + 0x10]
jne 0x100e5020
mov edi, dword [esp + 0xc]
mov byte [edi + 5], 1
mov esi, dword [esp + 8]
jmp 0x100e4fad
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
cmp ecx, ebx
je 0x100e515f
lea edx, [esp + 0x38]
mov esi, ecx
nop
mov edi, dword [esi]
movzx eax, byte [edi + 5]
test al, 1
je 0x100e50a6
add esi, 4
cmp esi, ebx
jne 0x100e5090
jmp 0x100e515f
mov dword [esp + 0x20], ecx
mov byte [edi + 4], 1
mov eax, dword [edi]
mov dword [esp + 8], eax
push 0x5bc
push 0xff
push edx
call fcn.10149430
add esp, 0xc
lea ecx, [esp + 0x38]
mov edx, dword [esp + 8]
call fcn.100e95a0
mov eax, dword [esp + 0x5f0]
test eax, eax
je 0x100e514e
lea eax, [eax + eax*2]
lea eax, [esp + eax*4]
add eax, 0x38
mov dword [esp + 0x24], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
shl ecx, 2
or ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x101cd01c]
mov dword [esp + 0x10], ecx
lea eax, [eax*4 + 0xfff]
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
call dword [section..00cfg]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [esp + 0x14]
mov eax, dword [esp + 4]
add eax, 0xc
cmp eax, dword [esp + 0x24]
jne 0x100e50f0
mov byte [edi + 5], 1
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x38]
jmp 0x100e509a
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x2c], 1
test ecx, ecx
je 0x100e5170
call fcn.100e9130
mov ecx, dword [esp + 0x5f8]
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
cmp dword [0x101cd028], 0xffffffff
jne 0x100e4db0
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 0x100e4db0
int3