joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ee6e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x260
mov eax, 0x43bfe1
call fcn.00423093
mov ebx, ecx
mov eax, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x268], eax
xor eax, eax
push 0x206
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x256]
push edi
push eax
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x264], 1
call fcn.00422860
add esp, 0xc
mov dword [ebp - 0x26c], 0x104
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x264]
push eax
push 0x448db8
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Game5.exe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40efea
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40efea
xor eax, eax
push 0x3e
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push edi
push eax
call fcn.00422860
lea eax, [ebp - 0x258]
push eax
push 0x448d64
push 0x103
push esi
call fcn.00420412
push 0x1f
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.0041b3c0
add esp, 0x20
test eax, eax
je 0x40efea
lea ecx, [ebp - 0x50]
call fcn.004080cc
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x14e4]
call fcn.00408040
mov edx, str.5.1.0.1001
lea ecx, [ebp - 0x50]
call fcn.0041a080
test eax, eax
jle 0x40efcf
call fcn.004083ea
push eax
lea ecx, [ebp - 0x25c]
call fcn.00407e3b
push 0x449914
mov dword [ebp - 4], edi
lea eax, [ebp - 0x25c]
push dword [ebx + 8]
push str._s360Game5_bin_s
push eax
call fcn.0040a280
add esp, 0x10
lea ecx, [ebp - 0x25c]
push esi
call fcn.00407dac
neg eax
sbb eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x25c]
neg eax
mov dword [0x45f4b8], eax
inc edi
lea ecx, [ecx - 0x10]
call fcn.0040233b
lea edx, [ebp - 0x50]
mov ecx, str.6.0.0.0000
call fcn.0041a080
test eax, eax
jle 0x40efea
mov dword [ebx + 0x14dc], 1
mov eax, dword [ebp - 0x268]
mov dword [eax], edi
mov eax, edi
call fcn.00423042
ret 0xc
Function at 0x40fd2d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c188
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4516e0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x4516e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004083ea
push eax
lea ecx, [esp + 0x18]
call fcn.00407e3b
and dword [esp + 0x60], 0
lea eax, [esp + 0x14]
push dword [ebx + 8]
push str._s360Game5data360Game.ini
push eax
call fcn.0040a280
mov esi, dword [esp + 0x20]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fdd2
push ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00410c8e
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00409de8
mov byte [esp + 0x60], 0
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov esi, dword [esp + 0x14]
mov edi, 0x449b54
lea ecx, [esp + 0x20]
push edi
call fcn.00404345
lea eax, [esp + 0x20]
mov byte [esp + 0x60], 2
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00408c1d
mov ecx, eax
call fcn.00408cfc
mov byte [esp + 0x60], 3
cmp dword [eax + 0x14], 8
jb 0x40fe09
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
call fcn.00407cf7
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.0040439c
push 0
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 6
call fcn.0040439c
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x40fe6c
lea eax, [esp + 0x1c]
push eax
call fcn.0040a7d7
mov ecx, eax
call fcn.00413a73
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 7
call fcn.00409de8
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov eax, dword [esp + 0x18]
push esi
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.main
call edi
cmp dword [ebx + 0x14ac], 0
je 0x40fe97
push esi
push 0x449b68
push 0x449b6c
push str.main
call edi
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040233b
lea ecx, [esi - 0x10]
call fcn.0040233b
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041e635
mov esp, ebp
pop ebp
ret
Function at 0x410295
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 0xc
mov eax, 0x43c281
call fcn.00423060
mov edi, ecx
xor esi, esi
call fcn.0040ff2d
push 0x448d58
lea edx, [edi + 0x44]
lea ecx, [ebp - 0x18]
call fcn.004133f8
and dword [ebp - 4], esi
lea ecx, [ebp - 0x10]
mov edx, eax
mov dword [esp], 0x449914
call fcn.004133f8
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040233b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41034f
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push dword [edi + 0x3c]
push dword [ebp - 0x10]
call ebx
mov esi, eax
test esi, esi
jne 0x41034f
push str..tmp
lea edx, [edi + 0x3c]
lea ecx, [ebp - 0x14]
call fcn.004133f8
pop ecx
push 1
push dword [ebp - 0x14]
push dword [edi + 0x3c]
call ebx
push esi
push dword [edi + 0x3c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
test esi, esi
je 0x410344
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x410344
push 4
push eax
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov eax, esi
call fcn.0042302e
ret
Function at 0x410a1f
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0041bf90
cmp eax, 1
jne 0x410b86
cmp dword [esi + 4], 5
jg 0x410b86
push ebx
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x414], ax
xor ebx, ebx
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.00422860
add esp, 0xc
lea eax, [ebp - 0x414]
push ebx
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00422860
lea eax, [ebp - 0x414]
mov esi, 0x103
push eax
push str._smsxml3.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00420412
xor eax, eax
push edi
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push ebx
push eax
call fcn.00422860
lea eax, [ebp - 0x20c]
push eax
push str._s__s
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00420412
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x658]
push ebx
push eax
call fcn.00422860
add esp, 0x44
mov dword [ebp - 0x658], esi
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x654], 0x40
mov dword [ebp - 0x644], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x650], ebx
push eax
mov dword [ebp - 0x64c], str.open
mov dword [ebp - 0x648], str.RegSvr32.exe
mov dword [ebp - 0x63c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop ebx
test eax, eax
je 0x410b86
lea ecx, [ebp - 0x20c]
call fcn.00401d6b
test eax, eax
je 0x410b86
lea eax, [ebp - 0x658]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x410b86
push 0x4e20
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041e635
mov esp, ebp
pop ebp
ret
Function at 0x410cd6
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x43c39a
call fcn.00423060
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x410db5
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x410db5
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x43e448
push ecx
push 0
push 0x43e468
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x410da2
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push 0x43e478
push eax
mov ecx, dword [eax]
call dword [ecx]
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x410d91
mov eax, dword [ebp - 0x10]
push 1
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x410d91
mov eax, dword [ebp - 0x14]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x410d91
mov eax, dword [ebp - 0x10]
push 1
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
xor ebx, ebx
test eax, eax
setns bl
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410da2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x410db7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x410db7
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040233b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040233b
mov eax, ebx
call fcn.0042302e
ret 8

Function at 0x410ded
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x14e0]
cmp dword [eax - 0xc], edi
je 0x410ea0
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00422860
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push str.360Game5data
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410e75
lea ecx, [ebp - 0x20c]
call fcn.0041adb0
push str.360Game.ini
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x14e0]
push str.memory
push str.main
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041e635
mov esp, ebp
pop ebp
ret
Function at 0x410eb0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0x21c
mov eax, 0x43c3cb
call fcn.00423093
mov esi, ecx
cmp dword [0x45ea58], 0
je 0x410eed
cmp dword [0x45f4b0], 0
jne 0x410ee0
call fcn.00411121
test eax, eax
je 0x41106e
cmp dword [0x45f4ac], 0
jne 0x41106e
cmp dword [0x45f4b0], 0
jne 0x41106e
lea eax, [ebp - 0x224]
xor ebx, ebx
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41106e
mov eax, dword [0x45f4a8]
test eax, eax
je 0x410f3a
cmp dword [esi + 0x14a8], ebx
jne 0x410f4e
cmp dword [0x45ea58], ebx
jne 0x410f4e
cmp dword [0x45f4b4], ebx
je 0x410fe5
test eax, eax
jne 0x410fe5
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.360Game
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411062
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00407cf7
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.0041332a
push ebx
push str.360game.exe
lea ecx, [ebp - 0x220]
call fcn.0040862f
test eax, eax
js 0x411074
push ebx
push str.gamear
lea ecx, [ebp - 0x220]
call fcn.0040862f
test eax, eax
js 0x411074
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040233b
call fcn.004083ea
push eax
lea ecx, [ebp - 0x21c]
call fcn.00407e3b
mov dword [ebp - 4], 1
lea eax, [ebp - 0x21c]
push dword [esi + 0x3c]
push str.__s____typetray__from:autorun
push eax
call fcn.0040a280
mov esi, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x411035
push edi
lea ecx, [ebp - 0x21c]
call fcn.00408480
mov esi, dword [ebp - 0x21c]
lea eax, [edi + edi]
push eax
push esi
push 1
push ebx
push 0x4498d0
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004137a2
lea ecx, [esi - 0x10]
call fcn.0040233b
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00423042
ret
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
jmp 0x41105d
Function at 0x41107f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4110a5
xor eax, eax
inc eax
jmp 0x411112
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00422860
lea edx, [ebp - 0x20c]
add esp, 0xc
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4110cd
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x411112
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x411109
lea ecx, [ebp - 0x20c]
call fcn.0041107f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041e635
mov esp, ebp
pop ebp
ret

Function at 0x411121
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x260
mov eax, 0x43c409
call fcn.00423093
mov edi, ecx
xor eax, eax
xor esi, esi
push 0x208
mov word [ebp - 0x25c], ax
xor ebx, ebx
lea eax, [ebp - 0x25a]
inc ebx
push esi
push eax
mov dword [ebp - 0x26c], ebx
call fcn.00422860
add esp, 0xc
mov dword [ebp - 0x268], 0x104
cmp dword [0x461394], esi
je 0x411177
mov eax, dword [0x45f4b4]
jmp 0x411284
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x26c]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Game.exe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41127f
call fcn.004083ea
push eax
lea ecx, [ebp - 0x264]
call fcn.00407e3b
push 0x449914
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x264]
push 0x448dec
push eax
call fcn.0040a280
xor eax, eax
push 0x3e
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push esi
push eax
call fcn.00422860
mov esi, dword [ebp - 0x264]
lea edx, [ebp - 0x50]
push 0x1f
mov ecx, esi
call fcn.0041b3c0
add esp, 0x20
test eax, eax
je 0x411277
mov edx, str.5.1.0.1001
lea ecx, [ebp - 0x50]
call fcn.0041a080
test eax, eax
jns 0x411277
call fcn.004083ea
push eax
lea ecx, [ebp - 0x260]
call fcn.00407e3b
push 0x449914
mov byte [ebp - 4], bl
lea eax, [ebp - 0x260]
push dword [edi + 8]
push str._s360Game_bin_s
push eax
call fcn.0040a280
add esp, 0x10
lea ecx, [ebp - 0x260]
push esi
call fcn.00407dac
mov ecx, dword [ebp - 0x260]
neg eax
mov dword [0x461394], ebx
sbb eax, eax
mov dword [0x45f4b4], ebx
neg eax
lea ecx, [ecx - 0x10]
mov dword [0x45f4bc], eax
call fcn.0040233b
lea ecx, [esi - 0x10]
call fcn.0040233b
mov eax, dword [0x461394]
call fcn.00423042
ret
Function at 0x41128a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x47c
mov eax, 0x43c43c
call fcn.00423093
xor eax, eax
xor esi, esi
push 0x208
mov word [ebp - 0x470], ax
xor ebx, ebx
lea eax, [ebp - 0x46e]
inc ebx
push esi
push eax
mov dword [ebp - 0x484], ebx
call fcn.00422860
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x480]
add esp, 0xc
mov dword [ebp - 0x480], 0x104
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x484]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Game.exe
push SysReAllocString
call edi
test eax, eax
jne 0x411470
call fcn.004083ea
push eax
lea ecx, [ebp - 0x474]
call fcn.00407e3b
push 0x449914
lea eax, [ebp - 0x470]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x474]
push 0x448dec
push eax
call fcn.0040a280
xor eax, eax
push 0x3e
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push esi
push eax
call fcn.00422860
mov esi, dword [ebp - 0x474]
lea edx, [ebp - 0x50]
push 0x1f
mov ecx, esi
call fcn.0041b3c0
add esp, 0x20
test eax, eax
je 0x411468
mov edx, str.5.1.0.1001
lea ecx, [ebp - 0x50]
call fcn.0041a080
test eax, eax
jns 0x4113e1
xor eax, eax
mov dword [ebp - 0x474], ebx
push 0x208
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.00422860
add esp, 0xc
mov dword [ebp - 0x478], 0x20a
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x474]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Game
push SysReAllocString
call edi
test eax, eax
jne 0x4113d6
cmp word [ebp - 0x260], ax
jne 0x411468
mov dword [0x45f4a8], ebx
jmp 0x411468
call fcn.0040a7d7
lea eax, [ebp - 0x478]
push eax
call fcn.00413ce2
xor eax, eax
mov dword [ebp - 0x488], ebx
push 0x208
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.00422860
add esp, 0xc
mov dword [ebp - 0x47c], 0x20a
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x488]
push eax
push str.UninstallString
push dword [ebp - 0x478]
push SysReAllocString
call edi
test eax, eax
jne 0x411454
cmp word [ebp - 0x260], ax
jne 0x41145a
mov dword [0x45f4ac], ebx
mov ecx, dword [ebp - 0x478]
lea ecx, [ecx - 0x10]
call fcn.0040233b
lea ecx, [esi - 0x10]
call fcn.0040233b
call fcn.00423042
ret
Function at 0x411de7
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push 0x420
mov eax, 0x43bef9
call fcn.00423093
mov edi, ecx
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.00422860
xor eax, eax
push esi
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00422860
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
add esp, 0x18
mov ebx, 0x104
push ebx
push eax
push dword [edi + 0x40]
call esi
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [edi + 0x3c]
call esi
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
call fcn.00407cf7
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.00407cf7
mov byte [ebp - 4], 1
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Game.exe
mov eax, dword [ebp - 0x428]
mov esi, SysReAllocString
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x448db8
push ebx
push esi
call edi
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.Path
push ebx
push esi
call edi
push 0x5c
push dword [ebp - 0x424]
call fcn.0041e87b
pop ecx
pop ecx
test eax, eax
je 0x411f18
sub eax, dword [ebp - 0x424]
sar eax, 1
cmp eax, 0xffffffff
je 0x411f18
push eax
push 0
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x424]
call fcn.00408669
mov esi, dword [ebp - 0x42c]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.PathSub
push ebx
push SysReAllocString
call edi
lea ecx, [esi - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.0040233b
call fcn.00423042
ret
Function at 0x412634
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x430
mov eax, 0x43c5c4
call fcn.00423093
xor eax, eax
mov dword [ebp - 0x42c], 1
push 0x208
mov word [ebp - 0x424], ax
xor esi, esi
lea eax, [ebp - 0x422]
push esi
push eax
call fcn.00422860
add esp, 0xc
mov dword [ebp - 0x430], 0x104
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x448db8
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Game5.exe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x412734
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 4], esi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.00422860
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x10
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.004083ea
push eax
lea ecx, [ebp - 0x428]
call fcn.00407e3b
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x428]
push 0x44a354
push eax
call fcn.0040a280
mov ecx, dword [ebp - 0x428]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0040233b
lea ecx, [ebp - 0x43c]
call fcn.004134af
call fcn.00423042
ret

Function at 0x412942
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4516e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00422860
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x104
mov edi, 0x44a38c
mov ebx, str.SOFTWARE360Game5
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4129dc
cmp word [ebp - 0x210], 0
jne 0x4129dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push edi
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0041e635
mov esp, ebp
pop ebp
ret 4
Function at 0x412c1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [ebp - 8], eax
inc ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test ebx, ebx
je 0x412c4f
push 0x4499f0
push str.DUIWindow
call dword [sym.imp.USER32.dll_FindWindowW]
xor ebx, ebx
jmp 0x412c5c
push 0
push str.DUIWindow
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x412c87
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0xc8
push 1
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub esi, dword [ebp - 8]
cmp esi, 0x1388
jb 0x412c2f
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x413d55
cmp dword [ebp + 8], 0
je 0x413d55
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x413d55
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x413d5e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 4], edi
sete al
jmp 0x413d57