joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411140
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [ecx + 0x18]
push ebx
xor eax, eax
xor edx, edx
mov ax, word [ecx + 0x14]
mov dx, word [ecx + 6]
push esi
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test edx, edx
jbe 0x41117f
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41116a
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x411177
add esi, ecx
cmp ebx, esi
jb 0x411181
inc edi
add eax, 0x28
cmp edi, edx
jb 0x411160
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x411710
Capabilities:
Create directory
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x431be8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
test ebx, ebx
push esi
je 0x411823
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x411823
push 0x5c
push ebx
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x411823
push 0x3a
push ebx
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x411823
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
call esi
test eax, eax
jne 0x41180d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41180a
mov esi, dword [esp + 0x34]
test esi, esi
je 0x41184d
lea ecx, [esp + 8]
call fcn.0040f6e0
push str.CreateDirectory:
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.0040f430
lea ecx, [esp + 8]
call fcn.0040fab0
mov eax, dword [esi]
push str.Failed_to_create_directory
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
push ebx
push str.path
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040f750
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebx
call esi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov esi, dword [esp + 0x34]
test esi, esi
je 0x41184d
mov edx, dword [esi]
push str.Cannot_set_directory__bad_path
mov ecx, esi
call dword [edx + 0x14]
test ebx, ebx
jne 0x411840
mov ebx, str.null
mov eax, dword [esi]
push ebx
push str.path
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x20]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x411860
Capabilities:
Set current directory

Disassembly:
sub esp, 0x114
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
mov esi, dword [esp + 0x124]
push edi
push esi
call ebp
test eax, eax
jne 0x411a0c
push 0x104
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00427cd0
mov cl, byte [esp + 0x2c]
add esp, 0xc
test cl, cl
lea eax, [esp + 0x20]
je 0x4118b1
cmp byte [eax], 0x2f
jne 0x4118a9
mov byte [eax], 0x5c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4118a1
lea ecx, [esp + 0x20]
push 0x3a
push ecx
call fcn.00427be0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41196c
mov dl, byte [ebx + 1]
inc ebx
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebx], 0
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x14]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x439478
or ecx, 0xffffffff
mov byte [ebx], dl
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
test eax, eax
jne 0x411970
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x41195f
mov edx, dword [esi]
push str.Failed_to_set_directory_to_root_directory
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push str.directory
mov ecx, esi
call dword [eax + 0x2c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
lea ebx, [esp + 0x20]
cmp byte [ebx], 0x5c
jne 0x4119b6
push 0x439478
call ebp
test eax, eax
jne 0x4119b5
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x4119a8
mov edx, dword [esi]
push str.Failed_to_set_directory_to_root_directory
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi]
push 0x439478
push str.directory
mov ecx, esi
call dword [eax + 0x2c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
inc ebx
mov ebp, dword [esp + 0x12c]
cmp byte [ebx], 0
je 0x411a0c
push 0x5c
push ebx
call fcn.00427be0
mov esi, eax
add esp, 8
test esi, esi
je 0x4119f7
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [esi], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4119f2
push ebp
push ebx
call fcn.00411710
add esp, 8
test eax, eax
je 0x4119a8
lea ebx, [esi + 1]
jmp 0x4119bd
push ebp
push ebx
call fcn.00411710
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x114
ret
Function at 0x411a20
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x431c10
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
push edi
push ebp
push esi
call fcn.00427bbb
add esp, 8
test eax, eax
jne 0x411b7c
push 0x77
push ebp
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x411a78
push 0x57
push ebp
call fcn.00427be0
add esp, 8
test eax, eax
je 0x411b2a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x411b1c
lea ecx, [esp + 0x3c]
call fcn.0040fc40
push 0x2f
push esi
mov dword [esp + 0x38], 0
call fcn.00427ca0
mov edi, eax
add esp, 8
test edi, edi
jne 0x411acf
push 0x5c
push esi
call fcn.00427ca0
mov edi, eax
add esp, 8
test edi, edi
jne 0x411acf
push 0x3a
push esi
call fcn.00427ca0
mov edi, eax
add esp, 8
test edi, edi
jne 0x411acf
mov edi, esi
jmp 0x411ad0
inc edi
lea ecx, [esp + 0x10]
call fcn.0040f6e0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
push edi
mov byte [esp + 0x38], 1
call fcn.0040fea0
test al, al
je 0x411afd
mov ecx, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.0040f750
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040fc70
push ebp
push esi
call fcn.00427bbb
add esp, 8
test eax, eax
jne 0x411b7c
push 0x72
push ebp
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x411b7a
push 0x52
push ebp
call fcn.00427be0
add esp, 8
test eax, eax
jne 0x411b7a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, eax
cmp edi, 0xffffffff
je 0x411b7a
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push esi
call ebx
test eax, eax
je 0x411b7a
push ebp
push esi
call fcn.00427bbb
add esp, 8
test eax, eax
jne 0x411b7c
push edi
push esi
call ebx
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x411b90
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x30c
push ebx
mov ebx, dword [esp + 0x318]
push esi
mov esi, dword [esp + 0x318]
push ebx
push esi
call fcn.00411a20
add esp, 8
test eax, eax
jne 0x411cef
push 0x104
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00427cd0
mov cl, byte [esp + 0x14]
add esp, 0xc
test cl, cl
lea eax, [esp + 8]
je 0x411be7
cmp byte [eax], 0x2f
jne 0x411bdf
mov byte [eax], 0x5c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411bd7
lea ecx, [esp + 8]
push 0x5c
push ecx
call fcn.00427ca0
add esp, 8
test eax, eax
je 0x411ced
lea edx, [esp + 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 8]
push 0x104
lea ecx, [esp + 0x110]
push eax
push ecx
call fcn.00427cd0
lea edx, [esp + 0x118]
push 0x5c
push edx
call fcn.00427ca0
add esp, 0x14
test eax, eax
jne 0x411c62
mov ecx, dword [esp + 0x320]
test ecx, ecx
je 0x411ced
mov eax, dword [ecx]
push str.Failed_to_create_file__A_
call dword [eax + 0x10]
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret
push edi
mov byte [eax], 0
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x411c96
mov ecx, dword [esp + 0x320]
test ecx, ecx
je 0x411ced
mov edx, dword [ecx]
push str.Failed_to_create_file__B_
call dword [edx + 0x10]
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret
mov esi, dword [esp + 0x320]
lea eax, [esp + 0x10c]
push esi
push eax
call fcn.00411860
add esp, 8
test eax, eax
jne 0x411ccd
test esi, esi
je 0x411ced
mov edx, dword [esi]
push str.Failed_to_create_file__C_
mov ecx, esi
call dword [edx + 0x10]
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret
lea eax, [esp + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 8]
push ebx
push ecx
call fcn.00411a20
add esp, 8
test eax, eax
jne 0x411cef
xor eax, eax
pop esi
pop ebx
add esp, 0x30c
ret
Function at 0x41abd0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x30c
push ebx
mov ebx, dword [esp + 0x318]
push esi
mov esi, dword [esp + 0x318]
push ebx
push esi
call fcn.0041a800
add esp, 8
test eax, eax
jne 0x41ad2f
push 0x104
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00427cd0
mov cl, byte [esp + 0x14]
add esp, 0xc
test cl, cl
lea eax, [esp + 8]
je 0x41ac27
cmp byte [eax], 0x2f
jne 0x41ac1f
mov byte [eax], 0x5c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41ac17
lea ecx, [esp + 8]
push 0x5c
push ecx
call fcn.00427ca0
add esp, 8
test eax, eax
je 0x41ad2d
lea edx, [esp + 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 8]
push 0x104
lea ecx, [esp + 0x110]
push eax
push ecx
call fcn.00427cd0
lea edx, [esp + 0x118]
push 0x5c
push edx
call fcn.00427ca0
add esp, 0x14
test eax, eax
jne 0x41aca2
mov ecx, dword [esp + 0x320]
test ecx, ecx
je 0x41ad2d
mov eax, dword [ecx]
push str.Failed_to_create_file__A_
call dword [eax + 0x10]
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret
push edi
mov byte [eax], 0
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x41acd6
mov ecx, dword [esp + 0x320]
test ecx, ecx
je 0x41ad2d
mov edx, dword [ecx]
push str.Failed_to_create_file__B_
call dword [edx + 0x10]
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret
mov esi, dword [esp + 0x320]
lea eax, [esp + 0x10c]
push esi
push eax
call fcn.0041a340
add esp, 8
test eax, eax
jne 0x41ad0d
test esi, esi
je 0x41ad2d
mov edx, dword [esi]
push str.Failed_to_create_file__C_
mov ecx, esi
call dword [edx + 0x10]
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret
lea eax, [esp + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 8]
push ebx
push ecx
call fcn.0041a800
add esp, 8
test eax, eax
jne 0x41ad2f
xor eax, eax
pop esi
pop ebx
add esp, 0x30c
ret
Function at 0x41b720
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
test ebx, ebx
je 0x41b8bc
push ebx
call fcn.0041b6f0
mov edi, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0040f3c0
mov eax, 0x55555556
xor esi, esi
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x41b802
push ebp
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov bl, byte [esi + eax]
mov cl, byte [esi + eax + 1]
inc esi
mov ebp, ecx
inc esi
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dl, byte [esi + eax]
mov eax, ebx
sar eax, 2
and eax, 0x3f
mov dword [esp + 0x10], edx
inc esi
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.0040f240
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, ebp
sar eax, 4
and ebx, 3
and eax, 0xf
shl ebx, 4
or eax, ebx
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.0040f240
mov ebx, dword [esp + 0x10]
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, ebx
and ebp, 0xf
sar eax, 6
and eax, 3
shl ebp, 2
or eax, ebp
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.0040f240
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ebx, 0x3f
mov cl, byte [ebx + eax]
push ecx
mov ecx, edi
call fcn.0040f240
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x41b75f
mov ebx, dword [esp + 0x1c]
pop ebp
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x41b86f
dec edx
jne 0x41b8bc
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
xor edx, edx
mov bl, byte [esi + eax]
mov dl, byte [esi + eax + 1]
mov eax, ebx
mov esi, edx
sar eax, 2
and eax, 0x3f
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.0040f240
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, esi
sar eax, 4
and ebx, 3
and eax, 0xf
shl ebx, 4
or eax, ebx
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.0040f240
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and esi, 0xf
mov cl, byte [eax + esi*4]
push ecx
jmp 0x41b8ac
mov eax, dword [esp + 0x14]
xor edx, edx
mov dl, byte [esi + eax]
mov esi, edx
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, esi
sar ecx, 2
and ecx, 0x3f
mov al, byte [ecx + edx]
mov ecx, edi
push eax
call fcn.0040f240
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and esi, 3
shl esi, 4
mov dl, byte [esi + ecx]
mov ecx, edi
push edx
call fcn.0040f240
push 0x3d
mov ecx, edi
call fcn.0040f240
push 0x3d
mov ecx, edi
call fcn.0040f240
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x41b900
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push edi
mov edi, ecx
mov dword [edi], vtable.ZipCRC.0
mov al, byte [0x44e0b4]
test al, al
jne 0x41b975
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, 0x44dcb4
push 8
push ebx
mov ecx, edi
call fcn.0041b980
shl eax, 0x18
mov dword [esi], eax
mov edx, 8
mov ebp, eax
mov ecx, ebp
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebp, eax
jne 0x41b932
push 0x20
push eax
mov ecx, edi
mov dword [esi], ebp
call fcn.0041b980
mov dword [esi], eax
add esi, 4
inc ebx
cmp esi, 0x44e0b0
jle 0x41b91c
pop esi
pop ebp
mov eax, edi
pop ebx
mov byte [0x44e0b4], 1
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x41b9d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
test edx, edx
mov esi, ecx
je 0x41ba0d
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41ba0d
push ebx
push edi
lea edi, [eax]
mov eax, dword [esi + 4]
xor ebx, ebx
mov bl, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x44dcb4]
xor ecx, eax
inc edx
dec edi
mov dword [esi + 4], ecx
jne 0x41b9e7
pop edi
pop ebx
pop esi
ret 8

Function at 0x41ba30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x431ea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
call fcn.0041ada0
lea edi, [esi + 0x18]
mov dword [esp + 0x48], 0
mov ecx, edi
call fcn.0040f6e0
mov dword [esi + 0x30], 0
mov dword [esi], vtable.DataPipeline.0
mov eax, dword [0x43e690]
mov byte [esp + 0x48], 1
mov ecx, eax
inc eax
mov dword [0x43e690], eax
push ecx
lea eax, [esp + 0x10]
push str.DataPipeline__d
push eax
call fcn.0042775b
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0040f430
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x41f7a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x54], edx
jle 0x41f8ab
push ebx
push edi
lea eax, [esi + 0x6a]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x441ef8]
mov ecx, dword [ecx*4 + 0x4426f8]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x4422f8]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x441af8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x4422f8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x4426f8]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x441ef8]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x441af8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x4422f8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x4426f8]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x441ef8]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x441af8]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x4422f8]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x4426f8]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x441ef8]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x441af8]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x54]
cmp edx, ecx
jl 0x41f7b6
pop edi
pop ebx
pop esi
ret

Function at 0x426670
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x42a96d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x44b828
cmp edx, dword [eax]
je 0x42a98f
add eax, 8
inc ecx
cmp eax, 0x44b8b8
jl 0x42a980
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x44b828]
jne 0x42aabd
mov eax, dword [0x472b30]
cmp eax, 1
je 0x42aa97
test eax, eax
jne 0x42a9c0
cmp dword [0x44b294], 1
je 0x42aa97
cmp edx, 0xfc
je 0x42aabd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42a9f7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042dd10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00427850
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42aa3a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00427850
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x433d3c
push edi
call fcn.00427cd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042dd10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042dd20
lea eax, [ebp - 0xa0]
push 0x433d1c
push eax
call fcn.0042dd20
push dword [esi + 0x44b82c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042dd20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042e467
add esp, 0x2c
pop edi
jmp 0x42aabd
lea eax, [ebp + 8]
lea esi, [esi + 0x44b82c]
push 0
push eax
push dword [esi]
call fcn.00427850
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 0x401349
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, eax
mov ecx, edx
test edx, edx
jne 0x401359
mov edx, 0xffffffff
jmp 0x401373
mov edx, 0xffffffff
mov al, byte [ebx]
xor eax, edx
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x4110e0]
inc ebx
dec ecx
jne 0x40135e
mov eax, edx
not eax
pop ebx
ret

Function at 0x401439
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
sub esp, 0x24
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push 0x2001f
push 0
push 0x4074e0
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
add esp, 0xc
test eax, eax
jne 0x4014a6
mov dword [esp + 0xc], 0x22a
sub esp, 8
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x20]
push eax
push 0
push 0x40751c
push dword [esp + 0x30]
call sub.ADVAPI32.DLL_RegQueryValueExA
add esp, 8
test eax, eax
jne 0x401497
mov eax, dword [esp + 0x14]
jmp 0x401519
sub esp, 0xc
push dword [esp + 0x20]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
sub esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x2001f
push 0
push 0x4074e0
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
add esp, 0xc
test eax, eax
je 0x4014d2
mov eax, 0
jmp 0x401519
mov dword [esp + 0xc], 0x22a
sub esp, 8
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x20]
push eax
push 0
push 0x40751c
push dword [esp + 0x30]
call sub.ADVAPI32.DLL_RegQueryValueExA
add esp, 8
test eax, eax
jne 0x401505
mov eax, dword [esp + 0x14]
jmp 0x401519
sub esp, 0xc
push dword [esp + 0x20]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, 0
add esp, 0xc
add esp, 0x18
pop ebx
ret

Function at 0x40151e
Capabilities:
Delete file
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1018
call fcn.00406420
mov eax, dword [esp + 0x1018]
mov ebp, edx
sub esp, 4
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
add esp, 4
test eax, eax
je 0x40161c
cmp eax, 0xffffffff
je 0x40161c
sub esp, 8
push pe_nt_image_headers32
push ebp
call sub.KERNEL32.dll_SetFileAttributesA
sub esp, 0xc
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push ebp
call sub.KERNEL32.dll_CreateFileA
mov ebx, eax
add esp, 0x14
test eax, eax
je 0x40161c
cmp eax, 0xffffffff
jne 0x4015dc
jmp 0x40161c
sub esp, 0xc
push 0
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x2c]
push edi
push ebx
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
cmp dword [esp + 0x18], 0xfff
ja 0x4015e0
sub esp, 0xc
push esi
call sub.KERNEL32.dll_CloseHandle
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, 1
add esp, 0xc
jmp 0x401621
lea edi, [esp + 0x1c]
sub esp, 0xc
push 0
lea eax, [esp + 0x28]
push eax
push 0x1000
push edi
push esi
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
test eax, eax
jne 0x4015a1
sub esp, 0xc
push esi
call sub.KERNEL32.dll_CloseHandle
push ebx
call sub.KERNEL32.dll_CloseHandle
push ebp
call sub.KERNEL32.dll_DeleteFileA
mov eax, 0
add esp, 0xc
jmp 0x401621
mov eax, 0
add esp, 0x101c
pop ebx
pop esi
pop edi
pop ebp
ret