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

Disassembly:
push 0xffffffffffffffff
push 0x4f3478
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], 0
xor ecx, ecx
mov eax, dword [edi + 4]
mov dword [edi + 8], 0
push 0x5232bc
mov dword [esp + 0x3c], 0x5232bc
mov word [eax], cx
mov byte [edi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], esi
mov edx, 0x5040c0
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x24]
call fcn.00484f80
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
push ecx
push 0x20019
push esi
push dword [eax]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test ebp, ebp
jne 0x48643b
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], esi
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
test ebp, ebp
jne 0x486541
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebp
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x24]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.WorkDirType
push esi
call ebp
test eax, eax
jne 0x486541
mov eax, dword [esp + 0x34]
cmp eax, 2
ja 0x48648c
mov dword [edi], eax
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x24]
movq qword [esp + 0x24], xmm0
call fcn.00412560
lea eax, [esp + 0x24]
mov byte [esp + 0x48], 2
push eax
push str.WorkDirPath
lea ecx, [esp + 0x28]
call fcn.0041dc10
test eax, eax
jne 0x4864d1
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 4]
call fcn.004128e0
jmp 0x4864e7
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [edi + 8], 0
mov word [eax], cx
cmp dword [edi], 2
jne 0x4864e7
mov dword [edi], ecx
mov esi, dword [esp + 0x20]
xor eax, eax
cmp byte [esp + 0x17], al
mov dword [esp + 0x30], 0
setne al
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push str.TempRemovableOnly
push esi
call ebp
cmp dword [esp + 0x18], 0
setne cl
test eax, eax
jne 0x486530
mov byte [edi + 0x10], cl
mov byte [esp + 0x48], 1
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
test esi, esi
je 0x48654c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5232bc
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004df96c
add esp, 0x38
ret
Function at 0x486580
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f34b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
push 0x5232bc
mov dword [esp + 0x18], 0x5232bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov edx, 0x5040c0
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x10]
call fcn.00485000
cmp byte [edi + 1], 0
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x486619
mov al, byte [edi]
xor ecx, ecx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.CascadedMenu
setne cl
push esi
mov dword [esp + 0x28], ecx
call ebx
cmp byte [edi + 3], 0
je 0x486640
mov al, byte [edi + 2]
xor ecx, ecx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.MenuIcons
setne cl
push esi
mov dword [esp + 0x28], ecx
call ebx
cmp byte [edi + 5], 0
je 0x486667
mov al, byte [edi + 4]
xor ecx, ecx
push 4
test al, al
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ElimDupExtract
setne cl
push esi
mov dword [esp + 0x28], ecx
call ebx
cmp byte [edi + 6], 0
je 0x486687
mov eax, dword [edi + 8]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ContextMenu
push esi
call ebx
test esi, esi
je 0x486692
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5232bc
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004df96c
add esp, 0x18
ret
Function at 0x4866d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f3340
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
push 0x5232bc
mov dword [edi], 1
mov word [edi + 4], 1
mov dword [edi + 8], 0xffffffff
mov byte [edi + 6], 0
mov dword [esp + 0x30], 0x5232bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], esi
mov edx, 0x5040c0
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x14]
call fcn.00484f80
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
push ecx
push 0x20019
push esi
push dword [eax]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x486778
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], esi
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
test ebx, ebx
jne 0x4868b2
xor eax, eax
mov dword [esp + 0x28], ebx
cmp byte [esp + 0x13], al
mov byte [edi], 1
setne al
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.CascadedMenu
push esi
call ebx
cmp dword [esp + 0x20], 0
setne cl
test eax, eax
jne 0x4867d4
mov byte [edi], cl
sete al
mov dword [esp + 0x24], 0
mov byte [edi + 1], al
xor eax, eax
cmp byte [esp + 0x13], al
mov byte [edi + 4], 1
setne al
mov dword [esp + 0x28], 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push str.ElimDupExtract
push esi
call ebx
cmp dword [esp + 0x20], 0
setne cl
test eax, eax
jne 0x486823
mov byte [edi + 4], cl
sete al
mov dword [esp + 0x24], 0
mov byte [edi + 5], al
xor eax, eax
cmp byte [esp + 0x13], al
mov byte [edi + 2], 0
setne al
mov dword [esp + 0x28], 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push str.MenuIcons
push esi
call ebx
cmp dword [esp + 0x20], 0
setne cl
test eax, eax
jne 0x486872
mov byte [edi + 2], cl
sete al
mov dword [esp + 0x24], 0
mov byte [edi + 3], al
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 4
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push str.ContextMenu
push esi
call ebx
test eax, eax
jne 0x4868ac
mov ecx, dword [esp + 0x20]
mov dword [edi + 8], ecx
sete al
mov byte [edi + 6], al
test esi, esi
je 0x4868bd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5232bc
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004df96c
add esp, 0x30
ret
Function at 0x487580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f3618
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esp + 8], 0
push edx
lea ecx, [esp + 0x28]
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x30], 0
call fcn.00412780
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
call fcn.00487500
push 0x50437c
lea ecx, [esp + 0x10]
call fcn.00412680
push 0x504384
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.00412680
lea eax, [esp + 0xc]
mov byte [esp + 0x3c], 2
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00412fa0
mov byte [esp + 0x3c], 1
push dword [esp + 0x18]
call fcn.004df97b
mov byte [esp + 0x40], 0
push dword [esp + 0x10]
call fcn.004df97b
add esp, 8
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.0041cd40
mov dword [esp + 0x3c], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004df96c
add esp, 0x38
ret

Function at 0x487900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f3678
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004879b0
push dword [esp + 0x64]
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.00412a60
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x2c]
call fcn.00489210
mov dword [esp + 0x5c], 0xffffffff
push dword [esp + 0x40]
call fcn.004df97b
push dword [esp + 0x38]
call fcn.004df97b
push dword [esp + 0x30]
call fcn.004df97b
push dword [esp + 0x28]
call fcn.004df97b
push dword [esp + 0x20]
call fcn.004df97b
add esp, 0x14
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x58
ret 4
Function at 0x48a4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2d8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
mov esi, dword [ebp + 8]
lea edx, [esp + 0x78]
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xc]
push edi
push edx
push eax
call dword [ecx + 0xc]
lea eax, [esi + 0x38]
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.0048be30
xorps xmm0, xmm0
lea eax, [esi + 0x20]
movdqa xmmword [esp + 0x60], xmm0
lea ecx, [esp + 0x64]
push eax
mov dword [esp + 0x64], 0xffffffff
call fcn.00412780
push 8
mov dword [esp + 0x14], 0
call fcn.004df9b3
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
je 0x48a71f
mov edi, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 3
mov word [esi], ax
cmp edi, 0xffffffff
je 0x48a5d5
mov eax, dword [0x5236fc]
test eax, eax
je 0x48a6ce
lea ecx, [esp + 0x80]
push ecx
push edi
call eax
test eax, eax
je 0x48a6d6
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x88]
push eax
call fcn.00412850
jmp 0x48a5f3
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x68]
lea ecx, [esp + 0x68]
call fcn.00418df0
mov edi, dword [esp + 0x60]
test al, al
je 0x48a719
mov esi, dword [esp + 0x10]
mov edx, str.::_DATA
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.004119a0
test al, al
jne 0x48a587
push 8
mov dword [esp + 0x48], 0
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x48a733
xor ecx, ecx
mov dword [esp + 0x44], eax
mov word [eax], cx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 3
call fcn.00418d80
push eax
lea ecx, [esp + 0x48]
call fcn.004128e0
push dword [esp + 0x54]
call fcn.004df97b
mov esi, dword [esp + 0x4c]
add esp, 4
test esi, esi
je 0x48a692
mov ecx, dword [esp + 0x44]
cmp word [ecx], 0x3a
jne 0x48a692
dec esi
lea eax, [esi*2 + 2]
push eax
lea eax, [ecx + 2]
push eax
push ecx
call fcn.004dfa50
add esp, 0xc
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x44], 0
call fcn.0048bd30
push dword [esp + 0x44]
call fcn.004df97b
add esp, 4
jmp 0x48a587
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call fcn.004df97b
add esp, 4
push dword [esp + 0x64]
call fcn.004df97b
add esp, 4
cmp edi, 0xffffffff
je 0x48a701
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x2dc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x10]
jmp 0x48a6da
push 0x51c2c8
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0
push eax
call fcn.004ea58e
push 0x51c2c8
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0
push eax
call fcn.004ea58e
int3
Function at 0x48ad80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4efcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
push edx
movq qword [esp + 0x18], xmm0
call fcn.00412680
push 0x50280c
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.00412c30
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub eax, esi
mov ecx, dword [ebx + 4]
cmp ecx, eax
jbe 0x48ae17
add ecx, esi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x14]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x14]
inc eax
add eax, eax
push eax
push dword [ebx]
lea ecx, [edi + esi*2]
push ecx
call fcn.004e4930
mov eax, dword [ebp]
add esp, 0xc
add esi, dword [ebx + 4]
mov dword [esp + 0x18], esi
push edi
push ebp
call dword [eax + 0x18]
push edi
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret 4

Function at 0x48ae80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4efcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
push edx
movq qword [esp + 0x18], xmm0
call fcn.00412680
push 0x50280c
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.00412c30
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub eax, esi
mov ecx, dword [ebx + 4]
cmp ecx, eax
jbe 0x48af17
add ecx, esi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x14]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x14]
inc eax
add eax, eax
push eax
push dword [ebx]
lea ecx, [edi + esi*2]
push ecx
call fcn.004e4930
mov eax, dword [ebp]
add esp, 0xc
add esi, dword [ebx + 4]
mov dword [esp + 0x18], esi
push edi
push ebp
call dword [eax + 0x20]
push edi
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret 4
Function at 0x48c3e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
xor edi, edi
mov eax, 1
cmp byte [ecx + 0x12], 0
cmovne edi, eax
cmp byte [ecx + 0x13], 0
je 0x48c407
or edi, 2
cmp byte [ecx + 0x10], 0
je 0x48c410
or edi, 4
cmp byte [ecx + 0x11], 0
je 0x48c419
or edi, 8
lea eax, [esp + 0xc]
xor esi, esi
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
test eax, eax
lea eax, [esp + 0xc]
push eax
cmove esi, dword [esp + 0x10]
push 4
push 0
push 0x506aac
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x48c46f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.004df96c
add esp, 0xc
ret

Function at 0x48c910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48c9ab
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x48c995
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x48c995
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48c98e
push ebx
push edi
push eax
call fcn.004e4930
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0xc]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x48c995
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004df96c
add esp, 8
ret
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.004df96c
add esp, 8
ret
Function at 0x48d300
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4f3a40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, 1
jne 0x48d444
push 8
mov dword [esi + 8], 2
mov dword [esp + 0x20], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x48d363
mov byte [esp + 0xc], al
lea eax, [esp + 0xc]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 3
mov word [eax], cx
mov dword [esp + 0x30], ecx
push 8
mov dword [esp + 0x14], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x48d3a5
mov byte [esp + 0xd], al
lea eax, [esp + 0xd]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 3
mov word [eax], cx
lea eax, [esp + 0xe]
mov byte [esp + 0x30], 1
push eax
lea eax, [esp + 0x13]
push eax
push ecx
lea eax, [esp + 0x28]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
mov eax, 1
sub eax, dword [esi + 0xc]
push eax
call fcn.0048c6e0
mov byte [esp + 0x30], 0
mov edi, eax
push dword [esp + 0x10]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 0x1c]
call fcn.004df97b
add esp, 4
test edi, edi
je 0x48d427
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
imul eax, dword [esi + 0xc], 0x168
mov ecx, esi
push 1
sub ecx, eax
push dword [ecx + 0x1e0]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
jmp 0x48d461
dec eax
mov dword [esi + 8], eax
imul eax, dword [esi + 0xc], 0x168
push 0
sub ecx, eax
push dword [ecx + 0x1e0]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
imul eax, dword [esi + 0xc], 0x168
mov ecx, esi
sub ecx, eax
push dword [ecx + 0x1e0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0049ace0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x48d4a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f3a68
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x14]
call fcn.0048bf80
xor ebp, ebp
mov dword [esp + 0x3c], 3
mov dword [esp + 0x38], 3
add edi, 0x13c
mov dword [esp + 0x24], ebp
jmp 0x48d500
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
push 8
mov dword [esp + 0x30], 0
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x48d695
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 3
mov word [eax], cx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x2c]
cmp dword [edi + 0x10], 0
jne 0x48d555
push edi
jmp 0x48d55e
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
add eax, 0x70
push eax
call fcn.004128e0
lea edx, [esp + 0x2c]
mov ecx, ebp
call fcn.004d24d0
mov eax, dword [edi - 0xc]
lea ecx, [esp + 0x18]
mov bl, byte [edi - 2]
mov edx, ebp
mov dword [esp + ebp*4 + 0x38], eax
call fcn.004cdb60
xor esi, esi
mov dword [esp + 0x28], esi
mov ebp, dword [eax]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
push 4
cmove esi, dword [esp + 0x2c]
xor eax, eax
test bl, bl
setne al
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push 4
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x48d5e0
push esi
call ebx
push dword [esp + 0x18]
call fcn.004df97b
mov dword [esp + 0x54], 0xffffffff
push dword [esp + 0x30]
call fcn.004df97b
mov ebp, dword [esp + 0x2c]
add esp, 8
inc ebp
add edi, 0x168
mov dword [esp + 0x24], ebp
cmp ebp, 2
jb 0x48d500
movzx edi, byte [esp + 0x3c]
xor esi, esi
movzx eax, byte [esp + 0x38]
shl edi, 8
or edi, eax
mov dword [esp + 0x24], esi
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x28]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
test eax, eax
lea eax, [esp + 0x28]
push eax
cmove esi, dword [esp + 0x2c]
push 4
push 0
push str.ListMode
push esi
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x48d676
push esi
call ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004df96c
add esp, 0x40
ret
push 0x51c2c8
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
call fcn.004ea58e
int3