joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d084
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x49d0b1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x49d130
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0049c0fc
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x49d0fe
mov cx, word [esp]
sub cx, si
jmp 0x49d100
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x49d0e7
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x49d126
mov cx, word [esp]
sub cx, si
jmp 0x49d128
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x49d10f
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x49d18d
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0049cd80
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x49d178
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x49d18d
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x49d08e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a25b0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4c5d40
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4a25d2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a25d4
shr eax, 1
dec edx
jne 0x4a25c0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a25b9
mov byte [0x4c6140], 1
pop esi
pop ebx
ret

Function at 0x4a25f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4c6140], 0
jne 0x4a2607
call fcn.004a25b0
mov eax, edi
dec eax
test eax, eax
jl 0x4a262f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c5d40]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4a2611
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4a4a38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x45d]
movzx ecx, dl
cmp ecx, 6
ja case.0x4a4ad2.0
jmp dword [ecx*4 + 0x4a4a6b]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x4a4a9d
sub dl, 8
je 0x4a4aac
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a47c8
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a4814
jmp case.0x4a4ad2.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x4a4ad2.0
movzx ecx, byte [ecx + 0x4a4ad9]
jmp dword [ecx*4 + 0x4a4aea]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a4864
jmp case.0x4a4ad2.0
cmp dl, 3
jne 0x4a4b17
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a48b8
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a4874
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a48fc
jmp case.0x4a4ad2.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x4a4b42
sub dl, 8
je 0x4a4b4e
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a4918
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a497c
jmp case.0x4a4ad2.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x4a4b6d
sub dl, 8
je 0x4a4b79
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a49e4
jmp case.0x4a4ad2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4a4a0c
mov esi, dword [eax + 0x448]
mov edx, dword [ebx + 0x1c]
dec edx
imul esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0xc], esi
mov eax, dword [eax + 0x450]
mov dword [ebp - 8], eax
mov esi, edx
test esi, esi
jb 0x4a4c09
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004a3de4
test eax, eax
je 0x4a4c09
mov eax, ebx
call fcn.004a4c14
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x448]
sub dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4a4ba9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a4c14
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4a4c45
dec al
je 0x4a4c80
dec al
je 0x4a4cc5
dec al
je 0x4a4d2e
jmp 0x4a4db8
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4a4db8
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a4c55
jmp 0x4a4db8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a4db8
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a4c90
jmp 0x4a4db8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a4db8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4a4cf4
xor ebp, ebp
jmp 0x4a4d04
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4a4d0d
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a4cd5
jmp 0x4a4db8
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a4db8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4a4d87
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004a2638
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a4d42
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ae668
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x4ae67d
or edx, 0x200
test eax, 0x20000000
je 0x4ae6b0
test eax, 0x40000000
je 0x4ae69c
test eax, 0x80000000
je 0x4ae697
or edx, 0x40
jmp 0x4ae6d7
or edx, 0x20
jmp 0x4ae6d7
test eax, 0x80000000
je 0x4ae6ab
or edx, 0x80
jmp 0x4ae6d7
or edx, 0x10
jmp 0x4ae6d7
test eax, 0x40000000
je 0x4ae6c8
test eax, 0x80000000
je 0x4ae6c3
or edx, 4
jmp 0x4ae6d7
or edx, 2
jmp 0x4ae6d7
test eax, 0x80000000
je 0x4ae6d4
or edx, 8
jmp 0x4ae6d7
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x4ae7d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x4ae9eb
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, dword [esi]
lea eax, [ebp - 0x48]
mov ecx, 0x40
call fcn.00407a30
cmp word [ebp - 0x48], 0x5a4d
je 0x4ae82a
mov eax, 0x4c6a40
mov edx, 0x4aea20
call fcn.00404ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aea0b
mov edx, dword [esi]
add edx, dword [ebp - 0xc]
lea eax, [ebp - 0x140]
mov ecx, 0xf8
call fcn.00407a30
cmp dword [ebp - 0x140], 0x4550
je 0x4ae867
mov eax, 0x4c6a40
mov edx, 0x4aea58
call fcn.00404ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aea0b
push 4
push 0x2000
mov eax, dword [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x10c]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
jne 0x4ae89e
push 4
push 0x2000
mov eax, dword [ebp - 0xf0]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
test ebx, ebx
jne 0x4ae8be
mov eax, 0x4c6a40
mov edx, 0x4aea94
call fcn.00404ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aea0b
push 0x11
push 0
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0xf0]
push eax
push ebx
call sub.kernel32.dll_VirtualAlloc_1
push 4
push 0x1000
mov eax, dword [ebp - 0xec]
push eax
push ebx
call sub.kernel32.dll_VirtualAlloc_1
mov edi, eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0xec]
mov edx, dword [esi]
mov eax, edi
call fcn.00407a30
mov eax, edi
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov edi, ebx
mov dword [eax + 0x34], edi
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [esi]
push eax
call fcn.004ae284
mov eax, edi
sub eax, dword [ebp - 0x10c]
test eax, eax
je 0x4ae961
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004ae32c
mov eax, dword [ebp - 8]
push eax
call fcn.004ae3e4
test al, al
jne 0x4ae982
mov eax, 0x4c6a40
mov edx, 0x4aeac4
call fcn.00404d60
call fcn.0040cdbc
mov eax, dword [ebp - 8]
push eax
call fcn.004ae6e0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4ae9e1
mov edx, eax
add edx, edi
mov esi, edx
test edx, edx
jne 0x4ae9b5
mov eax, 0x4c6a40
mov edx, 0x4aeafc
call fcn.00404ae8
call fcn.0040cdbc
push 0
push 1
push edi
call esi
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4ae9da
mov eax, 0x4c6a40
mov edx, 0x4aeb30
call fcn.00404ae8
call fcn.0040cdbc
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aea05
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b0214
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004053dc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4b022d
test al, 0x10
jne 0x4b0231
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4b2140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test dl, dl
je 0x4b2152
add esp, 0xfffffff0
call fcn.00403f8c
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp + 0x1c]
call fcn.004056a4
xor eax, eax
push ebp
push 0x4b21fe
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403bf8
mov dword [edi + 0x38], esi
lea eax, [edi + 0xc]
mov edx, dword [ebp + 0x1c]
call fcn.00405284
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
movzx eax, byte [ebp + 8]
mov byte [edi + 0x1c], al
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
push 0
lea eax, [edi + 0x40]
mov ecx, 1
mov edx, dword [0x4af400]
call fcn.00406088
add esp, 4
mov eax, edi
call fcn.004b1f94
test al, al
jne 0x4b21e8
call fcn.0040cdbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2205
lea eax, [ebp + 0x1c]
call fcn.00405248
ret
Function at 0x4b27cc
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x50
push 0
push 0
dec ecx
jne 0x4b27d4
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b2a4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x250], 0x3f
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x254]
mov ecx, 0x4b2a60
mov edx, esi
call fcn.004053f8
mov eax, dword [ebp - 0x254]
call fcn.004053dc
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b2a30
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.004053b0
mov eax, dword [ebp - 0x258]
mov edx, 0x4b2a6c
call fcn.004054b0
je 0x4b2a06
lea eax, [ebp - 0x25c]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.004053b0
mov eax, dword [ebp - 0x25c]
mov edx, 0x4b2a74
call fcn.004054b0
je 0x4b2a06
mov eax, dword [ebp - 0x250]
and eax, 0x10
cmp eax, 0x10
jne 0x4b296a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
test byte [eax + 0x98], 4
jne 0x4b2900
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x234]
shl eax, 0x20
add eax, dword [ebp - 0x230]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.004053b0
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
mov edx, esi
call fcn.004053f8
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x250]
lea edx, [ebp - 0x23c]
call fcn.004b25a0
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
test byte [eax + 0x98], 1
je 0x4b2a06
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x270]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.004053b0
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x26c]
mov edx, esi
call fcn.004053f8
mov edx, dword [ebp - 0x26c]
lea ecx, [ebp - 0x268]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
call fcn.004b079c
mov eax, dword [ebp - 0x268]
mov edx, edi
call fcn.004b27cc
pop ecx
jmp 0x4b2a06
mov eax, edi
mov edx, 0x4b2a80
call fcn.004054b0
je 0x4b29ae
lea eax, [ebp - 0x278]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.004053b0
mov eax, dword [ebp - 0x278]
lea edx, [ebp - 0x274]
call fcn.004b03d4
mov eax, dword [ebp - 0x274]
mov edx, edi
call fcn.004054b0
jne 0x4b2a06
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x234]
shl eax, 0x20
add eax, dword [ebp - 0x230]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.004053b0
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
mov edx, esi
call fcn.004053f8
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x250]
lea edx, [ebp - 0x23c]
call fcn.004b25a0
pop ecx
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
je 0x4b2a2a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
cmp byte [eax + 0xbd], 0
je 0x4b282f
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2a55
lea eax, [ebp - 0x280]
mov edx, 0xc
call fcn.00405260
ret
Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
add ecx, ecx
push ecx
mov edi, dword [esp]
add esp, 4
add edi, ecx
call fcn.0043b693
mov edi, 0xc68e18ce
xor dword [esi], eax
sub edi, 0x3bb8ec81
add esi, 1
and ecx, ecx
cmp esi, ebx
jne fcn.0043b64a
sub ecx, 0xe404b7ef
sub ecx, 0x29d83455
sub edi, 0x3ef893e5
ret
Function at 0x5d6e5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
clc
test eax, eax
ja 0x5d6654
jmp 0x5d99b0
test dh, 1
test edx, edx
pushal
lea esp, [esp + 0x20]
and al, 0x20
je 0x5d445e
bt cx, dx
bsf cx, di
movsx cx, cl
bts cx, 9
add edx, eax
inc cl
shrd cx, dx, 1
sub ecx, ecx
mov ecx, dword [esi + 0x7c]
stc
call fcn.005ea0fc
push 0xd4ab55ed
call fcn.005ebb4a
lodsb al, byte [esi]
fisttp word [0x1ff4e8fc]
imul ecx, ebx, 0xffffff84
inc ebx
pushfd
sub byte [edi + edi], dl
jmp 0x5d5972
call fcn.00549fc7
neg al
mov dword [esp], edx
sub bp, 0xf696
clc
lea eax, [eax - 0x53a229a6]
aam 0x7f
lea ebp, [esp + 0x1c]
xor al, 0x81
rol ax, cl
mov eax, dword [ebp]
jmp 0x5adf4b
je 0x548b31
jge 0x5e7bc4
je 0x5d445e
rol dh, cl
mov esi, dword [eax + 0x3c]
movzx dx, cl
bsf dx, si
btr dx, bp
add esi, eax
bsf dx, si
sub dx, 0x1473
mov edx, dword [esi + 0x78]
jmp 0x5d596b
pushfd
mov byte [esp], 0xd4
lea esp, [esp + 4]
je 0x5d445e
sbb dl, 0x97
mov esi, dword [eax + 0x3c]
btr edx, 0xa
add esi, eax
shr dl, 3
pushfd
clc
mov edx, dword [esi + 0x78]
clc
call fcn.005d2b9b
sti
loop 0x5e7bdd
fldenv [ebp - 0x68a1eecf]
mov byte [0x927999cd], al
invalid
Function at 0x11dc0
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call sub.ntoskrnl.exe_PsGetVersion
cmp dword [ebp - 8], 5
jne 0x11e10
cmp dword [ebp - 4], 2
jne 0x11df1
mov dword [0x1426c], 0x77
jmp 0x11e62
cmp dword [ebp - 4], 1
jne 0x11e03
mov dword [0x1426c], 0x71
jmp 0x11e62
cmp dword [ebp - 4], esi
jne 0x11e5a
mov dword [0x1426c], esi
jmp 0x11e75
cmp dword [ebp - 8], 6
jne 0x11e5a
mov eax, dword [ebp - 4]
cmp eax, esi
jne 0x11e29
mov dword [0x1426c], 0xb7
jmp 0x11e62
cmp eax, 1
jne 0x11e3a
mov dword [0x1426c], 0xaf
jmp 0x11e62
cmp eax, 2
jne 0x11e4b
mov dword [0x1426c], 0xed
jmp 0x11e62
cmp eax, 3
jne 0x11e5a
mov dword [0x1426c], 0xef
cmp dword [0x1426c], esi
je 0x11e75
mov eax, dword [0x14284]
mov ecx, dword [0x1426c]
mov eax, dword [eax + ecx*4]
mov dword [0x14268], eax
pop esi
leave
ret 4

Function at 0x15006
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 8], 5
jne 0x150d0
cmp dword [ebp - 4], 2
jne 0x15067
mov dword [0x141d4], 0x80
mov dword [0x141dc], 0xc2
mov dword [0x141e4], 0x11f
mov dword [0x141ec], 0x12
mov dword [0x141f4], 0x10a
jmp 0x151ad
cmp dword [ebp - 4], 1
jne 0x150a4
mov dword [0x141d4], 0x7a
mov dword [0x141dc], 0xba
mov dword [0x141e4], 0x115
mov dword [0x141ec], 0x11
mov dword [0x141f4], 0x101
jmp 0x151ad
cmp dword [ebp - 4], esi
jne 0x151ad
mov dword [0x141d4], esi
mov dword [0x141dc], esi
mov dword [0x141e4], esi
mov dword [0x141ec], esi
mov dword [0x141f4], esi
jmp 0x151ad
cmp dword [ebp - 8], 6
jne 0x151ad
mov eax, dword [ebp - 4]
cmp eax, esi
jne 0x15118
mov dword [0x141d4], 0xc2
mov dword [0x141dc], 0x105
mov dword [0x141e4], 0x166
mov dword [0x141ec], 0x12
mov dword [0x141f4], 0x14e
jmp 0x151ad
cmp eax, 1
jne 0x15151
mov dword [0x141d4], 0xbe
mov dword [0x141dc], 0x115
mov dword [0x141e4], 0x18f
mov dword [0x141ec], 0x13
mov dword [0x141f4], 0x172
jmp 0x151ad
push 2
pop ecx
cmp eax, ecx
jne 0x15178
mov dword [0x141d4], 0xde
mov dword [0x141dc], 0x84
mov dword [0x141ec], 0x197
jmp 0x1519d
push 3
pop ecx
cmp eax, ecx
jne 0x151ad
mov dword [0x141d4], 0xe0
mov dword [0x141dc], 0x86
mov dword [0x141ec], 0x19b
mov dword [0x141f4], 0x23
mov dword [0x141e4], ecx
pop esi
leave
ret
Function at 0x1523c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [ebp - 4], 5
mov eax, dword [ebp - 8]
jne 0x1526c
cmp eax, 2
je 0x152b0
cmp eax, 1
je 0x152b0
test eax, eax
je 0x152b0
cmp dword [ebp - 4], 6
jne 0x152b0
test eax, eax
jne 0x15284
mov eax, dword [sym.imp.ntoskrnl.exe_PsProcessType]
mov eax, dword [eax]
add eax, 0x138
jmp 0x152ab
cmp eax, 1
jne 0x15295
mov eax, dword [sym.imp.ntoskrnl.exe_PsProcessType]
mov eax, dword [eax]
sub eax, 0xffffff80
jmp 0x152ab
cmp eax, 2
je 0x1529f
cmp eax, 3
jne 0x152b0
mov eax, dword [sym.imp.ntoskrnl.exe_PsProcessType]
mov eax, dword [eax]
add eax, 0x88
mov dword [0x141c8], eax
leave
ret

Function at 0x15706
Capabilities:
Get system information on windows

Disassembly:
push 0x20
push 0x13210
call fcn.000120bc
mov byte [ebp - 0x19], 1
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x1573d
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x1584d
mov esi, 0x50764476
push esi
push dword [ebp - 0x20]
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
call edi
mov ebx, eax
test ebx, ebx
je 0x1576c
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push ebx
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x1576c
mov byte [ebp - 0x19], 0
cmp byte [ebp - 0x19], 0
jne 0x15781
test ebx, ebx
je 0x1572f
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1572f
push esi
mov esi, 0x208
push esi
push 0
call edi
mov edi, dword [ebp + 8]
mov dword [edi], eax
test eax, eax
jne 0x157a3
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
jmp 0x1572f
movzx eax, word [ebx + 0x1e]
lea eax, [eax + ebx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
push esi
push 0
push dword [edi]
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov edi, dword [edi]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x157d7
push 0xb
pop ecx
mov eax, 0x1738a
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x157f1
sub eax, ecx
sar eax, 1
movzx ecx, word [ebp - 0x28]
push ecx
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
lea eax, [ecx + eax*2]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
jmp 0x15844
mov dword [ebp - 4], 0xfffffffe
mov al, 1
call fcn.00012101
ret 0xc