joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cf850
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e0a1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10194008]
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 edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.10005680
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100cf8b2
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10005640
jmp 0x100cf900
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100cf8f5
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x100cf8ef
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
call fcn.100058c0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10004c10
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10005640
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004ab0
mov eax, edi
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.100fc499
mov esp, ebp
pop ebp
ret
Function at 0x100d1760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e527
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10194008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x20]
push eax
push 0x10194cd0
call fcn.100abea0
add esp, 0xc
movzx eax, ax
mov ecx, edi
push edi
push eax
push 0
push 0x80
push 0x82000000
push 0
push 0
push dword [ebp + 8]
call fcn.100d1940
mov dword [edi + 4], eax
test eax, eax
je 0x100d192a
push 0x74
call fcn.100fc4bd
mov esi, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 0
push 0x74
push 0
push esi
call fcn.100fe280
add esp, 0x10
mov dword [esi + 4], 0
call fcn.100de930
lea eax, [esi + 8]
mov dword [ebp + 8], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
xor eax, eax
movups xmm0, xmmword [0x1014d994]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x1014d994]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xfefefefe
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [0x1014d994]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x1014d994]
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x50], vtable.RC::IERenderClientSiteDelegate.0
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov word [esi + 0x68], ax
mov byte [esi + 0x6a], al
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.RC::IERenderView.2.0
mov dword [esi + 0x24], vtable.RC::IERenderView.0
mov dword [esi + 0x50], vtable.RC::IERenderView.1.0
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
push 0
push 0
push esi
push 0x100e0840
push 0
mov dword [edi + 0x28], esi
push 0
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1c
mov dword [esi + 0x5c], eax
call fcn.100fc4bd
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx], vtable.RC::IEExternal.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x64], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100dfc00
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
cmp dword [esp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x100dfcba
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100dfd4a
push esi
mov dword [ebx + 0x58], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100dfd4a
push dword [ebx + 4]
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100dfd4a
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x46000000
cmp eax, ecx
je 0x100dfc72
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push 0
push dword [ebx + 0x58]
call esi
push eax
push 0
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x57
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push ebp
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push dword [ebx + 0x58]
call esi
push 0
push edi
mov ebp, eax
call esi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, eax
push 0
push ebp
push esi
call edi
test eax, eax
je 0x100dfcfa
nop
push 0
push ebp
push esi
call edi
test eax, eax
jne 0x100dfcf0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x80000000
pop ebp
cmp eax, ecx
je 0x100dfd2f
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push 0
push 0
push 0x7d00
push 0x7d00
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x100e6ca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100e6cab
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100e6cc0

Function at 0x100f73a0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10194008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100f749a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100f7493
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100f7479
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100f7479
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100f7479
mov edx, dword [esi]
test edx, edx
jne 0x100f7442
push 0x200
push edx
push dword [0x10199a34]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100f7493
jmp 0x100f746d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100f746d
shl eax, 3
push eax
push edx
push 0
push dword [0x10199a34]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100f7493
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100f7401
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100f74df
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100f74df
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100f74d9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100f7230
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100f74a6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fc499
mov esp, ebp
pop ebp
ret

Function at 0x100f74f0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x100f753e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x100f752e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100f7525
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x100f7502
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10199a34]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x100f7540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x1019aed0]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x100f755c
sub edi, 5
movzx eax, al
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100f7584
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100f759f
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100f75d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x1019aed8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x100f76ad
mov eax, dword [0x1019aed0]
add eax, 0x14
test byte [eax], 2
je 0x100f760a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x100f75f5
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x100f76ad
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100f73a0
mov ecx, dword [0x1019aed8]
add esp, 4
cmp esi, ecx
jae 0x100f765b
imul edi, esi, 0x2c
mov eax, dword [0x1019aed0]
test byte [edi + eax + 0x14], 2
jne 0x100f7650
mov ecx, esi
call fcn.100f7540
mov ebx, eax
test ebx, ebx
jne 0x100f7658
mov ecx, dword [0x1019aed8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x100f7631
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100f76ac
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100f769d
mov ebx, eax
jmp 0x100f7670
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100f7691
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100f7670
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10199a34]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10112bdb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1011289b

Function at 0x401130
Capabilities:
Delete directory
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
jmp loc.004e5600

Function at 0x401b99
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4db144], 1
jne 0x401ba7
call fcn.00402848
push dword [esp + 4]
call fcn.00402881
jmp loc.004e2d00

Function at 0x402881
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417890
cmp edx, dword [eax]
je 0x4028a3
add eax, 8
inc ecx
cmp eax, 0x417920
jl 0x402894
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417890]
jne 0x4029d1
mov eax, dword [0x4db144]
cmp eax, 1
je 0x4029ab
test eax, eax
jne 0x4028d4
cmp dword [0x4177e4], 1
je 0x4029ab
cmp edx, 0xfc
je 0x4029d1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40290b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
jmp 0x4e5200
lea eax, [ebp + 8]
lea esi, [esi + 0x417894]
push 0
push eax
push dword [esi]
call fcn.00403a70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000bc8a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1000bc99
pop dword [ebp - 0x10]
mov eax, 0x1000bc99
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3c853
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xd8b974a6
sub ecx, 0xd8b9252e
xor edi, edi
add edi, eax
mov ebx, 0x6b5c35a7
add ebx, 0xa4a83659
add ebx, dword [ebp - 0x10]
mov edx, 0x5c0ffbed
sub edx, 0xdd9d256
xor dword [ebp - 8], edi
mov esi, dword [ebx]
xor dword [ebp - 0xc], edi
xor esi, edx
mov dword [edi], esi
xor dword [ebp - 8], 0xfb64cd5c
add edi, 0xc2374968
sub edi, 0xc2374964
add ebx, 0x1ff416aa
sub ebx, 0x1ff416a6
loop 0x1000bcf0
add eax, 0x8157ccd9
add eax, 0x7ea963da
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x79ec46da
sub ecx, 0x69ec46da
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x4083d4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
cmp dword [ebp + 8], 0
je 0x4083e9
cmp dword [ebp + 0xc], 0
jne 0x408402
push 0x11
push 0
push str.parameter_error
call fcn.00401160
add esp, 0xc
or eax, 0xffffffff
jmp 0x408618
push 0x42c2e0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e420
add esp, 8
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x40843d
push 0x11
mov ecx, dword [ebp + 8]
push ecx
push str.cannot_open_file_list:__s
call fcn.00401160
add esp, 0xc
or eax, 0xffffffff
jmp 0x408618
call sub.STATRN32.dll_ST_OpenEnvironment
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0xff
jge 0x408545
push 0xc8
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00401758
add esp, 0x10
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 8], 0
jne 0x408492
jmp 0x408545
cmp dword [ebp - 0x2dc], 0
jge 0x4084a0
jmp 0x408545
push 0x2a
lea edx, [ebp - 0x2d8]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x4084cc
push 0x3f
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x4084fb
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
call fcn.0040861c
add esp, 0x10
test eax, eax
je 0x4084f9
jmp 0x408605
jmp 0x408540
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call fcn.004082ee
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x40851f
jmp 0x408605
mov ecx, dword [ebp - 0x210]
mov dx, word [ebp - 4]
mov word [ebp + ecx*2 - 0x208], dx
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
jmp 0x408452
mov ecx, dword [ebp - 0x2e0]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push 0x42c300
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040e420
add esp, 8
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x408590
push 0x11
mov eax, dword [ebp + 0xc]
push eax
push str.Cannot_open_output_file:__s
call fcn.00401160
add esp, 0xc
or eax, 0xffffffff
jmp 0x408618
mov ecx, dword [ebp - 0x210]
sub ecx, 1
mov dword [ebp - 0x210], ecx
mov dx, word [ebp - 0x210]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 1
push ecx
push 2
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x210]
push eax
push str._d_files_locked_n
lea ecx, [ebp - 0x2d8]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x2d8]
push edx
call fcn.00401160
add esp, 0xc
mov eax, dword [ebp - 0x2e0]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x40cafd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [0x432324], 1
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b285
add esp, 8
push 1
push 0
push 1
lea edx, [ebp - 0x104]
push edx
call fcn.00416d9c
add esp, 0x10
mov dword [0x432294], eax
cmp dword [0x432294], 0
jne 0x40cb4e
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
mov dword [0x432324], 1
push 1
call fcn.00408921
add esp, 4
call fcn.00416f1c
mov dword [0x432294], eax
mov dword [0x432324], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40ccf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push str._nYou_are_running_in_batch_mode_from_the_operating_system__nand_you_do_not_have_a_valid_license_for_Stat_Transfer._nSince_cases_will_be_deleted__your_transfer_will_not_be_performed._n
call fcn.00401160
add esp, 0xc
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
pop ebp
ret

Function at 0x40d509
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 5
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.open
mov edx, dword [0x433670]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x40d548
push 0
push 0x434400
push str.Cannot_display_the_help_file:__s
call fcn.00401160
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x40d6af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40d6dd
or eax, 0xffffffff
jmp 0x40d70a
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40d708
or eax, 0xffffffff
jmp 0x40d70a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40e4b5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push 0x104
lea eax, [ebp - 0x30c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
lea edx, [ebp - 0x30c]
push edx
call dword [sym.imp.MSVCRT.dll__wremove]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x415e41
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x884
mov dword [ebp - 4], 0
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0
push 0x30c
push 0
lea eax, [ebp - 0x870]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x30c
push 0
lea ecx, [ebp - 0x560]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x415ebc
mov dword [ebp + 8], 0x42eef4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x870]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x415ee8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x870]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x104
lea eax, [ebp - 0x560]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x870]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x250
push 0
lea edx, [ebp - 0x254]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x560]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x415f44
xor eax, eax
jmp 0x41609d
push 1
push 0x1c
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x880], 0
jmp 0x415f72
mov edx, dword [ebp - 0x880]
add edx, 1
mov dword [ebp - 0x880], edx
cmp dword [ebp - 0x880], 0x7fffffff
jge 0x415fc9
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x878]
push ecx
call fcn.004160a1
add esp, 8
test eax, eax
je 0x415f9a
jmp 0x415fc9
push 0x250
push 0
lea edx, [ebp - 0x254]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415fc7
jmp 0x415fc9
jmp 0x415f63
mov edx, dword [ebp - 0x878]
cmp dword [edx], 0
jle 0x416097
mov eax, dword [ebp - 0x878]
mov ecx, dword [eax]
push ecx
push 4
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov edx, dword [ebp - 0x878]
mov dword [edx + 0xc], eax
mov dword [ebp - 0x874], 0
mov eax, dword [ebp - 0x878]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x564], ecx
jmp 0x41602d
mov edx, dword [ebp - 0x564]
mov eax, dword [edx]
mov dword [ebp - 0x564], eax
mov ecx, dword [ebp - 0x874]
add ecx, 1
mov dword [ebp - 0x874], ecx
cmp dword [ebp - 0x564], 0
je 0x416050
mov edx, dword [ebp - 0x878]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x874]
mov edx, dword [ebp - 0x564]
mov dword [eax + ecx*4], edx
jmp 0x416010
cmp dword [ebp + 0x10], 0
je 0x416097
cmp dword [ebp + 0x10], 2
jne 0x416068
mov dword [ebp - 0x884], 0x41656c
jmp 0x416072
mov dword [ebp - 0x884], 0x4164e8
mov eax, dword [ebp - 0x884]
push eax
push 4
mov ecx, dword [ebp - 0x878]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x878]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
mov eax, dword [ebp - 0x878]
mov esp, ebp
pop ebp
ret