joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10367e45
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 8], 0xe7
lea esp, [esp + 0x30]
jb 0x1026c95a
push 0xa97cbf5f
call fcn.100be5ec
pop ebp
popfd
or byte [ebx + 0x5f2499de], dl
sbb dh, byte [ebp + 0x40]
pop edx
test dword [eax + 0x39e3abff], esp
mov eax, dword [0xb4a7d867]
add dword [ebx], ebp
mov cl, byte [edx]
sbb ecx, dword [ebp - 0x5a]
pop ds
xchg ebp, eax
pop ebp
aad 0xe7
push es
push bp
push edi
pop es
test eax, 0x9e8c5143
or dword [ebx - 0x1a], ecx
mov al, 0x20
adc eax, 0x46e1a083
mov edx, 0xd0b030d6
in al, dx
fdivp st(3)
invalid

Function at 0x103763fc
Capabilities:
Encode data using xor

Disassembly:
pushfd
mov dword [esp], ecx
push 0x2904a900
pushfd
mov byte [esp], dh
pushal
and al, 0x60
lea esp, [esp + 0x28]
call fcn.1003b5e2
js 0x102c36bf
test ah, 0x7e
push 0xf514cf
mov word [esp], 0xa1f4
add esp, 0x10
pushal
call fcn.101ec57d
lea ecx, [edx*4 + 0x6984edbb]
push 0x104
lea ecx, [ebx + 0x5896ca84]
pushfd
push dword [esp]
bswap edx
mov ecx, dword [ebp - 0x34]
pushal
pushfd
mov dword [esp + 0x28], ecx
setb dl
pushfd
setp dh
mov edx, dword [ebp + 0xc]
call fcn.102298ae
out 0x57, eax
shr byte [ebp - 0x46d10c68], cl
mov ah, 0x1f
stc
les ebp, [edi + 0x7a]
cmp ebp, esi
popal
push cs
push ds
cmc
aas
bnd jg 0x101b55c6
mov ebp, 0x1c11c915
lock add ebp, dword [ebx]
jmp 0x101b5612
mov dword [ebp - 0x3c], edx
pushfd
pushfd
mov byte [esp], al
lea esp, [esp + 8]
jmp fcn.1023af0f
xchg cl, ah
movsx cx, dl
bswap cx
lea ecx, [esp - 0x7219bdb7]
push 0x15
setnp ch
movzx eax, dl
movsx cx, bl
lahf
lea eax, [ebp - 0xc4]
push 0x2a900be
mov dword [esp], eax
mov ch, bh
mov ecx, dword [ebp - 0x354]
jmp 0x101b55ba
clc
test di, dx
add esp, 0xc
cmc
test eax, eax
push esi
pushfd
push dword [esp + 4]
lea esp, [esp + 0xc]
jne 0x10171949
lea edx, [edx + 0x16bccf3b]
mov edx, dword [ebp - 0x34c]
pushfd
mov dword [ebp - 0xa4], edx
pushfd
lea esp, [esp + 8]
jmp fcn.1023af0f
jmp 0x1021ae44
mov dword [esp + 0x44], 4
push ebx
call fcn.10226560
test dl, 0x19
test eax, eax
pushfd
lea esp, [esp + 8]
jne 0x1024edef
pushal
mov edx, dword [ebp - 0x34c]
pushal
lea esp, [esp + 0x40]
jo 0x1035ac0c
mov dword [ebp - 0x3c], edx
pushfd
pushal
lea esp, [esp + 0x24]
jmp fcn.1023af0f

Function at 0x1037b945
Capabilities:
Encode data using xor

Disassembly:
call fcn.10150285
mov word [esp], 0x5671
mov dword [esp + 8], edx
jmp 0x102e5102
Function at 0x4016b7
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xaca
jge 0x4016d2
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be4d9
jg 0x4016ec
inc edi
cmp edi, 0x332fe31
jl 0x4016c3
cmp dword [0x208f6fc], 0x400
jne 0x401724
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
call fcn.00401c72
call fcn.00401b21
push esi
call fcn.00401ebf
pop ecx
pop ecx
xor edi, edi
cmp edi, 0xd036
jge 0x401736
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x40175c
inc edi
cmp edi, 0x263ff
jl 0x401726
mov eax, dword [0x442964]
mov dword [0x208f6fc], eax
call fcn.00401439
mov edi, 0x3078f
cmp dword [0x208f6fc], 0x51f
jne 0x401788
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec edi
jne 0x401770
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x4046cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428430]
jne 0x4046d6
repz ret
jmp fcn.0040646e
Function at 0x405cf5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428430]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403758
and dword [ebp - 0x14], 0
cmp dword [0x44d584], 0
mov dword [ebp - 0x18], eax
jne 0x405da8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405e50
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405e50
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44d584], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44d588], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44d58c], eax
call edi
push eax
call esi
mov dword [0x44d594], eax
test eax, eax
je 0x405da8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44d590], eax
mov eax, dword [0x44d590]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405e01
cmp dword [0x44d594], ecx
je 0x405e01
push eax
call esi
push dword [0x44d594]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405e01
test ebx, ebx
je 0x405e01
call edi
test eax, eax
je 0x405df8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405df8
test byte [ebp - 8], 1
jne 0x405e01
or dword [ebp + 0x10], 0x200000
jmp 0x405e34
mov eax, dword [0x44d588]
cmp eax, dword [ebp - 0x18]
je 0x405e34
push eax
call esi
test eax, eax
je 0x405e34
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405e34
mov eax, dword [0x44d58c]
cmp eax, dword [ebp - 0x18]
je 0x405e34
push eax
call esi
test eax, eax
je 0x405e34
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44d584]
call esi
test eax, eax
je 0x405e50
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405e52
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004046cc
leave
ret
Function at 0x4040c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53121c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [esi], vtable.CCurlDownloader.0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x24], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40411d
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
lea edi, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x40413c
mov eax, dword [edi]
jmp 0x40413e
mov eax, edi
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x40415f
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404150
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00403170
lea ebx, [esi + 0x48]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x404187
mov eax, dword [ebx]
jmp 0x404189
mov eax, ebx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x4041b0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4041a0
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00403170
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x4041c5
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x4041cd
mov ebx, dword [ebx]
push dword [ebp - 0x10]
push ecx
push edi
push ebx
lea ecx, [esi + 0x60]
call fcn.00414660
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0x60]
push 1
push eax
mov dword [ebx + 0xf0], 0
mov byte [ebx + 0xf4], 0
call fcn.00414920
cmp dword [eax + 0x14], 8
jb 0x404209
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x404225
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404260
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53124f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x4042db
cmp dword [esi + 4], 0
je 0x4042bf
mov eax, dword [esi + 4]
test eax, eax
je 0x4042bf
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x4042db
mov ecx, esi
call fcn.00421920
push 0x50
push esi
call fcn.004edc9b
add esp, 8
push 0x50
call fcn.004edccc
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004d7080
sub esp, 0x18
mov ecx, 0x404350
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40431d
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x404350
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.004216d0
mov dword [edi + 0xf0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40433e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4050d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53137a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004d86d7
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x405190
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004d60fe
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x575a74
push eax
call fcn.004d75b0
push edi
push esi
call fcn.004d8a4d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc8a
mov esp, ebp
pop ebp
ret 4
Function at 0x407430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531486
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004edccc
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004d894a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 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
Function at 0x408400
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53176b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [esi], vtable.CMTCurlDownloader.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edi, [esi + 0x10]
mov dword [ebp - 0x30], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x408481
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], 0
cmp dword [esi + 0x4c], 8
jb 0x40849e
mov eax, dword [esi + 0x38]
jmp 0x4084a1
lea eax, [esi + 0x38]
xor ecx, ecx
mov word [eax], cx
cmp word [ebx], cx
je 0x4084bf
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4084b0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x38]
call fcn.00403170
mov byte [ebp - 4], 4
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
cmp dword [esi + 0x64], 8
jb 0x4084e6
mov eax, dword [esi + 0x50]
jmp 0x4084e9
lea eax, [esi + 0x50]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
cmp word [eax], cx
je 0x408512
mov ecx, eax
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408500
mov eax, dword [ebp - 0x2c]
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x50]
call fcn.00403170
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x408535
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x84]
mov dword [esi + 0x80], 0xffffffff
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40855e
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0xac]
mov dword [esi + 0xa8], 0
xorps xmm0, xmm0
push 2
push eax
movsd qword [esi + 0xa0], xmm0
call fcn.004d96b7
add esp, 8
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov dword [esi + 0xec], 0
movsd qword [esi + 0xa0], xmm0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0x80], 0xffffffff
mov byte [esi + 0xe8], 0
cmp dword [esi + 0x4c], 8
jb 0x4085da
mov eax, dword [esi + 0x38]
jmp 0x4085dd
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [esi + 0x38]
lea ecx, [ebp - 0x28]
call fcn.004213a0
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0040ab00
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x408615
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00404c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc8a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408640
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53124f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xec]
test esi, esi
je 0x4086bb
cmp dword [esi + 4], 0
je 0x40869f
mov eax, dword [esi + 4]
test eax, eax
je 0x40869f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0xec]
test esi, esi
je 0x4086bb
mov ecx, esi
call fcn.00421920
push 0x50
push esi
call fcn.004edc9b
add esp, 8
push 0x50
call fcn.004edccc
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004d7080
sub esp, 0x18
mov ecx, 0x408730
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x4086fd
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x408730
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.004216d0
mov dword [edi + 0xec], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40871e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40ab00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, ecx
xor esi, esi
push esi
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.00408340
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40ab2d
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x40ab48
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00404c20
inc esi
cmp esi, 2
jne 0x40ab16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c100
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c210
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x40c176
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40c14f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004017c0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c167
mov eax, dword [esi]
jmp 0x40c169
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004034c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40c192
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
push 0x50
call fcn.004edccc
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.004d7080
sub esp, 0x18
mov ecx, 0x40d580
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40c1d4
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____stdcall___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x40d580
mov dword [eax + 0x24], eax
push 0x563444
push edi
mov ecx, esi
call fcn.004216d0
mov dword [edi + 0x74], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40c1f2
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531486
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004edccc
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004d894a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 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

Function at 0x40f4f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40f54b
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc8a
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call edi
test eax, eax
je 0x40f5ab
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push dword [ebp - 0x238]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x40f59e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call edi
test eax, eax
jne 0x40f571
jmp 0x40f5aa
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
call fcn.004edc8a
mov esp, ebp
pop ebp
ret
Function at 0x411340
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532385
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.004114a0
mov ebx, eax
lea esi, [edi + 0x58]
cmp esi, ebx
je 0x4113b6
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41138f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004017c0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4113a7
mov eax, dword [esi]
jmp 0x4113a9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004034c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4113d2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x41141e
cmp dword [esi + 4], 0
je 0x411405
mov eax, dword [esi + 4]
test eax, eax
je 0x411405
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x41141e
mov ecx, esi
call fcn.00421920
push 0x50
push esi
call fcn.004edc9b
add esp, 8
push 0x50
call fcn.004edccc
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.004d7080
sub esp, 0x1c
mov ecx, 0x412fb0
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x411463
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x412fb0
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.004216d0
mov dword [edi + 0x7c], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x411481
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret