Function at 0x47e060
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x526544
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
push edi
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
push edi
push 0x20006
push edi
mov esi, ecx
mov ecx, dword [esp + 0x110]
push edi
push edi
push str.SecuritySFTP2
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
cmp ebx, edi
jne 0x47e38b
push ebp
push 0x400
lea ecx, [esp + 0x1c]
call fcn.00511eb1
push edi
push 0x1000
lea edx, [esp + 0x20]
push edi
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x108], edi
call fcn.0050ed7b
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x24]
lea edx, [esp + 0x68]
mov byte [esp + 0xf8], 1
push edx
call dword [eax + 8]
lea ecx, [esp + 0x68]
call fcn.0050eedf
lea ecx, [esp + 0x18]
call fcn.0050cb3a
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00511f64
mov edi, eax
mov eax, dword [esp + 0x10]
push ebp
push edi
push str.SFTP2_CipherAlgs
push eax
call fcn.004763d0
push edi
call fcn.004f2cd7
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x38]
push 4
push ecx
push str.SFTP2_TripleDES
push edx
call fcn.004762d0
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x3c]
push 4
push eax
push str.SFTP2_Blowfish
push ecx
call fcn.004762d0
mov eax, dword [esp + 0x44]
lea edx, [esi + 0x40]
push 4
push edx
push str.SFTP2_Twofish
push eax
call fcn.004762d0
mov edx, dword [esp + 0x54]
add esp, 0x44
lea ecx, [esi + 0x44]
push 4
push ecx
push str.SFTP2_ARCFOUR
push edx
call fcn.004762d0
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x48]
push 4
push eax
push str.SFTP2_CAST128
push ecx
call fcn.004762d0
mov eax, dword [esp + 0x30]
lea edx, [esi + 8]
push 4
push edx
push str.SFTP2_UseCompression
push eax
call fcn.004762d0
push 4
lea ecx, [esi + 0xc]
mov edx, dword [esp + 0x44]
push ecx
push str.SFTP2_AuthByPassword
push edx
call fcn.004762d0
mov ecx, dword [esp + 0x50]
add esp, 0x40
lea eax, [esi + 0x10]
push 4
push eax
push str.SFTP2_AuthByKey
push ecx
call fcn.004762d0
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x20]
push eax
push str.SFTP2PublicKey
push edx
call fcn.00476330
mov eax, dword [esi + 0x18]
push eax
mov eax, dword [esp + 0x30]
push str.SFTP2PrivateKey
push eax
call fcn.00476330
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x1c]
push 4
push ecx
push str.UseSFTP2Passphrase
push edx
call fcn.004762d0
mov eax, dword [esi + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004787b0
add esp, 0x40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push str.SFTP2KeyPassphrase
push edx
mov byte [esp + 0x104], 2
call fcn.00476330
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 1
call fcn.00507d3a
lea ecx, [esp + 0x68]
mov byte [esp + 0xf8], 0
call fcn.0050ee57
lea ecx, [esp + 0x18]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00511f76
push 0x400
lea ecx, [esp + 0x44]
call fcn.00511eb1
push 0
push 0x1000
lea eax, [esp + 0x48]
push 0
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x108], 3
call fcn.0050ed7b
mov edx, dword [esi + 0x4c]
lea ecx, [esi + 0x4c]
lea eax, [esp + 0xac]
mov byte [esp + 0xf8], 4
push eax
call dword [edx + 8]
lea ecx, [esp + 0xac]
call fcn.0050eedf
lea ecx, [esp + 0x40]
call fcn.0050cb3a
mov ebp, eax
lea ecx, [esp + 0x40]
call fcn.00511f64
mov ecx, dword [esp + 0x10]
mov edi, eax
push ebp
push edi
push str.SFTP2_MACAlgs
push ecx
call fcn.004763d0
push edi
call fcn.004f2cd7
mov eax, dword [esp + 0x24]
lea edx, [esi + 0x60]
push 4
push edx
push str.SFTP2_MD5
push eax
call fcn.004762d0
mov edx, dword [esp + 0x34]
lea ecx, [esi + 0x64]
push 4
push ecx
push str.SFTP2_SHA1
push edx
call fcn.004762d0
mov ecx, dword [esp + 0x44]
lea eax, [esi + 0x6c]
push 4
push eax
push str.SFTP2_MD5_96
push ecx
call fcn.004762d0
mov edx, dword [esp + 0x54]
add esp, 0x44
add esi, 0x68
push 4
push esi
push str.SFTP2_SHA1_96
push edx
call fcn.004762d0
add esp, 0x10
lea ecx, [esp + 0xac]
mov byte [esp + 0xf8], 3
call fcn.0050ee57
lea ecx, [esp + 0x40]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00511f76
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov ecx, dword [esp + 0xec]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret 4