Function at 0x10019c00
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005c36a
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x10076658]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x10076658]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x10019c53
call fcn.1001a7d0
jmp 0x1001a1be
call fcn.1000e400
cmp eax, edi
je 0x10019c70
lea ecx, [esp + 0xe4]
push ecx
push 0x100
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
lea edx, [esp + 0xe4]
push edx
mov edx, 0x100
lea ecx, [esp + 0xcc]
call fcn.1000db60
add esp, 4
lea eax, [esp + 0xc8]
push eax
mov edx, esi
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1fc], edi
call fcn.1001aea0
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov word [esp + 0x70], cx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov byte [esp + 0x1f8], 4
push edi
or eax, 0xffffffff
lea ecx, [esp + 0xcc]
lea edx, [esp + 0x74]
mov dword [esp + 0x70], 1
call fcn.10003280
mov byte [esp + 0x1f8], 5
mov dword [esp + 0x2c], esi
xor edx, edx
push 5
mov eax, str.local
lea esi, [esp + 0x1c]
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], dx
call fcn.10003430
lea eax, [esp + 0x50]
push str.passwords_
push eax
mov ebx, 0x1007a864
mov byte [esp + 0x200], 6
call fcn.1000cfc0
push eax
mov eax, str._salt
lea ecx, [esp + 0x40]
mov byte [esp + 0x204], 7
call fcn.10003910
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x1f8], 8
call fcn.10019690
mov esi, eax
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + 4]
lea ecx, [esi + 0x6c]
mov dword [esp + 0x14], ecx
call eax
lea ecx, [esp + 0x18]
push ecx
push ebx
mov byte [esp + 0x200], 9
call fcn.1001b130
lea ecx, [esp + 0x6c]
mov ebx, eax
call fcn.10013390
mov ebx, 8
mov byte [esp + 0x1f8], bl
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x48], ebx
jb 0x10019dd6
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1004076b
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov word [esp + 0x34], dx
cmp dword [esp + 0x64], ebx
jb 0x10019dfd
mov eax, dword [esp + 0x50]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
mov word [esp + 0x50], cx
cmp dword [esp + 0x2c], ebx
jb 0x10019e1f
mov edx, dword [esp + 0x18]
push edx
call fcn.1004076b
add esp, 4
lea ecx, [esp + 0x6c]
xor eax, eax
mov ebx, 1
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], ax
mov byte [esp + 0x1fc], bl
call fcn.10013040
xor edx, edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
mov word [esp + 0x70], dx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov byte [esp + 0x1f8], 0xc
push edi
or eax, 0xffffffff
lea ecx, [esp + 0xb0]
lea edx, [esp + 0x74]
mov dword [esp + 0x70], ebx
call fcn.10003280
mov byte [esp + 0x1f8], 0xd
xor eax, eax
mov dword [esp + 0x2c], esi
mov word [esp + 0x18], ax
push 5
mov eax, str.local
lea esi, [esp + 0x1c]
mov dword [esp + 0x2c], edi
call fcn.10003430
lea ecx, [esp + 0x34]
push str.passwords_
push ecx
mov ebx, 0x1007a864
mov byte [esp + 0x200], 0xe
call fcn.1000cfc0
push eax
mov eax, str.password
lea ecx, [esp + 0x5c]
mov byte [esp + 0x204], 0xf
call fcn.10003910
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x1f8], 0x10
call fcn.10019690
mov esi, eax
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + 4]
lea ecx, [esi + 0x6c]
mov dword [esp + 0x14], ecx
call eax
lea ecx, [esp + 0x18]
push ecx
push ebx
mov byte [esp + 0x200], 0x11
call fcn.1001b130
lea ecx, [esp + 0x6c]
mov ebx, eax
call fcn.10013390
mov byte [esp + 0x1f8], 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, 8
cmp dword [esp + 0x64], esi
jb 0x10019f69
mov ecx, dword [esp + 0x50]
push ecx
call fcn.1004076b
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edi
mov word [esp + 0x50], dx
cmp dword [esp + 0x48], esi
jb 0x10019f90
mov eax, dword [esp + 0x34]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], cx
cmp dword [esp + 0x2c], esi
jb 0x10019fb2
mov edx, dword [esp + 0x18]
push edx
call fcn.1004076b
add esp, 4
lea ecx, [esp + 0x6c]
xor eax, eax
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], ax
mov byte [esp + 0x1fc], 1
call fcn.10013040
xor edx, edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], edi
mov word [esp + 0x70], dx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov byte [esp + 0x1f8], 0x14
push 9
mov eax, str.whirlpool
lea esi, [esp + 0x74]
mov dword [esp + 0x70], 1
call fcn.10003430
mov byte [esp + 0x1f8], 0x15
xor eax, eax
mov word [esp + 0x18], ax
push 5
mov eax, str.local
lea esi, [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
call fcn.10003430
lea ecx, [esp + 0x34]
push str.passwords_
push ecx
mov ebx, 0x1007a864
mov byte [esp + 0x200], 0x16
call fcn.1000cfc0
push eax
mov eax, str._algorithm
lea ecx, [esp + 0x5c]
mov byte [esp + 0x204], 0x17
call fcn.10003910
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x1f8], 0x18
call fcn.10019690
mov esi, eax
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + 4]
lea ecx, [esi + 0x6c]
mov dword [esp + 0x14], ecx
call eax
lea ecx, [esp + 0x18]
push ecx
push ebx
mov byte [esp + 0x200], 0x19
call fcn.1001b130
lea ecx, [esp + 0x6c]
mov ebx, eax
call fcn.10013390
mov byte [esp + 0x1f8], 0x18
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, 8
cmp dword [esp + 0x64], esi
jb 0x1001a0f8
mov ecx, dword [esp + 0x50]
push ecx
call fcn.1004076b
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edi
mov word [esp + 0x50], dx
cmp dword [esp + 0x48], esi
jb 0x1001a11f
mov eax, dword [esp + 0x34]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], cx
cmp dword [esp + 0x2c], esi
jb 0x1001a141
mov edx, dword [esp + 0x18]
push edx
call fcn.1004076b
add esp, 4
lea ecx, [esp + 0x6c]
xor eax, eax
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], ax
mov byte [esp + 0x1fc], 1
call fcn.10013040
call fcn.10019690
mov ebx, eax
call fcn.1001b2d0
cmp dword [esp + 0xc0], esi
jb 0x1001a187
mov edx, dword [esp + 0xac]
push edx
call fcn.1004076b
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], edi
mov word [esp + 0xac], ax
cmp dword [esp + 0xdc], esi
jb 0x1001a1bc
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.1004076b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.10040061
mov esp, ebp
pop ebp
ret