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

Disassembly:
push 0xc
push 0x409628
call fcn.004091e4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
push ebx
push esi
push 0x40a660
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x408d22
cmp eax, esi
jne 0x408d15
xor esi, esi
inc esi
mov edi, esi
jmp 0x408d25
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408cf9
xor esi, esi
inc esi
cmp dword [0x40a664], esi
jne 0x408d37
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x408d71
cmp dword [0x40a664], ebx
jne 0x408d6b
mov dword [0x40a664], esi
push 0x401018
push 0x40100c
call fcn.00408cb4
pop ecx
pop ecx
test eax, eax
je 0x408d71
mov dword [ebp - 4], CoInitializeEx
mov eax, 0xff
jmp 0x408e3f
mov dword [0x40a0e4], esi
cmp dword [0x40a664], esi
jne 0x408d94
push 0x401008
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40a664], 2
test edi, edi
jne 0x408da4
push ebx
push 0x40a660
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40a668], 0
je 0x408dc6
push 0x40a668
call fcn.00409050
pop ecx
test eax, eax
je 0x408dc6
push ebx
push 2
push ebx
call dword [0x40a668]
push dword [0x40a0f0]
push dword [0x40a0ec]
push dword [0x40a0e8]
call fcn.00407c80
add esp, 0xc
mov dword [0x40a0e0], eax
cmp dword [0x40a0f8], 0
jne 0x408e24
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x40a0e4], 0
jne 0x408e38
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x40a0e0]
mov dword [ebp - 4], CoInitializeEx
call fcn.00409229
ret
call fcn.00409111
jmp 0x408cdd

Function at 0x408fc0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x408fd6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], reloc.ole32.dll_CoInitializeEx
jne 0x408ff1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x409000
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x40903e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x409036
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x409040
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x409026
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5a7e28d8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_StringFromGUID2]
push edi
mov edi, 0x80
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x5a7e175c
call esi
push edi
lea eax, [ebp - 0x40c]
push eax
push 0x5a7e174c
call esi
push edi
lea eax, [ebp - 0x30c]
push eax
push 0x5a7e173c
call esi
lea eax, [ebp - 0x10c]
push 0x5a7e1238
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x10c]
push 0x5a7e1224
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x10
lea eax, [ebp - 4]
push eax
mov edi, 0xf003f
push edi
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x80000002
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jne 0x5a7e2982
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10c]
push 0x5a7e1354
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 4]
push eax
push edi
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x80000000
call esi
test eax, eax
jne 0x5a7e29eb
push 0x5a7e13fc
push dword [ebp - 4]
call ebx
push 0x5a7e1304
push dword [ebp - 4]
call ebx
push 0x5a7e12f4
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push edi
push 0
push 0x5a7e13f0
push 0x80000000
call esi
test eax, eax
jne 0x5a7e2a17
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10c]
push 0x5a7e12d8
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 4]
push eax
push edi
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x80000000
call esi
test eax, eax
jne 0x5a7e2ad0
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0x5a7e12ec
push dword [ebp - 4]
call esi
test eax, eax
jne 0x5a7e2abd
lea eax, [ebp - 0xc]
push eax
push edi
push 0
push 0x5a7e12d4
push dword [ebp - 8]
call esi
test eax, eax
jne 0x5a7e2a96
push 0x5a7e12c8
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5a7e12d4
push dword [ebp - 8]
call ebx
push 0x5a7e12b0
push dword [ebp - 8]
call ebx
push 0x5a7e12a0
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5a7e12ec
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push edi
push 0
push 0x5a7e13e0
push 0x80000000
call esi
test eax, eax
jne 0x5a7e2afc
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100086b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100086e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.1000c5c0
mov dword [esp + 0xc], eax
test esi, esi
jne 0x100086e9
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x10010ff8
lea ecx, [esp + 8]
call fcn.10008550
int3

Function at 0x10008920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e0e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1001d070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001340
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x100089ab
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100096f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000dcc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1001d070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001340
mov dword [edi + 0x2c], vtable.boost::exception.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a1c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1001d070]
xor eax, ebp
mov dword [ebp - 4], eax
push str.RtlGetVersion
push str.ntdll
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a215
lea ecx, [ebp - 0x120]
push ecx
call eax
test eax, eax
je 0x1000a22a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000a379
cmp dword [ebp - 0x110], 2
jne 0x1000a379
mov eax, dword [ebp - 0x11c]
cmp eax, 4
ja 0x1000a255
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x1000a2ab
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x1000a277
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1000a28f
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1000a379
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x1000a352
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x1000a2d6
cmp byte [ebp - 6], 1
setne al
add eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1000a2f5
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1000a30d
mov eax, 9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x1000a325
mov eax, 0xa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x1000a33d
mov eax, 0xb
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
jbe 0x1000a379
mov eax, 0x64
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x1000a374
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x1000a33f
mov eax, 0xb
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
cmp eax, 7
jae 0x1000a33f
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1000ac36
mov esp, ebp
pop ebp
ret
Function at 0x1000ce60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1000cf20
push 0xffffffffffffffff
push 0x1000d498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001d070]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x1001d110]
cmp eax, 0xffffffff
jne 0x1000cf59
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x1000cf66
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x1000cfcd
jmp 0x1000cf9c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x1000d00a
test edi, edi
jne 0x1000d010
push 0x1000cb50
push 0x1001e3e8
call fcn.1000c8e0
mov eax, dword [0x1001d110]
add esp, 8
cmp eax, 0xffffffff
je 0x1000cfcd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x1000cff6
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000cff6
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x1000d048
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x1000d039
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1000d010
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x1000cf90
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x1000d0a7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1000d08c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1000d0a7
jmp 0x1000d080
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1000d080
jmp 0x1000d0a7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000d0a5
cmp esi, dword [eax + 8]
jne 0x1000d0a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000d095
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x1000d0bb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x1000d0bb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.1000cbd0
cmp esi, ebx
jne 0x1000d060
mov ebp, dword [esp + 0x14]
jmp 0x1000cf90
Function at 0x1000cf20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1000cf20
push 0xffffffffffffffff
push 0x1000d498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001d070]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x1001d110]
cmp eax, 0xffffffff
jne 0x1000cf59
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x1000cf66
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x1000cfcd
jmp 0x1000cf9c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x1000d00a
test edi, edi
jne 0x1000d010
push 0x1000cb50
push 0x1001e3e8
call fcn.1000c8e0
mov eax, dword [0x1001d110]
add esp, 8
cmp eax, 0xffffffff
je 0x1000cfcd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x1000cff6
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000cff6
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x1000d048
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x1000d039
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1000d010
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x1000cf90
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x1000d0a7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1000d08c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1000d0a7
jmp 0x1000d080
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1000d080
jmp 0x1000d0a7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000d0a5
cmp esi, dword [eax + 8]
jne 0x1000d0a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000d095
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x1000d0bb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x1000d0bb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.1000cbd0
cmp esi, ebx
jne 0x1000d060
mov ebp, dword [esp + 0x14]
jmp 0x1000cf90
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401770
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov ebx, edx
lea eax, [ebp - 0x20a]
mov esi, ecx
push eax
call fcn.0040bd20
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040995d
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push 0
push eax
call esi
push 0x422700
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004098f1
push 0x4226fc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004098f1
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004098f1
push str..lnk
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004098f1
add esp, 0x18
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x41d260
push 1
push 0
push 0x41d280
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4018e9
mov eax, dword [ebp - 0x210]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push 0x422700
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x41d270
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4018e9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4018d4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x4018fc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x40190c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409818
mov esp, ebp
pop ebp
ret
Function at 0x401920
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov edx, 0x422700
mov eax, edi
nop
mov cx, word [eax]
cmp cx, word [edx]
jne 0x401966
test cx, cx
je 0x401962
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x401966
add eax, 4
add edx, 4
test cx, cx
jne 0x401940
xor eax, eax
jmp 0x40196b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401982
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409818
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.0040bd20
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push eax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040bd20
add esp, 0xc
lea eax, [ebp - 0x418]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x418]
push 0x422844
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x668]
push eax
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x66c], eax
cmp eax, 0xffffffff
je 0x40196f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [ebp - 0x668], 0x10
lea eax, [ebp - 0x63c]
push 0x422848
push eax
jne 0x401a9d
call esi
test eax, eax
je 0x401b02
push 0x42284c
lea eax, [ebp - 0x63c]
push eax
call esi
test eax, eax
je 0x401b02
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0040bd20
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401b02
push 4
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x401b02
call esi
test eax, eax
je 0x401b02
push 0x42284c
lea eax, [ebp - 0x63c]
push eax
call esi
test eax, eax
je 0x401b02
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0040bd20
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
push 0x4226fc
lea eax, [ebp - 0x210]
push eax
call ebx
lea ecx, [ebp - 0x210]
call fcn.00401920
lea eax, [ebp - 0x668]
push eax
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401a11
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00409818
mov esp, ebp
pop ebp
ret