joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4211b0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x4211c8
add esp, 8
ret
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x4211e2
mov eax, 1
add esp, 8
ret
push ebx
push edi
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
cmp edi, ebx
je 0x4212c3
push ebp
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call ebp
test eax, eax
je 0x42123e
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0xc]
pop ebp
pop edi
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.004210e0
add esp, 4
test eax, eax
je 0x4212a6
push esi
call ebp
test eax, eax
je 0x421283
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x42128b
push esi
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0xc]
pop ebp
pop edi
pop ebx
add esp, 8
ret
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0xc]
pop ebp
pop edi
pop ebx
add esp, 8
ret
push 0
push edi
push ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0xc]
pop ebp
pop edi
pop ebx
add esp, 8
ret
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 8]
pop edi
pop ebx
add esp, 8
ret

Function at 0x4212e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
push 0xff
lea eax, [esp + 0x11]
push 0
push eax
mov edi, ecx
mov byte [esp + 0x18], 0
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x42117d
test byte [esp + 0x1e], 0x80
jne 0x42117d
push esi
push 1
push esi
push 0x12
call ebx
mov esi, 1
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, eax
test esi, esi
je 0x421194
push 0
push 3
push 0
push 0x12
call ebx
mov ecx, dword [esp + 0x10c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x104
ret
push esi
mov esi, eax
call fcn.004211b0
test eax, eax
jne 0x4212f4
mov ecx, esi
pop esi
jmp 0x421120
pop esi
ret
Function at 0x421500
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42156b
mov eax, dword [esp + 8]
cmp eax, 1
je 0x42153c
cmp eax, 2
jne 0x421557
mov eax, dword [esp]
test esi, esi
je 0x421565
test eax, eax
je 0x421560
test al, 1
jne 0x421557
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x421565
mov eax, 0xd
pop ecx
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4

Function at 0x421920
Capabilities:
Delete file

Disassembly:
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42196a
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x421937
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x421944
cmp eax, 1
jne 0x421944
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esi + 0x18]
push eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x421c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx ecx, word [esp + 4]
push esi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x421c6a
pop esi
ret 4
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x421c90
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x421c97
pop ebx
xor eax, eax
pop esi
ret 4
push edi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x421cb6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
xor eax, eax
pop esi
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x421cd7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
xor eax, eax
pop esi
ret 4
push ebx
push esi
push eax
call fcn.00439ad0
add esp, 0xc
push edi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [esp + 0x10]
xor ebx, ebx
call fcn.0040c790
push eax
push ebx
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x421d18
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c800
add esp, 4
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x421d2f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, ebx
pop ebx
pop esi
ret 4
Function at 0x421de0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x45787c
push 0xca
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x421e3e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x421e3e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x421e3e
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x421e4a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x421e6f
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push edi
push esi
push eax
call fcn.00439ad0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [esp + 0x1c]
lea esi, [ebx + 0x18]
push esi
mov dword [esp + 0x14], 0
call fcn.00422070
add esp, 4
test eax, eax
je 0x421ee6
mov eax, dword [esi]
push 0x459048
push eax
call fcn.00435bad
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x421ee2
mov eax, dword [esp + 0x14]
push ebx
push edi
push 1
push eax
call fcn.0043714d
add esp, 0x10
cmp eax, edi
jne 0x421ee2
push ebx
call fcn.00436e69
add esp, 4
push ebx
call fcn.00435c3b
add esp, 4
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x1c]
xor edi, edi
cmp dword [esp + 0x10], edi
je 0x421eff
mov esi, dword [esi]
push esi
call fcn.0040c8c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x421f3d
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.0040c790
push eax
push 0
push ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x421f2d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040c800
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x421f3d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x14], edi
test edi, edi
je 0x421f67
mov esi, edi
mov dword [ebx + 0x10], 1
call fcn.0040e1b0
mov esi, dword [ebx + 0x14]
mov dword [ebx + 8], eax
call fcn.0040e190
mov dword [ebx + 0xc], eax
mov eax, ebx
call fcn.00421980
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x422070
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x1110
call fcn.004425c0
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x110c], eax
mov eax, dword [esp + 0x1114]
push ebx
push ebp
push esi
push edi
push 0x800
lea ecx, [esp + 0x91c]
push 0
push ecx
mov dword [esp + 0x20], eax
call fcn.00437380
add esp, 0xc
push 0x800
lea edx, [esp + 0x11c]
push 0
push edx
call fcn.00437380
add esp, 0xc
lea eax, [esp + 0x918]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x100
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00437380
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
xor edi, edi
lea ebx, [ebx]
lea esi, [esp + 0x18]
call fcn.00421fa0
mov edx, esi
push edx
lea eax, [esp + 0x91c]
push eax
lea ecx, [esp + 0x120]
push ecx
call ebx
lea eax, [esp + 0x118]
add eax, 0xfffffffe
jmp 0x422130
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x422130
mov edx, dword [str..tmp]
mov ecx, dword [0x4590bc]
mov dword [eax], edx
mov dx, word [0x4590c0]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x118]
push eax
call ebp
test eax, eax
je 0x422187
inc edi
cmp edi, 0xa
jl 0x422100
xor eax, eax
mov ecx, dword [esp + 0x111c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x1110
ret
lea ecx, [esp + 0x118]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [esp + 0x18]
mov ebx, eax
call fcn.00409c70
mov eax, 1
jmp 0x42216e

Function at 0x422280
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push str.Q360SafeInstallerMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x4222f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4222d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x456474
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 0x46a538
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esp + 0xc]
mov edi, 0x46a520
call fcn.004225b0
push 0x46a538
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x422c90
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push esi
push 0x422cc0
push 0
push 0
mov dword [esp + 0x18], 0
call fcn.004364fb
mov dword [esi + 0x1c], eax
add esp, 0x1c
ret
Function at 0x422d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44f6fc
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov dword [edi], vtable.CP2SPTask.0
mov eax, dword [0x4674cc]
lea esi, [edi + 8]
mov dword [esi], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4674cc]
mov dword [edi + 0xc], ecx
mov edx, dword [0x4674cc]
mov dword [edi + 0x10], edx
mov ecx, dword [0x4674cc]
mov dword [edi + 0x14], ecx
mov byte [esp + 0x1c], 3
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x457418
push 0x457418
mov dword [edi + 0x54], eax
mov dword [edi + 4], 0xffffffff
call ebp
mov ebx, eax
call fcn.00409c70
push 0x457418
push 0x457418
call ebp
mov ebx, eax
lea esi, [edi + 0xc]
call fcn.00409c70
push 0x457418
push 0x457418
call ebp
mov ebx, eax
lea esi, [edi + 0x10]
call fcn.00409c70
xor esi, esi
push esi
push esi
push 1
push esi
mov dword [edi + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x457418
push 0x457418
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0x1e
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x24], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x58], esi
call ebp
mov ebx, eax
lea esi, [edi + 0x14]
call fcn.00409c70
mov dword [edi + 0x50], 0
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4234c0
Capabilities:
Create thread

Disassembly:
push ecx
xor eax, eax
lea ecx, [esp]
push ecx
push eax
push esi
push 0x4234f0
push eax
push eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x54], eax
call fcn.004364fb
mov dword [esi + 0x24], eax
mov eax, 1
add esp, 0x1c
ret

Function at 0x4236e0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x450786
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esi], vtable.CP2SPWrapper.0
push 4
mov dword [esp + 0x28], 1
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push eax
call ebx
lea edi, [esi + 8]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x4591b0
call fcn.0040eb40
mov edx, dword [eax]
push 4
push 0
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x423776
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x423776
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0043406a
add esp, 4
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, str.liveupdatelog
call fcn.0040eb40
mov ecx, dword [eax]
push 4
push 0
push ecx
call ebx
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x4674bc
je 0x4237b8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4237b8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0043406a
add esp, 4
mov ecx, dword [edi]
push 4
push 0
push ecx
call ebx
mov eax, dword [esi + 0xc]
lea edx, [eax - 0xc]
cmp edx, 0x4674bc
je 0x4237e8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4237e8
mov eax, dword [esi + 0xc]
sub eax, 0xc
push eax
call fcn.0043406a
add esp, 4
mov eax, dword [edi]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x42380d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x42380d
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.0043406a
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x424520
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push 0x208
lea eax, [esp + 0x218]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0x214]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00437380
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push str.__tmpini_
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [esp + 0xc]
call fcn.00409580
mov ecx, dword [esp + 0x41c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x418
ret
Function at 0x4245d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x451a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
push 0x100
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x80
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x46b494]
lea edx, [esp + 0x20]
push edx
mov edx, dword [0x46b490]
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x46b49c]
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x18], 1
jne 0x4246b4
cmp word [esp + 0x1c], 0
je 0x4246b4
cmp dword [esp + 0x14], 0
jbe 0x4246b4
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x10]
call fcn.00409580
mov dword [esp + 0x430], 0
mov ecx, dword [0x46b498]
mov esi, dword [esp + 0x10]
push ecx
mov edx, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push edx
call ebx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4246dd
lea esi, [esp + 0x10]
call fcn.004062b0
xor eax, eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00433af9
add esp, 0x424
ret
lea edi, [esp + 0x10]
mov eax, 0x46b488
mov dword [0x46b4a4], 1
call fcn.00408d10
mov eax, 0x46b48c
call fcn.00408d10
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x126]
push edx
mov word [esp + 0x128], cx
call fcn.00437380
add esp, 0xc
push str.360ver.dll
push esi
lea eax, [esp + 0x32c]
push eax
call ebx
lea ecx, [esp + 0x324]
push ecx
call fcn.00412750
mov esi, eax
test esi, esi
je 0x424792
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360SafeVersion
push esi
call ebx
push str.IsBetaVersion
push esi
mov edi, eax
call ebx
mov esi, eax
test edi, edi
je 0x424785
lea edx, [esp + 0x11c]
push 0x104
push edx
call edi
add esp, 8
test eax, eax
jne 0x424785
mov edi, str.0.0.0.0
mov eax, 0x46b4a0
call fcn.00409cf0
test esi, esi
je 0x4247a2
call esi
mov dword [0x46b4ac], eax
jmp 0x4247a2
lea edi, [esp + 0x11c]
lea esi, [esp + 0x1c]
call fcn.004247d0
lea edi, [esp + 0x11c]
mov eax, 0x46b4a0
call fcn.00409cf0
lea esi, [esp + 0x10]
call fcn.004062b0
mov eax, 1
jmp 0x4246b6
Function at 0x4247d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x110
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x10c], eax
test esi, esi
je 0x4248af
test edi, edi
je 0x4248af
push 0x100
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4248af
cmp eax, 0xff
ja 0x4248af
lea edx, [esp + 0xc]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4248af
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0x457774
lea edx, [esp + 0x18]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4248af
push 0x104
push 0
push edi
call fcn.00437380
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
push 0x104
push edi
call fcn.00421740
add esp, 0x28
mov eax, 1
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00433af9
add esp, 0x110
ret
mov ecx, dword [esp + 0x10c]
xor ecx, esp
xor eax, eax
call fcn.00433af9
add esp, 0x110
ret
Function at 0x424c40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
xor eax, eax
push 0x3fe
mov esi, ecx
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x1c], ax
call fcn.00437380
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [edi + 0x4c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi + 0x48]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x54]
push edx
push eax
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x200
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ebx, [esp + 0x10]
call fcn.00409580
mov ecx, dword [esp + 0x410]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x40c
ret

Function at 0x4253e0
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425410
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
push eax
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00425440
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x425440
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004425c0
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [esp + 0x1014]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1024]
mov ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0xffffffff
je 0x42556b
xor ebp, ebp
cmp edi, ebp
je 0x42556b
cmp ebx, ebp
jle 0x42556b
mov eax, ebx
cdq
and edx, 0xfff
add eax, edx
push esi
mov esi, eax
sar esi, 0xc
and ebx, 0x80000fff
jns 0x4254af
dec ebx
or ebx, 0xfffff000
inc ebx
cmp esi, ebp
mov dword [esp + 0x10], ebp
jle 0x42550c
jmp 0x4254c0
push 0x1000
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00439ad0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42553b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x425501
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
inc ebp
add edi, 0x1000
cmp ebp, esi
jl 0x4254c0
test ebx, ebx
jle 0x425564
push ebx
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00439ad0
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x425556
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.00433af9
add esp, 0x1010
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x425564
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
mov eax, 1
jmp 0x42553d
mov ecx, dword [esp + 0x1018]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00433af9
add esp, 0x1010
ret
Function at 0x425590
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44fe50
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x4674cc]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x24], 0
call fcn.00422070
add esp, 4
test eax, eax
jne 0x425604
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x4674bc
je 0x4255fd
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4255fd
push esi
call fcn.0043406a
add esp, 4
xor eax, eax
jmp 0x4256f8
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebp
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.004253e0
test eax, eax
jne 0x42562f
lea eax, [esi - 0xc]
cmp eax, 0x4674bc
je 0x4255fd
add esi, 0xfffffff4
jmp 0x4255e9
mov ecx, dword [0x4674cc]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x24], 1
call fcn.00422070
mov ebx, dword [esp + 0x2c]
add esp, 4
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, ebx
mov ecx, esi
call fcn.00425800
test eax, eax
jne 0x4256a2
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [ebx - 0xc]
cmp eax, 0x4674bc
je 0x425688
lea edi, [ebx - 0xc]
push edi
call ebp
test eax, eax
jg 0x425688
push edi
call fcn.0043406a
add esp, 4
lea ecx, [esi - 0xc]
cmp ecx, 0x4674bc
je 0x4255fd
add esi, 0xfffffff4
push esi
call ebp
jmp 0x4255f0
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x28]
call fcn.00408d10
push esi
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [ebx - 0xc]
cmp edx, 0x4674bc
je 0x4256d6
lea edi, [ebx - 0xc]
push edi
call ebp
test eax, eax
jg 0x4256d6
push edi
call fcn.0043406a
add esp, 4
lea eax, [esi - 0xc]
cmp eax, 0x4674bc
je 0x4256f3
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x4256f3
push esi
call fcn.0043406a
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8