Function at 0x484290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db49d
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.0059a8e0
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x104c], edi
mov dword [ebp - 0x1044], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1048], eax
lea eax, [ebp - 0x1048]
push eax
push 0x20019
push 0
push str.mailto_shellopencommand
push SysReAllocStringLen
mov dword [ebp - 0x1044], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x1048]
test esi, esi
je 0x484834
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0059dbb0
add esp, 0xc
mov dword [ebp - 0x1054], 1
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1050], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1054]
push eax
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x484828
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1018], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4843a5
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.004049aa
push 0xb
xor eax, eax
mov dword [ebp - 0x1040], 0
push str.outlook.exe
lea ecx, [ebp - 0x1040]
mov dword [ebp - 4], 1
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
call fcn.004049aa
push 0
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.0045a9e0
mov edx, dword [ebp - 0x102c]
add esp, 0xc
mov byte [ebp - 4], 1
mov esi, eax
cmp edx, 8
jb 0x484469
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48445f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x484852
push edx
push ecx
call fcn.00599f8e
add esp, 8
cmp esi, 0xffffffff
je 0x4847ec
lea ecx, [esi + 0xb]
mov dword [ebp - 0x1040], 0
cmp dword [ebp - 0x1018], ecx
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1030], 0
cmovb ecx, dword [ebp - 0x1018]
cmp dword [ebp - 0x1014], 8
push ecx
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x1040]
push eax
mov dword [ebp - 0x102c], 7
call fcn.004049aa
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1044], 3
cmp edx, 8
jb 0x48450b
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x484501
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x484861
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov eax, dword [ebp - 0x103c]
mov edx, dword [ebp - 0x102c]
cmp edx, 8
mov ecx, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1028]
cmovae eax, ecx
mov dword [ebp - 0x1028], ecx
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], edx
cmp word [eax], 0x22
jne 0x484646
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
cmp esi, 1
jb 0x484857
lea eax, [esi - 1]
cmp eax, esi
cmovb esi, eax
cmp edx, 8
lea eax, [ebp - 0x1028]
cmovae eax, ecx
lea ecx, [ebp - 0x1040]
push esi
add eax, 2
push eax
call fcn.004049aa
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1044], 7
cmp edx, 8
jb 0x4845fe
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4845f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x484861
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov eax, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x103c]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], eax
cmp dword [ebp - 0x1014], 8
lea ebx, [ebp - 0x1028]
cmovae ebx, dword [ebp - 0x1028]
test esi, esi
je 0x4846ec
mov eax, esi
xor edx, edx
mov ecx, ebx
test eax, eax
je 0x484683
cmp word [ebx], 0x7e
je 0x484681
cmp eax, 1
je 0x484683
add ecx, 2
dec eax
cmp word [ecx], 0x7e
jne 0x484672
mov edx, ecx
test edx, edx
je 0x4846ec
sub edx, ebx
sar edx, 1
cmp edx, 0xffffffff
je 0x4846ec
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1010]
push 0x400
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4846e6
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4846c4
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.004049aa
mov esi, dword [ebp - 0x1018]
lea eax, [ebp - 0x1028]
cmp edi, eax
je 0x4847ec
cmp dword [ebp - 0x1014], 8
mov ecx, dword [edi + 0x14]
cmovae eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x105c], ecx
cmp esi, ecx
ja 0x48473f
mov ebx, edi
cmp ecx, 8
jb 0x484724
mov ebx, dword [edi]
mov dword [edi + 0x10], esi
add esi, esi
push esi
push eax
push ebx
call fcn.0059d630
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x4847ec
cmp esi, 0x7ffffffe
ja 0x48485c
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x48475f
mov ebx, SysReAllocString
jmp 0x48477d
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x484775
mov ebx, SysReAllocString
jmp 0x48477d
lea eax, [ecx + edx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, edi
push eax
call fcn.00404963
mov dword [edi + 0x10], esi
add esi, esi
push esi
push dword [ebp - 0x1058]
mov dword [edi + 0x14], ebx
mov ebx, eax
push ebx
mov dword [ebp - 0x104c], eax
call fcn.0059d630
xor eax, eax
add esp, 0xc
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x105c]
cmp eax, 8
jb 0x4847ea
lea ecx, [eax*2 + 2]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x4847e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x484861
mov eax, edx
push ecx
push eax
call fcn.00599f8e
add esp, 8
mov dword [edi], ebx
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x484828
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48481e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x484861
push edx
push ecx
call fcn.00599f8e
add esp, 8
push dword [ebp - 0x1048]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.005a1930
call fcn.00404954
call fcn.00404949
call fcn.005a1930
int3