joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b460
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445d31
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x16c], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x170], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x170], 1
mov dword [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x60]
call fcn.00402680
mov byte [ebp - 4], 2
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x48]
call fcn.0040dac0
mov edi, eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0xf0]
call fcn.0040dac0
mov esi, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x16c]
lea ecx, [ebp - 0xd8]
call fcn.0040dac0
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x90]
call fcn.0041b6a0
add esp, 4
mov byte [ebp - 4], 6
push 0x4503d4
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00416d70
add esp, 4
mov byte [ebp - 4], 7
push esi
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.0041b710
add esp, 4
mov byte [ebp - 4], 8
push 0x4503d0
mov edx, eax
lea ecx, [ebp - 0xc0]
call fcn.00416d70
add esp, 4
mov byte [ebp - 4], 9
push edi
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0041b710
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.00402650
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.00402650
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa8]
call fcn.00402650
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.00402650
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd8]
call fcn.00402650
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xf0]
call fcn.00402650
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
call fcn.00402650
lea ecx, [ebp - 0x164]
call fcn.0040fad0
call fcn.0040fb00
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae eax, dword [ebp - 0x30]
push dword [ebp - 0x20]
push eax
call fcn.0040fb30
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x164]
call fcn.004105c0
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.0040e770
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x48]
call fcn.00402650
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00402650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00402780
mov dword [ebp - 4], 0
mov eax, ebx
jmp 0x41b67f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret 4
Function at 0x41d580
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445e92
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4587e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
lea eax, [esi + 0x60]
mov dword [esi], 0x450448
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov eax, dword [esi]
lea edi, [esi + 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
push edi
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00407900
mov dword [ebp - 4], 4
mov eax, dword [esi]
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00407ff0
mov byte [ebp - 4], 5
lea eax, [edi + 4]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [edi + 0x4c], 0
mov byte [edi + 0x45], 0
lea ecx, [edi + 8]
mov dword [edi + 0x10], ecx
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x45b0e4]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x41d6c0
mov eax, dword [eax]
push ecx
push 2
push eax
mov ecx, edi
call fcn.00418090
test eax, eax
jne 0x41d6f8
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x41d6e6
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x41d6f8
push 0
call fcn.00404e10
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4220c0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446f30
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push 0x45b200
push 0x44fbd8
push 1
push 0
push 0x44fca8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x45b200], 0
jne 0x422134
mov eax, 0xfffffffd
jmp 0x4221ea
lea ecx, [ebp - 0x28]
call fcn.0041ef00
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x42214b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041dac0
mov byte [ebp - 4], 1
mov edx, dword [eax]
test edx, edx
je 0x422162
mov edx, dword [edx]
jmp 0x422164
xor edx, edx
mov eax, dword [0x45b200]
push 0x45b1fc
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0041db60
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4221a5
push dword [ebp - 0x28]
call fcn.00423c7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [0x45b200], eax
jne 0x4221c8
mov eax, 0xfffffffc
jmp 0x4221ea
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [0x45b1fc]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
neg eax
sbb eax, eax
and eax, 0xfffffffa
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x422b90
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37cc
call fcn.0043d5b0
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
xor eax, eax
push edi
mov dword [ebp - 0x37c8], eax
xor edi, edi
lea ebx, [ebx]
push edi
lea eax, [ebp - 0x108]
push str..PhysicalDrive_d
push eax
call fcn.00423270
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x422d95
push 0x2710
xorps xmm0, xmm0
lea eax, [ebp - 0x33d0]
movq qword [ebp - 0x37c4], xmm0
push 0
push eax
mov dword [ebp - 0x37cc], 0
mov dword [ebp - 0x37bc], 0
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 0x37c0], 0
call fcn.004293a0
add esp, 0xc
lea eax, [ebp - 0x37cc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x33d0]
push eax
push 0xc
lea eax, [ebp - 0x37c4]
push eax
push 0x2d1400
push esi
call ebx
test eax, eax
je 0x422d88
mov edx, dword [ebp - 0x33c4]
lea eax, [ebp - 0xcc0]
push eax
push 0
lea ecx, [ebp - 0x33d0]
call fcn.00422a30
mov edx, dword [ebp - 0x33c0]
lea eax, [ebp - 0x8d8]
push eax
push 0
lea ecx, [ebp - 0x33d0]
call fcn.00422a30
mov edx, dword [ebp - 0x33bc]
lea eax, [ebp - 0x37b8]
push eax
push 0
lea ecx, [ebp - 0x33d0]
call fcn.00422a30
mov edx, dword [ebp - 0x33b8]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x33d0]
call fcn.00422a30
add esp, 0x20
cmp byte [0x45c2f8], 0
jne 0x422d4f
mov al, byte [ebp - 0x4f0]
test al, al
je 0x422d4f
cmp al, 0xa
je 0x422d4f
movsx eax, al
push eax
call fcn.00426179
add esp, 4
test eax, eax
jne 0x422d16
movsx eax, byte [ebp - 0x4dd]
push eax
call fcn.00426179
add esp, 4
test eax, eax
je 0x422d4f
lea eax, [ebp - 0x4f0]
push eax
push 0x400
push 0x45c2f8
call fcn.0042cb4f
lea eax, [ebp - 0x8d8]
push eax
push 0x400
push 0x45bef8
call fcn.0042cb4f
add esp, 0x18
mov dword [ebp - 0x37c8], 1
push 0x2710
lea eax, [ebp - 0x33d0]
push 0
push eax
call fcn.004293a0
add esp, 0xc
lea eax, [ebp - 0x37cc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x33d0]
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
jmp 0x422d8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0x10
jl 0x422bc0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x37c8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x423000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x44fec8
push 0x400
push 0x45c2f8
xor edi, edi
call fcn.0042cb4f
add esp, 0xc
lea eax, [ebp - 0x120]
push 0x114
push edi
push eax
call fcn.004293a0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x423085
call fcn.004226b0
test eax, eax
jne 0x4230a1
call fcn.00422ec0
test eax, eax
jne 0x4230a1
call fcn.00422b90
test eax, eax
jne 0x4230a1
call fcn.004228e0
jmp 0x4230a1
xor esi, esi
test edi, edi
jne 0x4230a1
cmp byte [0x45c2f8], 0
jne 0x4230a1
call fcn.00422dc0
inc esi
mov edi, eax
cmp esi, 0xa
jl 0x423087
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 0x45c2f8
pop esi
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x4391ae
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00429086
mov dword [ebp - 0x14], eax
cmp dword [0x45b0b0], edi
jne 0x43929f
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x43922c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43937f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43937f
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43937f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x45b0b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x45b0b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x45b0b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45b0c0], eax
test eax, eax
je 0x43929c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45b0bc], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4392c4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4392b7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4392d9
push 4
pop eax
jmp 0x439381
cmp dword [ebp - 0x14], edi
je 0x4392d9
push dword [0x45b0b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4392be
mov eax, dword [0x45b0bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x439337
cmp dword [0x45b0c0], esi
je 0x439337
push eax
call ebx
push dword [0x45b0c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x439337
test eax, eax
je 0x439337
call ecx
test eax, eax
je 0x43932c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43932c
test byte [ebp - 8], 1
jne 0x439337
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x439367
mov eax, dword [0x45b0b4]
cmp eax, esi
je 0x439364
push eax
call ebx
test eax, eax
je 0x439364
call eax
mov edi, eax
test edi, edi
je 0x439364
mov eax, dword [0x45b0b8]
cmp eax, esi
je 0x439364
push eax
call ebx
test eax, eax
je 0x439364
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x45b0b0]
call ebx
test eax, eax
je 0x43937f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x439381
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423c82
leave
ret
Function at 0x43cf26
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042c1d5
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x43cf5e
xor eax, eax
jmp 0x43cf8a
cmp esi, dword [ebp - 4]
je 0x43cf87
cmp dword [ebp + 0xc], 0
je 0x43cf87
push dword [edi + 0x9c]
call fcn.0043cb34
push dword [edi + 0x9c]
mov esi, eax
call fcn.00429533
pop ecx
pop ecx
cmp esi, eax
je 0x43cf5a
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
mov ecx, 0x531664be
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x17b01309
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0xeed370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xeed38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xf16074
push ecx
mov edi, eax
call fcn.00f01198
mov esi, eax
add esp, 8
test esi, esi
jne 0xeed3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f0102e
push esi
call fcn.00f00fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xef0850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xef08ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xf1b720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xef08ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00f011e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xef08ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xf1b720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xef092a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00f02082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xef0957
mov word [eax], si
add eax, 2
push eax
call fcn.00f02030
add esp, 4
jmp 0xef0959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xef08ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xef08b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xef0ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xef1080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xef10c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xf16458
push ecx
call fcn.00f011e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00f011e1
add esp, 0x10
jmp 0xef10d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00f0120b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00f00dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00ef1050
mov eax, dword [0xf1b728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xef113b
push esi
call fcn.00ef0fb0
add esp, 4
mov dword [0xf1b728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xef114c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00ef0ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xef4440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xef44b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xef448e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xef4471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xef447e
add edx, ecx
cmp ebx, edx
jb 0xef448a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xef4467
xor ecx, ecx
jmp 0xef44a2
test eax, eax
jne 0xef4492
xor ecx, ecx
jmp 0xef44a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00ef43c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xef48f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xef4921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xef4946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xef496e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xef4993
push ecx
push esi
call fcn.00ef44c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0xef5c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0xef5c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xef5c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xef5c38
add edx, eax
cmp ebx, edx
jb 0xef5c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xef5c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xef5c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0xef5c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xef5cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xef5c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xef5ca8
add edx, ecx
cmp ebx, edx
jb 0xef5cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xef5c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xef5f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00f02145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xef5ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0xef5fdd
lea eax, [esp + 0x18]
push eax
jmp 0xef5fe2
push 0xf1b720
call fcn.00f01fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xef5fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xef5f40
push 4
push ecx
push eax
call fcn.00f0243f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret