Function at 0x413540
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ab72
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x43b00c]
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 dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push 0xf013f
push str.SoftwareMicrosoftInternet_ExplorerMenuExt
push 0x80000001
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 1
call fcn.004035a0
mov esi, dword [ebp - 0x25c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x413a3c
push 0xf013f
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_HRBack
push 0x80000001
lea ecx, [ebp - 0x248]
call fcn.004035a0
test eax, eax
je 0x413630
sub esp, 8
lea ecx, [ebp - 0x248]
push 0x2001f
sub esp, 8
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_HRBack
push 0x80000001
call fcn.00409cf0
test eax, eax
je 0x413630
mov edi, dword [ebp - 0x248]
jmp 0x413a35
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
call fcn.004150d0
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
xor esi, esi
mov edi, dword [ebp - 0x248]
lea eax, [ebp - 0x264]
mov dword [ebp - 0x220], 0x100
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4136ea
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.00404260
mov byte [ebp - 4], 3
lea eax, [ebp - 0x214]
push dword [ebp - 0x250]
push eax
push ecx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00415290
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4136e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
jmp 0x41365b
xor eax, eax
mov dword [ebp - 0x220], 0x100
mov dword [ebp - 0x224], eax
nop dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41398c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.00404260
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405d30
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp esi, eax
je 0x413780
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00405730
test al, al
je 0x413782
mov eax, dword [ebp - 0x21c]
mov esi, eax
mov edx, dword [ebp - 0x214]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4137a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, edi
jne 0x413919
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4138f6
mov esi, dword [ebp - 0x24c]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x210]
push 0xf013f
push eax
push dword [ebp - 0x25c]
mov dword [ebp - 0x23c], esi
call fcn.004035a0
test eax, eax
je 0x41389d
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x413869
push eax
call ebx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 2
test esi, esi
je 0x413888
push esi
call ebx
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], 0
jmp 0x413700
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x23c]
call fcn.00413ba0
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4138c5
push eax
call ebx
mov dword [ebp - 0x230], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
test eax, eax
je 0x4138ea
push eax
call ebx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
jmp 0x41391f
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x238], 0
jmp 0x413700
mov edi, dword [ebp - 0x248]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x250]
call fcn.00404260
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00415140
push dword [ebp - 0x260]
lea eax, [ebp - 0x268]
push dword [ebp - 0x264]
lea ecx, [ebp - 0x21c]
push eax
call fcn.00414700
mov edx, dword [ebp - 0x250]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413980
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
inc eax
jmp 0x4136ec
mov eax, dword [ebp - 0x21c]
mov esi, dword [eax]
cmp esi, eax
je 0x413a0c
nop dword [eax + eax]
push dword [esi + 0x10]
push edi
call fcn.00413a60
test al, al
jne 0x4139bb
push dword [esi + 0x10]
lea ecx, [ebp - 0x248]
call fcn.0040a560
cmp byte [esi + 0xd], 0
jne 0x413a02
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4139e0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x413a02
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4139d4
jmp 0x413a02
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x413a00
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x413a00
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4139f0
mov esi, eax
mov eax, dword [ebp - 0x21c]
cmp esi, eax
jne 0x4139a0
push eax
push dword [eax]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00414700
push dword [ebp - 0x21c]
call fcn.00416159
mov esi, dword [ebp - 0x25c]
add esp, 4
test edi, edi
je 0x413a3c
push edi
call ebx
test esi, esi
je 0x413a43
push esi
call ebx
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.00416148
mov esp, ebp
pop ebp
ret