joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007a416
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008339c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10069cfc
mov dword [ebp - 0x14], eax
cmp dword [0x10670844], esi
jne 0x1007a509
push 0x800
push esi
push 0x1000798c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007a496
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007a5e9
push esi
push esi
push 0x1000798c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007a5e9
push 0x100079a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007a5e9
push eax
call ebx
push 0x100079b0
push edi
mov dword [0x10670844], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100079c0
push edi
mov dword [0x10670848], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100079d4
push edi
mov dword [0x1067084c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10670854], eax
test eax, eax
je 0x1007a506
push 0x100079f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10670850], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007a52e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007a521
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007a543
push 4
pop eax
jmp 0x1007a5eb
cmp dword [ebp - 0x14], esi
je 0x1007a543
push dword [0x10670844]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007a528
mov eax, dword [0x10670850]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007a5a1
cmp dword [0x10670854], edi
je 0x1007a5a1
push eax
call ebx
push dword [0x10670854]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007a5a1
test eax, eax
je 0x1007a5a1
call ecx
test eax, eax
je 0x1007a596
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007a596
test byte [ebp - 8], 1
jne 0x1007a5a1
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007a5d1
mov eax, dword [0x10670848]
cmp eax, edi
je 0x1007a5ce
push eax
call ebx
test eax, eax
je 0x1007a5ce
call eax
mov esi, eax
test esi, esi
je 0x1007a5ce
mov eax, dword [0x1067084c]
cmp eax, edi
je 0x1007a5ce
push eax
call ebx
test eax, eax
je 0x1007a5ce
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10670844]
call ebx
test eax, eax
je 0x1007a5e9
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007a5eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x82031ac
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
mov ecx, 0x23e47d8b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x100012b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.10018d70
mov esi, eax
add esp, 8
test esi, esi
jle 0x10001324
push edi
add esi, 3
push esi
call fcn.10018772
mov edi, eax
add esp, 4
test edi, edi
je 0x10001323
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push esi
push edi
call fcn.10018d55
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x1000131a
movsx ecx, byte [edi + esi - 1]
push ecx
call fcn.100186b7
add esp, 4
test eax, eax
je 0x10001308
dec esi
jne 0x100012f3
mov word [edi + esi], 0xa0d
push edi
mov byte [edi + esi + 2], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.1001873a
add esp, 4
pop edi
pop esi
pop ebp
ret
Function at 0x10010220
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x1005b4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push ecx
push 0
push 0x1fffff
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x100102cb
test esi, esi
je 0x100102cb
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x100102f5
push edi
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x10001
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x100102c8
mov edx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x218]
cmp ecx, ebx
jb 0x100102c8
mov eax, dword [ebp + 8]
add eax, ebx
cmp ecx, eax
jae 0x100102c8
push esi
call edx
cmp edi, 3
jge 0x100102db
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2d0]
inc edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov edx, dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x10010285
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100176b0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100176b0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.100176b0
mov esp, ebp
pop ebp
ret

Function at 0x10010310
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x10082d04], esi
jbe 0x10010366
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x10082cf8]
push dword [eax + esi*4]
call ebx
mov eax, dword [0x10082cf8]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x10082d04]
jb 0x10010344
pop ebx
push dword [0x10082cf8]
call fcn.1001873a
add esp, 4
mov dword [0x10082cf8], 0
mov dword [0x10082d04], 0
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10011220
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x10011315
mov ecx, 0x100111d0
cmp ecx, fcn.10011220
jbe 0x1001125b
sub ecx, fcn.10011220
jmp 0x10011266
mov ecx, fcn.10011220
sub ecx, 0x100111d0
mov eax, 0x1000
push esi
cmp ecx, eax
push edi
cmova ecx, eax
push ecx
push 0x100111d0
push ebx
call fcn.10023100
add esp, 0xc
add ebx, 0x800
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.OpenEvent
push edi
call esi
push 0x100564c0
push edi
mov dword [ebx], eax
call esi
push 0x100564cc
push edi
mov dword [ebx + 0x10c], eax
call esi
push str.FreeLibraryAndExitThread
push edi
mov dword [ebx + 0x108], eax
call esi
cmp dword [ebx], 0
pop edi
mov dword [ebx + 0x110], eax
pop esi
je 0x10011315
cmp dword [ebx + 0x10c], 0
je 0x10011315
cmp dword [ebx + 0x108], 0
je 0x10011315
test eax, eax
je 0x10011315
push str.eventUnhookPids
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
push 0
push 0
push ebx
push dword [ebp - 4]
mov dword [ebx + 0x114], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10048c00
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1005b4b0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov eax, dword [0x1005b4b0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [0x10082e5c]
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], esi
test esi, esi
je 0x10011470
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x10]
push 0x36
push str.Synching_maps_within_DLL_memory_n_Amount_of_host_maps:
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10012990
mov byte [esp + 0x50], 1
lea ecx, [esp + 0x28]
mov edx, dword [ebx + 0x418000]
call fcn.10014510
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 2
call fcn.10012610
mov byte [esp + 0x50], 1
cmp dword [esp + 0x3c], 0x10
jb 0x100114dc
push dword [esp + 0x28]
call fcn.1001937f
add esp, 4
push 0x14
push str._Amount_of_ip_maps:
lea ecx, [esp + 0x18]
call fcn.100126d0
mov edx, dword [ebx + 0x430004]
lea ecx, [esp + 0x28]
call fcn.10014510
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 3
call fcn.10012610
mov byte [esp + 0x50], 1
cmp dword [esp + 0x3c], 0x10
jb 0x10011526
push dword [esp + 0x28]
call fcn.1001937f
add esp, 4
push 1
push 0x10054264
lea ecx, [esp + 0x18]
call fcn.100126d0
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x43000c
push ebx
push 0x10084010
call fcn.10023100
add esp, 0xc
push str.Memory_copied._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x24], 0x10
jb 0x1001157c
push dword [esp + 0x10]
call fcn.1001937f
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
test esi, esi
je 0x1001159c
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100176b0
mov esp, ebp
pop ebp
ret 4

Function at 0x100122e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov ecx, 0x10082d24
call fcn.100108f0
mov ecx, 0x10082d44
call fcn.100108f0
mov ecx, 0x10082d30
call fcn.100108f0
mov ecx, 0x10082d0c
call fcn.100108f0
mov ecx, 0x10082d48
call fcn.100108f0
mov ecx, 0x10082d18
jmp fcn.100108f0
Function at 0x10013710
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x1005b4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0x100567c4
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.10013450
lea eax, [ebp - 0x3c]
push eax
call fcn.1002da2a
add esp, 4
lea ecx, [ebp - 0x70]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.10013510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x445b3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4a4fec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x4800b8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, 0x47fd28
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebp + 8]
push eax
push 0x4a93b8
push 0x47fce4
add byte [ebp - 0xcb7b], cl
jmp [edx + 0x18]
push eax
mov dword [ebp - 0xcc], 0x4800ac
mov dword [ebp - 0xc8], 0x480094
mov dword [ebp - 0xc4], 0x48008c
mov dword [ebp - 0xc0], 0x480078
mov dword [ebp - 0xbc], 0x480070
mov dword [ebp - 0xb8], 0x48005c
mov dword [ebp - 0xb4], 0x480054
mov dword [ebp - 0xb0], 0x48003c
mov dword [ebp - 0xac], 0x480038
mov dword [ebp - 0xa8], 0x480028
mov dword [ebp - 0xa4], 0x48001c
mov dword [ebp - 0xa0], 0x480004
mov dword [ebp - 0x9c], 0x47fff8
mov dword [ebp - 0x98], 0x47ffe0
mov dword [ebp - 0x94], 0x47ffd4
mov dword [ebp - 0x90], 0x47ffb8
mov dword [ebp - 0x8c], 0x47ffac
mov dword [ebp - 0x88], 0x47ff94
mov dword [ebp - 0x84], 0x47ff84
mov dword [ebp - 0x80], 0x47ff68
mov dword [ebp - 0x7c], 0x47ff54
mov dword [ebp - 0x78], 0x47ff3c
mov dword [ebp - 0x74], 0x47ff2c
mov dword [ebp - 0x70], 0x47ff10
mov dword [ebp - 0x6c], 0x47ff00
mov dword [ebp - 0x68], 0x47fee4
mov dword [ebp - 0x64], 0x47fed0
mov dword [ebp - 0x60], 0x47feb0
mov dword [ebp - 0x5c], 0x47fea4
mov dword [ebp - 0x58], 0x47fe8c
mov dword [ebp - 0x54], 0x47fe74
mov dword [ebp - 0x50], 0x47fe50
mov dword [ebp - 0x4c], 0x47fe40
mov dword [ebp - 0x44], 0x47fe2c
mov dword [ebp - 0x3c], 0x47fe20
mov dword [ebp - 0x38], 0x47fe08
mov dword [ebp - 0x34], 0x47fdf8
mov dword [ebp - 0x30], 0x47fddc
mov dword [ebp - 0x2c], 0x47fdcc
mov dword [ebp - 0x28], 0x47fdb0
mov dword [ebp - 0x24], 0x47fda4
mov dword [ebp - 0x20], 0x47fd8c
mov dword [ebp - 0x1c], 0x47fd80
mov dword [ebp - 0x18], 0x47fd68
mov dword [ebp - 0x14], 0x47fd5c
mov dword [ebp - 0x10], 0x47fd44
call fcn.00445ac2
mov ecx, dword [ebp - 4]
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call 0x4807de
leave
ret

Function at 0x4737ec
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
jne 0x490234
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x490234
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
ret
mov cl, byte [esi]
test cl, cl
je 0x4902ee
movzx eax, byte [esi - 1]
movzx ecx, cl
inc esi
dec dword [edi]
mov dh, 0xc9
jmp 0x4902de
or byte [ebx + eax + 0x1d], 4
inc eax
cmp eax, ecx
jbe 0x4902d8
inc esi
inc esi
cmp byte [esi - 1], 0
jne 0x490228
lea eax, [ebx + 0x1e]
mov ecx, 0xfe

Function at 0x4761c8
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x476206
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x490237
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jae 0x490237
pop edi
pop esi
pop ebx
ret
xor eax, eax
jmp 0x476202
Function at 0x47a59a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [ebp + 0xc], ecx
jle 0x47a5ca
push esi
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
mov esi, eax
and esi, 0xff
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x3004fcb8]
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x47a5a8
pop esi
not eax
pop ebp
ret 8
Function at 0x4016d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x828
mov eax, dword [0x5685f0]
xor eax, esp
mov dword [esp + 0x824], eax
push esi
push 0x44
lea eax, [esp + 0x18]
push 0
push eax
mov esi, ecx
call fcn.0042faa0
xor eax, eax
push esi
lea ecx, [esp + 0x68]
push 0x55c038
push ecx
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.0042a2e5
add esp, 0x18
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40175f
pop esi
mov ecx, dword [esp + 0x824]
xor ecx, esp
call fcn.00429fbb
add esp, 0x828
ret
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x828]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00429fbb
add esp, 0x828
ret
Function at 0x402350
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x517fd6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5685f0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x5685f0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x42]
push ebx
push eax
mov esi, ecx
mov word [esp + 0x48], bx
call fcn.0042faa0
add esp, 0xc
xor eax, eax
mov edi, edi
movzx ecx, word [eax + str.SmartCloud]
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp cx, bx
jne 0x4023b0
lea eax, [esp + 0x3c]
add eax, 0xfffffffe
jmp 0x4023d0
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4023d0
mov ecx, dword [str.CRunHPCmd]
mov edx, dword [0x55c310]
mov dword [eax], ecx
mov ecx, dword [0x55c314]
mov dword [eax + 4], edx
mov edx, dword [0x55c318]
mov dword [eax + 8], ecx
mov ecx, dword [0x55c31c]
mov dword [eax + 0xc], edx
lea edx, [esp + 0x3c]
push edx
push 1
push ebx
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x258], ebx
jne 0x402456
cmp edi, ebx
je 0x40244f
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4024e7
lea edx, [esp + 0x20]
lea ecx, [esi + 4]
push edx
call fcn.004077e0
add esp, 4
mov byte [esp + 0x258], 1
call fcn.00402c90
call fcn.00404bf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov esi, 0x55c3b8
mov byte [ecx + 4], bl
call fcn.00403c80
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0040ad20
cmp dword [esp + 0x38], 0x10
jb 0x4024c0
mov edx, dword [esp + 0x24]
push edx
call fcn.0040eb10
add esp, 4
cmp edi, ebx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
je 0x4024e2
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00429fbb
mov esp, ebp
pop ebp
ret
Function at 0x404530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404549
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404584
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x404580
lea ebx, [ebx]
cmp esi, eax
jae 0x404584
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404570
cmp esi, eax
jb 0x40458a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret