Function at 0x41c930
Capabilities:
Generate random numbers via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xf0000040
push 1
push 0x4057e0
push 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x41c96c
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
push 8
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x41c98a
mov esi, 0x80004005
jmp 0x41cb89
push 0xc
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
jne 0x41c9a4
mov esi, 0x8007000e
jmp 0x41cb89
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push 0
push 0x24
push eax
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
mov dword [ebp - 0x10], eax
push 0
mov dword [ebp - 0xc], edi
push 0x24
lea edx, [ecx + eax]
add dl, dl
add dl, dl
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
mov word [esi], cx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push edx
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
mov dword [ebp - 0x10], eax
push 0
mov dword [ebp - 0xc], edi
push 0x24
lea edx, [ecx + eax]
add dl, dl
add dl, dl
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
mov word [esi + 2], cx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push edx
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
mov dword [ebp - 0x10], eax
push 0
mov dword [ebp - 0xc], edi
push 0x24
lea edx, [ecx + eax]
add dl, dl
add dl, dl
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
mov word [esi + 4], cx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push edx
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
lea edx, [ecx + eax]
add dl, dl
add dl, dl
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
push 0
mov word [esi + 6], cx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push 0x24
push edx
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
mov dword [ebp - 0x10], eax
push 0
mov dword [ebp - 0xc], edi
push 0x24
lea edx, [ecx + eax]
add dl, dl
add dl, dl
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
mov word [esi + 8], cx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push edx
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
mov dword [ebp - 0x10], eax
push 0
mov dword [ebp - 0xc], edi
push 0x24
lea edx, [ecx + eax]
add dl, dl
add dl, dl
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
mov word [esi + 0xa], cx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push edx
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
mov dword [ebp - 0x10], eax
push 0
mov dword [ebp - 0xc], edi
push 0x24
lea edx, [ecx + eax]
add dl, dl
add dl, dl
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
mov word [esi + 0xc], cx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
push edx
push ebx
call fcn.0042ddd0
mov cl, al
add cl, cl
add cl, cl
add cl, cl
mov edi, edx
lea edx, [ecx + eax]
add dl, dl
add dl, dl
mov dword [ebp - 0x10], eax
sub bl, dl
movzx eax, bl
movzx ecx, word [eax*2 + 0x4051d8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov word [esi + 0xe], cx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x10], 0x6f002e
mov dword [esi + 0x14], 0x660064
mov dword [eax], esi
mov dword [ecx], 0xc
xor esi, esi
mov edx, dword [ebp - 4]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8