joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b168
push 0x403b5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [0x40ed18], ebx
mov dword [0x40ed20], ebx
mov dword [0x40ed24], ebx
mov dword [0x40ee90], ebx
mov dword [0x40ed14], ebx
mov dword [0x40ee44], ebx
mov byte [0x40ee50], bl
mov dword [ebp - 0xac], 0x94
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov dword [ebp - 0xcc], 0x20
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
xor eax, eax
mov ecx, dword [ebp - 0xd8]
mov esi, 1
cmp ecx, 0x182
jne 0x40109a
mov eax, esi
cmp ecx, 0x1e6
jne 0x4010a4
mov eax, esi
cmp eax, ebx
jne 0x401191
call fcn.00401250
call fcn.00401220
mov eax, dword [0x40ed28]
test eax, 0x800000
je 0x4010c8
mov dword [0x40ed18], esi
test eax, 0x2000000
je 0x401122
mov dword [0x40ed20], esi
mov dword [0x40ee90], esi
mov dword [ebp - 4], ebx
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
jmp 0x401122
test dword [0x40ed28], 0x4000000
je 0x401182
mov dword [0x40ed24], esi
mov dword [0x40ed14], esi
mov dword [ebp - 4], esi
xorpd xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
jmp 0x401182
mov eax, dword [0x40ef98]
test eax, eax
jns 0x401191
mov dword [0x40ee44], esi
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, dword [ebp - 0xc4]
mov dword [0x40ee94], eax
mov ecx, dword [ebp - 0xc0]
mov dword [0x40ed38], ecx
call fcn.00401360
push 0x40ee98
mov edx, dword [0x40ed38]
shr edx, 0xa
push edx
mov eax, dword [0x40ee94]
shr eax, 0xa
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [0x40ed1c]
push ecx
push 0x40ee50
push str.CPU_:__s__0x_08X__nOS_:__d._d._d_nMEMORY_:__d__free__d__nVIDEO_:__s_n_n
push 0x40ed40
call fcn.00403a10
add esp, 0x28
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push 0x40c13c
push 0x40c130
call fcn.00403f06
xor edi, edi
add esp, 8
cmp eax, edi
mov dword [0x40f998], eax
je 0x401b82
push str.v3.0
push str.PC_WIZARD_CPUIDMark_Video__s__x86_32__n
push eax
call fcn.00403eb4
mov eax, dword [0x40f998]
push str.Copyright__C__1996_2009_Laurent_KUTIL_and_Franck_DELATTRE_n
push eax
call fcn.00403eb4
mov ecx, dword [0x40f998]
push 0x40ed40
push ecx
call fcn.00403eb4
mov edx, dword [0x40f998]
push str._Params__n
push edx
call fcn.00403eb4
mov eax, dword [0x40f998]
push eax
call fcn.00403da7
mov ebx, dword [esp + 0x38]
add esp, 0x28
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov eax, 0x300
mov dword [0x4236c4], edi
mov dword [0x4236c8], edi
mov dword [0x4236cc], eax
mov dword [0x4236d0], eax
mov ecx, 0x100
xor eax, eax
mov edi, 0x423288
mov dword [0x4236b0], ecx
rep stosd dword es:[edi], eax
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
push esi
mov dword [0x423694], ecx
mov dword [0x40f99c], 1
mov dword [0x40f9a0], 0x19
mov dword [0x40f9a4], 3
mov dword [0x40f9a8], 4
mov dword [0x40f9ac], 0x32
mov dword [0x40f9b0], 5
call fcn.00403250
add esp, 4
test eax, eax
je 0x401b82
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
ret
Function at 0x406003
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c4e0
cmp edx, dword [eax]
je 0x406025
add eax, 8
inc ecx
cmp eax, 0x40c570
jl 0x406016
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c4e0]
jne 0x406153
mov eax, dword [0x423b50]
cmp eax, 1
je 0x40612d
test eax, eax
jne 0x406056
cmp dword [0x40c1a4], 1
je 0x40612d
cmp edx, 0xfc
je 0x406153
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40608d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406ad0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4060d0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b5ac
push edi
call fcn.004091c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406ad0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406ae0
lea eax, [ebp - 0xa0]
push 0x40b58c
push eax
call fcn.00406ae0
push dword [esi + 0x40c4e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406ae0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00409128
add esp, 0x2c
pop edi
jmp 0x406153
lea eax, [ebp + 8]
lea esi, [esi + 0x40c4e4]
push 0
push eax
push dword [esi]
call fcn.00406260
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 0x402980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x6c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ebx, [ebp - 0x64]
mov dword [esp], ebx
lea esi, [ebp - 0x54]
mov dword [esp + 4], edx
mov dword [ebp - 0x6c], eax
call fcn.00406940
mov dword [esp + 4], 0x3c
mov dword [esp], esi
call fcn.0040ebd0
cmp byte [edi + 4], 0
mov eax, str.runas
mov ecx, dword [ebp + 8]
mov edx, str.open
mov dword [ebp - 0x54], 0x3c
cmove eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 4]
cmp byte [ebp - 0x6c], 1
mov dword [ebp - 0x50], 0x41
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], str.exefile
mov eax, dword [eax + 4]
mov dword [esp], esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
sbb eax, eax
not eax
and eax, 5
mov dword [ebp - 0x38], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
sub esp, 4
xor esi, esi
test eax, eax
je 0x402a30
mov eax, dword [ebp - 0x1c]
mov esi, 1
mov dword [edi + 8], eax
mov ecx, ebx
call fcn.00403630
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x402af0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x220
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x210]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
sub esp, 0x10
test eax, eax
je 0x402b42
mov dword [esp], esi
mov ecx, ebx
call fcn.00405450
mov eax, ebx
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov ecx, ebx
mov dword [esp], 0x449384
call fcn.00405450
mov eax, ebx
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402b60
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.0040ade0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x30]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x450f84
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x44d974
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jne 0x402c99
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x4506d4
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
jne 0x402c90
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 0x28]
mov ecx, dword [edi + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x50]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
sub esp, 8
mov edi, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00406940
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edi
sub esp, 8
mov ecx, esi
call fcn.00403630
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x402cb0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov ecx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x18]
mov edx, dword [ebp - 0x2c]
mov ebx, eax
mov eax, dword [edx]
sub esp, 0xc
mov dword [esp], edx
call dword [eax + 8]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
sub esp, 4
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
test ebx, ebx
sete al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [esi + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x2c]
sub esp, 8
jmp 0x402c42

Function at 0x406020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ecx, 0x81
mov ebp, esp
push edi
xor edi, edi
push ebx
sub esp, 0x230
movzx eax, word [0x449788]
mov word [ebp - 0x20e], di
lea edi, [ebp - 0x20c]
mov ebx, dword [ebp + 8]
mov word [ebp - 0x210], ax
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x210]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, ebx
sub esp, 0x14
mov dword [esp], edi
call fcn.00405450
mov eax, ebx
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
Function at 0x408e50
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x38]
sub esp, 0x3c
mov ecx, ebx
call fcn.00403740
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00406470
mov dword [esp], ebx
mov ecx, esi
call fcn.00403b50
sub esp, 4
mov ecx, esi
call fcn.00403630
mov ecx, ebx
mov dword [esp], 0x5c
call fcn.00403fd0
mov eax, dword [ebp - 0x34]
sub esp, 4
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x34]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
sub esp, 4
mov ecx, ebx
call fcn.00403630
test esi, esi
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4091b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2ac
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x409355
mov esi, dword [ebx + 4]
test esi, esi
je 0x4091ea
mov edi, dword [ebx + 0xc]
test edi, edi
jle 0x4091e3
mov eax, dword [esi]
mov ecx, esi
add esi, 0x10
call dword [eax]
sub edi, 1
jne 0x4091d5
mov dword [ebx + 0xc], 0
lea ecx, [ebp - 0x2a8]
call fcn.00403740
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x298]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00406470
lea eax, [ebp - 0x2a8]
mov ecx, esi
mov dword [esp], eax
call fcn.00403b50
sub esp, 4
mov ecx, esi
call fcn.00403630
lea ecx, [ebp - 0x2a8]
mov dword [esp], 0x5c
call fcn.00403fd0
sub esp, 4
lea esi, [ebp - 0x288]
lea eax, [ebp - 0x2a8]
mov dword [esp + 8], 0x449ac4
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00405740
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x284]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x2ac], eax
call fcn.00403630
cmp edi, 0xffffffff
je 0x40935d
lea esi, [ebp - 0x278]
jmp 0x4092d3
add ecx, 0xfffffff
shl ecx, 4
add ecx, dword [ebx + 4]
mov dword [esp], esi
call fcn.004037b0
sub esp, 4
mov ecx, esi
call fcn.00403630
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x409338
test byte [ebp - 0x268], 0x10
jne 0x4092b3
lea eax, [ebp - 0x23c]
mov ecx, esi
mov dword [esp], eax
call fcn.00405450
mov edi, dword [ebx + 0xc]
sub esp, 4
mov ecx, ebx
lea eax, [edi + 1]
mov dword [esp], eax
call fcn.00436b90
sub esp, 4
shl edi, 4
add edi, dword [ebx + 4]
mov ecx, edi
je 0x409311
call fcn.00403740
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x409295
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0040ceb0
mov ecx, dword [ebx + 0xc]
jmp 0x409295
mov eax, dword [ebp - 0x2ac]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 4
lea ecx, [ebp - 0x2a8]
call fcn.00403630
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0x2a8]
call fcn.00403630
jmp 0x409355
Function at 0x4093a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2dc
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4095a4
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4093e0
mov esi, dword [eax + 0xc]
test esi, esi
jle 0x4093d6
mov eax, dword [ebx]
mov ecx, ebx
add ebx, 0x10
call dword [eax]
sub esi, 1
jne 0x4093c8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], 0
lea ecx, [ebp - 0x2c8]
call fcn.00403740
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x2b8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00406470
lea eax, [ebp - 0x2c8]
mov ecx, ebx
mov dword [esp], eax
call fcn.00403b50
sub esp, 4
mov ecx, ebx
call fcn.00403630
lea ecx, [ebp - 0x2c8]
mov dword [esp], 0x5c
call fcn.00403fd0
sub esp, 4
lea ebx, [ebp - 0x2a8]
lea eax, [ebp - 0x2c8]
mov dword [esp + 8], 0x449ac4
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00405740
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
mov esi, eax
mov ecx, ebx
mov dword [ebp - 0x2cc], eax
call fcn.00403630
cmp esi, 0xffffffff
je 0x409599
lea esi, [ebp - 0x298]
mov ecx, esi
call fcn.00403740
lea ebx, [ebp - 0x288]
jmp 0x4094c3
mov ecx, ebx
call fcn.00403630
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2cc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x409580
test byte [ebp - 0x268], 0x10
je 0x40949f
lea eax, [ebp - 0x23c]
mov ecx, esi
mov dword [esp], eax
call fcn.004053a0
sub esp, 4
mov ecx, ebx
mov dword [esp], 0x449aca
call fcn.00405450
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00405b50
test al, al
je 0x409498
lea edi, [ebp - 0x278]
mov dword [esp], 0x449ace
mov ecx, edi
call fcn.00405450
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00405b50
mov ecx, edi
mov dword [ebp - 0x2d0], eax
call fcn.00403630
mov ecx, ebx
call fcn.00403630
mov eax, dword [ebp - 0x2d0]
test al, al
je 0x40949f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
lea eax, [edi + 1]
mov dword [esp], eax
call fcn.00436b90
mov eax, dword [ebp + 0xc]
sub esp, 4
shl edi, 4
add edi, dword [eax + 4]
mov ecx, edi
je 0x40949f
mov dword [esp], esi
call fcn.00404b30
sub esp, 4
jmp 0x40949f
mov eax, dword [ebp - 0x2cc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 4
mov ecx, esi
call fcn.00403630
lea ecx, [ebp - 0x2c8]
call fcn.00403630
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40a5d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00406470
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004090e0
test al, al
mov ebx, eax
jne 0x40a6ae
call fcn.00406460
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
lea ecx, [ebp - 0x38]
call fcn.0040cb20
mov eax, dword [ebp - 0x2c]
sub esp, 8
test eax, eax
je 0x40a6a6
lea esi, [ebp - 0x28]
mov ecx, esi
call fcn.00403740
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x34]
shl edi, 4
add edi, ebx
cmp ebx, edi
jne 0x40a659
jmp 0x40a692
add ebx, 0x10
call fcn.00406460
mov dword [esp], eax
mov ecx, esi
call fcn.004041d0
sub esp, 4
cmp ebx, edi
je 0x40a692
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40a640
mov dword [esp], ebx
mov ecx, esi
call fcn.004041d0
sub esp, 4
mov dword [esp], esi
call fcn.004090e0
test al, al
jne 0x40a640
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 8
jmp 0x40a640
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004090e0
mov ecx, esi
mov ebx, eax
call fcn.00403630
lea ecx, [ebp - 0x38]
call fcn.0040c5b0
lea ecx, [ebp - 0x48]
call fcn.00403630
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40ade0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x38]
sub esp, 0x3c
mov ecx, ebx
call fcn.00403740
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00406470
mov dword [esp], ebx
mov ecx, esi
call fcn.00403b50
sub esp, 4
mov ecx, esi
call fcn.00403630
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x34]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
sub esp, 4
mov ecx, ebx
call fcn.00403630
test esi, esi
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e1f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
mov esi, ebp
push ebx
sub esp, 0x8c
lea edi, [esp + 0x28]
mov dword [esp + 8], edx
lea ebx, [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.0040e070
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0040e160
movzx eax, byte [ebx]
add ebx, 1
mov dword [esp], esi
add esi, 2
mov dword [esp + 4], str._02x
mov dword [esp + 8], eax
call fcn.0040e010
cmp ebx, edi
jne 0x40e252
mov byte [ebp + 0x20], 0
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40e3a0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
test edx, edx
je 0x40e3bb
cmp dword [ebx + 0xc], 0x10
je 0x40e3c3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40e4ca
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.00407970
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
sub esp, 4
mov dword [esp + 4], 0x2d
mov dword [ebp - 0x34], eax
neg dword [ebp - 0x34]
and dword [ebp - 0x34], 7
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.00407310
mov eax, dword [ebx + 4]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 0xc]
sub esp, 8
mov eax, dword [eax + 4]
add esi, eax
cmp eax, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
je 0x40e4a4
lea esi, [esi]
mov eax, dword [ebp - 0x28]
xor ebx, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x24], esi
mov esi, dword [eax + 0xc]
mov eax, edx
mov edi, edx
shl eax, 4
sub ebx, 0x61c88647
add eax, dword [ebp - 0x1c]
shr edi, 5
add edi, dword [ebp - 0x20]
xor eax, edi
lea edi, [edx + ebx]
xor eax, edi
add ecx, eax
mov eax, ecx
mov edi, ecx
shl eax, 4
add eax, dword [ebp - 0x24]
shr edi, 5
add edi, esi
xor eax, edi
lea edi, [ecx + ebx]
xor eax, edi
add edx, eax
cmp ebx, 0xe3779b90
jne 0x40e451
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x28], 8
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x40e430
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.00407310
mov eax, 1
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.00407140
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e4e0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
test esi, esi
je 0x40e4fb
cmp dword [ebx + 0xc], 0x10
je 0x40e503
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x40e654
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.00407970
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
sub esp, 4
mov eax, esi
sub eax, 1
js 0x40e637
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
movzx edx, byte [edx + esi - 1]
mov dword [esp], eax
mov dword [esp + 4], 0
mov byte [ebp - 0x35], dl
call fcn.00407360
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
sub esp, 8
test al, 7
mov dword [ebp - 0x34], eax
jne 0x40e625
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add esi, eax
cmp eax, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
je 0x40e5f1
mov eax, dword [ebp - 0x28]
mov ebx, 0xe3779b90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x24], esi
mov esi, dword [eax + 0xc]
mov eax, ecx
mov edi, ecx
shl eax, 4
add eax, dword [ebp - 0x24]
shr edi, 5
add edi, esi
xor eax, edi
lea edi, [ebx + ecx]
xor eax, edi
sub edx, eax
mov eax, edx
mov edi, edx
shl eax, 4
shr edi, 5
add eax, dword [ebp - 0x1c]
add edi, dword [ebp - 0x20]
xor eax, edi
lea edi, [edx + ebx]
xor eax, edi
sub ecx, eax
add ebx, 0x61c88647
jne 0x40e5a4
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x28], 8
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x40e580
movsx eax, byte [ebp - 0x35]
cmp dword [ebp - 0x34], eax
jl 0x40e625
cmp byte [ebp - 0x35], 0
js 0x40e625
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [esp + 4], 0
sub esi, eax
mov dword [esp], esi
call fcn.00407360
mov eax, 1
sub esp, 8
jmp 0x40e4fb
mov ecx, dword [ebp + 8]
call fcn.00407140
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00407e90
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
sub eax, 1
jmp 0x40e533
mov ecx, dword [ebp + 8]
call fcn.00407140
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret