Function at 0x403cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424d4f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d0
mov eax, dword [0x435080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x260], ecx
xor esi, esi
mov dword [ebp - 0x270], esi
lea ecx, [ebp - 0x2e0]
push 0x3e
xorps xmm0, xmm0
mov dword [ebp - 0x25c], esi
xor eax, eax
movq qword [ebp - 0x250], xmm0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
call fcn.00407e50
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x2c8]
push 0x1f
xor eax, eax
mov dword [ebp - 0x2b8], esi
push str.SOFTWAREGoogleChromeBLBeacon
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
call fcn.00407e50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
push 0x2b
xor eax, eax
mov dword [ebp - 0x2a0], esi
push str.SOFTWAREWOW6432NodeGoogleChromeBLBeacon
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
call fcn.00407e50
mov dword [ebp - 4], 2
lea eax, [ebp - 0x298]
push dword [ebp - 0x260]
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x250], esi
push eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x24c], esi
push eax
mov dword [ebp - 0x248], esi
call fcn.00408f70
push fcn.00402c60
push 3
push 0x18
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 4
push eax
call fcn.0040cf6b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], SysReAllocString
mov dword [ebp - 0x264], eax
nop dword [eax + eax]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x250]
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x27c], eax
cmp edi, eax
je 0x4040d2
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x403e62
mov eax, dword [edi]
lea edx, [ebp - 0x254]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404141
cmp dword [edi + 0x14], 8
mov ecx, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x244], 0x208
mov dword [ebp - 0x258], edi
jb 0x403ea3
mov ecx, dword [edi]
mov dword [ebp - 0x258], ecx
cmp eax, 8
jb 0x403f11
add eax, 0xfffffff9
mov esi, ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x26c], eax
mov ecx, eax
mov edx, 0
sub ecx, esi
sar ecx, 1
je 0x403ee1
cmp word [esi], 0x42
je 0x403edf
nop dword [eax]
cmp ecx, 1
je 0x403ee1
add esi, 2
dec ecx
cmp word [esi], 0x42
jne 0x403ed0
mov edx, esi
mov esi, edx
test esi, esi
je 0x403f11
push 8
mov edx, str.BLBeacon
mov ecx, esi
call fcn.004084d0
add esp, 4
test eax, eax
je 0x403f07
mov eax, dword [ebp - 0x26c]
add esi, 2
jmp 0x403eb6
sub esi, dword [ebp - 0x258]
sar esi, 1
jmp 0x403f14
or esi, 0xffffffff
cmp esi, 0xffffffff
mov dword [ebp - 0x230], 0
mov eax, 0x4316f4
mov dword [ebp - 0x22c], 7
mov edx, str.path
cmove edx, eax
xor eax, eax
mov ecx, edx
mov word [ebp - 0x240], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403f46
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x240]
call fcn.00407e50
mov byte [ebp - 4], 5
cmp dword [ebp - 0x230], 0
jne 0x403f73
xor eax, eax
jmp 0x403f87
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40430d
push 0x2f
xor eax, eax
mov dword [ebp - 0x284], 0
push str.Failed_to_query_registry_value_for_Chrome_path.
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.00407e50
mov edx, str.Error:
mov byte [ebp - 4], 6
mov ecx, 0x4361c0
call fcn.00408800
cmp dword [ebp - 0x280], 8
lea edx, [ebp - 0x294]
push dword [ebp - 0x284]
cmovae edx, dword [ebp - 0x294]
mov ecx, eax
call fcn.00409f30
add esp, 4
push eax
call fcn.00408ac0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x404061
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404057
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4043bc
push edx
push ecx
call fcn.0040d2e6
add esp, 8
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x4040b1
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4040a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4043bc
push edx
push ecx
call fcn.0040d2e6
add esp, 8
mov esi, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x260]
add edi, 0x18
mov dword [ebp - 0x258], edi
cmp edi, dword [ebp - 0x27c]
jne 0x403e58
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x220]
add eax, 4
mov dword [ebp - 0x264], eax
cmp eax, ecx
jne 0x403e30
mov esi, dword [ebp - 0x268]
xor eax, eax
push 0x22
push str.Chrome_path_not_found_in_registry.
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.00407e50
lea ecx, [ebp - 0x250]
call fcn.00407dd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040cf25
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
or esi, 2
mov eax, dword [edi + 0x10]
add eax, 0x1d
mov dword [ebp - 0x22c], 7
push eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x270], esi
call fcn.004066b0
mov edx, dword [ebp - 0x22c]
mov eax, edx
mov ecx, dword [ebp - 0x230]
sub eax, ecx
cmp eax, 0x1d
jb 0x4041d2
cmp edx, 8
lea esi, [ebp - 0x240]
push 0x3a
cmovae esi, dword [ebp - 0x240]
lea edi, [ecx + 0x1d]
push str.Failed_to_open_registry_key:
mov dword [ebp - 0x230], edi
lea eax, [esi + ecx*2]
push eax
call fcn.0040ea60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x258]
jmp 0x4041f3
push 0x1d
push str.Failed_to_open_registry_key:
mov byte [ebp - 0x274], 0
lea ecx, [ebp - 0x240]
push dword [ebp - 0x274]
push 0x1d
call fcn.00409370
cmp dword [edi + 0x14], 8
mov edx, edi
mov ecx, dword [edi + 0x10]
jb 0x404200
mov edx, dword [edi]
mov esi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
sub eax, esi
mov dword [ebp - 0x244], esi
cmp ecx, eax
ja 0x40425a
cmp dword [ebp - 0x22c], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x230], edi
push eax
mov eax, dword [ebp - 0x244]
lea esi, [ebp - 0x240]
cmovae esi, dword [ebp - 0x240]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.0040ea60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x258]
jmp 0x404275
push ecx
push edx
mov byte [ebp - 0x278], 0
push dword [ebp - 0x278]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00409370
mov edx, str.Error:
mov ecx, 0x4361c0
call fcn.00408800
cmp dword [ebp - 0x22c], 8
lea edx, [ebp - 0x240]
push dword [ebp - 0x230]
cmovae edx, dword [ebp - 0x240]
mov ecx, eax
call fcn.00409f30
add esp, 4
push eax
call fcn.00408ac0
mov esi, dword [ebp - 0x25c]
add esp, 4
and esi, 0xfffffffd
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x25c], esi
cmp edx, 8
jb 0x4040b7
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4042fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4043bc
push edx
push ecx
call fcn.0040d2e6
add esp, 8
jmp 0x4040b7
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x268]
lea ecx, [ebp - 0x220]
xor eax, eax
lea edx, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404340
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407e50
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x40439a
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404390
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4043bc
push edx
push ecx
call fcn.0040d2e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
jmp 0x404116
call fcn.00411af1
int3