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

Disassembly:
push 0xffffffffffffffff
push 0x573fb4
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 0x5d0ad4
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
cmp ebx, edi
jne 0x4ce1fb
push ebp
push 0x400
lea ecx, [esp + 0x1c]
call fcn.0053ecb0
push edi
push 0x1000
lea edx, [esp + 0x20]
push edi
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x108], edi
call fcn.005369bd
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.00536b21
lea ecx, [esp + 0x18]
call fcn.0053376f
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.0053ed63
mov edi, eax
mov eax, dword [esp + 0x10]
push ebp
push edi
push str.SFTP2_CipherAlgs
push eax
call fcn.004c5b20
push edi
call fcn.00516a1d
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x38]
push 4
push ecx
push str.SFTP2_TripleDES
push edx
call fcn.004c5a20
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x3c]
push 4
push eax
push str.SFTP2_Blowfish
push ecx
call fcn.004c5a20
mov eax, dword [esp + 0x44]
lea edx, [esi + 0x40]
push 4
push edx
push str.SFTP2_Twofish
push eax
call fcn.004c5a20
mov edx, dword [esp + 0x54]
add esp, 0x44
lea ecx, [esi + 0x44]
push 4
push ecx
push str.SFTP2_ARCFOUR
push edx
call fcn.004c5a20
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x48]
push 4
push eax
push str.SFTP2_CAST128
push ecx
call fcn.004c5a20
mov eax, dword [esp + 0x30]
lea edx, [esi + 8]
push 4
push edx
push str.SFTP2_UseCompression
push eax
call fcn.004c5a20
push 4
lea ecx, [esi + 0xc]
mov edx, dword [esp + 0x44]
push ecx
push str.SFTP2_AuthByPassword
push edx
call fcn.004c5a20
mov ecx, dword [esp + 0x50]
add esp, 0x40
lea eax, [esi + 0x10]
push 4
push eax
push str.SFTP2_AuthByKey
push ecx
call fcn.004c5a20
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x20]
push eax
push str.SFTP2PublicKey
push edx
call fcn.004c5a80
mov eax, dword [esi + 0x18]
push eax
mov eax, dword [esp + 0x30]
push str.SFTP2PrivateKey
push eax
call fcn.004c5a80
mov edx, dword [esp + 0x38]
lea ecx, [esi + 0x1c]
push 4
push ecx
push str.UseSFTP2Passphrase
push edx
call fcn.004c5a20
mov eax, dword [esi + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004c7c40
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.004c5a80
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 1
call fcn.00530b8f
lea ecx, [esp + 0x68]
mov byte [esp + 0xf8], 0
call fcn.00536a99
lea ecx, [esp + 0x18]
mov dword [esp + 0xf8], 0xffffffff
call fcn.0053ed75
push 0x400
lea ecx, [esp + 0x44]
call fcn.0053ecb0
push 0
push 0x1000
lea eax, [esp + 0x48]
push 0
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x108], 3
call fcn.005369bd
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.00536b21
lea ecx, [esp + 0x40]
call fcn.0053376f
mov ebp, eax
lea ecx, [esp + 0x40]
call fcn.0053ed63
mov ecx, dword [esp + 0x10]
mov edi, eax
push ebp
push edi
push str.SFTP2_MACAlgs
push ecx
call fcn.004c5b20
push edi
call fcn.00516a1d
mov eax, dword [esp + 0x24]
lea edx, [esi + 0x60]
push 4
push edx
push str.SFTP2_MD5
push eax
call fcn.004c5a20
mov edx, dword [esp + 0x34]
lea ecx, [esi + 0x64]
push 4
push ecx
push str.SFTP2_SHA1
push edx
call fcn.004c5a20
mov ecx, dword [esp + 0x44]
lea eax, [esi + 0x6c]
push 4
push eax
push str.SFTP2_MD5_96
push ecx
call fcn.004c5a20
mov edx, dword [esp + 0x54]
add esp, 0x44
add esi, 0x68
push 4
push esi
push str.SFTP2_SHA1_96
push edx
call fcn.004c5a20
add esp, 0x10
lea ecx, [esp + 0xac]
mov byte [esp + 0xf8], 3
call fcn.00536a99
lea ecx, [esp + 0x40]
mov dword [esp + 0xf8], 0xffffffff
call fcn.0053ed75
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