joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4a5be9
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x18], edx
mov dword [ebp - 0xc], 2
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0x6939b8
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a5c1f
mov eax, dword [ebp - 8]
jmp 0x4a5ce5
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x400
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4a5c62
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a5c62
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x4a5c91
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
jne 0x4a5c91
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4a5ce5
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4a5cd9
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x4a5cd9
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a5cd9
mov eax, dword [ebp - 8]
jmp 0x4a5ce5
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a5d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4a5d6c
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x4a5d6c
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 0
je 0x4a5d6c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x4a5d6c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
push 3
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4a5e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4a5efe
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a5ef4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4a6540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 8], 0
je 0x4a656a
jmp 0x4a6632
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0063a460
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x693c18
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a65c6
jmp 0x4a6632
lea eax, [ebp - 0x20c]
push eax
call fcn.005b0540
add esp, 4
test eax, eax
jne 0x4a65db
jmp 0x4a6632
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x210]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x210]
cmp dword [eax + 8], 0
jne 0x4a65ff
jmp 0x4a6632
push str.GetDeskBeautifyMgr
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x4a6632
call dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4afdc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
push eax
push str.Show:_d
call fcn.005564a0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4afea5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xd0], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x4afe16
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004159d0
test eax, eax
jne 0x4afe99
push 0x1b4
push 0x205
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00413590
push 0
push ecx
mov ecx, esp
push 0
call fcn.0040d090
push 0x80
push SysReAllocString
push 0
push ecx
mov ecx, esp
lea edx, [ebp - 0x14]
push edx
call fcn.0040d090
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0049f170
mov ecx, dword [ebp - 0x18]
call fcn.005d9440
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
jne 0x4afe82
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00416c10
push ecx
mov ecx, esp
push str.create
call fcn.004131e0
mov ecx, dword [ebp - 0x18]
call fcn.004aff00
jmp 0x4afea3
push 1
mov ecx, dword [ebp - 0x18]
call fcn.004aff40
jmp 0x4afee4
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
je 0x4afee4
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004159d0
test eax, eax
je 0x4afee4
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xcc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
mov ecx, esp
push 0x695848
call fcn.004131e0
mov ecx, dword [ebp - 0x18]
call fcn.004aff00
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 8
Function at 0x4b64b0
Capabilities:
Check if file exists
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x110
call fcn.004bac10
lea eax, [ebp - 0x20]
push eax
call fcn.004b6a40
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b64fd
lea ecx, [ebp - 0x20]
call fcn.00413870
jmp 0x4b6650
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040d3c0
push eax
call fcn.00423650
add esp, 0xc
test eax, eax
je 0x4b6534
cmp dword [ebp - 0x2c], 0
je 0x4b6534
cmp dword [ebp - 0x38], 0
jg 0x4b6541
lea ecx, [ebp - 0x20]
call fcn.00413870
jmp 0x4b6650
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005e24c0
add esp, 4
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d090
lea ecx, [ebp - 0x24]
call fcn.0040d3c0
test eax, eax
jne 0x4b6577
lea ecx, [ebp - 0x24]
call fcn.00421c90
lea ecx, [ebp - 0x20]
call fcn.00413870
jmp 0x4b6650
mov dword [ebp - 0x28], 0
jmp 0x4b6589
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x24]
call fcn.0040d3c0
push eax
call fcn.005e23e0
add esp, 4
cmp dword [ebp - 0x28], eax
jge 0x4b6640
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
call fcn.0040d3c0
push eax
call fcn.005e23c0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4b65c3
jmp 0x4b6580
push 0x6963f8
lea ecx, [ebp - 0x1c]
call fcn.00421970
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005e3620
add esp, 0xc
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x1c]
call fcn.00421c30
mov edx, dword [ebp - 0x30]
push edx
call fcn.005e2520
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4b6607
jmp 0x4b6580
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x110
call fcn.004b9a60
mov ecx, eax
call fcn.00421e60
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0063e41a
add esp, 4
jmp 0x4b6580
lea ecx, [ebp - 0x24]
call fcn.00421c90
lea ecx, [ebp - 0x20]
call fcn.00413870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4b6a40
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor edx, edx
mov byte [ebp - 0x20d], dl
lea ecx, [ebp - 0x20d]
call fcn.004b9bd0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.static_paper.json
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004131e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret

