joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b840
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b8b6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x40b885
cmp eax, 2
jne 0x40b8a1
mov eax, dword [esp + 0x14]
test esi, esi
je 0x40b8b0
test eax, eax
je 0x40b8ab
test al, 1
jne 0x40b8a1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40b8b0
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x40b9b0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4bf21b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov dword [esi], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x18], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
push eax
call fcn.00404760
add eax, 0x10
add esp, 8
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 5
jne 0x40ba23
xor eax, eax
jmp 0x40ba35
mov eax, dword [esp + 0x28]
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x200
mov dword [esi + 0xc], eax
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x40bd90
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
or edx, 1
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bdf4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 8]
push ecx
mov ecx, dword [esp + 8]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret

Function at 0x40bf40
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 8]
push ecx
push 0
or edx, 0x20006
push edx
push 0
push 0
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40bfaf
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 8]
push ecx
mov ecx, dword [esp + 8]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x40ccd0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c0f30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40ce18
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40ce18
test esi, esi
je 0x40ce18
mov eax, dword [edi]
test eax, eax
je 0x40ce18
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push esi
lea edx, [esp + 0x1c]
push edx
push ecx
push ebp
push SysReAllocStringLen
mov dword [esp + 0x2c], 1
call ebx
test eax, eax
jne 0x40cdae
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40cdae
push esi
lea ecx, [esp + 0x10]
mov dword [edi], eax
call fcn.00404050
push 0
push 0x4d65b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.00410220
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0xc]
test eax, eax
je 0x40cda1
call fcn.00404550
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x20], 0xffffffff
call fcn.00404550
mov ecx, dword [edi]
lea edx, [esp + 0x28]
push edx
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
push ecx
push ebp
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x40ce18
cmp dword [edi], eax
je 0x40ce18
mov edx, dword [esp + 0x28]
push esi
lea ecx, [esp + 0x14]
mov dword [edi], edx
call fcn.00404050
push 0
push 0x4d65b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
call fcn.00410220
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x10]
test eax, eax
jne 0x40cd88
call fcn.00404550
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x40cfd0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
sub esp, 0x61c
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x618], eax
xor eax, eax
cmp eax, str.Google
je 0x40d171
xor ecx, ecx
cmp ecx, str.Chrome
je 0x40d171
xor edx, edx
cmp edx, str.glcimepnljoholdmjchkloafkggfoijh
je 0x40d171
push esi
push edi
push 0x206
push edx
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00497680
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x42e]
push eax
mov word [esp + 0x430], dx
call fcn.00497680
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x232]
push edx
mov word [esp + 0x234], cx
call fcn.00497680
add esp, 0x24
push 0x104
lea eax, [esp + 0x41c]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.glcimepnljoholdmjchkloafkggfoijh
push str.Chrome
push str.Google
push str...Local_s_sUser_DataDefaultExtensions_s
lea ecx, [esp + 0x220]
push 0x104
push ecx
call fcn.00408640
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x18
lea edx, [esp + 0x210]
push edx
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 8]
push edx
call edi
test eax, eax
je 0x40d0e9
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.00497941
add esp, 0x61c
ret
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00497680
push 0x208
lea ecx, [esp + 0x220]
push 0
push ecx
call fcn.00497680
push str.glcimepnljoholdmjchkloafkggfoijh
push str.Chrome
push str.Google
push str...Local_SettingsApplication_Data_s_sUser_DataDefaultExtensions_s
lea edx, [esp + 0x238]
push 0x104
push edx
call fcn.00408640
add esp, 0x30
lea eax, [esp + 0x210]
push eax
lea ecx, [esp + 0x41c]
push ecx
lea edx, [esp + 0x10]
push edx
call esi
lea eax, [esp + 8]
push eax
call edi
test eax, eax
pop edi
setne al
pop esi
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.00497941
add esp, 0x61c
ret
mov ecx, dword [esp + 0x618]
xor ecx, esp
xor al, al
call fcn.00497941
add esp, 0x61c
ret
Function at 0x40db60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c1cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, 7
xor edx, edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esp + 0x1c], esi
mov word [esi + 4], dx
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x34], edi
mov word [esp + 0x24], ax
mov eax, ecx
mov dword [esp + 0x250], 1
lea ebx, [eax + 2]
jmp 0x40dbe0
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x40dbe0
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004054b0
push 0x13
push str._shellopencommand
lea ecx, [esp + 0x28]
call fcn.00408370
mov eax, dword [esp + 0x24]
mov ebx, 8
mov dword [esp + 0xc], edi
cmp dword [esp + 0x38], ebx
jae 0x40dc21
lea eax, [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40dca9
push 0x206
lea eax, [esp + 0x42]
xor edx, edx
push edi
push eax
mov dword [esp + 0x1c], edi
mov word [esp + 0x48], dx
call fcn.00497680
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x18]
push eax
push edi
push edi
push ecx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x40dc9e
cmp dword [esp + 0x10], 1
jne 0x40dc9e
mov edx, dword [esp + 0x14]
and edx, 0xfffffffe
cmp edx, 0x208
jae 0x40dc9e
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00405480
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x38], ebx
jb 0x40dcbc
mov edx, dword [esp + 0x24]
push edx
call fcn.00493cb0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00497941
add esp, 0x248
ret
Function at 0x40de80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c0ef2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x21c], eax
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
xor eax, eax
mov dword [esp + 8], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], esi
mov word [esi + 4], ax
lea ecx, [esp + 8]
push ecx
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov dword [esp + 0x238], edi
push SysReAllocStringLen
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40df75
push 0x206
lea eax, [esp + 0x22]
xor edx, edx
push edi
push eax
mov dword [esp + 0x1c], edi
mov word [esp + 0x28], dx
call fcn.00497680
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push edi
push str.Progid
push ecx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40df6a
cmp dword [esp + 0x10], 1
jne 0x40df6a
mov edx, dword [esp + 0xc]
and edx, 0xfffffffe
cmp edx, 0x208
jae 0x40df6a
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00405480
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00497941
add esp, 0x22c
ret
Function at 0x40e400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c5751
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
mov dword [esp + 0x38], eax
mov ecx, 0x4d7614
lea edi, [esp + 0x14]
mov dword [esp + 0xc], 1
call fcn.0040dcf0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x44], 1
call fcn.00405ad0
cmp dword [esp + 0x2c], 8
jb 0x40e48b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00493cb0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x40e4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c56f9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], 0
mov dword [esp + 0x10], ebx
mov word [ebx + 4], ax
mov dword [esp + 0x58], eax
mov edi, 1
lea esi, [esp + 0x30]
mov dword [esp + 0xc], edi
call fcn.0040de80
mov dword [esp + 0x58], edi
cmp dword [esp + 0x44], 0
lea esi, [edi + 7]
je 0x40e54f
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x40e522
lea ecx, [esp + 0x34]
lea edi, [esp + 0x14]
call fcn.0040dcf0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x64], 2
call fcn.00405ad0
cmp dword [esp + 0x2c], esi
jb 0x40e54f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00493cb0
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x40e562
mov edx, dword [esp + 0x34]
push edx
call fcn.00493cb0
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00497941
add esp, 0x50
ret
Function at 0x40eb00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0xc], 1
mov word [esp + 0x14], ax
call fcn.00497680
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push str.clid
push str.SOFTWAREYandexYandexBrowser
push SysReAllocStringLen
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40eb7d
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00497941
add esp, 0x214
ret
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40eb84
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004054b0
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov al, 1
call fcn.00497941
add esp, 0x214
ret

Function at 0x40ec70
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, eax
push edi
push ebx
mov ecx, str.Opera.exe
call fcn.0040e590
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
test al, al
je 0x40ecac
cmp dword [ebx + 0x14], 0
je 0x40ecac
cmp dword [ebx + 0x18], 8
jb 0x40ec9d
mov eax, dword [ebx + 4]
jmp 0x40eca0
lea eax, [ebx + 4]
push eax
call edi
test eax, eax
je 0x40ecac
mov al, 1
pop edi
pop ebx
ret
mov edx, str.Last_Stable_Install_Path
mov ecx, str.SOFTWAREOpera_Software
call fcn.0040cec0
test al, al
je 0x40ecf1
push 0xc
push str.launcher.exe
mov ecx, ebx
call fcn.00408370
cmp dword [ebx + 0x18], 8
jb 0x40ece2
mov ebx, dword [ebx + 4]
push ebx
call edi
neg eax
sbb eax, eax
neg eax
pop edi
pop ebx
ret
add ebx, 4
push ebx
call edi
neg eax
sbb eax, eax
neg eax
pop edi
pop ebx
ret
pop edi
xor al, al
pop ebx
ret
Function at 0x40ed00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x82c
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x828], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42a]
push ecx
mov word [esp + 0x42c], ax
call fcn.00497680
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22e]
push eax
mov word [esp + 0x230], dx
call fcn.00497680
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x18
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x14]
push eax
push str.UninstallString
push str.SOFTWAREGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push SysReAllocStringLen
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x208
call esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x21c]
push edx
lea eax, [esp + 0x14]
push eax
push str.UninstallString
push str.SOFTWAREGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x208
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00497680
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea edx, [esp + 0x420]
push edx
call edi
test eax, eax
je 0x40ee10
lea eax, [esp + 0x10]
lea esi, [esp + 0x420]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
jmp 0x40edf0
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x40ee56
movzx ecx, word [esi + eax]
test cx, cx
je 0x40ee56
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x40edf0
jmp 0x40ee5a
lea eax, [esp + 0x218]
push eax
call edi
test eax, eax
je 0x40eee8
lea eax, [esp + 0x10]
lea esi, [esp + 0x218]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x40ee56
movzx ecx, word [esi + eax]
test cx, cx
je 0x40ee56
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x40ee36
jmp 0x40ee5a
test edx, edx
jne 0x40ee5d
sub eax, 2
xor edx, edx
push 0x208
mov word [eax], dx
push edx
lea eax, [esp + 0x630]
push eax
call fcn.00497680
add esp, 0xc
push str.......chrome.exe
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x630]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x40eee8
lea eax, [esp + 0x628]
push eax
call edi
test eax, eax
je 0x40eee8
lea eax, [esp + 0x628]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40eeb0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x62c]
push ecx
mov ecx, ebx
call fcn.004054b0
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.00497941
add esp, 0x82c
ret
mov ecx, dword [esp + 0x830]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.00497941
add esp, 0x82c
ret
Function at 0x40ef10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c1c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
lea ebx, [esp + 8]
mov dword [esp + 0x440], eax
call fcn.0040ed00
test al, al
je 0x40f021
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2e]
push eax
mov word [esp + 0x30], dx
call fcn.00497680
push str.glcimepnljoholdmjchkloafkggfoijh
push str.....User_DataDefaultExtensions_s
lea ecx, [esp + 0x38]
push 0x104
push ecx
call fcn.00408640
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x252]
push eax
mov word [esp + 0x254], dx
call fcn.00497680
mov eax, dword [esp + 0x34]
add esp, 0x28
cmp dword [esp + 0x20], 8
jae 0x40efd6
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x40f021
lea eax, [esp + 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f00d
lea ecx, [esp + 8]
call fcn.00405450
mov al, 1
jmp 0x40f037
call fcn.0040cfd0
lea ecx, [esp + 8]
mov bl, al
call fcn.00405450
mov al, bl
jmp 0x40f037
cmp dword [esp + 0x20], 8
jb 0x40f035
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00493cb0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.00497941
add esp, 0x43c
ret
Function at 0x40f440
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c4856
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x264]
xor esi, esi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], ax
mov dword [esp + 0x25c], esi
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], cx
lea ebx, [esp + 0x2c]
mov edx, str.InstallLocation
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
mov byte [esp + 0x25c], 1
call fcn.0040cec0
test al, al
je 0x40f582
lea ebx, [esp + 0x10]
mov edx, str.DisplayVersion
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
call fcn.0040cec0
test al, al
je 0x40f582
push 0x206
lea eax, [esp + 0x4e]
xor edx, edx
push esi
push eax
mov word [esp + 0x54], dx
call fcn.00497680
mov ecx, dword [esp + 0x20]
mov ebx, 8
add esp, 0xc
cmp dword [esp + 0x28], ebx
jae 0x40f51b
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x40f529
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f587
lea eax, [esp + 0x48]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40f550
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004054b0
lea ecx, [esp + 0x10]
call fcn.00405450
lea ecx, [esp + 0x2c]
call fcn.00405450
mov al, 1
jmp 0x40f5c2
mov ebx, 8
cmp dword [esp + 0x28], ebx
jb 0x40f59a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00493cb0
add esp, 4
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], dx
cmp dword [esp + 0x44], ebx
jb 0x40f5c0
mov eax, dword [esp + 0x30]
push eax
call fcn.00493cb0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00497941
add esp, 0x250
ret
Function at 0x40f5f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c4856
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x264]
xor esi, esi
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], ax
mov dword [esp + 0x25c], esi
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], cx
lea ebx, [esp + 0x2c]
mov edx, str.InstallLocation
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
mov byte [esp + 0x25c], 1
call fcn.0040cec0
test al, al
je 0x40f732
lea ebx, [esp + 0x10]
mov edx, str.DisplayVersion
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
call fcn.0040cec0
test al, al
je 0x40f732
push 0x206
lea eax, [esp + 0x4e]
xor edx, edx
push esi
push eax
mov word [esp + 0x54], dx
call fcn.00497680
mov ecx, dword [esp + 0x20]
mov ebx, 8
add esp, 0xc
cmp dword [esp + 0x28], ebx
jae 0x40f6cb
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x40f6d9
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f737
lea eax, [esp + 0x48]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40f700
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004054b0
lea ecx, [esp + 0x10]
call fcn.00405450
lea ecx, [esp + 0x2c]
call fcn.00405450
mov al, 1
jmp 0x40f772
mov ebx, 8
cmp dword [esp + 0x28], ebx
jb 0x40f74a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00493cb0
add esp, 4
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], dx
cmp dword [esp + 0x44], ebx
jb 0x40f770
mov eax, dword [esp + 0x30]
push eax
call fcn.00493cb0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00497941
add esp, 0x250
ret