joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f0f0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51690b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x298]
push 0x208
push 0
mov dword [ebp - 0x2a4], esi
push eax
mov dword [ebp - 0x2a0], 1
call fcn.004a3360
add esp, 0xc
mov dword [ebp - 0x90], 0x4f0053
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x8c], 0x540046
mov dword [ebp - 0x88], 0x410057
mov dword [ebp - 0x84], 0x450052
push eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x80], 0x4d005c
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x7c], 0x630069
push eax
push 0x52bfd4
lea eax, [ebp - 0x90]
mov dword [ebp - 0x78], 0x6f0072
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], 0x6f0073
mov dword [ebp - 0x70], 0x740066
mov dword [ebp - 0x6c], 0x57005c
mov dword [ebp - 0x68], 0x6e0069
mov dword [ebp - 0x64], 0x6f0064
mov dword [ebp - 0x60], 0x730077
mov dword [ebp - 0x5c], 0x43005c
mov dword [ebp - 0x58], 0x720075
mov dword [ebp - 0x54], 0x650072
mov dword [ebp - 0x50], 0x74006e
mov dword [ebp - 0x4c], 0x650056
mov dword [ebp - 0x48], 0x730072
mov dword [ebp - 0x44], 0x6f0069
mov dword [ebp - 0x40], 0x5c006e
mov dword [ebp - 0x3c], 0x700041
mov dword [ebp - 0x38], 0x200070
mov dword [ebp - 0x34], 0x610050
mov dword [ebp - 0x30], 0x680074
mov dword [ebp - 0x2c], 0x5c0073
mov dword [ebp - 0x28], 0x360033
mov dword [ebp - 0x24], 0x730030
mov dword [ebp - 0x20], 0x660061
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x29c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x41f2dc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x298]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0040b400
test al, al
jne 0x41f2be
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f2a0
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040ab90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409360
int3
Function at 0x41fe40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516a18
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x5746cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x41fe81
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x41ff7b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test eax, eax
je 0x41fec0
push eax
push esi
lea eax, [ebp + 8]
push str._s__s
push eax
call fcn.004094c0
add esp, 0x10
jmp 0x41fede
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fec5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp + 8]
call fcn.0040ab90
push 0x40
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], 0x44
push 0
push eax
call fcn.004a3360
add esp, 0xc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c], xmm0
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x10]
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41ff47
push dword [ebp + 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x18]
call edi
mov edi, 1
jmp 0x41ff49
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ff68
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409360
int3
Function at 0x420160
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516a48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5746cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4201db
test al, 0x10
je 0x4201db
push esi
mov edi, 1
call fcn.0040d7c0
add esp, 4
test eax, eax
jne 0x4201fe
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4201fe
push esi
test edi, edi
jne 0x4201f6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4201fe
push esi
push str.DeleteFile:_s_suceesss
call fcn.00436cf0
add esp, 8
jmp 0x4201fe
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4201ac
push esi
push str.DeleteFile:_s_suceesss
call fcn.00436cf0
add esp, 8
jmp 0x4201fe
call fcn.0040d7c0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42027f
push esi
lea ecx, [ebp - 0x10]
call fcn.00408c10
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x42023e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040d2a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x42024a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0041bae0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42026c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51739b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.004a3360
add esp, 0xc
cmp dword [0x572048], 0
je 0x425cbc
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x5299b8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425cac
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x248]
push ecx
movups xmmword [ebp - 0x248], xmm0
movups xmmword [ebp - 0x238], xmm0
call eax
mov ax, word [ebp - 0x248]
cmp ax, 9
je 0x425ca2
cmp ax, 6
je 0x425ca2
cmp ax, 0xc
je 0x425ca2
push str.IsWow64Process2
push 0x52b34c
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x425c99
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x425c99
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x220], cx
sete al
mov dword [0x577b94], eax
jmp 0x425cac
xor eax, eax
mov dword [0x577b94], eax
jmp 0x425cac
mov dword [0x577b94], 1
mov edi, dword [ebp - 0x21c]
mov dword [0x572048], 0
cmp dword [0x577b94], 0
lea eax, [ebp - 0x218]
je 0x425cd2
push str.wallpaperhelperComputerZ8_x64.dll
jmp 0x425cd7
push str.wallpaperhelperComputerZ8.dll
push dword [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425d88
lea ecx, [ebp - 0x21c]
call fcn.00408cc0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, str._u__s___s_
test edi, edi
mov eax, 0x52ccf8
cmove eax, ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004094c0
mov esi, dword [ebp - 0x21c]
push 0
push 0
push 0x1388
push 1
push 0
push esi
push str.regsvr32.exe
push 0
call fcn.00425db0
add esp, 0x2c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._tid:_d__CDeskBandInstallHelper::RegisterBand_bRegister:_d_Param:_s
call fcn.00436cf0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425d83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret 4
Function at 0x425e50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.00486920
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x800
push 0
push eax
call fcn.004a3360
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x425f04
test esi, esi
je 0x425f39
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004a3360
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x425eed
push 0x800
lea eax, [ebp - 0x1804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x1804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea esi, [ebp - 0x1804]
push 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.004bf673
add esp, 0xc
jmp 0x425f20
lea ecx, [ebp - 0x804]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x425f10
cmp dword [ebp + 0x20], 0
je 0x425f4c
lea eax, [ebp - 0x804]
push eax
call fcn.0045eae0
add esp, 4
test eax, eax
jne 0x425f4c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x2858], 0x44
lea eax, [ebp - 0x2858]
movlpd qword [ebp - 0x2854], xmm0
push eax
movlpd qword [ebp - 0x284c], xmm0
movlpd qword [ebp - 0x2844], xmm0
movlpd qword [ebp - 0x283c], xmm0
movlpd qword [ebp - 0x2834], xmm0
movlpd qword [ebp - 0x282c], xmm0
movlpd qword [ebp - 0x2824], xmm0
movlpd qword [ebp - 0x281c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x14]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x2828], ax
lea eax, [ebp - 0x2804]
push 0
push eax
mov dword [ebp - 0x282c], 1
movups xmmword [ebp - 0x2814], xmm0
call fcn.004a3360
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x425ffd
push edi
push eax
lea eax, [ebp - 0x2804]
push str.__s___s
push eax
call fcn.00425920
add esp, 0x10
jmp 0x426012
push eax
lea eax, [ebp - 0x2804]
push 0x52cfb0
push eax
call fcn.00425920
add esp, 0xc
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x2858]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x42606c
cmp dword [ebp + 0x18], 0
je 0x426056
push dword [ebp + 0x1c]
push dword [ebp - 0x2814]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x2810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2814]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004864b8
mov esp, ebp
pop ebp
ret
Function at 0x4265f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x4277a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x4283d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51748e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5746cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], vtable.ILayerWindow.0
mov dword [edi], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.0
mov dword [edi + 0x24], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.1.0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov dword [edi + 0x38], 1
mov dword [edi + 0x3c], 0xff
mov ecx, esi
mov dword [edi + 0x40], 1
mov dword [edi + 0x44], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042aa20
mov dword [esi], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x4285c2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x54], eax
push 0xa4
mov byte [ebp - 4], 4
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
call fcn.0043f7f0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x428504
mov ecx, eax
call fcn.00475960
test eax, eax
jne 0x428506
xor eax, eax
mov dword [edi + 0x44], eax
lea esi, [edi + 0x78]
mov dword [edi], vtable.CInputWnd.0
mov dword [edi + 0x24], vtable.CInputWnd.1.0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], ebx
lea ebx, [esi + 0x24]
mov byte [ebp - 4], 7
mov dword [esi], vtable.CEditExImpl_class_CEditEx__class_WTL::CEditT_class_ATL::CWindow___class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebp - 0x18], ebx
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x4285cc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x52b5e4
mov byte [ebp - 4], 8
mov ecx, ebx
test eax, 0xffff0000
jne 0x428584
movzx eax, ax
push eax
call fcn.00409d50
jmp 0x428590
push 0
push 0x52b5e4
call fcn.0040ab90
mov dword [esi + 0x28], 0
mov eax, edi
mov dword [esi + 0x54], 0
mov dword [esi], vtable.CEditEx.0
mov dword [edi + 0xd0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
int3
Function at 0x4285e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.004a3360
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.004a3360
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x428643
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x428648
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x428666
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x428668
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x42867c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x57c80c]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004864b8
mov esp, ebp
pop ebp
ret 0x18

Function at 0x429360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51759b
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.00486920
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
mov dword [ebp - 0x2014], esi
call fcn.004a3360
add esp, 0xc
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4293d4
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x429450
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x42940a
movzx eax, ax
mov ecx, esi
push eax
call fcn.00409d50
jmp 0x429431
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429413
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040ab90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00409360
int3
Function at 0x42e370
Capabilities:
Create process on windows

Disassembly:
push 0
push 4
push 0x52ffe8
push 0
call fcn.0043e310
cmp eax, 6
jne 0x42e39d
push 1
push 0
push 0
push str.http:__cdn_ali_file_dida.halopaper.cn_halo_halowallpaper_home.exe
push 0x52bfb0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x42efe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517cd6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x42f08c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x42f08c
call fcn.0041c0a0
mov edi, eax
jmp 0x42f1ab
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42f0af
call fcn.0041c0a0
jmp 0x42f19e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x42f0cd
call fcn.0041c0a0
jmp 0x42f19e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x42f0ee
mov edi, 0x8007000e
jmp 0x42f1a0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x42f1e4
jb 0x42f10c
cmp eax, 0xffffffff
ja 0x42f1e4
cmp eax, 0x400
jbe 0x42f121
push eax
lea ecx, [ebp - 0x418]
call fcn.0042c280
jmp 0x42f147
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x42f147
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42f15e
mov edi, 0x8007000e
jmp 0x42f1a0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42f17e
call fcn.0041c0a0
jmp 0x42f19e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0042ee40
mov edi, eax
test esi, esi
je 0x42f1ab
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42f1c4
lea ecx, [ebp - 0x418]
call fcn.0042d1b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00409360
int3
Function at 0x4311f0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x260], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 0
call fcn.0042d280
mov ecx, eax
call fcn.00421ca0
push eax
lea ecx, [ebp - 0x254]
call fcn.00430dd0
mov dword [ebp - 4], 1
call fcn.0042d280
mov ecx, eax
call fcn.00422130
push eax
mov ecx, edi
call fcn.00430dd0
mov eax, dword [edi]
mov esi, dword [ebp - 0x254]
mov dword [ebp - 0x20], 0x75006c
mov dword [ebp - 0x1c], 0x610064
mov dword [ebp - 0x18], 0x680073
mov dword [ebp - 0x14], 0x69
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x250], 1
jne 0x43138e
cmp dword [esi - 0xc], 0
jl 0x43138e
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004a37b3
add esp, 8
test eax, eax
je 0x43138e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x43138e
push 0x208
lea eax, [ebp - 0x24c]
push 0
push eax
call fcn.004a3360
add esp, 0xc
mov dword [ebp - 0x25c], 1
xor eax, eax
mov dword [ebp - 0x258], 0x104
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x44], 0x4f0053
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x40], 0x540046
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x3c], 0x410057
push eax
push str.VendorID
lea eax, [ebp - 0x44]
mov dword [ebp - 0x38], 0x450052
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], 0x4c005c
mov dword [ebp - 0x30], 0x640075
mov dword [ebp - 0x2c], 0x730061
mov dword [ebp - 0x28], 0x690068
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43138e
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431370
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0040ab90
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4313aa
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret 4