Function at 0x476f70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5bfc8c
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0x120], eax
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x476fc4
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x13c], 0
push str.Identities
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], 1
call fcn.00416360
lea ecx, [esp + 0x10]
push ecx
push 0x20019
mov byte [esp + 0x144], 1
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0
push edx
push reloc.intfd.dll_Ordinal_1
call edi
test eax, eax
jne 0x477155
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push str.Default_User_ID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov esi, eax
call ebp
test esi, esi
jne 0x477155
lea eax, [esp + 0x30]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x477070
sub eax, edx
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
call fcn.00405140
lea eax, [esp + 0x28]
push str.Identities_
push eax
lea ecx, [esp + 0x20]
call fcn.0041cdf0
push str.SoftwareMicrosoftOutlook_Express5.0
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x150], 2
call fcn.00404c80
add esp, 0x14
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00404e30
mov byte [esp + 0x13c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4770f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x13c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47711a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 2
push 0
push edx
push reloc.intfd.dll_Ordinal_1
call edi
test eax, eax
jne 0x47714e
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x24]
push eax
push 4
push 0
push str.Compact_Check_Count
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call ebp
mov byte [esp + 0x13c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47717d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x13c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4771a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004e3543
add esp, 0x130
ret