Function at 0x4318d0
Capabilities:
Access peb ldr_data
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x4e48e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebp
push esi
mov eax, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov eax, dword [eax - 8]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], esi
mov dword [esp + 8], 1
mov dword [esp + 0x1c], esi
jne 0x431926
mov dword [esp + 8], esi
jmp 0x431bb3
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push esi
push 1
push esi
lea ecx, [esp + 0x20]
push esi
push ecx
call edi
test eax, eax
jne 0x431952
push 8
push 1
push esi
lea edx, [esp + 0x20]
push esi
push edx
call edi
test eax, eax
je 0x431bef
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x431bef
mov edx, dword [str.iresearchdyt10240]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
push ecx
push edx
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x431bef
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push 0x800000
push ecx
push 0x6801
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x431bef
mov eax, dword [esp + 0x10]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0x3f0
mov dword [esp + 0x18], esi
call fcn.004afd95
add esp, 4
cmp eax, esi
mov dword [esp + 0x34], eax
je 0x431be6
mov ecx, dword [esp + 0x58]
mov eax, 0x10624dd3
mov ebx, dword [ecx - 8]
mov ecx, 0x3e8
mul ebx
mov edi, edx
mov eax, ebx
xor edx, edx
mov dword [esp + 0x44], ebx
div ecx
shr edi, 6
mov dword [esp + 0x30], edi
test edx, edx
je 0x431a18
inc edi
mov dword [esp + 0x30], edi
mov edx, edi
shl edx, 6
sub edx, edi
shl edx, 4
push edx
call fcn.004afd95
add esp, 4
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x431be6
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x3e8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], esi
cmp eax, edi
jne 0x431a68
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], 1
add eax, 0xfffffc18
sub ebx, eax
jmp 0x431a6d
mov ebx, 0x3e8
push esi
lea ecx, [esp + 0x5c]
call fcn.004d4dbd
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov esi, eax
lea eax, [esp + 0x20]
add esi, ecx
mov ecx, ebx
mov edx, ecx
push 0x3f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push esi
push 0
push ecx
push 0
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x431bd9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, ecx
lea edi, [eax + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x2c]
and ecx, 3
add edx, 0x3e8
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add ebp, eax
mov eax, dword [esp + 0x28]
add edi, ebx
inc eax
mov dword [esp + 0x24], edi
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
ja 0x431b17
mov ebx, dword [esp + 0x44]
xor esi, esi
mov edi, ecx
jmp 0x431a47
lea eax, [ebp + ebp + 0xff]
push eax
call fcn.004afd95
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x40], esi
je 0x431bd9
mov eax, dword [esp + 0x1c]
push ebp
push eax
push esi
call fcn.00415e10
mov ecx, dword [esp + 0x68]
add esp, 0xc
push esi
call fcn.004d4b16
xor esi, esi
mov eax, dword [esp + 0x34]
pop ebx
cmp eax, esi
je 0x431b62
push eax
call fcn.004afcac
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x431b73
push eax
call fcn.004afcac
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x431b84
push eax
call fcn.004afcac
add esp, 4
mov eax, dword [esp + 0x34]
pop edi
cmp eax, esi
je 0x431b94
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x431ba3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x431bb3
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 8]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x44
ret
mov dword [esp + 0x10], 0
jmp 0x431b4e
mov dword [esp + 0x10], esi
jmp 0x431b50
mov dword [esp + 0xc], esi
jmp 0x431b84