joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1e70
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
je 0x4b1eb4
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret
mov eax, dword [esp + 4]
cmp eax, 6
jbe 0x4b1ed4
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret
jb 0x4b1e9d
cmp dword [esp + 8], 1
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret

Function at 0x4b2270
Capabilities:
Delete registry value
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
cmp esi, 0xffffffff
jne 0x4b22a1
test edi, edi
je 0x4b22a1
mov eax, edi
lea edx, [eax + 2]
jmp 0x4b2290
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b2290
sub eax, edx
sar eax, 1
mov esi, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push 0
push 0xf003f
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4b2314
test edi, edi
jne 0x4b22e2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4b22fe
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi]
push eax
mov eax, dword [esp + 0x20]
push edi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x1c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4b2314
pop edi
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x4b25a0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp], eax
cmp eax, 0xffffffff
jne 0x4b25d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4b25cf
or eax, 0xffffffff
or edx, 0xffffffff
add esp, 8
ret
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 8
ret

Function at 0x4b2680
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
Function at 0x4b2dd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
test ecx, ecx
je 0x4b2e15
lea edx, [esp + 4]
push edx
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push ebx
push esi
lea edx, [esp + 8]
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4b2e58
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ebx, eax
mov eax, dword [0x5ba174]
test eax, eax
jne 0x4b2e75
push 0x5ba174
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [0x5ba174]
test eax, eax
je 0x4b2e98
test esi, esi
je 0x4b2e87
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
mov eax, dword [0x5ba174]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b2e98
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
xor eax, eax
cmp ebx, 1
pop esi
sete al
pop ebx
add esp, 0x20
ret

Function at 0x4b2f30
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test edi, edi
jne 0x4b2f50
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esp + 0x14], 0
jne 0x4b2f7b
push 0
push esi
call fcn.0051c1f2
add esp, 8
test eax, eax
je 0x4b2f7b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4b2f7b
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret

Function at 0x4b2f80
Capabilities:
Get disk information

Disassembly:
sub esp, 8
push ebx
mov bl, byte [esp + 0x30]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
test bl, bl
je 0x4b2f9d
push 1
call ebp
mov edi, eax
jmp 0x4b2fa1
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, eax
test bl, bl
je 0x4b2fd8
push edi
call ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4b3970
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x68
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x64], eax
mov al, byte [0x5ba178]
test al, al
jne 0x4b39b3
push 0x64
lea eax, [esp + 4]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4b39ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov al, 0x2e
jne 0x4b39ae
mov al, byte [esp]
mov byte [0x5ba178], al
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0051916c
add esp, 0x68
ret

Function at 0x4b3ce0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call fcn.00519500
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0x40
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x3c
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4b3d59
test edi, edi
je 0x4b3d53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
xor eax, eax
add esp, 0x3c
ret
test esi, esi
je 0x4b3d63
mov edx, dword [esp + 0x38]
mov dword [esi], edx
mov eax, dword [esp + 0x20]
test edi, edi
je 0x4b3d6d
mov dword [edi], eax
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x3c
ret

Function at 0x4b3f50
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
sub esp, 8
cmp eax, ecx
jne 0x4b3f63
xor eax, eax
add esp, 8
ret
mov dword [esp + 4], ecx
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0x4b3ee0
mov dword [esp + 8], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp]
add esp, 8
ret
Function at 0x4b4120
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x55eafb
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov esi, dword [esp + 0x274]
mov edi, dword [esp + 0x278]
mov ebx, dword [esp + 0x27c]
lea ecx, [esp + 0x14]
call fcn.0049a360
push 1
push 0x57b2a0
push str.advapi32.dll
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x27c], 0
call fcn.0049a970
test al, al
je 0x4b41b0
push ebx
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.00499f30
call eax
mov esi, eax
jmp 0x4b41dc
lea eax, [esp + 0x10]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x4b41dc
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 0x26c], 0xffffffff
call fcn.0049aa70
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0051916c
add esp, 0x260
ret

Function at 0x4b4220
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
or ecx, 2
push ecx
push 0
push edx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b42a3
mov eax, dword [esp + 0x1c]
push esi
test eax, eax
jne 0x4b4276
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x4b42b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b42bc
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
ret
Function at 0x4b4fd0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
setne bl
xor eax, eax
test bl, bl
je 0x4b4fe9
mov eax, 4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4b502a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b5021
mov dword [eax], 0
pop esi
or eax, 0xffffffff
pop ebx
add esp, 8
ret
test bl, bl
je 0x4b5049
push esi
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4b505b
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 8
ret
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4b506c
mov eax, dword [esp + 0x20]
push esi
push eax
call edi
cmp eax, 0x102
je 0x4b5068
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
or esi, 0xffffffff
push ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
pop edi
test eax, eax
jne 0x4b5097
mov dword [esp + 8], esi
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 8
ret

Function at 0x4b5b90
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x55edb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea ecx, [esp + 0x14]
call fcn.0049f020
mov dword [esp + 0x10], vtable.cWCStr.0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
push eax
push ecx
push edi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
seta bl
test bl, bl
je 0x4b5c2a
push 0
lea ecx, [esp + 0x14]
call fcn.0049ead0
cmp ax, 0x22
jne 0x4b5c1c
lea ecx, [esp + 0x10]
call fcn.0049e970
mov ecx, dword [esp + 0x14]
add ecx, 2
add eax, 0xfffffffe
push eax
push ecx
jmp 0x4b5c2d
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0049e930
jmp 0x4b5c34
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00406a80
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b5c3e
mov byte [eax], bl
mov esi, dword [esi + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x4b6130
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x55ee18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b61e7
push esi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b61e5
push edi
push 0
lea ecx, [esp + 0x18]
call fcn.0049eff0
mov dword [esp + 0x10], vtable.cLongName.0
mov dword [esp + 0x28], 0
test esi, esi
je 0x4b61b2
push esi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b61b2
push esi
lea ecx, [esp + 0x14]
call fcn.004b5390
mov esi, dword [esp + 0x14]
push esi
call ebx
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4b62f0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x55ee80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
test edi, edi
jne 0x4b6443
cmp dword [esp + 0x50], eax
je 0x4b6348
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push ebp
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4b6366
push esi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b6441
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x2c]
call fcn.0049eff0
mov edi, vtable.cLongName.0
mov dword [esp + 0x24], edi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call fcn.0049eff0
mov dword [esp + 0x14], edi
mov byte [esp + 0x3c], 1
test esi, esi
je 0x4b63b9
push esi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b63b9
push esi
lea ecx, [esp + 0x28]
call fcn.004b5390
mov esi, dword [esp + 0x28]
test ebp, ebp
jne 0x4b63c1
xor eax, eax
jmp 0x4b63e0
push ebp
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4b63d2
mov eax, ebp
jmp 0x4b63e0
push ebp
lea ecx, [esp + 0x18]
call fcn.004b5390
mov eax, dword [esp + 0x18]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, vtable.cWCS.0
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x3c], 0
mov dword [esp + 0x14], edi
call fcn.0049ee80
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], edi
call fcn.0049ee80
test esi, esi
jne 0x4b642b
mov edi, dword [esp + 0x50]
test edi, edi
je 0x4b642b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4b6540
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x55eed8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push esi
call ebp
mov edi, eax
test edi, edi
jne 0x4b65fa
push esi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b65f8
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x1c]
call fcn.0049eff0
mov dword [esp + 0x14], vtable.cLongName.0
mov dword [esp + 0x2c], edi
test esi, esi
je 0x4b65c3
push esi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b65c3
push esi
lea ecx, [esp + 0x18]
call fcn.004b5390
mov esi, dword [esp + 0x18]
push ebx
push esi
call ebp
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x14], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x4b6610
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x55ef08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x4b66c1
push edi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b66af
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x18]
call fcn.0049eff0
mov dword [esp + 0x10], vtable.cLongName.0
mov dword [esp + 0x28], esi
test edi, edi
je 0x4b668d
push edi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b668d
push edi
lea ecx, [esp + 0x14]
call fcn.004b5390
mov edi, dword [esp + 0x14]
push edi
call ebx
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.cWCS.0
call fcn.0049ee80
test esi, esi
jne 0x4b66bf
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4b66bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4b66e0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x55ef40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test esi, esi
jne 0x4b6802
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x2c]
call fcn.0049eff0
mov dword [esp + 0x24], vtable.cLongName.0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
call fcn.0049eff0
mov dword [esp + 0x14], vtable.cLongName.0
push edi
mov byte [esp + 0x40], 1
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4b6779
push ebx
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b67d6
test edi, edi
je 0x4b6798
push edi
call fcn.004b18f0
add esp, 4
test al, al
je 0x4b6798
push edi
lea ecx, [esp + 0x28]
call fcn.004b5390
mov edi, dword [esp + 0x28]
test ebx, ebx
jne 0x4b67a0
xor eax, eax
jmp 0x4b67bf
push ebx
call fcn.004b18f0
add esp, 4
test al, al
jne 0x4b67b1
mov eax, ebx
jmp 0x4b67bf
push ebx
lea ecx, [esp + 0x18]
call fcn.004b5390
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov edi, vtable.cWCS.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x14], edi
call fcn.0049ee80
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], edi
call fcn.0049ee80
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b680c
mov dword [eax], ebp
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4b6ea0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x55f048
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp dword [esp + 0x38], 0
je 0x4b6edf
or eax, 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x10]
call fcn.0049eff0
mov dword [esp + 8], vtable.cWCStr.0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], 0
call fcn.004b6d90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
add esp, 0x14
push 5
push 0
push 0
push ecx
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 8], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x4b70d0
Capabilities:
Access peb ldr_data
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x55f0a8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
push ebx
push 0
lea ecx, [esp + 0x38]
call fcn.004b6ff0
test bl, bl
je 0x4b7132
cmp dword [esp + 0x30], 0
je 0x4b7132
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b2eb0
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.004b2eb0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x4b7bf0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x55f1ce
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, 1
test byte [0x5bafbc], al
jne 0x4b7c5a
or dword [0x5bafbc], eax
push 0
push str.SHDeleteKeyW
push str.shlwapi.dll
push 0
mov ecx, 0x5bad70
mov dword [esp + 0x24], 0
call fcn.0049a270
push 0x56a530
call fcn.005194de
add esp, 4
mov dword [esp + 0x14], 0xffffffff
mov ecx, 0x5bad70
call fcn.00499ed0
test eax, eax
je 0x4b7c94
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push esi
push edi
call fcn.004b7cc0
add esp, 8
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, 0x5bad70
call fcn.00499f30
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret