Function at 0x43788e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3e9c
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, esp
mov dword [esp + 0x3e98], eax
cmp dword [ebp + 0x14], 6
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jg 0x437c3f
xor edx, edx
mov byte [esp + 0xfc0], dl
mov byte [esp + 0xbd8], dl
mov byte [esp + 0x7f0], dl
mov byte [esp + 0x408], dl
cmp dword [ebx + 0x5b878], edx
je 0x4378f6
xor eax, eax
jmp 0x437c42
lea ecx, [esp + 0x14]
push ecx
push dword [ebp + 0x10]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x437913
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4378ef
xor edi, edi
push 0
push 0
lea eax, [esp + 0x18]
mov byte [esp + 0x28], 0
push eax
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x3e8
push eax
lea eax, [esp + 0x34]
push eax
push edi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x437b53
cmp dword [esp + 0x10], 1
jne 0x437b4d
lea eax, [esp + 0x20]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0064ffd4
cmp byte [esp + 0x28], 0
pop ecx
pop ecx
je 0x437b4d
lea eax, [esp + 0x20]
push str.password
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x4379bc
lea eax, [esp + 0x20]
push str.email
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
jne 0x4379bc
lea eax, [esp + 0x20]
push str.username
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x437b4d
cmp byte [esp + 0x7f0], 0
jne 0x437a2b
lea eax, [esp + 0x20]
push str.email
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x437a2b
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x3e8
push eax
lea eax, [esp + 0x7f4]
xor ecx, ecx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
push ecx
lea eax, [esp + 0x30]
mov byte [esp + 0x800], cl
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x437af0
lea ecx, [esp + 0x7f0]
call fcn.004047e7
jmp 0x437b4d
cmp byte [esp + 0xbd8], 0
jne 0x437a8e
lea eax, [esp + 0x20]
push str.username
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x437a8e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x3e8
push eax
lea eax, [esp + 0xbdc]
xor ecx, ecx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
push ecx
lea eax, [esp + 0x30]
mov byte [esp + 0xbe8], cl
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x437af0
lea ecx, [esp + 0xbd8]
jmp 0x437a21
cmp byte [esp + 0x408], 0
jne 0x437b4d
lea eax, [esp + 0x20]
push str.password
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x437b4d
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x3e8
push eax
lea eax, [esp + 0x40c]
xor ecx, ecx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
push ecx
lea eax, [esp + 0x30]
mov byte [esp + 0x418], cl
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x437af8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x437b4d
lea ecx, [esp + 0x408]
call fcn.004047e7
cmp byte [esp + 0x408], 0
je 0x437b4d
lea eax, [esp + 0x408]
push eax
call fcn.00643470
pop ecx
cmp eax, 3
jb 0x437b35
cmp byte [esp + 0x409], 0x3a
jne 0x437b35
cmp byte [esp + 0x40a], 0x5c
je 0x437b45
lea ecx, [esp + 0x408]
call fcn.0040a6f3
test eax, eax
jne 0x437b4d
mov byte [esp + 0x408], 0
inc edi
jmp 0x437915
cmp byte [esp + 0x408], 0
mov edi, dword [ebp + 0x14]
je 0x437bb2
cmp byte [esp + 0x7f0], 0
je 0x437b73
lea eax, [esp + 0x7f0]
jmp 0x437b84
cmp byte [esp + 0xbd8], 0
je 0x437b9a
lea eax, [esp + 0xbd8]
push eax
lea eax, [esp + 0xfc4]
push 0x3e8
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [esp + 0x408]
mov ecx, ebx
push eax
lea eax, [esp + 0xfc4]
push eax
push esi
call fcn.0043ea23
inc edi
cmp edi, 6
jg 0x437c35
xor eax, eax
mov esi, eax
jmp 0x437c2d
push eax
push eax
push eax
push eax
mov byte [esp + 0x13b8], al
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x13bc]
mov dword [esp + 0x20], 0x3e8
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x437c35
lea eax, [esp + 0x13a8]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x1798]
push 0x6c643c
push 0x2710
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [esp + 0x1790]
mov ecx, ebx
push edi
push dword [ebp + 0x10]
push eax
push dword [esp + 0x28]
call fcn.0043788e
inc esi
xor eax, eax
cmp dword [ebx + 0x5b878], eax
je 0x437bbe
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x3ea4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006122f0
mov esp, ebp
pop ebp
ret 0x10