Function at 0x421e35
Capabilities:
Gather classicftp information
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x142c
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov dword [ebp - 0x142c], ecx
lea edi, [ebp - 0x408]
pop ecx
mov esi, str.SoftwareNCH_SoftwareClassicFTPFTPAccounts
lea eax, [ebp - 0x3db]
rep movsd dword es:[edi], dword [esi]
push 0x3d3
movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x141c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x408]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x421ea7
xor eax, eax
jmp 0x4220bc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1418]
mov dword [ebp - 0x1424], esi
push eax
lea eax, [ebp - 0x808]
mov dword [ebp - 0x1418], 0x400
push eax
push esi
push dword [ebp - 0x141c]
mov ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4220a9
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x6c643c
lea eax, [ebp - 0x1408]
push 0x400
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x1414]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x1408]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42207b
xor ecx, ecx
lea eax, [ebp - 0x1410]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1420], ecx
push eax
mov ebx, ecx
push ecx
jmp 0x422053
and dword [ebp - 0x1428], 0
lea eax, [ebp - 0x1008]
push 0
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
push str._s_s_s_d
lea eax, [ebp - 0xc08]
push 0x400
push eax
call fcn.00402e0a
add esp, 0x1c
lea eax, [ebp - 0x140c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xc08]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422037
mov esi, dword [ebp - 0x1428]
mov ebx, dword [ebp - 0x142c]
push ecx
push dword [ebp - 0x140c]
mov ecx, ebx
call fcn.00421ce8
push dword [ebp - 0x140c]
call edi
inc esi
lea eax, [ebp - 0x1008]
push esi
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
push str._s_s_s_d
lea eax, [ebp - 0xc08]
push 0x400
push eax
call fcn.00402e0a
add esp, 0x1c
lea eax, [ebp - 0x140c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xc08]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x421fc1
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [ebp - 0x1420]
inc ebx
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x1410]
mov dword [ebp - 0x1420], ebx
push eax
lea eax, [ebp - 0x1008]
push eax
push ebx
push dword [ebp - 0x1414]
mov dword [ebp - 0x1410], 0x400
call esi
test eax, eax
je 0x421f56
push dword [ebp - 0x1414]
call edi
mov ebx, dword [ebp - 0x1424]
xor eax, eax
mov dword [ebp - 0x1418], 0x400
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x1418]
inc ebx
push eax
lea eax, [ebp - 0x808]
mov dword [ebp - 0x1424], ebx
push eax
push ebx
push dword [ebp - 0x141c]
call esi
test eax, eax
je 0x421ee5
push dword [ebp - 0x141c]
call edi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret