joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bfc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00461390
add esp, 0xc
push str.GetNativeSystemInfo
push 0x49ccd4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41bff9
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x41c003
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x24], 9
je 0x41c015
cmp word [ebp - 0x24], 6
je 0x41c015
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret

Function at 0x41c06f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00461ffa
leave
ret

Function at 0x41c106
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x41c14f
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
je 0x41c14f
push edi
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push 0x41c0af
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x41c14e
cmp dword [ebp + 0xc], esi
je 0x41c147
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret

Function at 0x41c225
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push 0
push dword [ebp + 8]
call fcn.00461390
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x41c267
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push 0
push dword [ebp + 8]
call fcn.00461390
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push str.UninstallString
push str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41c2b9
push str.....
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x41c2bd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push 0
push dword [ebp + 8]
call fcn.00461390
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov ebx, str.UninstallString
push ebx
push str.Software360chromeUpdateClientState27D39816_7A3D_406c_9ABC_97FB55674016
mov edi, SysReAllocString
push edi
call esi
test eax, eax
je 0x41c31f
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ebx
push str.Software360ChromeXUpdateClientState3D30AC46_8F09_8BE3_6B29_DD54B0E9EDA6
push edi
call esi
test eax, eax
je 0x41c31f
xor eax, eax
jmp 0x41c330
push str.....
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41c335
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push 0
push dword [ebp + 8]
call fcn.00461390
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push str.UninstallString
push str.Software360ChromeXUpdateClientState3D30AC46_8F09_8BE3_6B29_DD54B0E9EDA6
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41c387
push str.....
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x41c38b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00461390
add esp, 0xc
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.360seFeedBack
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
pop ebp
ret

Function at 0x41c6a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x41c6bc
push 0x80004005
call fcn.0040d0f0
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x41c72b
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x41c726
cmp dword [ebp + 0x10], ebx
jbe 0x41c71c
cmp dword [ebp + 0x10], 2
jbe 0x41c70e
cmp dword [ebp + 0x10], 7
jne 0x41c71c
test cl, 1
jne 0x41c71c
shr ecx, 1
cmp ecx, 1
jb 0x41c71c
cmp word [esi + ecx*2 - 2], bx
jne 0x41c71c
cmp ecx, 1
jbe 0x41c72b
cmp word [esi + ecx*2 - 4], bx
jmp 0x41c71a
test cl, 1
jne 0x41c71c
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x41c72b
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x41c72b
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x41c74d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c7b6
cmp dword [ebp + 0x10], 1
je 0x41c78e
cmp dword [ebp + 0x10], 2
je 0x41c78e
push 0xd
pop eax
jmp 0x41c7b6
mov eax, dword [ebp - 4]
test edi, edi
je 0x41c7b0
test eax, eax
je 0x41c7ab
test al, 1
jne 0x41c789
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x41c7b0
jmp 0x41c789
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x41cdd3
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x140], eax
cmp eax, 0xffffffff
jne 0x41ce11
xor eax, eax
jmp 0x41cea9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea ecx, [ebp - 0x144]
push ecx
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push eax
call esi
test eax, eax
je 0x41ce9a
cmp dword [ebp - 0x144], 0x40
jne 0x41ce9a
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
jne 0x41ce9a
push edi
push edi
push dword [ebp - 8]
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [ebp - 8]
jne 0x41ce9a
push ebx
push edi
lea eax, [ebp - 0x144]
push eax
mov ebx, 0xf8
push ebx
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x140]
call esi
test eax, eax
je 0x41ce99
cmp dword [ebp - 0x144], ebx
jne 0x41ce99
cmp dword [ebp - 0x13c], 0x4550
jne 0x41ce99
cmp word [ebp - 0x136], di
je 0x41ce99
xor edi, edi
inc edi
pop ebx
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00461ffa
leave
ret
Function at 0x41e96b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00462010
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x1fff
push esi
lea eax, [ebp - 0x2003]
push 0
push eax
mov byte [ebp - 0x2004], 0
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41ea30
cmp eax, esi
ja 0x41ea30
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41ea30
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x49cc7c
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41ea30
mov esi, dword [ebp + 0x10]
push esi
push 0
push ebx
call fcn.00461390
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
dec esi
push esi
push ebx
call fcn.0041deca
xor eax, eax
add esp, 0x28
inc eax
jmp 0x41ea32
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461ffa
leave
ret

Function at 0x420b86
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], 1
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x49d398
push 0x49d360
push SysReAllocString
mov dword [ebp - 0x214], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00411a2b
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00461ffa
leave
ret
Function at 0x420e1a
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0x2c0
mov eax, 0x494a74
call fcn.004626c9
call fcn.0041c42e
test al, al
jne 0x420e3a
xor al, al
call fcn.0046274c
ret
mov eax, dword [0x4bd024]
mov dword [ebp - 0x2b4], eax
push 0x26
pop ecx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x2b0], ax
lea eax, [ebp - 0x2ae]
push ebx
mov esi, str.SoftwareClassesCLSID054AAE20_4BEA_4347_8A35_64A533254A9DLocalServer32
lea edi, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00461390
add esp, 0xc
mov dword [ebp - 0x2bc], 0x208
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c0], ebx
push 0x20119
lea eax, [ebp - 0xa8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.0040eeb3
lea ecx, [ebp - 0x2c8]
test eax, eax
je 0x420ed3
call fcn.0040ee30
lea ecx, [ebp - 0x2b4]
call fcn.0040e14c
jmp 0x420e32
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2b0]
push eax
push ebx
call fcn.0041c74d
test eax, eax
je 0x420ef3
lea ecx, [ebp - 0x2c8]
jmp 0x420ebe
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00411a2b
mov eax, dword [0x4bd024]
mov dword [ebp - 0x2b8], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ebx
push ebx
mov edi, str.CommonProgramW6432
push edi
mov byte [ebp - 4], 2
call esi
mov dword [ebp - 0x2cc], eax
cmp eax, ebx
je 0x420f72
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045fbe4
pop ecx
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2bc], eax
push eax
push edi
call esi
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2b8]
call fcn.00411a2b
push dword [ebp - 0x2bc]
call fcn.00461b87
pop ecx
jmp 0x420fb7
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
push ebx
push 0x4a4c54
xor esi, esi
call eax
lea ecx, [ebp - 0x2b8]
test eax, eax
jns 0x420fa9
call fcn.0040e14c
jmp 0x420eeb
push dword [esi]
call fcn.00411a2b
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x2b4]
cmp dword [eax - 8], ebx
jne 0x420fea
lea ecx, [ebp - 0x2b8]
call fcn.0040e14c
lea ecx, [ebp - 0x2c8]
call fcn.0040ee30
lea ecx, [ebp - 0x2b4]
call fcn.0040e14c
mov al, bl
jmp 0x420e34
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
push str._CommonProgramFiles_
call fcn.0041ad44
push 5
push ebx
push ebx
push dword [ebp - 0x2b4]
push 0x4ad860
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
jmp 0x420fc2
Function at 0x4217c1
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x494b9e
call fcn.00462660
push 0x40
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00461390
or dword [ebp - 0x34], 1
xor eax, eax
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0x10]
mov word [ebp - 0x30], ax
mov eax, dword [0x4bd024]
mov dword [ebp - 0x60], 0x44
mov dword [ebp + 0x10], eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push str.__s___s
push eax
call fcn.00413187
add esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x208
lea ecx, [ebp + 0x10]
call fcn.0040febf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
mov edi, eax
call fcn.004111f6
cmp edi, esi
je 0x421869
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
lea ecx, [ebp + 0x10]
call fcn.0040e14c
mov eax, edi
call fcn.00462738
ret

Function at 0x421924
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x7f
xor ebx, ebx
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], 0
call fcn.00461390
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add esp, 0xc
push eax
push ecx
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
call fcn.0042059b
push 0x100
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
cmp edi, ebx
jne 0x421996
xor al, al
jmp 0x4219b4
mov eax, dword [edi + 0xc]
cmp dword [eax], ebx
je 0x4219b2
push dword [eax]
mov ecx, esi
call fcn.004210b7
mov eax, dword [edi + 0xc]
inc ebx
lea eax, [eax + ebx*4]
cmp dword [eax], 0
jne 0x42199d
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461ffa
leave
ret
Function at 0x421b12
Capabilities:
Check os version
Get common file path

Disassembly:
push 0x334
mov eax, 0x494c7a
call fcn.004626c9
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x334]
push edi
push eax
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
mov dword [ebp - 0x334], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
inc esi
test eax, eax
je 0x421b6c
cmp dword [ebp - 0x330], 6
jne 0x421b6c
cmp dword [ebp - 0x32c], esi
jne 0x421b6c
mov eax, esi
call fcn.0046274c
ret
push edi
push 0x25
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x4bd024]
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x338]
push 0x4aded8
push eax
mov dword [ebp - 4], edi
call fcn.00413187
add esp, 0xc
push 0x49d534
lea ecx, [ebp - 0x338]
call fcn.0040fe97
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x338]
mov dword [ebp - 0x340], edi
mov dword [ebp - 0x33c], edi
call fcn.0041ba6b
add esp, 0xc
test eax, eax
je 0x421c0a
mov eax, dword [ebp - 0x33c]
shr eax, 0x10
cmp ax, 6
jne 0x421c0a
cmp word [ebp - 0x33c], si
jne 0x421c0a
lea ecx, [ebp - 0x338]
call fcn.0040e14c
jmp 0x421b64
xor esi, esi
jmp 0x421bfa

Function at 0x42235a
Capabilities:
Identify system language via api

Disassembly:
push 0x28
mov eax, 0x494e7e
call fcn.004626c9
mov eax, dword [ebp + 8]
and dword [ebp - 0x30], 0
mov di, word [ebp + 0xc]
mov bx, word [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov word [ebp - 0x20], di
mov word [ebp - 0x1e], bx
call esi
mov word [ebp - 0x18], di
mov word [ebp - 0x1c], ax
mov edi, 0x4e4
mov eax, edi
mov word [ebp - 0x1a], bx
mov word [ebp - 0x16], ax
call esi
mov word [ebp - 0x12], di
xor edi, edi
mov word [ebp - 0x14], ax
xor esi, esi
mov edx, dword [0x4bd024]
movzx eax, word [ebp + esi*2 - 0x20]
movzx ecx, word [ebp + esi*2 - 0x1e]
add esi, 2
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edx
push ecx
push eax
lea eax, [ebp - 0x28]
push str.StringFileInfo_04x_04xCompanyName
push eax
mov dword [ebp - 4], edi
call fcn.00413187
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x34]
call sub.VERSION.dll_VerQueryValueW
cmp eax, edi
jne 0x422423
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e14c
cmp esi, 8
jb 0x4223b3
mov ecx, dword [ebp - 0x24]
push 0x4ad860
call fcn.004130cd
mov eax, dword [ebp - 0x24]
call fcn.0046274c
ret
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
call fcn.004130cd
lea ecx, [ebp - 0x28]
call fcn.0040e14c
jmp 0x42241a
Function at 0x422438
Capabilities:
Get file version info

Disassembly:
push 0x10
mov eax, 0x494ebb
call fcn.00462660
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x422474
mov eax, dword [0x4bd024]
mov esi, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [esi], eax
call fcn.0040e14c
mov eax, esi
jmp 0x42252f
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045fbe4
push edi
mov esi, eax
push ebx
push esi
call fcn.00461390
add esp, 0x10
push esi
push edi
push ebx
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
mov eax, dword [0x4bd024]
je 0x422460
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push str.VarFileInfoTranslation
push esi
mov byte [ebp - 4], 1
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x422505
cmp dword [ebp - 0x14], 4
jb 0x422505
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, eax
push esi
shr ecx, 0x10
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042235a
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004119d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040e14c
cmp esi, ebx
je 0x422510
push esi
call fcn.00461b87
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00413097
lea ecx, [ebp - 0x10]
call fcn.0040e14c
lea ecx, [ebp + 0xc]
call fcn.0040e14c
mov eax, dword [ebp + 8]
call fcn.00462738
ret

Function at 0x422535
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x21c
mov eax, 0x494eec
call fcn.004626c9
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor esi, esi
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 0x220], 1
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push str.InstallLocation
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall052CFB79_9D62_42E3_8A15_DE66C2C97C3E
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x228], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004130cd
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], esi
cmp dword [eax - 8], esi
jne 0x4225d5
lea ecx, [ebp - 0x21c]
call fcn.0040e14c
mov eax, esi
call fcn.0046274c
ret
push str.BinQQ.exe
lea ecx, [ebp - 0x224]
call fcn.004130cd
mov eax, dword [eax]
push eax
push dword [eax - 8]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0040e275
lea ecx, [ebp - 0x224]
call fcn.0040e14c
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
jmp 0x4225c2
Function at 0x422615
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], 1
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.last_install_path
push str.Software360360se6Chrome
push SysReAllocString
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004130cd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00461ffa
leave
ret

Function at 0x4226b9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], 1
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.last_install_path
push str.Software360ChromeChrome
push SysReAllocString
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004130cd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00461ffa
leave
ret

Function at 0x4228b5
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x214
mov eax, 0x494fac
call fcn.004626c9
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x21c], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x220], esi
call fcn.00461390
add esp, 0xc
push edi
push 0x26
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004130cd
push str.internet_exploreriexplore.exe
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
call fcn.0040fe97
mov eax, esi
call fcn.0046274c
ret