joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbe24
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046cc
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4bbf9e
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004ba288
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.004ba2a8
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4bbf6a
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040448c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040941c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004083c4
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004083c4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404628
je 0x4bbf44
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040448c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004083c4
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004083c4
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404628
jne 0x4bbf5b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.004ba2c8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4bbea5
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbfa5
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404240
lea eax, [ebp - 4]
call fcn.0040421c
ret
Function at 0xcd1390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x10c]
sub esp, 0x10c
push eax
mov eax, dword [ebp + 0xc]
call fcn.00cd1350
add esp, 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0xebd034
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0xcd1407
mov eax, dword [ebp - 8]
cmp eax, 1
je 0xcd13e6
cmp eax, 2
jne 0xcd1407
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0xcd1410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x10c]
sub esp, 0x10c
push eax
mov eax, dword [ebp + 0xc]
call fcn.00cd1350
add esp, 4
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x10c]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xcd1476
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0xcd1940
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.Graphic_Setting
push str.Language
call fcn.00cd1410
add esp, 0xc
test eax, eax
je 0xcd196c
mov eax, dword [ebp - 4]
cmp eax, 3
jb 0xcd19a6
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
cmp eax, 7
je 0xcd1988
xor ecx, ecx
cmp eax, 0xc
sete cl
mov eax, ecx
jmp 0xcd198d
mov eax, 2
push eax
push str.Graphic_Setting
push str.Language
mov dword [ebp - 4], eax
call fcn.00cd1390
mov eax, dword [ebp - 4]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0xcd4180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0xcd419b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0xcd41d2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0xcd41ce
jmp 0xcd41c0
cmp esi, eax
jae 0xcd41d2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0xcd41c0
cmp esi, eax
jb 0xcd41d9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xcd65a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00ce3261
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0xcd65dc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00cd61e5
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0xcd663a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0xcd665e
cmp dword [edi + 0x74], 0
jne 0xcd665e
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00ce3261
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00cd65fb
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0xcdea62
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0xcdeaa9
call fcn.00ce3261
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0xcdeaa9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0xcdeac5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00cde567
mov esi, eax
test edi, edi
je 0xcdeac3
test ebx, ebx
je 0xcdeac3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0xcdfe3f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0xe9c230
call fcn.00e6d44b
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0xcdfe64
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0xcdfeb6
call fcn.00ce33e7
push eax
lea ecx, [ebp - 0x10]
call fcn.00cd2a20
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00e7066a
push eax
call fcn.00cdf27b
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00cd2100
mov eax, esi
call fcn.00e6d523
ret 8
Function at 0xce4b17
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00ce3f16
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0xce4b61
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00cd6baf
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00cd6b80
jmp 0xce4b6c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00cee5d7
pop edi
pop esi
pop ebp
ret 0xc

Function at 0xce4c6a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00cdf394
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0xce4ca7
call fcn.00ce3f16
mov dword [esi + 0xc], 1
jmp 0xce4cac
call fcn.00ce3f16
cmp dword [esi], 0
je 0xce4cf5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0xce4ccd
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00cd6baf
jmp 0xce4cdf
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00cd2f30
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00cd6b80
jmp 0xce4d19
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0xce4d19
push dword [esi]
push dword [ebp + 8]
call fcn.00cee5d7
pop esi
pop ebp
ret 0xc

Function at 0xce83b2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0xf3c704]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0xce83fa
push 0xec1900
push 4
push eax
call fcn.00e70cba
push eax
call fcn.00cdf27b
add esp, 0x10
jmp 0xce8410
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0xce8493
push edi
call fcn.00e6db27
mov edi, dword [eax]
call fcn.00e6db27
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00e6c39e
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00e6db27
cmp dword [eax], 0
je 0xce8467
call fcn.00e6db27
push dword [eax]
call fcn.00cd6c9f
pop ecx
jmp 0xce846e
call fcn.00e6db27
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0xce8493
cmp dword [ebp - 0x11c], esi
jae 0xce8493
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0xce8495
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00e6d43c
leave
ret
Function at 0xce84a2
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0xf3c704]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00cd8e9e
pop ecx
cmp eax, esi
je 0xce858c
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0xce858c
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00e6cfd0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0xce858c
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0xce858c
cmp esi, 0x14
jge 0xce858c
push 0x10
push 0
push edi
call fcn.00e713b8
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0xce857b
call fcn.00e6db27
cmp dword [eax], 0x22
je 0xce857b
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00e70687
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0xce8551
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0xf3f794], 0
jne 0xce8617
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0xce8640
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00ce83b2
pop ecx
pop ecx
test eax, eax
jne 0xce8642
inc edi
cmp edi, esi
jl 0xce861d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00e6d43c
leave
ret 8
Function at 0xcf6953
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xf3c704]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0xcf6988
xor eax, eax
jmp 0xcf69db
lea eax, [ebp - 0x210]
push eax
call fcn.00e70687
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0xcf69b9
push 0xec2b60
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00e71fd3
add esp, 0xc
test eax, eax
jne 0xcf6984
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00e71fd3
add esp, 0xc
test eax, eax
jne 0xcf6984
lea eax, [ebp - 0x210]
push eax
call fcn.00cd8f24
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00e6d43c
leave
ret

Function at 0xcf9cdf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0xe9e119
call fcn.00e6d44b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00cde392
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0xcf9d41
call fcn.00ce2586
cmp eax, 1
jne 0xcf9d41
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00ceac9f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00ce3a7c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00cd2100
mov dword [ebp + 8], 0x80000001
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00cd2100
mov eax, esi
call fcn.00e6d523
ret 0x10

Function at 0xcf9d6a
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0xe9e144
call fcn.00e6d44b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00cde392
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0xcf9dcc
call fcn.00ce2586
cmp eax, 1
jne 0xcf9dcc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00ceac9f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00ce3a7c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00cd2100
mov dword [ebp + 8], 0x80000001
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00cd2100
mov eax, esi
call fcn.00e6d523
ret 0x14
Function at 0xcf9df8
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0xe9e16f
call fcn.00e6d44b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00cde392
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0xcf9e5a
call fcn.00ce2586
cmp eax, 1
jne 0xcf9e5a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00ceac9f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00ce3a7c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00cd2100
inc esi
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
test ecx, ecx
je 0xcf9e6c
call fcn.00cea98b
jmp 0xcf9e72
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00cd2100
mov eax, esi
call fcn.00e6d523
ret 0xc

Function at 0xd0472c
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0xd0476a
push 0xec35f0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0xd04778
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0xd04778
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0xd0477a
cmp dword [esi + 4], 0
je 0xd04778
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0xd5ddcf
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0xd5de07
push 0xec35f0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0xd5de15
push str.SetFileAttributesTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0xd5de15
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0xd5de17
cmp dword [esi + 4], 0
je 0xd5de15
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0xd6cc22
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0xd6cc3c
call fcn.00ce3261
mov esi, dword [eax + 0xc]
push dword [0xf41548]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0xd6cc5a
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0xd6cc52
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0xd6cc87
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0xd6cc54
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00d6cb50
mov esi, eax
jmp 0xd6cc79
Function at 0xe124ed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00cdcc5e
call fcn.00cd5ca9
cmp eax, esi
pop esi
jne 0xe12509
mov ecx, 0xf3fc10
jmp fcn.00cf7ad3
ret

Function at 0xe1eece
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0xe1eee6
mov edi, dword [esi + 0xc]
jmp 0xe1ef26
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0xe1eeff
call fcn.00cebb54
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0xe1ef14
call fcn.00cebb54
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0xe1ef26
call fcn.00cebb54
call fcn.00ce3261
cmp dword [eax + 0x3c], 0
je 0xe1ef3b
push edi
mov ecx, ebx
call fcn.00e1da4e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00e1ede8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0xe1ef59
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0xe1ef65
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0xe21ae3
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0xe21b07
mov eax, dword [esi]
push 0
call dword [eax + 0xe0]
test eax, eax
jne 0xe21b15
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0xe0]
jmp 0xe21b01
xor eax, eax
inc eax
pop esi
ret

Function at 0xe34f5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0xe34f70
xor eax, eax
jmp 0xe34fe5
cmp dword [ebp + 0xc], 0
je 0xe34f6c
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0xe34f89
call fcn.00ce3261
mov eax, dword [eax + 0xc]
test eax, eax
je 0xe34f6c
push edi
push dword [ebp + 0xc]
mov dword [esi + 8], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0xe34fb1
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0xe34fb5
xor eax, eax
jmp 0xe34fe4
push ebx
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0xe34fe3
push dword [ebp + 0xc]
mov edi, dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call dword [edi + 4]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0xe63571
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00e6cfd0
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
leave
ret 0x14

Function at 0xe6d43c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xf3c704]
jne 0xe6d446
repz ret
jmp fcn.00e7cd7f

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret