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

Disassembly:
push 0xffffffffffffffff
push 0x5cf2fc
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x120], eax
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4851f4
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.0041c260
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.WS2_32.dll_accept
call edi
test eax, eax
jne 0x485385
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 0x485385
lea eax, [esp + 0x30]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4852a0
sub eax, edx
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
call fcn.004052d0
lea eax, [esp + 0x28]
push str.Identities_
push eax
lea ecx, [esp + 0x20]
call fcn.00422f50
push str.SoftwareMicrosoftOutlook_Express5.0
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x150], 2
call fcn.00404db0
add esp, 0x14
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00404f90
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 0x485322
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 0x48534a
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.WS2_32.dll_accept
call edi
test eax, eax
jne 0x48537e
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 0x4853ad
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 0x4853d8
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.004f2719
add esp, 0x130
ret