joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007c840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10245158
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x1007c8b8
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mul dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
mov dword [ebp - 0x10], edx
call fcn.1021ceb1
push dword [esi + 0xc]
mov eax, dword [esi + 8]
push 1
push dword [eax + 4]
push dword [ebp + 0xc]
call fcn.1021b4cb
add esp, 0x18
cmp eax, 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x800
mov eax, dword [ecx]
push edx
push 1
push dword [ebp + 8]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1007c8ed
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax]
push eax
lea ecx, [ebp + 0xd]
call fcn.1003af50
mov al, byte [ebp + 0xd]
cmp al, byte [0x102de270]
jne 0x1007c91e
mov al, byte [ebp + 0xe]
cmp al, byte [0x102de271]
jne 0x1007c91e
mov al, byte [ebp + 0xf]
cmp al, byte [0x102de272]
je 0x1007c932
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 0x20]
call fcn.100164e0
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], 0
call fcn.10025e90
push eax
lea ecx, [ebp - 0x30]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x30]
push eax
call fcn.1020df63
int3

Function at 0x1007c970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x1007c9b9
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mul dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
mov dword [ebp - 4], edx
call fcn.1021ceb1
push dword [esi + 0xc]
mov eax, dword [esi + 8]
push dword [ebp + 0xc]
push dword [eax + 4]
push dword [ebp + 0x10]
call fcn.1021b4cb
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 0xb
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push edx
push esi
push dword [ebp + 8]
mov eax, dword [eax + 0x6c]
call eax
xor ecx, ecx
test al, al
cmovne ecx, esi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007f660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10245223
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [esi], vtable.FileSys::UDFLib::UDFSessionInfo.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.10016520
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.10016520
xor eax, eax
mov dword [esi + 0x28], 0x10
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov word [esi + 0x64], ax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
call fcn.10217b36
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], edx
lea ecx, [esi + 0x90]
push eax
call fcn.10078430
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 0x10084350
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10245673
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 0xc]
push esi
call fcn.100b9320
mov ecx, dword [ebp - 0x14]
mov dword [edi], vtable.DrvLib::ASPIDevice.0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ecx + 0x5c], edi
add ecx, 0x60
movzx eax, byte [esi]
mov dword [ebp + 0xc], ecx
mov byte [ecx], al
movzx eax, byte [esi + 1]
mov byte [ecx + 1], al
movzx eax, byte [esi + 2]
mov byte [ecx + 2], al
lea eax, [esi + 4]
push eax
add ecx, 4
call fcn.10016330
mov ecx, dword [ebp - 0x14]
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x70], xmm0
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x78], al
movups xmm0, xmmword [esi + 0x19]
movups xmmword [ecx + 0x79], xmm0
movzx eax, byte [esi + 0x29]
mov byte [ecx + 0x89], al
mov eax, dword [esi + 0x2a]
mov dword [ecx + 0x8a], eax
movzx eax, byte [esi + 0x2e]
mov byte [ecx + 0x8e], al
mov al, byte [esi + 2]
mov byte [ebp - 0xd], al
mov al, byte [esi + 1]
mov byte [ebp + 0xb], al
mov al, byte [esi]
lea esi, [ecx + 0x90]
push 0x61
push 0
push esi
mov byte [ebp - 4], 1
mov byte [ebp + 0xf], al
call fcn.1020dca0
mov al, byte [ebp + 0xf]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov byte [esi + 2], al
mov al, byte [ebp + 0xb]
mov byte [esi + 8], al
mov al, byte [ebp - 0xd]
mov byte [esi + 9], al
mov eax, dword [ebp + 0x10]
mov byte [esi], 2
mov byte [esi + 3], 0
mov word [esi + 0x14], 0xc20
mov byte [esi + 0x30], 0
mov dword [ecx + 0xf8], eax
mov eax, dword [edi + 8]
mov edi, ecx
mov ecx, dword [edi + 0x5c]
mov dword [edi + 0xfc], eax
call fcn.1003b180
movzx eax, byte [edi + 0x60]
push 0
mov byte [edi + 0x92], al
movzx eax, byte [edi + 0x61]
push 0
mov byte [edi + 0x98], al
movzx eax, byte [edi + 0x62]
push 1
push 0
mov byte [esi], 2
mov byte [edi + 0x99], al
mov byte [edi + 0xa5], 0xc
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xa8], eax
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 0xc
Function at 0x10087380
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10245b78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
lea eax, [esi + 4]
push eax
call fcn.10016330
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x18], al
movups xmm0, xmmword [esi + 0x19]
movups xmmword [edi + 0x19], xmm0
movzx eax, byte [esi + 0x29]
mov byte [edi + 0x29], al
mov eax, dword [esi + 0x2a]
mov dword [edi + 0x2a], eax
movzx eax, byte [esi + 0x2e]
mov byte [edi + 0x2e], al
movups xmm0, xmmword [esi + 0x30]
lea eax, [esi + 0x90]
mov dword [ebp - 4], 0
push eax
movups xmmword [edi + 0x30], xmm0
lea ecx, [edi + 0x90]
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [edi + 0x50], xmm0
movups xmm0, xmmword [esi + 0x60]
movups xmmword [edi + 0x60], xmm0
movups xmm0, xmmword [esi + 0x70]
movups xmmword [edi + 0x70], xmm0
movups xmm0, xmmword [esi + 0x80]
movups xmmword [edi + 0x80], xmm0
call fcn.10016330
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 4

Function at 0x100879b0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
call fcn.10087da0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x100879ee
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1020a080
mov esp, ebp
pop ebp
ret
push 0x1ff
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.1020dca0
add esp, 0xc
mov dword [ebp - 0x238], 0
lea eax, [ebp - 0x238]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x230], 0
push 0
push eax
push 0x1ff
lea eax, [ebp - 0x204]
push eax
push 0xc
lea eax, [ebp - 0x234]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10087acf
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x228], str.UNKNOWN
mov dword [ebp - 0x224], str.SCSI
mov dword [ebp - 0x220], str.ATAPI
mov dword [ebp - 0x21c], 0x10266868
mov dword [ebp - 0x218], str.IEEE_1394
mov dword [ebp - 0x214], 0x10266884
mov dword [ebp - 0x210], str.FIBRE
mov dword [ebp - 0x20c], 0x10266898
mov dword [ebp - 0x208], str.RAID
cmp al, 8
jae 0x10087acf
movzx eax, al
mov ecx, edi
push dword [ebp + eax*4 - 0x228]
call fcn.10016610
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1020a080
mov esp, ebp
pop ebp
ret
Function at 0x10087b10
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10245c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.100ba870
test al, al
je 0x10087d5e
lea ecx, [ebp - 0x250]
call fcn.10016520
lea ebx, [esi + 0x64]
mov dword [ebp - 4], 0
push 0
mov ecx, ebx
call fcn.10016a80
movzx eax, ax
push eax
call fcn.10087da0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x10087c94
push 0x1ff
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1020dca0
add esp, 0xc
mov dword [ebp - 0x244], 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x23c], 0
push 0
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x240]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10087c6b
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x234], str.UNKNOWN
mov dword [ebp - 0x230], str.SCSI
mov dword [ebp - 0x22c], str.ATAPI
mov dword [ebp - 0x228], 0x10266868
mov dword [ebp - 0x224], str.IEEE_1394
mov dword [ebp - 0x220], 0x10266884
mov dword [ebp - 0x21c], str.FIBRE
mov dword [ebp - 0x218], 0x10266898
mov dword [ebp - 0x214], str.RAID
cmp al, 8
jae 0x10087c6b
movzx eax, al
lea ecx, [ebp - 0x250]
push dword [ebp + eax*4 - 0x234]
call fcn.10016610
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x250]
call fcn.10016b10
mov ecx, edi
sub ecx, eax
movzx edx, word [eax]
lea eax, [eax + 2]
mov word [ecx + eax + 0x61e], dx
test dx, dx
jne 0x10087c81
push 0
mov ecx, ebx
call fcn.10016a80
movzx eax, ax
mov ebx, 1
push eax
call fcn.10087da0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x10087d4d
push 0x1ff
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1020dca0
add esp, 0xc
mov dword [ebp - 0x244], 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], 0
push 0
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x240]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10087d46
mov eax, dword [ebp - 0x1f8]
cmp al, 2
je 0x10087d37
cmp al, 3
je 0x10087d37
cmp al, 0xb
je 0x10087d37
xor ebx, ebx
jmp 0x10087d46
xor ebx, ebx
cmp byte [ebp - 0x1fc], 1
setne bl
add ebx, 2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x250]
mov dword [edi + 0xc50], ebx
call fcn.100165a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1020a080
mov esp, ebp
pop ebp
ret 4
Function at 0x10088220
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push ebx
push esi
push eax
mov ebx, 1
call fcn.10087da0
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x100882e6
push 0x1ff
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.1020dca0
add esp, 0xc
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], 0
push 0
push eax
push 0x1ff
lea eax, [ebp - 0x204]
push eax
push 0xc
lea eax, [ebp - 0x210]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100882df
mov eax, dword [ebp - 0x1ec]
cmp al, 2
je 0x100882d0
cmp al, 3
je 0x100882d0
cmp al, 0xb
je 0x100882d0
xor ebx, ebx
jmp 0x100882df
xor ebx, ebx
cmp byte [ebp - 0x1f0], 1
setne bl
add ebx, 2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.1020a080
mov esp, ebp
pop ebp
ret

Function at 0x1008fa60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, ecx
push 1
push 0x1b7740
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, esi
pop esi
jmp fcn.100a74b0
Function at 0x1009d7e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10247d00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esi], vtable.DrvLib::DiscReader.0
mov dword [esi + 4], ecx
mov dword [esi + 0x10], edi
mov dword [ebp - 4], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x1a], xmm0
mov eax, dword [eax + 0x10]
mov dword [esi + 0x2a], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x1009d91b
test edi, edi
jne 0x1009d872
push str.Invalid_number_of_sectors
lea ecx, [ebp - 0x2c]
call fcn.10016440
mov byte [ebp - 4], 3
jmp 0x1009d92c
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x64]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
sub eax, dword [ebp + 0xc]
cmp edi, eax
jbe 0x1009d8a8
push str.Invalid_number_of_sectors
lea ecx, [ebp - 0x2c]
call fcn.10016440
mov byte [ebp - 4], 4
jmp 0x1009d92c
movzx ecx, word [esi + 0x14]
xor edx, edx
mov eax, 0x10000
div ecx
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x1c]
mov word [esi + 0x18], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov al, byte [ebp - 0x1a]
mov cl, byte [esi + 0x1c]
and al, 0xf
cmp cl, 0x14
jbe 0x1009d8d8
mov byte [esi + 0x1c], 0x14
mov cl, 0x14
cmp byte [esi + 0x1a], 0
je 0x1009d8e5
mov byte [ebp - 0x19], cl
and al, 0xf8
jmp 0x1009d8ed
and al, 0xfd
mov byte [ebp - 0x19], 0
or al, 5
mov ecx, dword [esi + 4]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1020a080
mov esp, ebp
pop ebp
ret 0x18
push str.Invalid_device
lea ecx, [ebp - 0x2c]
call fcn.10016440
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
push 4
lea ecx, [ebp - 0x3c]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x3c]
push eax
call fcn.1020df63
int3
Function at 0x1009f840
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10248140
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push ebx
push esi
push 0x102e95f4
call fcn.1009f640
push 1
push ebx
lea eax, [esi + 0xc]
push eax
push 0x102e94f8
call fcn.1009f640
push 1
push ebx
lea eax, [esi + 0x18]
push eax
push 0x102e94bc
call fcn.1009f640
push 1
push ebx
lea eax, [esi + 0x24]
push eax
push 0x102e9594
call fcn.1009f640
add esp, 0x40
lea eax, [esi + 0x30]
push 1
push ebx
push eax
push 0x102e95d0
call fcn.1009f640
mov edi, dword [esi + 0x3c]
add esp, 0x10
mov dword [ebp - 0x14], edi
cmp edi, dword [esi + 0x40]
je 0x1009f9f7
lea esi, [edi + 4]
mov dword [ebp - 0x10], esi
nop dword [eax + eax]
push 0x5c
mov ecx, esi
call fcn.100181b0
inc eax
mov ecx, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10017e80
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push 0x102e94b0
push eax
call fcn.10016b40
push 0x102e94b0
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
call fcn.10016b40
push 0x102e9504
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
call fcn.10016b40
add esp, 0x24
lea ecx, [ebp - 0x38]
call fcn.100165a0
lea ecx, [ebp - 0x44]
call fcn.100165a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.100165a0
mov eax, dword [edi]
cmp eax, 4
ja case.default.0x1009f95b
jmp dword [eax*4 + 0x1009fa0c]
push 0x102e95c4
jmp 0x1009f983
push 0x102e951c
jmp 0x1009f983
push 0x102e94c8
jmp 0x1009f983
push 0x102e954c
jmp 0x1009f983
push 0x102e95ac
lea ecx, [ebp - 0x20]
call fcn.10016f20
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x102e9558
call fcn.1009f640
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov esi, dword [esi + 0xc]
mov ebx, 1
cmp esi, dword [eax + 0x10]
je 0x1009f9ca
mov edi, eax
push dword [ebp + 0xc]
push ebx
push esi
call fcn.1009fa20
add esi, 0x4c
add esp, 0xc
inc ebx
cmp esi, dword [edi + 0x10]
jne 0x1009f9b1
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.100165a0
mov eax, dword [ebp + 8]
add edi, 0x1c
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0xc]
add esi, 0x1c
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
cmp edi, dword [eax + 0x40]
jne 0x1009f8e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a13a0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x102de448
push esi
call fcn.1020d1a0
mov ebx, dword [ebp + 0x10]
mov edi, 0x48
add esp, 0xc
mov dword [ebp + 8], 0
cmp dword [ebp + 0xc], edi
mov eax, ebx
cmovle edi, dword [ebp + 0xc]
add edi, ebx
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
mov ecx, dword [ebp + 8]
cmp eax, edi
cmovae eax, ebx
xor dword [esi + ecx*4], edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, 0x12
jl 0x100a13e0
mov dword [ebp - 8], 0
xor edi, edi
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 8]
push esi
push eax
call fcn.100c3dd0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x100a1432
xor edi, edi
push 1
lea eax, [ebp - 8]
push esi
push eax
call fcn.100c3dd0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x100a1458
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100a1680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
add esi, ecx
cmp ecx, edx
ja 0x100a16b2
sub edx, ecx
inc edx
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x102df490]
sub edx, 1
jne 0x100a1698
pop esi
pop ebp
ret

Function at 0x100a1910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, 0x10268d60
push esi
add eax, 0xc
mov esi, 0x248
movzx ecx, byte [edx]
lea edx, [edx + 4]
xor byte [eax], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
movzx ecx, byte [edx - 1]
xor byte [eax - 1], cl
sub esi, 1
jns 0x100a1924
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100a6a10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024881b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], vtable.Projects::WriteTaskBase.0
mov dword [esi + 4], 0
mov dword [ebp + 8], 0
mov dword [esi + 8], eax
push 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.1003aea0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x20], xmm0
mov eax, dword [eax + 0x10]
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], 1
mov byte [esi + 0x35], 0
mov byte [esi + 0x36], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 2
mov dword [esi + 0x40], 0
mov dword [esi + 0x4c], ecx
call fcn.10019210
mov dword [esi + 0x54], eax
call fcn.10067fd0
mov dword [esi + 0x58], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc