Function at 0x50a8e0
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 0x50a937
lea esi, [eax + 0x52dc]
lea ebx, [eax + 0x52f0]
add eax, 0x52e0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov ebp, str.Microsoft_Base_Cryptographic_Provider_v1.0
jmp 0x50a955
lea esi, [eax + 0x52f4]
lea ebx, [eax + 0x531c]
add eax, 0x52f8
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 0x50a9b0
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 0x50aa33
mov eax, dword [esi]
test eax, eax
je 0x50aa33
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], 0
jne 0x50aa33
push 0
push eax
call dword [0x5ff1e4]
push 0x30
push 1
lea edx, [esp + 0x4c]
push ebp
push edx
push esi
mov dword [esi], 0
call dword [0x5ff210]
test eax, eax
jne 0x50aa22
test byte [esp + 0x44c], 2
je 0x50aa22
push 0
push str.CryptAcquireContext_destroy_
call fcn.0043aa00
add esp, 8
push 0x10
push 1
lea eax, [esp + 0x4c]
push ebp
push eax
push esi
call dword [0x5ff210]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x50aa5f
push eax
push 1
lea ecx, [esp + 0x4c]
push ebp
push ecx
push esi
mov dword [esi], 0
call dword [0x5ff210]
test eax, eax
jne 0x50aa5f
mov eax, dword [edi + 4]
add edi, 4
cmp eax, 0xffffffff
jne 0x50aa3a
cmp dword [esi], 0
mov eax, dword [esp + 0x20]
jne 0x50aa94
test eax, eax
je 0x50aa85
test byte [esp + 0x44c], 2
je 0x50aa85
push 0
push str.CryptAcquireContext
call fcn.0043aa00
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x434
ret 8
test eax, eax
jne 0x50ab76
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x74]
mov eax, dword [edx + 0x5308]
test eax, eax
je 0x50ab76
lea eax, [esp + 0x18]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.0050b3a0
mov edi, dword [esp + 0x14]
test eax, eax
je 0x50ab1f
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 [0x5ff1ec]
test eax, eax
jne 0x50ab1f
test byte [esp + 0x44c], 2
je 0x50aafd
push 0
push str.CryptImportKey_blob_
call fcn.0043aa00
add esp, 8
mov eax, dword [esi]
push 0
push eax
call dword [0x5ff1e4]
push 0x20
push 1
lea ecx, [esp + 0x4c]
push ebp
push ecx
push esi
mov dword [esi], 0
call dword [0x5ff210]
mov eax, dword [edi]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x50ab7e
mov eax, dword [ebp + 0x74]
cmp dword [eax + 0x5310], 1
jne 0x50ab55
mov ecx, dword [eax + 0x5314]
test ecx, ecx
je 0x50ab55
mov ecx, dword [ebp + 0x7c]
push 0
push 0
push 2
call fcn.0047b260
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x5308]
push eax
call fcn.00567b2c
mov ecx, dword [ebp + 0x74]
add esp, 4
mov dword [ecx + 0x5308], 0
jmp 0x50ab7e
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
cmp dword [edi], 0
jne 0x50abc1
mov edx, dword [esi]
push edi
push 1
push edx
call dword [0x5ff1fc]
test eax, eax
jne 0x50abc1
mov eax, dword [esi]
push edi
push 1
push 0xa400
push eax
call dword [0x5ff1f4]
test eax, eax
jne 0x50abc1
test byte [esp + 0x44c], 2
je 0x50abc1
push 0
push str.CryptGenKey
call fcn.0043aa00
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 [0x5ff200]
test eax, eax
je 0x50ac47
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp]
test eax, eax
je 0x50ac00
push eax
call fcn.00567b2c
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.00567b03
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 0x50ac60
test byte [esp + 0x44c], 2
je 0x50ac60
push 0
push str.CryptExportKey
call fcn.0043aa00
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x50acb0
mov ecx, dword [ebp + 0x74]
mov eax, dword [ecx + 0x5308]
test eax, eax
jne 0x50acb0
cmp dword [edi], 0
je 0x50acb0
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 [0x5ff200]
test eax, eax
je 0x50acb0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, ebp
call fcn.0050b520
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x434
ret 8