Function at 0x105ff14
Capabilities:
Generate random numbers via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push 0x70
mov dword [ebp - 0x34], eax
mov dword [eax], ebx
lea eax, [ebp - 0xa8]
push ebx
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x10129f8
push ebx
call fcn.0105fc89
mov esi, eax
cmp esi, ebx
je 0x105ff88
push esi
push 0x16470139
jmp 0x1060188
lea eax, [ebp - 0x14]
push eax
push ebx
push 1
push ebx
push 2
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call fcn.01096806
mov esi, eax
cmp esi, ebx
je 0x105ffae
push esi
push 0x16530139
jmp 0x1060188
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x84]
push 1
mov dword [ebp - 0x7c], eax
push 0xfffffffffffffff6
lea eax, [ebp - 0x88]
push eax
call fcn.01091cf4
push 1
push 0xa
lea eax, [ebp - 0x80]
push eax
call fcn.01091cf4
lea eax, [ebp - 0xc]
push eax
push 6
pop esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1060011
call fcn.01091f1e
mov esi, eax
push esi
push 0x165d0139
jmp 0x1060188
lea eax, [ebp - 0xc]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x9c]
push eax
push 0x8004
push ebx
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 7], 0x72
mov dword [ebp - 0xa4], esi
call fcn.01096ec1
mov esi, eax
cmp esi, ebx
je 0x106004b
push esi
push 0x166a0139
jmp 0x1060188
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1060050
sub eax, edx
sar eax, 1
lea esi, [eax + 4]
lea eax, [esi + esi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x30], edi
cmp edi, ebx
jne 0x1060085
mov esi, 0x8007000e
push esi
push 0x16730139
jmp 0x1060188
push 0x10063e0
push esi
push edi
call fcn.0102dff2
push dword [ebp - 0x28]
push esi
push edi
call fcn.0102e02c
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
mov edi, 0x2000000
push edi
push dword [ebp - 0x30]
push 1
call fcn.0109480e
mov esi, eax
cmp esi, ebx
je 0x10600c6
push esi
push 0x16800139
jmp 0x1060188
push ebx
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push edi
push 0x10129b8
push 1
call fcn.0109480e
mov esi, eax
cmp esi, ebx
je 0x10600f4
push esi
push 0x168a0139
jmp 0x1060188
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push 2
push dword [eax + 0x18]
push dword [ebp + 0xc]
call fcn.01092265
test eax, eax
jne 0x106011f
call fcn.01091f1e
mov esi, eax
push esi
push 0x16940139
jmp 0x1060188
mov esi, dword [ebp - 0x1c]
push 6
pop ecx
push 2
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
lea eax, [ebp - 0xa8]
push eax
push esi
push 1
mov dword [ebp - 0xa8], esi
call fcn.01091f30
test eax, eax
jne 0x106015f
call fcn.01091f1e
mov esi, eax
push esi
push 0x16a40139
jmp 0x1060188
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push dword [ebp - 0x9c]
push 1
push dword [ebp - 0x14]
call fcn.01092365
mov esi, eax
cmp esi, ebx
je 0x106018d
push esi
push 0x16b00139
call fcn.0108c503
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], ebx
je 0x106019d
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0x74], ebx
je 0x10601a7
push dword [ebp - 0x74]
call edi
cmp dword [ebp - 0x8c], ebx
je 0x10601b7
push dword [ebp - 0x8c]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x10601c1
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x14], ebx
je 0x10601e7
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp - 0x10], ebx
je 0x10601f1
push 0x10
push 1
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp dword [ebp - 0x10], ebx
je 0x10601f1
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01077d0b
leave
ret 0x14