Function at 0x4bcc60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 6
jb 0x4bcc95
mov dword [ebp - 4], 1
jmp 0x4bcc9c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4bcd60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x420], 0x104
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jbe 0x4bce30
cmp dword [ebp - 0x418], 0x104
jae 0x4bce30
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x4bce30
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0x208
jae 0x4bce1b
jmp 0x4bce20
call fcn.00613b48
xor edx, edx
mov eax, dword [ebp - 0x41c]
mov word [ebp + eax - 0x20c], dx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004131e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4bcfa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1268
call fcn.00613c30
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.wpplugin.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005b0540
add esp, 4
test eax, eax
jne 0x4bd01a
xor eax, eax
jmp 0x4bd131
push 0x44
push 0
lea edx, [ebp - 0x1268]
push edx
call fcn.0063a460
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x1268]
push eax
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x1268], 0x44
lea ecx, [ebp - 0x1268]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x123c], 1
xor edx, edx
mov word [ebp - 0x1238], dx
xor eax, eax
mov dword [ebp - 0x1220], eax
mov dword [ebp - 0x121c], eax
mov dword [ebp - 0x1218], eax
mov dword [ebp - 0x1214], eax
push 0x10
push 0
lea ecx, [ebp - 0x1220]
push ecx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x1224], 0x800
push 0x1000
push 0
lea edx, [ebp - 0x120c]
push edx
call fcn.0063a460
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x6977e4
lea edx, [ebp - 0x120c]
push edx
call fcn.004c6010
add esp, 0x10
lea eax, [ebp - 0x1220]
push eax
lea ecx, [ebp - 0x1268]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x120c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1210], eax
cmp dword [ebp - 0x1210], 0
jne 0x4bd112
xor eax, eax
jmp 0x4bd131
mov eax, dword [ebp - 0x121c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret

Function at 0x4bd140
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4bd1b9
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4bd1af
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4bd3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x104
mov ax, word [0x697854]
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.0063a460
add esp, 0xc
xor edx, edx
mov byte [ebp - 0x20d], dl
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x697858
lea ecx, [ebp - 0x20d]
call fcn.004c7d00
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004131e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret

Function at 0x4bd4a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x126c
call fcn.00613c30
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x120d], al
lea ecx, [ebp - 0x120d]
call fcn.004c92c0
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call fcn.005b0540
add esp, 4
test eax, eax
jne 0x4bd529
xor eax, eax
jmp 0x4bd640
push 0x44
push 0
lea eax, [ebp - 0x126c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x126c]
push ecx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x126c], 0x44
lea edx, [ebp - 0x126c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x1240], 1
xor eax, eax
mov word [ebp - 0x123c], ax
xor ecx, ecx
mov dword [ebp - 0x1224], ecx
mov dword [ebp - 0x1220], ecx
mov dword [ebp - 0x121c], ecx
mov dword [ebp - 0x1218], ecx
push 0x10
push 0
lea edx, [ebp - 0x1224]
push edx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x1228], 0x800
push 0x1000
push 0
lea eax, [ebp - 0x120c]
push eax
call fcn.0063a460
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
push str.__s___s__frombizhi
lea eax, [ebp - 0x120c]
push eax
call fcn.004c6010
add esp, 0x10
lea ecx, [ebp - 0x1224]
push ecx
lea edx, [ebp - 0x126c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1214], eax
cmp dword [ebp - 0x1214], 0
jne 0x4bd621
xor eax, eax
jmp 0x4bd640
mov ecx, dword [ebp - 0x1220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1224]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4bda80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.00613c30
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x2000
push 0
lea eax, [ebp - 0x2004]
push eax
call fcn.0063a460
add esp, 0xc
lea ecx, [ebp - 0x2024]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x200c], eax
cmp dword [ebp - 0x200c], 0
je 0x4bdad8
cmp dword [ebp - 0x200c], 0x1fff
jbe 0x4bdadf
xor eax, eax
jmp 0x4bdc4b
lea eax, [ebp - 0x2004]
push eax
mov ecx, dword [ebp - 0x200c]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4bdb03
xor eax, eax
jmp 0x4bdc4b
lea eax, [ebp - 0x2028]
push eax
lea ecx, [ebp - 0x2008]
push ecx
push 0x697888
lea edx, [ebp - 0x2004]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4bdb2d
xor eax, eax
jmp 0x4bdc4b
cmp dword [ebp + 0x18], 0
je 0x4bdb44
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x201c], ecx
jmp 0x4bdb53
mov edx, dword [ebp - 0x2008]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x201c], eax
mov ecx, dword [ebp - 0x201c]
mov dword [ebp - 0x2014], ecx
cmp dword [ebp + 0x18], 0
je 0x4bdb76
mov edx, dword [ebp - 0x2008]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2020], eax
jmp 0x4bdb85
mov ecx, dword [ebp - 0x2008]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x2020], edx
mov eax, dword [ebp - 0x2020]
mov dword [ebp - 0x2010], eax
cmp dword [ebp + 0xc], 0
je 0x4bdba2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2014]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x4bdbb3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2010]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x4bdc46
lea ecx, [ebp - 0x2018]
call fcn.00413220
mov edx, dword [ebp - 0x2010]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x2010]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x2014]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x2014]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x69788c
lea ecx, [ebp - 0x2018]
push ecx
call fcn.00422a10
add esp, 0x18
lea ecx, [ebp - 0x2018]
call fcn.0040d3c0
push eax
push 0x104
mov edx, dword [ebp + 0x14]
push edx
call fcn.004239e0
lea ecx, [ebp - 0x2018]
call fcn.00413870
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x4be2c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00421650
lea ecx, [ebp - 0x2f0]
call fcn.0040dd70
movzx ecx, al
test ecx, ecx
je 0x4be31c
mov dword [ebp - 0x2fc], 1
lea ecx, [ebp - 0x2f0]
call fcn.00413870
lea ecx, [ebp + 8]
call fcn.00413870
mov eax, dword [ebp - 0x2fc]
jmp 0x4be4d6
mov dword [ebp - 0x300], 0x168
lea edx, [ebp - 0x300]
push edx
lea eax, [ebp - 0x2d4]
push eax
push 0x69795c
push 0x6979fc
push 1
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jl 0x4be477
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x2ec]
call fcn.004219c0
push 0
push 0x697a08
lea ecx, [ebp - 0x2ec]
call fcn.004cac50
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0xffffffff
je 0x4be3a5
lea ecx, [ebp - 0x2f0]
call fcn.0040d3c0
push eax
push 2
mov edx, dword [ebp - 0x2f4]
push edx
lea ecx, [ebp - 0x2ec]
call fcn.004cb4c0
jmp 0x4be3cc
push 0x697a10
lea ecx, [ebp - 0x2ec]
call fcn.0047b540
lea ecx, [ebp - 0x2f0]
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x2ec]
call fcn.0047b540
push 0x44
lea eax, [ebp - 0x35c]
push eax
call fcn.004cc350
add esp, 8
push 0x10
lea ecx, [ebp - 0x318]
push ecx
call fcn.004cc350
add esp, 8
mov dword [ebp - 0x35c], 0x44
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x35c]
push eax
push 0
lea ecx, [ebp - 0x2ec]
call fcn.00424f40
push eax
push 0
call fcn.004c1990
add esp, 0x14
test eax, eax
je 0x4be46c
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x304], 1
lea ecx, [ebp - 0x2ec]
call fcn.00421c50
lea ecx, [ebp - 0x2f0]
call fcn.00413870
lea ecx, [ebp + 8]
call fcn.00413870
mov eax, dword [ebp - 0x304]
jmp 0x4be4d6
lea ecx, [ebp - 0x2ec]
call fcn.00421c50
push 0xa
push 0
push 0
lea ecx, [ebp - 0x2f0]
call fcn.0040d3c0
push eax
push 0x697a14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x4be4a7
mov dword [ebp - 0x2f8], 1
jmp 0x4be4b1
mov dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x308], eax
lea ecx, [ebp - 0x2f0]
call fcn.00413870
lea ecx, [ebp + 8]
call fcn.00413870
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret

Function at 0x4be4f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
call fcn.00488180
push 0
push 0
lea ecx, [ebp - 8]
call fcn.0040da20
push eax
push 0x4c1b10
push 0
push 0
call fcn.00644f69
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4be533
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 8]
call fcn.00488290
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4be550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x6f9418]
test edx, edx
je 0x4be56b
jmp 0x4be5c0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x104
xor eax, eax
mov byte [ebp - 1], al
lea ecx, [ebp - 0xc]
push ecx
push 0x6f9418
lea edx, [ebp - 0x10]
push edx
push 0x697a20
lea ecx, [ebp - 1]
call fcn.004c8600
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4be5bc
mov eax, 2
imul ecx, eax, 0
mov edx, 0x64
mov word [ecx + 0x6f9418], dx
xor eax, eax
jne 0x4be556
push str.birdwallpaper
push 0x6f9418
call fcn.00642203
add esp, 8
test eax, eax
jne 0x4be5df
mov dword [ebp - 8], 1
jmp 0x4be5e6
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret