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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
movzx ecx, word [edi]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
mov edx, dword [ebx + ecx*4]
movzx ecx, word [edi + 2]
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + ecx*4]
add eax, edx
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x18], esi
cmp esi, dword [ebp + 0x10]
jae 0x409cd4
mov edx, esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x409bc8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x18], esi
cmp esi, 8
jb 0x409bb0
cmp esi, 0x10
jae 0x409c6d
lea eax, [esi - 8]
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jae 0x409cd4
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x409c23
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, 0x10
jb 0x409c13
cmp esi, dword [ebp + 0x10]
jae 0x409cd4
lea eax, [esi - 0x10]
mov dword [ebp - 4], eax
jmp 0x409c80
mov esi, dword [ebp + 8]
xor edi, edi
or eax, 0x100
lea ebx, [ebx]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x409c90
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jb 0x409c80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
or ecx, 0x100
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
movzx esi, word [edx + eax*2]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr esi, 4
neg edx
sar edx, 4
and edx, 0x7f
xor esi, edx
add edi, dword [ebx + esi*4]
cmp ecx, 0x10000
jb 0x409dd4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x409e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
or ecx, esi
add edi, edi
mov edx, esi
and edx, edi
mov eax, ecx
add edx, esi
shr eax, 8
add eax, edx
mov edx, dword [ebp + 8]
movzx edx, word [edx + eax*2]
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
shr edx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp + 0x14]
add ebx, dword [eax + edx*4]
mov edx, ecx
xor edx, edi
not edx
and esi, edx
cmp ecx, 0x10000
jb 0x409e25
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x40b970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.0054ae76
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x40b99b
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x414210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5943b3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], 0
call fcn.00411d90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x426559
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x426559
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42654a
cmp esi, edx
jae 0x426559
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x426538
cmp esi, edx
jae 0x426559
cmp word [esi], 0
je 0x426559
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4276b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5959b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
je 0x42785e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00427170
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.00429090
add esp, 0x10
or esi, 0xffffffff
test eax, eax
je 0x42783f
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x427876
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x427880
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.00428a90
add esp, 4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00427100
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42778e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.004292e0
add esp, 8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00427100
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4277c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00427170
add esp, 0xc
push 0
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427803
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427821
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42783f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42785e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0x1c], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3
Function at 0x427970
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5959f0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x427aac
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x4279f1
test edi, 0xffff0000
jne 0x4279d3
movzx eax, di
lea ecx, [ebp - 0x10]
push eax
call fcn.00426130
jmp 0x4279fd
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x4279e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4279e0
sub ecx, edx
sar ecx, 1
jmp 0x4279f3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.004263f0
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427a72
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427a72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x427a72
lea eax, [ebp - 0x10]
push eax
call fcn.004293c0
mov esi, dword [ebp - 0x10]
add esp, 4
cmp dword [esi - 0xc], 0
jne 0x427a43
xor edi, edi
jmp 0x427a7a
push esi
call fcn.00427970
add esp, 4
test eax, eax
jne 0x427a54
xor edi, edi
jmp 0x427a7a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427a75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x427a75
xor edi, edi
jmp 0x427a7a
mov esi, dword [ebp - 0x10]
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x427a99
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x428a90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x62985c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], esi
test al, 1
jne 0x428ae7
or eax, 1
mov dword [0x62985c], eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x428bb9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x5acc20
mov dword [0x629858], eax
call fcn.0053d46e
add esp, 4
mov ecx, dword [0x629858]
cmp dword [ecx - 0xc], 0
je 0x428afc
add ecx, 0xfffffff0
push ecx
jmp 0x428b91
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x428b88
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x428b20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428b20
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x629858
call fcn.004263f0
mov eax, dword [0x629858]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x428b77
lea ecx, [edx - 1]
test ecx, ecx
js 0x428baf
cmp ecx, edx
jg 0x428baf
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x428b77
cmp eax, 0x2f
je 0x428b77
push 1
push 0x5b14ac
mov ecx, 0x629858
call fcn.00425dc0
push 8
push str.drivers_
mov ecx, 0x629858
call fcn.00425dc0
mov eax, dword [0x629858]
add eax, 0xfffffff0
push eax
call fcn.00425f70
mov ecx, dword [ebp - 4]
add esp, 4
add eax, 0x10
xor ecx, ebp
mov dword [esi], eax
mov eax, esi
pop esi
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3
Function at 0x429be0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595d08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, 0x80004005
cmp dword [eax + 0x14], 0
je 0x429d0d
mov esi, dword [eax + 0x1c]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x429da6
mov eax, dword [esi + 4]
mov ebx, dword [ebp + 0x10]
add eax, ebx
cmp eax, 0x1f400000
ja 0x429da1
push 0xc
call fcn.0042fbc0
mov edi, eax
add esp, 4
test edi, edi
je 0x429c61
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x429c63
xor edi, edi
add dword [esi + 4], ebx
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov byte [ebp + 0x13], 0
mov dword [ebp + 8], eax
cmp ebx, ecx
jae 0x429c7f
lea eax, [edx + ebx]
jmp 0x429cb2
jbe 0x429cb5
mov eax, dword [edi + 8]
sub eax, edx
cmp ebx, eax
jbe 0x429c98
lea eax, [ebp + 0x13]
mov ecx, edi
push eax
push ebx
call fcn.00426900
jmp 0x429cb5
mov esi, ebx
sub esi, ecx
push esi
push 0
push dword [ebp + 8]
call fcn.00540d70
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x10]
mov dword [edi + 4], eax
push ebx
push dword [ebp + 0xc]
push dword [edi]
call fcn.00541450
mov ebx, dword [esi + 8]
add esi, 8
add esp, 0xc
cmp dword [esi + 4], 0x15555555
je 0x429dbc
mov dword [ebp - 0x18], esi
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.0042fbc0
mov ecx, eax
add esp, 4
mov dword [ecx + 8], edi
inc dword [esi + 4]
mov eax, dword [ebx + 4]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ebx + 4], ecx
xor ebx, ebx
mov dword [eax], ecx
jmp 0x429da6
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x429da6
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x10]
mov esi, dword [ebp + 0xc]
mov edi, ecx
push 0
push edx
push ecx
push esi
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x429d5d
mov edi, edi
add esi, dword [ebp - 0x10]
sub edi, dword [ebp - 0x10]
je 0x429d9a
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x429d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.795_tCommonFuncs::WriteFile_tWriteFile_Faild_with_lastError:__u
push str.T:_tmp_3174_1630465749774Coding_support_newsetup3rdparty7zCPP7zipArchiveks_package7zExtractImpl.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x14
xor esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x429d91
push dword [ebp + 0x10]
call eax
xor eax, eax
test esi, esi
cmovne ebx, eax
jmp 0x429da6
mov esi, 1
jmp 0x429d82
mov ebx, 0x80004005
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.list_too_long
call fcn.0053ed5d
int3
Function at 0x42ab40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595e88
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], vtable.ICompressSetInStream.0
mov dword [esi + 8], vtable.ISequentialInStream.0
mov dword [esi + 0xc], vtable.ICompressSetOutStream.0
mov dword [esi + 0x10], vtable.ISequentialOutStream.0
mov dword [esi + 0x14], vtable.IOutStreamFlush.0
mov dword [esi + 0x18], vtable.ICryptoSetPassword.0
mov dword [esi + 0x1c], vtable.ICompressSetCoderProperties.0
mov dword [esi + 0x20], vtable.ICompressWriteCoderProperties.0
mov dword [esi + 0x24], vtable.ICryptoResetInitVector.0
mov dword [esi + 0x28], vtable.ICompressSetDecoderProperties2.0
mov dword [esi + 0x2c], 0
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
push 0x20000
mov byte [ebp - 4], 7
call fcn.00403960
add esp, 4
mov dword [esi + 0x30], eax
test eax, eax
je 0x42ac6d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x5ff84c
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
call fcn.00541d4e
int3
Function at 0x42ac90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595eb0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x30]
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
call fcn.00403980
add esp, 4
mov ecx, dword [esi + 0x74]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x42ad20
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x70]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x42ad34
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x6c]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x42ad48
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x68]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x42ad5c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x64]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x42ad70
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x60]
mov dword [ebp - 4], 5
test ecx, ecx
je 0x42ad84
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 4], 6
test ecx, ecx
je 0x42ad98
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x34]
mov dword [ebp - 4], 7
test ecx, ecx
je 0x42adac
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test byte [ebp + 8], 1
je 0x42adbd
push 0x78
push esi
call fcn.0053d0af
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42fc50
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
je 0x42fc7f
mov esi, dword [edi + 4]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42fc71
mov al, 1
jmp 0x42fc7d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete al
mov byte [edi], al
mov esi, dword [ebp + 0x10]
cmp dword [esi + 8], 0x105
jg 0x42fc97
push 0x105
mov ecx, esi
call fcn.0040ff90
push dword [esi]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edx, dword [esi]
xor ecx, ecx
mov ebx, eax
cmp word [edx], cx
je 0x42fcba
inc ecx
cmp word [edx + ecx*2], 0
jne 0x42fcb2
xor eax, eax
mov word [edx + ecx*2], ax
mov dword [esi + 4], ecx
test ebx, ebx
je 0x42fcd3
push esi
lea ecx, [edi + 4]
call fcn.00412580
mov byte [edi], 1
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x42fd40
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi], 0
jne 0x42fd4c
mov al, 1
pop esi
ret
push edi
mov edi, dword [esi + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42fd66
mov al, 1
mov byte [esi], al
xor al, al
pop edi
pop esi
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop edi
sete al
mov byte [esi], al
xor al, 1
pop esi
ret

Function at 0x42fec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebx], 0
jmp 0x42fee0
cmp esi, dword [0x61b390]
lea eax, [ebp + 0x10]
push 0
push eax
mov ecx, esi
mov dword [ebp + 0x10], 0
cmova ecx, dword [0x61b390]
push ecx
push edi
push dword [edx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add dword [ebx], ecx
test eax, eax
je 0x42ff27
test ecx, ecx
je 0x42ff1c
mov edx, dword [ebp - 4]
add edi, ecx
sub esi, ecx
jne 0x42fee0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x430300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x43031c
mov eax, dword [ebp - 4]
jmp 0x4303f7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4303d2
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5b1e30]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x5b1e30]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5b1e30]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x5b1e30]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5b1e30]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x5b1e30]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5b1e30]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x5b1e30]
dec ebp
jne 0x43033c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4303ee
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x5b1e30]
dec ecx
jne 0x4303dc
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4333a0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59655b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 6
lea edi, [esi + 4]
mov dword [esi], 0
mov dword [edi], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0
mov dword [esi + 0x10], 0x80004005
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [esi + 0x10], eax
push esi
push 0x5b271c
push 1
push 0
push 0x5b270c
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esi]
test ecx, ecx
je 0x433424
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x48]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret