joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40105d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x244
xor esi, esi
lea eax, [ebp - 0x248]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x122
push edi
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4010b0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040117a
leave
ret
push str.kernel32.dll
lea eax, [ebp - 0x248]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
je 0x4010a0
push str.HeapSetInformation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
jne 0x4010f4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x4010a2
push esi
push esi
push 1
push esi
call eax
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x4010e9

Function at 0x40117a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401184
repz ret
jmp fcn.0040149e

Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402aca
push 0x404004
push section..data
call fcn.00402ab0
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00402ae2
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4012a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x404280], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.trast
push str.bask
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4012e8
xor eax, eax
jmp 0x401303
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401106
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push 0x64
lea eax, [ebp - 0x64]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
mov al, byte [ebp - 0x64]
mov esp, ebp
pop ebp
ret

Function at 0x4018b1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0x4071f4
call sub.KERNEL32.DLL_GetCommandLineA
test eax, eax
je 0x4018de
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x22
jne 0x4018de
inc eax
jmp 0x4018d9
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x22
je 0x4018de
inc eax
cmp byte [eax], 0
jne 0x4018cf
test eax, eax
je 0x40194d
xor edx, edx
jmp 0x401909
xor ecx, ecx
mov cl, byte [eax + edx]
cmp ecx, 0x20
je 0x4018fa
xor ecx, ecx
mov cl, byte [eax + edx]
cmp ecx, 0x2f
jne 0x401908
add edx, eax
push edx
push ebx
call fcn.00405c2b
add esp, 8
jmp 0x40190f
inc edx
cmp byte [eax + edx], 0
jne 0x4018e6
xor eax, eax
jmp 0x401947
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x2d
je 0x401927
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x2f
jne 0x401946
xor edx, edx
mov dl, byte [ebx + eax + 1]
cmp edx, 0x73
je 0x40193d
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x53
jne 0x401946
mov byte [0x406034], 1
jmp 0x40194d
inc eax
cmp byte [ebx + eax], 0
jne 0x401913
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x40673c], eax
push 0x64
push dword [0x40673c]
call sub.USER32.dll_LoadIconA
mov dword [0x4072f8], eax
push 0x40608a
call sub.KERNEL32.DLL_LoadLibraryA
mov ebx, eax
push 0x104
push 0x406fec
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
call fcn.004019c7
cmp dword [0x406030], 0
jle 0x4019a2
push dword [0x40602c]
call fcn.0040599f
pop ecx
push dword [0x4072f8]
call sub.GDI32.dll_DeleteObject
push ebx
call sub.KERNEL32.DLL_FreeLibrary
mov dword [0x406744], 2
push 0
call sub.KERNEL32.DLL_ExitProcess
pop ebx
pop ebp
ret
Function at 0x4019c7
Capabilities:
Create process on windows
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc94
push ebx
mov ebx, 0x4070f0
push 0
push 0x401bd4
push 0
push 0x406097
push dword [0x40673c]
call sub.USER32.dll_DialogBoxParamA
cmp byte [ebx], 0
je 0x401bcf
cmp dword [0x406744], 0
jne 0x401bcf
cmp byte [0x4071f4], 0
je 0x401a36
xor eax, eax
mov al, byte [0x4071f4]
cmp eax, 0x20
je 0x401a28
push 0x4060a0
push ebx
call fcn.00405cd8
add esp, 8
push 0x4071f4
push ebx
call fcn.00405cd8
add esp, 8
push 0x3c
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00405b64
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x1c0
mov dword [ebp - 0x30], ebx
xor eax, eax
jmp 0x401a89
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
je 0x401a70
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x2f
jne 0x401a88
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
jne 0x401a7e
mov byte [ebx + eax], 0
lea ecx, [ebx + 1]
add eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x401a8f
inc eax
cmp byte [ebx + eax], 0
jne 0x401a5b
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x144]
push eax
push 0x104
push ebx
call sub.KERNEL32.DLL_GetFullPathNameA
test eax, eax
je 0x401ab2
lea edx, [ebp - 0x144]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x40]
push ecx
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x401ae2
mov dword [ebp - 0x30], ebx
lea edx, [ebp - 0x40]
push edx
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x401bcf
cmp dword [0x406028], 0
je 0x401afd
push 0xffffffffffffffff
push dword [ebp - 8]
call sub.KERNEL32.DLL_WaitForSingleObject
push dword [ebp - 8]
call sub.KERNEL32.DLL_CloseHandle
cmp dword [0x406028], 0
je 0x401bc5
push 0x1b58
call sub.KERNEL32.DLL_Sleep
lea edx, [ebp - 0x34c]
push edx
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea ecx, [ebp - 0x248]
push ecx
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x34c]
push eax
call fcn.00405bcb
pop ecx
push eax
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x34c]
push ecx
call fcn.00405c9c
add esp, 0xc
test eax, eax
jne 0x401bcf
push 0x4060a2
call sub.KERNEL32.DLL_SetCurrentDirectoryA
lea eax, [ebp - 0x248]
push eax
call fcn.00405bcb
pop ecx
mov byte [ebp + eax - 0x247], 0
push 0x1e
push 0
lea edx, [ebp - 0x36c]
push edx
call fcn.00405b64
add esp, 0xc
mov dword [ebp - 0x368], 3
mov word [ebp - 0x35c], 0x14
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x364], ecx
lea eax, [ebp - 0x36c]
push eax
call sub.SHELL32.DLL_SHFileOperationA
jmp 0x401bcf
push 0x3e8
call sub.KERNEL32.DLL_Sleep
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4024e8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00405a29
pop ecx
test eax, eax
jne 0x402509
mov eax, dword [ebp + 0xc]
push eax
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
xor eax, eax
pop ebx
pop ebp
ret
or eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x402510
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
add eax, 0x41
lea edx, [ebp - 0xc]
push eax
push 0x406720
push edx
call fcn.00405d68
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x402545
cmp eax, 5
je 0x402545
xor eax, eax
jmp 0x40254a
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40261c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x407338]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.DLL_SetFileAttributesA
pop ebp
ret

Function at 0x402684
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
and eax, 1
pop ebp
ret
Function at 0x404f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
xor ecx, dword [0x40c15c]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
xor edx, dword [0x40c160]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 0xc]
xor ecx, dword [0x40c168]
xor edx, dword [0x40c164]
xor ebx, ebx
mov eax, ecx
mov esi, ecx
shr esi, 0x15
shl eax, 0xb
or eax, esi
mov esi, ebx
and esi, 3
add eax, edx
xor eax, dword [esi*4 + 0x40c15c]
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
movzx esi, byte [esi + 0x40c05c]
movzx edi, byte [edi + 0x40c05c]
shl edi, 8
or esi, edi
mov edi, eax
shr edi, 0x10
shr eax, 0x18
and edi, 0xff
and eax, 0xff
movzx edi, byte [edi + 0x40c05c]
movzx eax, byte [eax + 0x40c05c]
shl edi, 0x10
shl eax, 0x18
or esi, edi
or esi, eax
mov eax, edx
xor esi, dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov esi, edx
shr esi, 0xf
shl eax, 0x11
or eax, esi
mov esi, ebx
and esi, 3
xor eax, ecx
inc ebx
add eax, dword [esi*4 + 0x40c15c]
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
movzx esi, byte [esi + 0x40c05c]
movzx edi, byte [edi + 0x40c05c]
shl edi, 8
or esi, edi
mov edi, eax
shr edi, 0x10
shr eax, 0x18
and edi, 0xff
and eax, 0xff
movzx edi, byte [edi + 0x40c05c]
movzx eax, byte [eax + 0x40c05c]
shl edi, 0x10
shl eax, 0x18
or esi, edi
or esi, eax
xor esi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, esi
mov ecx, eax
mov edx, dword [ebp - 0xc]
cmp ebx, 0x20
jl 0x404fc6
mov eax, dword [ebp - 0x10]
xor edx, dword [0x40c15c]
mov dword [eax], edx
xor ecx, dword [0x40c160]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, dword [0x40c164]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, dword [0x40c168]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
push eax
call fcn.00405298
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405104
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
xor ecx, dword [0x40c15c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 4]
xor ecx, dword [0x40c160]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx + 8]
mov edx, dword [ebp - 0x10]
xor ebx, dword [0x40c164]
mov esi, dword [edx + 0xc]
push 0x10
push eax
lea eax, [ebp - 0x20]
xor esi, dword [0x40c168]
push eax
call fcn.00405b82
add esp, 0xc
mov edx, 0x1f
mov eax, esi
mov ecx, esi
shr ecx, 0x15
shl eax, 0xb
or eax, ecx
mov ecx, edx
and ecx, 3
add eax, ebx
xor eax, dword [ecx*4 + 0x40c15c]
mov edi, eax
mov ecx, eax
shr edi, 8
and ecx, 0xff
and edi, 0xff
movzx ecx, byte [ecx + 0x40c05c]
movzx edi, byte [edi + 0x40c05c]
shl edi, 8
or ecx, edi
mov edi, eax
shr edi, 0x10
shr eax, 0x18
and edi, 0xff
and eax, 0xff
movzx edi, byte [edi + 0x40c05c]
movzx eax, byte [eax + 0x40c05c]
shl edi, 0x10
shl eax, 0x18
or ecx, edi
or ecx, eax
mov eax, ebx
xor ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov ecx, ebx
shr ecx, 0xf
shl eax, 0x11
or eax, ecx
mov ecx, edx
and ecx, 3
xor eax, esi
dec edx
add eax, dword [ecx*4 + 0x40c15c]
mov edi, eax
mov ecx, eax
shr edi, 8
and ecx, 0xff
and edi, 0xff
movzx ecx, byte [ecx + 0x40c05c]
movzx edi, byte [edi + 0x40c05c]
shl edi, 8
or ecx, edi
mov edi, eax
shr edi, 0x10
shr eax, 0x18
and edi, 0xff
and eax, 0xff
movzx edi, byte [edi + 0x40c05c]
movzx eax, byte [eax + 0x40c05c]
shl edi, 0x10
shl eax, 0x18
or ecx, edi
or ecx, eax
xor ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
mov eax, ecx
mov esi, eax
mov ebx, dword [ebp - 0xc]
test edx, edx
jge 0x40515c
mov eax, dword [ebp - 0x10]
xor ebx, dword [0x40c15c]
mov dword [eax], ebx
xor esi, dword [0x40c160]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, dword [0x40c164]
mov dword [eax + 8], ecx
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, dword [0x40c168]
mov dword [ecx + 0xc], edx
push eax
call fcn.00405298
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405298
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ecx, 0x40c15c
mov ebx, 0x40bc5c
xor edx, edx
mov eax, dword [ebp + 8]
movzx esi, byte [eax]
add edx, 4
mov esi, dword [ebx + esi*4]
xor dword [ecx], esi
movzx esi, byte [eax + 1]
mov esi, dword [ebx + esi*4]
xor dword [ecx + 4], esi
movzx esi, byte [eax + 2]
mov esi, dword [ebx + esi*4]
xor dword [ecx + 8], esi
movzx esi, byte [eax + 3]
add eax, 4
mov esi, dword [ebx + esi*4]
xor dword [ecx + 0xc], esi
cmp edx, 0x10
jl 0x4052ac
pop esi
pop ebx
pop ebp
ret
Function at 0x405450
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor ecx, ecx
mov ebx, 0x40bc5c
mov eax, ecx
xor edx, edx
test al, 1
je 0x40546d
mov esi, eax
shr esi, 1
xor esi, 0xedb88320
jmp 0x405471
mov esi, eax
shr esi, 1
mov eax, esi
inc edx
cmp edx, 8
jl 0x40545d
mov dword [ebx], eax
inc ecx
add ebx, 4
cmp ecx, 0x100
jl 0x405459
pop esi
pop ebx
ret

Function at 0x405cf9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
je 0x405d3a
cmp byte [ebp - 0x104], 0x5c
je 0x405d3a
xor edx, edx
mov dl, byte [ebp - 0x104]
push edx
call fcn.004059c3
pop ecx
add eax, 0xffffffc0
mov dword [ebx], eax
jmp 0x405d3e
xor ecx, ecx
mov dword [ebx], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8ddfc8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8ddfce
pop ebp
sub ebp, 6
sub ebp, 0x4ddfc8
jmp 0x8de02c
jmp 0x8de035
mov eax, 0x4ddfc8
add eax, ebp
add eax, 0x93
mov ecx, 0x631
mov edx, 0x1ffd8009
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de04c
jmp 0x8de05f
arpl word [ecx + 0x61], cx
or dword [ecx], ebx
or dword [ecx], ecx
popal
or ebp, eax
and eax, 0x59c93a09
neg byte [ebp + esi + 0x59094d28]
add ah, 0x82
xor byte [0x88090909], 0xc8
int1
or dword [ecx], ecx
or dword [edx], ecx
les esi, [ecx + 0x909090f]
mov bl, 0x21
or dword [ecx], ecx
or esi, edi
jmp 0x8de09c
popal
mov dh, 0x3c
add byte [ecx], cl
popal
bt dword [ebp + 9], ecx
or byte [0x909612d], ah
or dword [ecx], ecx
loope 0x8de0bc
or dword [ecx], ecx
or eax, esp
and dword [ecx], ecx
or dword [ecx], ecx
pop esp
and ch, 0x82
mov word [ecx], es
or dword [ecx], ecx
or dword [edx + 0x909059c], eax
or dword [edx + 0x9091984], eax
or eax, ecx
loopne 0x8de0db
cmp byte [ebx], cl
mov cl, bl
or eax, 0xfd8c0640
div dh
not byte [ebx + ecx*8 + 5]
or dword [edx + 0x90d2d85], eax
or dword [ecx], ecx
popal
mov dh, 0x3c
add byte [ecx], cl
popal
bt dword [ebp + 9], ecx
or byte [0xce1582d], ah
or dword [ecx], ecx
or eax, esp
inc edx
or ecx, dword [ecx]
or dword [ebp + ebx*2 + 0x54], ebx
idiv byte [ebp + eax - 0xa]
jl 0x8de109
loope 0x8de181
ja 0x8de114
or dword [ecx], ecx
or dword [edx + 0x90901b4], eax
or dword [eax - 0x3f4b608], ecx
or dword [ecx], ecx
xor byte [ecx + eax - 0x77f6f6f7], 0xf8
clc
dec ecx
or edi, esp
sub al, 0x88
clc
dec ecx
or edi, esp
sub al, 0x3a
ror byte [eax - 0x212a805], 0xb5
mov bl, bh
mov ch, 0x88
sti
push edi
in eax, dx
std
mov ch, 0x3a
fisttp dword [edx + 0x6410ce1]
lea eax, [edi + 9]
or dword [ecx], ecx
push es
add dword [ecx + 9], 0x826f0909
adc eax, 0xe1f28930
push es
lea edx, [ebx]
or dword [ecx], ecx
or dword [ecx - 0x72f91f0e], ecx
sbb byte [ecx], cl
or dword [ecx], ecx
outsd dx, dword [esi]
mov dl, dh
imul byte [esi + eax]
lea ebx, [ecx + ecx]
or dword [ecx], ecx
dec eax
loopne 0x8de128
div dh
mul byte [eax]
inc ebp
xor byte [eax], cl
mov cl, al
or al, 0x8a
loope 0x8de17d
loopne 0x8de126
div dh
mul byte [eax]
pop ebp
xor byte [ebx], cl
mov cl, al
jp 0xe217ef64
jecxz 0x8de18c
mov ah, cl
or al, 0xe0
mov byte [0x54f6f6f6], al
retf
and ch, 0x5f
pop esi
pop esp
cmp byte [ebp + eax - 0x7e], 0x74
add ebp, esi
mov ebx, 0x880f8389
iretd
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x401040
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x38
push 0x423264
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.00408590
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401094
mov eax, dword [esp + 0x58]
push esi
add eax, 0x12
push eax
push 0x423270
call fcn.00402340
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.0040e380
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4010c8
mov eax, dword [esp + 0x58]
add eax, 0x12
push eax
push 0x4232b8
push 0x4232fc
call fcn.004021e0
add esp, 0xc
jmp 0x4011f0
push 0x2000
call fcn.0040e380
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4010fa
mov ecx, dword [esp + 0x58]
add ecx, 0x12
push ecx
push 0x423308
push 0x4232fc
call fcn.004021e0
add esp, 0xc
jmp 0x4011f0
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jb 0x401129
ja 0x401122
cmp eax, 0x2000
jbe 0x401129
mov esi, 0x2000
jmp 0x40112b
mov esi, eax
mov eax, dword [esp + 0x5c]
push dword [eax]
push esi
push 1
push dword [esp + 0x24]
call fcn.0040b91e
add esp, 0x10
cmp eax, esi
jne 0x4011eb
mov eax, dword [esp + 0x5c]
push dword [eax]
call fcn.0040b70c
add esp, 4
test eax, eax
jne 0x4011eb
sub dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
sbb dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.00406c00
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja case.0x4011a0.1
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x401214
push ebp
push esi
push 1
push ebx
call fcn.0040bf4f
add esp, 0x10
cmp eax, esi
jne 0x4011d2
push ebp
call fcn.0040b70c
add esp, 4
test eax, eax
je 0x401225
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x64]
add eax, 0x12
push eax
push 0x423350
call fcn.00402340
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.004083d0
push dword [esp + 0x14]
call fcn.0040e365
push ebx
call fcn.0040e365
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x401229
push esi
push ebx
push edi
call fcn.0040a370
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x401172
cmp eax, 1
je 0x401263
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x401247
cmp dword [esp + 0x10], ecx
jbe 0x4011d5
mov eax, dword [esp + 0x10]
jmp 0x401115
mov eax, 0xfffffffd
jmp 0x4011d5
cmp eax, 1
jne 0x4011d5
xor esi, esi
jmp 0x4011ee