Function at 0x48d010
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0x24
mov eax, dword [0x7c2580]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 0x440]
mov ebp, dword [eax]
cmp byte [ebp + 0x1e48], 0
je 0x48d04c
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006d66cb
add esp, 0x24
ret
mov eax, dword [ebp + 0x44]
test byte [eax + 0x66], 8
jne 0x48d08e
mov ecx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x48]
test ecx, ecx
jg 0x48d08e
jl 0x48d066
cmp eax, 0xc
jae 0x48d08e
push ecx
push eax
push str.Truncated_Zip_encrypted_body:_only__jd_bytes_available
push 0x2a
push ebx
call fcn.004649c0
add esp, 0x14
mov eax, 0xffffffe2
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006d66cb
add esp, 0x24
ret
push 0
push 0xc
push ebx
call fcn.00463260
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x48d0c9
push str.Truncated_ZIP_file_data
push 0x2a
push ebx
call fcn.004649c0
add esp, 0xc
mov eax, 0xffffffe2
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006d66cb
add esp, 0x24
ret
push esi
push edi
xor esi, esi
push ebx
mov dword [esp + 0x20], esi
call fcn.0049e510
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48d1b1
lea edi, [ebp + 0x1e3c]
nop word [eax + eax]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x48d0f5
mov dword [edi], 0x12345678
mov dword [edi + 4], 0x23456789
mov dword [edi + 8], 0x34567890
sub esi, ecx
je 0x48d168
mov al, byte [ebx]
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push 1
push eax
mov eax, dword [edi]
not eax
push eax
call fcn.006be3c0
not eax
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
mov byte [esp + 0x27], al
lea eax, [esp + 0x27]
push eax
mov eax, dword [edi + 8]
not eax
push eax
call fcn.006be3c0
add esp, 0x18
lea ebx, [ebx + 1]
not eax
mov dword [edi + 8], eax
sub esi, 1
jne 0x48d114
push 0xc
lea eax, [esp + 0x28]
push eax
push 0xc
push dword [esp + 0x2c]
push edi
call fcn.0048e5a0
mov ecx, dword [ebp + 0x44]
add esp, 0x14
mov al, byte [esp + 0x2f]
cmp al, byte [ecx + 0x6b]
je 0x48d1ee
mov esi, dword [esp + 0x1c]
cmp esi, 0x2710
jg 0x48d1e7
push dword [esp + 0x18]
inc esi
mov dword [esp + 0x20], esi
call fcn.0049e510
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48d0f0
test esi, esi
mov eax, str.Incorrect_passphrase
mov ecx, str.Passphrase_required_for_this_entry
cmovle eax, ecx
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.004649c0
add esp, 0xc
mov eax, 0xffffffe7
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006d66cb
add esp, 0x24
ret
push str.Too_many_incorrect_passphrases
jmp 0x48d1c1
mov ebx, dword [esp + 0x18]
push 0
push 0xc
push ebx
call fcn.00463280
mov eax, dword [ebp + 0x44]
add esp, 0xc
mov byte [ebp + 0x1e48], 1
test byte [eax + 0x66], 8
jne 0x48d217
add dword [ebp + 0x48], 0xfffffff4
adc dword [ebp + 0x4c], 0xffffffff
add dword [ebp + 0x50], 0xc
push ebx
adc dword [ebp + 0x54], 0
mov dword [ebp + 0x1e34], 0
call fcn.0048e630
mov ecx, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006d66cb
add esp, 0x24
ret