Function at 0x4fcf70
Capabilities:
Terminate process

Disassembly:
sub esp, 0x434
mov edx, ecx
xor eax, eax
mov ecx, dword [esp + 0x438]
push ebx
cmp ecx, 0x200
push ebp
push esi
push edi
sete al
mov edi, eax
mov eax, dword [edx + 0x74]
test edi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0x400
je 0x4fcfc7
lea esi, [eax + 0x52c0]
lea ebx, [eax + 0x52d4]
add eax, 0x52c4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov ebp, str.Microsoft_Base_Cryptographic_Provider_v1.0
jmp 0x4fcfe5
lea esi, [eax + 0x52d8]
lea ebx, [eax + 0x5300]
add eax, 0x52dc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov ebp, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
mov ebx, edi
mov eax, 0x28
neg ebx
sbb ebx, ebx
mov dword [esp + 0x30], 0x20
and ebx, 0xfffe0fff
mov dword [esp + 0x34], 0
add ebx, 0x20002
mov dword [esp + 0x38], eax
test edi, edi
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0xffffffff
lea edi, [esp + 0x30]
jne 0x4fd040
lea edi, [esp + 0x24]
mov edx, dword [edx + 0x68]
lea eax, [esp + 0x44]
add edx, 0x20
push edx
push ecx
push str.feiq.rsa_d._s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov al, byte [esp + 0x45c]
add esp, 0x10
test al, 1
je 0x4fd0c3
mov eax, dword [esi]
test eax, eax
je 0x4fd0c3
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], 0
jne 0x4fd0c3
push 0
push eax
call dword [0x5ee034]
push 0x30
push 1
lea edx, [esp + 0x4c]
push ebp
push edx
push esi
mov dword [esi], 0
call dword [0x5ee060]
test eax, eax
jne 0x4fd0b2
test byte [esp + 0x44c], 2
je 0x4fd0b2
push 0
push str.CryptAcquireContext_destroy_
call fcn.00438b50
add esp, 8
push 0x10
push 1
lea eax, [esp + 0x4c]
push ebp
push eax
push esi
call dword [0x5ee060]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4fd0ef
push eax
push 1
lea ecx, [esp + 0x4c]
push ebp
push ecx
push esi
mov dword [esi], 0
call dword [0x5ee060]
test eax, eax
jne 0x4fd0ef
mov eax, dword [edi + 4]
add edi, 4
cmp eax, 0xffffffff
jne 0x4fd0ca
cmp dword [esi], 0
mov eax, dword [esp + 0x20]
jne 0x4fd124
test eax, eax
je 0x4fd115
test byte [esp + 0x44c], 2
je 0x4fd115
push 0
push str.CryptAcquireContext
call fcn.00438b50
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x434
ret 8
test eax, eax
jne 0x4fd206
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x74]
mov eax, dword [edx + 0x52ec]
test eax, eax
je 0x4fd206
lea eax, [esp + 0x18]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.004fda30
mov edi, dword [esp + 0x14]
test eax, eax
je 0x4fd1af
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push edi
push 1
push 0
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call dword [0x5ee03c]
test eax, eax
jne 0x4fd1af
test byte [esp + 0x44c], 2
je 0x4fd18d
push 0
push str.CryptImportKey_blob_
call fcn.00438b50
add esp, 8
mov eax, dword [esi]
push 0
push eax
call dword [0x5ee034]
push 0x20
push 1
lea ecx, [esp + 0x4c]
push ebp
push ecx
push esi
mov dword [esi], 0
call dword [0x5ee060]
mov eax, dword [edi]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x4fd20e
mov eax, dword [ebp + 0x74]
cmp dword [eax + 0x52f4], 1
jne 0x4fd1e5
mov ecx, dword [eax + 0x52f8]
test ecx, ecx
je 0x4fd1e5
mov ecx, dword [ebp + 0x7c]
push 0
push 0
push 2
call fcn.004788f0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x52ec]
push eax
call fcn.00558a4c
mov ecx, dword [ebp + 0x74]
add esp, 4
mov dword [ecx + 0x52ec], 0
jmp 0x4fd20e
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
cmp dword [edi], 0
jne 0x4fd251
mov edx, dword [esi]
push edi
push 1
push edx
call dword [0x5ee04c]
test eax, eax
jne 0x4fd251
mov eax, dword [esi]
push edi
push 1
push 0xa400
push eax
call dword [0x5ee044]
test eax, eax
jne 0x4fd251
test byte [esp + 0x44c], 2
je 0x4fd251
push 0
push str.CryptGenKey
call fcn.00438b50
add esp, 8
mov eax, dword [edi]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x44]
push ecx
push edx
push 0
push 6
push 0
push eax
call dword [0x5ee050]
test eax, eax
je 0x4fd2d7
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp]
test eax, eax
je 0x4fd290
push eax
call fcn.00558a4c
add esp, 4
mov dword [ebp], 0
mov dword [ebp + 0xc], 0
mov eax, dword [esp + 0x50]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov dword [ebp + 4], eax
call fcn.00558a23
mov ecx, dword [ebp + 4]
lea esi, [esp + 0x5c]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebp], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
mov ebp, dword [esp + 0x10]
jmp 0x4fd2f0
test byte [esp + 0x44c], 2
je 0x4fd2f0
push 0
push str.CryptExportKey
call fcn.00438b50
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4fd340
mov ecx, dword [ebp + 0x74]
mov eax, dword [ecx + 0x52ec]
test eax, eax
jne 0x4fd340
cmp dword [edi], 0
je 0x4fd340
lea edx, [esp + 0x18]
lea eax, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x20], 0x400
mov ecx, dword [edi]
push 0
push 7
push 0
push ecx
call dword [0x5ee050]
test eax, eax
je 0x4fd340
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, ebp
call fcn.004fdbb0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x434
ret 8