Function at 0x410c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd44
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x14f]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x150], bl
call sub.msvcrt.dll_memset
mov esi, 0x400
push esi
lea ecx, [ebp - 0xd50]
push ebx
push ecx
mov dword [ebp - 0x14], 0x104
call sub.msvcrt.dll_memset
push esi
lea edx, [ebp - 0x950]
push ebx
push edx
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x550]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x30
lea ecx, [ebp - 0x10]
push ecx
push 1
push ebx
push str.SoftwareMartin_PrikrylWinSCP_2Configuration
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push SysReAllocString
call esi
test eax, eax
je 0x410cb8
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 2
call fcn.00415850
mov byte [ebp - 4], 1
jmp 0x410fc6
mov ecx, dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x30]
push eax
push ebx
push 0x10
push str.UseMasterPassword
push str.Security
push ecx
call edi
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x410cf0
cmp eax, ebx
je 0x410cfe
push eax
call dword [0x655ea8]
xor eax, eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x410cfe
push eax
call dword [0x655ea8]
mov dword [ebp - 0x10], ebx
lea edx, [ebp - 0x10]
push edx
push 9
push ebx
push str.SoftwareMartin_PrikrylWinSCP_2Sessions
push SysReAllocString
call esi
test eax, eax
je 0x410d2d
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 4
call fcn.00415850
mov byte [ebp - 4], 3
jmp 0x410fc6
mov edx, dword [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x150]
push ecx
push ebx
push edx
call dword [0x655f34]
cmp eax, ebx
je 0x410d74
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x410d5c
push eax
call dword [0x655ea8]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 6
call fcn.00415850
mov byte [ebp - 4], 5
jmp 0x410fc6
push 0xf423f
push ebx
call dword [0x655f40]
push eax
call dword [0x655ed8]
mov esi, eax
lea esp, [esp]
push str.Soft:_WinSCP_n
push esi
call dword [0x655eec]
push str.Host:
push esi
call dword [0x655eec]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xd50]
push ecx
push ebx
push 2
push str.HostName
lea edx, [ebp - 0x150]
push edx
push eax
call edi
lea ecx, [ebp - 0xd50]
push ecx
push esi
call dword [0x655eec]
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push ebx
push 0xffff
push str.PortNumber
lea ecx, [ebp - 0x150]
push ecx
push edx
mov dword [ebp - 0x1c], 4
call edi
test eax, eax
jne 0x410e31
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00417b10
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00415af0
push eax
push esi
call dword [0x655eec]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00415850
jmp 0x410e3d
push 0x43854c
push esi
call dword [0x655eec]
push 0x438424
push esi
call dword [0x655eec]
push str.Login:
push esi
call dword [0x655eec]
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x950]
push eax
push ebx
push 2
push str.UserName
lea ecx, [ebp - 0x150]
push ecx
push edx
call edi
lea eax, [ebp - 0x950]
push eax
push esi
call dword [0x655eec]
push 0x438424
push esi
call dword [0x655eec]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x550]
push edx
push ebx
push 2
push str.Password
lea eax, [ebp - 0x150]
push eax
push ecx
call edi
push str.Password:
push esi
call dword [0x655eec]
push 0x435476
lea edx, [ebp - 0x550]
push edx
call dword [0x655f18]
test eax, eax
je 0x410f10
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x950]
push ecx
lea edx, [ebp - 0xd50]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00410740
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00415af0
push eax
push esi
call dword [0x655eec]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00415850
push 0x438424
push esi
call dword [0x655eec]
push 0x438424
push esi
call dword [0x655eec]
mov eax, dword [ebp - 0x18]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
inc eax
lea edx, [ebp - 0x150]
push edx
push eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0x104
call dword [0x655f34]
cmp eax, 0x103
jne 0x410d90
push esi
call dword [0x655dfc]
push eax
push esi
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.passwords.txt
call fcn.004157d0
sub esp, 0x50
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
mov byte [ebp - 4], 9
call fcn.00401550
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], bl
call fcn.0041b1a0
add esp, 0x68
lea ecx, [ebp - 0x3c]
call fcn.00415850
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x410fb3
push eax
call dword [0x655ea8]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 0xb
call fcn.00415850
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x14]
call fcn.00415850
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00415850
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret