joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448a40
Capabilities:
Check if file exists

Disassembly:
call fcn.00401f00
test eax, eax
je 0x448a4f
mov eax, 1
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x448a5c
xor eax, eax
pop esi
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x448a6e
mov eax, 1
pop esi
ret
push esi
call fcn.00401f80
add esp, 4
neg eax
sbb eax, eax
neg eax
pop esi
ret

Function at 0x448b70
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4842a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [0x4a4014]
xor ebp, ebp
mov dword [esp + 0x1c], ebx
mov eax, dword [edi]
push ebp
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
je 0x448c2b
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00450880
mov edi, dword [edi]
add esp, 4
mov ebx, eax
push ebx
push esi
push ebp
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x448c1e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x494630
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x448c1e
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x30]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov ebp, 1
push ebx
call fcn.00458da0
mov ebx, dword [esp + 0x20]
add esp, 4
lea ecx, [ebx - 0xc]
cmp ecx, dword [0x4a4010]
je 0x448c4d
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x448c4d
push esi
call fcn.00462471
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x449880
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
mov dword [esp + 8], 0
push ecx
mov word [esp + 0x14], ax
call fcn.00461950
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x449904
cmp dword [esp + 4], eax
jbe 0x449904
push 0x48e9f8
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0041d2c0
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, esi
call fcn.00461932
add esp, 0x214
ret
Function at 0x44ba80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4846ae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0043b260
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
or eax, 0xffffffff
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], 0x3e8
mov dword [esi], vtable.CUninstallProgressDialog.1.0
mov dword [esi + 0x14], vtable.CUninstallProgressDialog.0
mov eax, dword [0x4a4014]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x58], eax
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 1
call fcn.00445660
lea ecx, [esi + 0xc0]
mov byte [esp + 0x18], 2
mov dword [esi + 0xbc], ebx
call fcn.00433410
mov dword [esi + 0x100], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x44bfa0
Capabilities:
Create thread

Disassembly:
sub esp, 0x20
push ebp
push esi
push edi
mov esi, ecx
call fcn.0043b090
mov edi, eax
xor ebp, ebp
cmp edi, ebp
jne 0x44bfbe
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
push ebx
lea ebx, [esi + 0x58]
push ebx
mov ecx, edi
call fcn.0043fd40
test eax, eax
je 0x44bfe4
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push ebp
call edx
mov ecx, esi
call fcn.0043b110
cmp eax, ebp
jne 0x44bfee
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
mov edx, dword [ebx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 4]
call eax
mov ecx, edi
call fcn.0043ec90
cmp eax, ebp
je 0x44c00f
mov edx, dword [ebx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov ecx, 0x44bbf0
mov dword [esp + 0x10], vtable.CSimpleThread.0
mov dword [esp + 0x28], 0x44bbf0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
test ecx, ecx
je 0x44c05e
lea edx, [esp + 0x18]
push edx
push ebp
push esi
push 0x44bbf0
push ebp
push ebp
call fcn.0046385d
add esp, 0x18
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
call fcn.004012c0
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x20
ret
Function at 0x44ce20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4847f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.0042a360
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ecx
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x6c], 1
call edi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.0044c600
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call fcn.0044c4c0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.0044cb40
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.0044c560
lea ecx, [esp + 0x3c]
call fcn.0042a3f0
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x5c
ret 4
Function at 0x44f750
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x44f790
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.0044f750
add esp, 8
test al, al
jne 0x44f7a6
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
ret
Function at 0x4504c2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4a7dec], 0
push esi
jne 0x450435
call fcn.0045035b
test eax, eax
je 0x450478
mov eax, dword [0x4a7dec]
cmp eax, 1
jne 0x450456
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x450478
pop esi
ret
push eax
call dword [0x4a7df4]
test eax, eax
jne 0x4504c0
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x45047c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4a7dec]
call dword [0x4a7df4]
mov edi, eax
test edi, edi
je 0x4504a1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4504bd
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4a7dec]
call dword [0x4a7df0]
add edi, 0x10
cmp edi, esi
jb 0x4504a9
mov eax, edi
pop edi
pop esi
ret
jmp 0x450422

Function at 0x4523d0
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
push esi
push edi
test ebx, ebx
je 0x452414
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x452414
mov edi, dword [ebx + 0x3c]
mov eax, edi
cdq
mov esi, eax
mov ecx, edx
add esi, 0xf8
mov eax, ebp
cdq
adc ecx, 0
cmp edx, ecx
jb 0x452414
ja 0x452408
cmp eax, esi
jbe 0x452414
cmp dword [edi + ebx], 0x4550
lea ecx, [edi + ebx]
je 0x45241b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
movzx edx, word [ecx + 4]
mov esi, 0x14c
xor eax, eax
cmp dx, si
jne 0x45243b
push ebp
mov eax, ecx
call fcn.00452290
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, 0x8664
cmp dx, si
je 0x45244f
mov esi, 0x200
cmp dx, si
jne 0x45245a
push ebx
mov eax, ebp
call fcn.00452310
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x457790
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4577c4
push str.SetFilePointerEx__
push eax
push 0xed
push str..QHImageHlp.c
call fcn.00451e90
add esp, 0x10
xor eax, eax
ret
mov eax, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4577f7
push str.ReadFile__
push eax
push 0xf0
push str..QHImageHlp.c
call fcn.00451e90
add esp, 0x10
xor eax, eax
ret
cmp edi, dword [esp + 4]
je 0x457819
push 0x4901f0
push 1
push 0xf2
push str..QHImageHlp.c
call fcn.00451f00
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x458f50
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x458f82
xor ecx, ecx
jmp 0x458f8e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x459041
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [esi]
cmp dword [esp + 0x14], eax
jne 0x458fb4
mov dword [esp + 0x10], esi
jmp 0x459014
push eax
push 1
push 0x40
call ebx
test eax, eax
jne 0x45900d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x459000
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x459014
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x459014
push 0x490468
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x459014
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x459037
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x458fa6
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
test eax, eax
jne 0x459055
mov ecx, dword [edi]
add ecx, 8
call fcn.00458dd0
test eax, eax
je 0x459055
mov edx, dword [esp + 0xc]
mov dword [eax], edx
pop edi
pop esi
add esp, 8
ret
Function at 0x459070
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485250
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
jne 0x4590bc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4590c9
mov dword [ebp - 0x14], ebx
jmp 0x4590db
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x459175
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, ebx
je 0x4590a8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4590a8
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00458f50
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
jne 0x459118
push 0x49d43c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.00462b4b
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x45912e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, ebx
jne 0x459164
push 0x49d43c
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 4
call fcn.00462b4b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x459158
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
push eax
add ecx, 8
call fcn.00458eb0
mov eax, 0x45915e
ret
mov esi, dword [esi]
mov eax, dword [esi]
test eax, eax
je 0x459173
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459190
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x48527b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00461950
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x18], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x45922b
push 0x49d43c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.00462b4b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4592a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov ecx, 0x4a802c
jmp fcn.00459070
Function at 0x459a70
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x45a320
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x805c]
mov eax, 0x805c
call fcn.00462bf0
push 0xffffffffffffffff
push 0x4852e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4a60f8]
xor eax, ebp
mov dword [ebp + 0x8058], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0x8064]
mov eax, dword [ebp + 0x8068]
xor esi, esi
push esi
push esi
push esi
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x10], esi
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x45a3c0
push 0x490538
push esi
push 0x1ae
push str..QHMD5.cpp
call fcn.00451de0
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
lea edx, [ebp + 0x58]
push edx
push edi
call ebx
test eax, eax
jne 0x45a3f4
push 0x490514
push eax
push 0x1b1
push str..QHMD5.cpp
call fcn.00451de0
add esp, 0x10
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x45a40c
push esi
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0045a150
cmp esi, 0x8000
je 0x45a3c6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp]
push edx
push eax
call fcn.0045a210
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8058]
xor ecx, ebp
call fcn.00461932
add ebp, 0x805c
mov esp, ebp
pop ebp
ret 8
Function at 0x45ec60
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x45ec9d
mov edx, dword [esp + 4]
test edx, edx
je 0x45ec9d
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x45ec9d
push esi
push 0
lea esi, [esp + 0xc]
push esi
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x45ec9d
mov eax, dword [esp + 4]
ret 8
or eax, 0xffffffff
ret 8

Function at 0x45ecb0
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x45ecc0
or eax, eax
or edx, 0xffffffff
pop ecx
ret
push esi
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
mov esi, eax
call fcn.00465ad0
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret

Function at 0x45ee40
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 4], 0
jne 0x45ee5a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
inc dword [esi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
pop esi
ret

Function at 0x45ef30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x45ffd0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x460000
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x460030
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret
Function at 0x461470
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x808], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00461950
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push str.Path
push 0x4917c8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4614f0
mov eax, 1
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00461932
add esp, 0x80c
ret
push str.360ver.dll
lea edx, [esp + 0xc]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4614d6
lea edx, [esp + 8]
push edx
call fcn.004613a0
add esp, 4
test eax, eax
je 0x4614d6
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x46154e
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00461932
add esp, 0x80c
ret
push edi
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x810]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00461932
add esp, 0x80c
ret

Function at 0x461580
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00461950
push 0x800
lea ecx, [esp + 0x18]
push 0x4918b4
push ecx
call fcn.00462b97
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.00462c1b
push 0x800
lea eax, [esp + 0x30]
push 0x491888
push eax
call fcn.00462c1b
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.00462c1b
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.00462c1b
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00462c1b
push 0x800
lea ecx, [esp + 0x18]
push 0x491848
push ecx
call fcn.00462c1b
add esp, 0x18
push 0x14
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x461692
call fcn.00461380
test eax, eax
je 0x46167a
call fcn.00461470
test eax, eax
je 0x46167a
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x461685
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1018], 0
je 0x4616a3
push 0
call fcn.004662a7
mov ecx, dword [esp + 0x1008]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00461932
add esp, 0x1004
ret
Function at 0x4616c0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x461712
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00461932
add esp, 0x140
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x46179b
cmp dword [esp + 0xc], 0x40
jne 0x46179b
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x46179b
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x144]
jne 0x46179b
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xf8
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x46179b
cmp dword [esp + 0xc], 0xf8
jne 0x46179b
cmp dword [esp + 0x10], 0x4550
jne 0x46179b
cmp word [esp + 0x16], bx
je 0x46179b
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00461932
add esp, 0x140
ret

Function at 0x4617d0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x461800
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret

Function at 0x461932
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a60f8]
jne 0x46193c
repz ret
jmp fcn.0046aa11