joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40813c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x554be5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5c21b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5c21b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x2c], eax
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 7
call fcn.004046d0
and dword [esp + 0x40], 0
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [esi + 0x10]
call fcn.00407e42
test dword [ebp + 0xc], 0x8000000
jne 0x4081c7
test dword [esi + 0x10], 0x80000
je 0x408201
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmovae eax, dword [esp + 0x18]
push eax
call ebx
mov ecx, edi
call fcn.00407302
cmp dword [eax + 0x14], 8
jb 0x4081ed
mov eax, dword [eax]
push eax
call ebx
push dword [esp + 0x14]
call ebx
push 0x59b998
call ebx
mov ebx, dword [esp + 0x14]
mov ecx, esi
call fcn.0040a892
push eax
call fcn.005347e9
pop ecx
test eax, eax
jne 0x40821b
cmp dword [edi + 0x2e8], eax
je 0x408233
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
push ebx
cmovae eax, dword [esp + 0x1c]
mov ecx, edi
push eax
push esi
call fcn.004077c7
test dword [esi + 0x10], 0x10000000
je 0x408249
lea eax, [edi + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00404190
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00533be9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x408277
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5c21b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
xor esi, esi
mov ebx, ecx
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4082ff
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4082f8
test dword [ebp - 0x408], 0xfffffffc
jbe 0x4082f8
add ebx, 0xbc
push 0x104
push ebx
push dword [ebp + esi*4 - 0x404]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 0x408]
inc esi
shr eax, 2
cmp esi, eax
jb 0x4082d7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00533be9
mov esp, ebp
pop ebp
ret 4
Function at 0x409c9c
Capabilities:
Check mutex on windows

Disassembly:
push 0x54
mov eax, 0x554f62
call fcn.00534f83
mov esi, ecx
push 7
xor ebx, ebx
mov dword [ebp - 0x5c], esi
pop edi
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
call fcn.004046d0
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
jne 0x409d3b
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
call fcn.004046d0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, str.RegValues
call fcn.0040a7b1
push str.Lock
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0040a0ee
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a064
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404190
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 8], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00404190
push 0x32
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x409de3
push str.MappedFile
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0040a0ee
pop ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edi, 0x88
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x409dcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push 0
push 0
xor ebx, ebx
cmp eax, 0xb7
push 0xf001f
push dword [esi + 4]
setne bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x409dcd
test ebx, ebx
je 0x409dc8
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00406461
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xc]
inc dword [eax]
xor ebx, ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00404190
mov esi, dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404190
mov eax, esi
call fcn.00534f32
ret 4
Function at 0x409e39
Capabilities:
Check mutex on windows

Disassembly:
push 0x54
mov eax, 0x554fce
call fcn.00534f83
mov esi, ecx
push 7
xor ebx, ebx
mov dword [ebp - 0x5c], esi
pop edi
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
call fcn.004046d0
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
jne 0x409ed8
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
call fcn.004046d0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, str.ExtMonitor
call fcn.0040a7b1
push str.Lock
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0040a0ee
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a064
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404190
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 8], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00404190
push 0x32
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x409fbc
push str.MappedFile
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0040a0ee
pop ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0x48
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x409fa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x48
push 0
push 0
xor ebx, ebx
cmp eax, 0xb7
push 0xf001f
push dword [esi + 4]
setne bl
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [esi + 0xc], edi
test edi, edi
je 0x409fa6
test ebx, ebx
je 0x409f92
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 4
xor ebx, ebx
mov dword [edi + 4], ebx
lea ecx, [edi + 0x14]
mov dword [edi], vtable.NGLogging::CExtMonitorSettings.0
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
call fcn.00404e31
mov byte [ebp - 4], 5
lea ecx, [edi + 0x2c]
call fcn.00404e31
mov byte [ebp - 4], 6
mov dword [edi + 0x44], ebx
mov byte [ebp - 4], 3
jmp 0x409f94
xor ebx, ebx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x409fa0
add eax, 4
jmp 0x409fa2
mov eax, ebx
inc dword [eax]
jmp 0x409fa8
xor ebx, ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00404190
mov esi, dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404190
mov eax, esi
call fcn.00534f32
ret 4
Function at 0x40a684
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x40a6fe
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a6fe
cmp dword [ebp - 8], 1
jne 0x40a6fe
mov eax, dword [ebp - 4]
xor ecx, ecx
push esi
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004153ec
mov esi, eax
pop ecx
test esi, esi
je 0x40a6fd
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a6f6
mov ecx, dword [ebp + 8]
push esi
call fcn.00404830
push esi
call fcn.004153f5
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e9e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.0042155e
push 5
push esi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40ea49
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40ea49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40ea49
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x40ea49
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40ea49
push esi
push dword [ebp - 4]
push esi
push edi
call fcn.005344bb
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410ba4
Capabilities:
Get file version info

Disassembly:
push 0x10
mov eax, 0x555e06
call fcn.00534fb9
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.NGUtils::AFileVersionInfo.0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.NGUtils::CFileVersionInfo.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 4], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x410c7a
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x410c7a
mov byte [ebp - 4], 1
push ebx
call fcn.004153ec
pop ecx
mov dword [esi + 0xc], eax
mov dword [ebp - 4], edi
jmp 0x410c23
cmp dword [esi + 0xc], 0
je 0x410c7a
push dword [esi + 0xc]
push ebx
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x410c7a
mov dword [ebp + 8], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x10]
push eax
push 0x59e4dc
push dword [esi + 0xc]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x410c68
mov eax, dword [ebp + 8]
shr eax, 2
mov dword [esi + 8], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 4]
push eax
push 0x59b908
push dword [esi + 0xc]
call edi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00534f1e
ret 4

Function at 0x410f00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CreateProcessW]

Function at 0x410f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CreateThread]

Function at 0x410f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00536f29
add esp, 0x18
pop ebp
ret

Function at 0x410fc0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TerminateThread]

Function at 0x4110a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]

Function at 0x411590
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]

Function at 0x4117d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x4117e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteW]
Function at 0x412573
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x7c
mov eax, 0x555717
call fcn.00534f83
mov esi, ecx
push ecx
push ecx
push 0x1a3
push str.NGUtils::CFileUtils::DeleteFileW
push 0x5cf830
push dword [0x5ced9c]
lea ecx, [ebp - 0x88]
call fcn.0040514c
and dword [ebp - 4], 0
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x4125b3
mov eax, dword [esi]
jmp 0x4125b5
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x412610
test bl, 1
je 0x412629
and ebx, 0xfffffffe
cmp dword [esi + 0x14], edi
jb 0x4125d4
mov eax, dword [esi]
jmp 0x4125d6
mov eax, esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x412629
cmp dword [esi + 0x14], edi
jb 0x4125e9
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push esi
push str.::SetFileAttributes__s__0x_X___error_d
push 0x1b2
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00405445
add esp, 0x1c
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004051b5
mov al, bl
call fcn.00534f32
ret
cmp dword [esi + 0x14], edi
jb 0x412632
mov eax, dword [esi]
jmp 0x412634
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41266e
cmp dword [esi + 0x14], edi
jb 0x412646
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.::DeleteFile__s___error_d
push 0x1b9
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00405445
add esp, 0x18
jmp 0x412610
mov bl, 1
jmp 0x412612

Function at 0x4129dd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, edi
jmp 0x4129f2
mov ebx, dword [ebp - 4]
add edi, 0x200
test esi, esi
je 0x412a03
push esi
call fcn.004153f5
pop ecx
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004153ec
mov esi, eax
pop ecx
test esi, esi
je 0x412a67
xor eax, eax
mov word [esi], ax
lea eax, [ebx + 4]
cmp dword [eax + 0x14], 8
jb 0x412a30
mov eax, dword [eax]
push eax
push edi
push esi
push 0x59b448
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
lea ecx, [edi - 1]
cmp ebx, ecx
jae 0x4129ef
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00404830
push esi
call fcn.004153f5
xor eax, eax
cmp eax, ebx
pop ecx
sbb eax, eax
neg eax
jmp 0x412a69
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x412a72
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5561ac
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5c21b0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x5c21b0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x10], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x412ace
mov ebx, dword [esp + 0x14]
add edi, 0x200
test esi, esi
je 0x412adf
push esi
call fcn.004153f5
pop ecx
push edi
call fcn.004153ec
mov esi, eax
pop ecx
test esi, esi
je 0x412b92
xor eax, eax
mov byte [esi], al
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
mov dword [esp + 0x48], eax
lea ecx, [ebx + 4]
cmp dword [ecx + 0x14], 8
jb 0x412b1d
mov edx, dword [ecx]
jmp 0x412b1f
mov edx, ecx
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
lea eax, [edx + eax*2]
jb 0x412b2d
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0041310f
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push edi
push esi
push 0x59b658
push dword [esp + 0x2c]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
or dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402a30
lea edx, [edi - 1]
cmp ebx, edx
jae 0x412aca
mov ecx, dword [esp + 0x18]
push esi
call fcn.00402b90
push esi
call fcn.004153f5
xor eax, eax
cmp eax, ebx
pop ecx
sbb eax, eax
neg eax
jmp 0x412b94
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00533be9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]

Function at 0x419d43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0042155e
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x419d7a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00419d9b
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41c83e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41c883
call fcn.0042155e
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41c883
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41c89f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00452c11
mov ebx, eax
test edi, edi
je 0x41c89d
test esi, esi
je 0x41c89d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45b3d7
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x559922
call fcn.00534f83
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040fbe3
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x59b908
call fcn.0040f27c
cmp eax, 0xffffffff
jne 0x45b48b
push 0
push 0x56a0e8
lea ecx, [ebp - 0x4d0]
call fcn.0040f27c
cmp eax, 0xffffffff
jne 0x45b48b
push 0
push 0x59ba9c
lea ecx, [ebp - 0x4d0]
call fcn.0040f27c
cmp eax, 0xffffffff
jne 0x45b48b
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040fbe3
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x45b467
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.0040fd17
jmp 0x45b4ba
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040fbc4
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.0040fd17
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45b4b1
mov ebx, dword [ebp - 0x4cc]
jmp 0x45b4ba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0040fd17
mov eax, ebx
call fcn.00534f32
ret
Function at 0x47b4ed
Capabilities:
Enumerate pe sections

Disassembly:
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x47b522
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47b509
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x47b51a
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x47b524
inc edi
add eax, 0x28
cmp edi, esi
jb 0x47b4ff
xor eax, eax
pop edi
pop esi
ret

Function at 0x47bbf5
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x47bb7e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x47bb9c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x47bbfa
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x47bbe1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x47bbea
cmp dword [ebp + 0x10], ebx
je 0x47bbf4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x47bbd6
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x47bb60
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x47bc47
dec eax
je 0x47bc3e
sub eax, 3
je 0x47bc35
mov dword [ebp - 4], 0x40
jmp 0x47bc64
mov dword [ebp - 4], 4
jmp 0x47bc4a
mov dword [ebp - 4], 0x20
jmp 0x47bc4a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x47bc96
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x47bc16
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0047b4a7
sbb bh, byte [edx]
pop es
sub al, 0xff
jne 0x47bca1
push 1
push esi
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47bf6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stc
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0047b4b7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0047b46c
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0047b4a7
pop ds
mov cl, 0x9d
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
invalid
invalid
invalid
stc