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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov dword [ebp - 8], edx
mov ebx, ecx
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00476210
mov edi, edx
mov esi, eax
test edi, edi
jne 0x443aa6
cmp esi, 0xffffffff
ja 0x443aa6
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0xc]
imul eax, ecx
push ecx
mov dword [ebp - 4], eax
call fcn.00476210
push edi
push edi
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x443a25
call fcn.0042fc51
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push str.read_sectors:_Could_not_access_sector_0x_08llx____s_n
call fcn.0042ed57
or eax, 0xffffffff
add esp, 0x10
or edx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443a49
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp eax, esi
jne 0x443a49
cmp ecx, edi
je 0x443a9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x443a5a
call fcn.0042fc51
jmp 0x443a5f
mov eax, 0x4b4dda
push eax
push str.read_sectors:_Read_error__s_n
call fcn.0042ed57
push edi
push esi
push dword [ebp - 4]
push str.__Read:__d__Expected:__llu_n
call fcn.0042ed57
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
push str.__StartSector:_0x_08llx__nSectors:_0x_llx__SectorSize:_0x_llx_n
call fcn.0042ed57
mov eax, dword [ebp - 4]
add esp, 0x34
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.read_sectors:_nSectors_x_SectorSize_is_too_big_n
call fcn.0042ed57
add esp, 4
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x18], 0x4e204f4e
mov ecx, 0xe5
mov dword [ebp - 0x14], 0x20454d41
mov esi, str.FAT32___1
mov word [ebp - 0x10], 0x2020
lea edi, [ebp - 0x5c0]
mov byte [ebp - 0xe], 0x20
rep movsd dword es:[edi], dword [esi]
push 0
push 0xb
mov ecx, 0x80
mov dword [ebp - 0xc], 0x4d9058eb
movsw word es:[edi], word [esi]
lea edx, [ebp - 0xc]
mov esi, 0x4d1ed8
mov dword [ebp - 8], 0x4e495753
lea edi, [ebp - 0x228]
mov word [ebp - 4], 0x2e34
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov ecx, ebx
mov byte [ebp - 2], 0x31
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xaa550000
call fcn.00443cb0
add esp, 0x10
test eax, eax
je 0x447a1f
push 0
push 0xb
push 0
push 0x47
lea edx, [ebp - 0x18]
mov ecx, ebx
call fcn.00443cb0
add esp, 0x10
test eax, eax
je 0x447a1f
push 0
push 0x396
push 0
push 0x52
lea edx, [ebp - 0x5c0]
mov ecx, ebx
call fcn.00443cb0
add esp, 0x10
test eax, eax
je 0x447a1f
push 0
push 0x10
push 0
push 0x3f0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00443cb0
add esp, 0x10
test eax, eax
je 0x447a1f
push 0
push 0x200
push 0
push 0x1c00
lea edx, [ebp - 0x228]
mov ecx, ebx
call fcn.00443cb0
add esp, 0x10
test eax, eax
je 0x447a1f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cf40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push 0
push 0x10b
push 0
push 0
lea edx, [ebp - 0x110]
mov dword [ebp - 0x110], 0xc031fcfa
mov esi, ecx
mov dword [ebp - 0x10c], 0xd88ed08e
mov dword [ebp - 0x108], 0x8d7c00bd
mov dword [ebp - 0x104], 0xb8fbe066
mov dword [ebp - 0x100], 0xc08e1fe0
mov dword [ebp - 0xfc], 0xef89ee89
mov dword [ebp - 0xf8], 0xf30100b9
mov dword [ebp - 0xf4], 0x7c22eaa5
mov dword [ebp - 0xf0], 0xd88e1fe0
mov dword [ebp - 0xec], 0xc031d08e
mov dword [ebp - 0xe8], 0xbe8dc08e
mov dword [ebp - 0xe4], 0x5f601be
mov dword [ebp - 0xe0], 0x836d7580
mov dword [ebp - 0xdc], 0xff8110c7
mov dword [ebp - 0xd8], 0xf2727dfe
mov dword [ebp - 0xd4], 0x6e00c4e8
mov dword [ebp - 0xd0], 0x6361206f
mov dword [ebp - 0xcc], 0x65766974
mov dword [ebp - 0xc8], 0x72617020
mov dword [ebp - 0xc4], 0x69746974
mov dword [ebp - 0xc0], 0x66206e6f
mov dword [ebp - 0xbc], 0x646e756f
mov dword [ebp - 0xb8], 0xe8feeb00
mov dword [ebp - 0xb4], 0x657200a5
mov dword [ebp - 0xb0], 0x65206461
mov dword [ebp - 0xac], 0x726f7272
mov dword [ebp - 0xa8], 0x69687720
mov dword [ebp - 0xa4], 0x7220656c
mov dword [ebp - 0xa0], 0x69646165
mov dword [ebp - 0x9c], 0x6420676e
mov dword [ebp - 0x98], 0x65766972
mov dword [ebp - 0x94], 0xe8daeb00
mov dword [ebp - 0x90], 0x61700081
mov dword [ebp - 0x8c], 0x74697472
mov dword [ebp - 0x88], 0x206e6f69
mov dword [ebp - 0x84], 0x6e676973
mov dword [ebp - 0x80], 0x72757461
mov dword [ebp - 0x7c], 0x3d212065
mov dword [ebp - 0x78], 0x41353520
mov dword [ebp - 0x74], 0xb9eb0041
mov dword [ebp - 0x70], 0x720010e8
mov dword [ebp - 0x6c], 0x3e8126b6
mov dword [ebp - 0x68], 0xaa557dfe
mov dword [ebp - 0x64], 0xead175
mov dword [ebp - 0x60], 0xbb00007c
mov dword [ebp - 0x5c], 0x41b455aa
mov dword [ebp - 0x58], 0x327213cd
mov dword [ebp - 0x54], 0xaa55fb81
mov dword [ebp - 0x50], 0xc1f62c75
mov dword [ebp - 0x4c], 0xeb277401
mov dword [ebp - 0x48], 0x4001010
mov dword [ebp - 0x44], 0x7c0000
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x8458b00
mov dword [ebp - 0x34], 0x8b7cd1a3
mov dword [ebp - 0x30], 0xd3a30a45
mov dword [ebp - 0x2c], 0x4200b87c
mov dword [ebp - 0x28], 0xcd7cc9be
mov dword [ebp - 0x24], 0x4b8c313
mov dword [ebp - 0x20], 0x7c00bb02
mov dword [ebp - 0x1c], 0x8a024d8b
mov dword [ebp - 0x18], 0x13cd0175
mov dword [ebp - 0x14], 0xb4db31c3
mov dword [ebp - 0x10], 0x5e10cd0e
mov dword [ebp - 0xc], 0x3c56ac
mov word [ebp - 8], 0xf375
mov byte [ebp - 6], 0xc3
call fcn.00443cb0
add esp, 0x10
test eax, eax
je 0x44d1c2
mov ecx, esi
call fcn.0044c240
test eax, eax
je 0x44d1c2
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4571d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
or ebx, 0xffffffff
push esi
mov esi, dword [edx + 0x10]
cmp eax, 4
ja 0x4571f1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, 4
push edi
mov dword [ebp + 0x10], eax
mov edi, 0
je 0x45734b
mov edx, dword [ebp + 0xc]
mov al, byte [edi + edx]
and al, 0xfe
cmp al, 0xe8
jne 0x45733e
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x45723e
xor esi, esi
mov dword [ebp - 4], esi
mov cl, byte [edx + edi + 4]
lea ebx, [edx + 4]
mov dword [ebp - 0x10], edi
test cl, cl
je 0x457275
cmp cl, 0xff
je 0x457275
add esi, esi
or esi, 1
jmp 0x45733b
dec ecx
shl esi, cl
and esi, 7
mov dword [ebp - 4], esi
je 0x457221
cmp byte [esi + 0x4a3d1c], 0
je 0x457269
movzx eax, byte [esi + 0x4a3d24]
mov ecx, edi
sub ecx, eax
mov al, byte [ecx + edx + 4]
test al, al
je 0x457269
cmp al, 0xff
jne 0x457221
add esi, esi
mov ebx, edi
or esi, 1
jmp 0x45733e
lea eax, [edx + 3]
movzx ecx, cl
mov dword [ebp - 0xc], eax
lea eax, [edx + 2]
mov dword [ebp - 8], eax
movzx eax, byte [edx + edi + 3]
shl ecx, 8
or eax, ecx
movzx ecx, byte [edx + edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + edi + 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 0xc]
sub eax, edi
sub eax, 5
test esi, esi
je 0x457304
movzx ebx, byte [esi + 0x4a3d24]
mov esi, 0x18
shl ebx, 3
sub esi, ebx
mov edx, eax
mov ecx, esi
shr edx, cl
test dl, dl
je 0x4572d1
cmp dl, 0xff
jne 0x4572ef
mov ecx, 0x20
mov edx, 1
sub ecx, ebx
shl edx, cl
dec edx
xor edx, eax
mov eax, dword [ebp + 8]
sub edx, dword [eax + 0xc]
sub edx, edi
lea eax, [edx - 5]
jmp 0x4572c2
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
lea ecx, [edx + 2]
mov dword [ebp - 8], ecx
lea ebx, [edx + 4]
lea ecx, [edx + 3]
mov dword [ebp - 0xc], ecx
and eax, 0x1ffffff
mov ecx, eax
and ecx, 0x1000000
neg ecx
or eax, ecx
mov byte [edx + edi + 1], al
mov ecx, eax
mov edx, dword [ebp - 8]
shr ecx, 8
mov byte [edx + edi], cl
mov ecx, eax
mov edx, dword [ebp - 0xc]
shr ecx, 0x10
shr eax, 0x18
mov byte [ebx + edi], al
mov byte [edx + edi], cl
add edi, 4
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x457206
mov edx, dword [ebp + 8]
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x457362
xor esi, esi
mov eax, edi
pop edi
mov dword [edx + 0x10], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
mov eax, edi
shl esi, cl
pop edi
mov dword [edx + 0x10], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4597d0
Capabilities:
Encode data using xor
Hash data using crc32b
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4597f6
push 0x400
call fcn.004812e1
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x45989e
cmp dword [ebp + 0xc], 0
push ebx
push edi
mov edi, 1
je 0x459843
mov ebx, SHChangeNotifyRegister
mov ecx, ebx
xor eax, eax
sar ecx, 0x1f
add ebx, ebx
and ecx, 0x4c11db7
xor ebx, ecx
test edi, edi
je 0x459830
lea edx, [esi + edi*4]
mov ecx, dword [esi + eax*4]
lea edx, [edx + 4]
xor ecx, ebx
inc eax
mov dword [edx - 4], ecx
cmp eax, edi
jb 0x459820
add edi, edi
cmp edi, 0x100
jb 0x459808
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x80
mov dword [esi], 0
mov dword [ebp - 4], edx
mov eax, edi
lea ebx, [edx + edx]
and al, 1
lea edx, [esi + edx*4]
movzx eax, al
neg eax
sbb eax, eax
shr edi, 1
and eax, 0xedb88320
xor edi, eax
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + ecx*4]
add ecx, ebx
mov esi, dword [ebp - 4]
xor eax, edi
mov dword [edx], eax
lea eax, [esi*8]
mov esi, dword [ebp + 8]
add edx, eax
cmp ecx, 0x100
jb 0x459870
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jne 0x459851
pop edi
mov eax, esi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4598b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test edx, edx
je 0x4598dd
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [edi + ecx*4]
sub edx, 1
jne 0x4598c5
pop edi
pop esi
pop ebp
ret
Function at 0x45fc20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push edi
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x39]
mov dword [ebp - 0x30], edi
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x40], 0
push ecx
lea ecx, [ebp - 0x58]
movlpd qword [ebp - 0x38], xmm0
push ecx
lea ecx, [ebp - 0x48]
push ecx
push 1
push eax
call fcn.0045f760
add esp, 0x1c
test al, al
jne 0x45fc81
mov eax, dword [ebp - 0x40]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00475c80
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x34]
push esi
jne 0x45fd88
mov esi, dword [0x4dba7c]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x48]
movlpd qword [ebp - 0x38], xmm0
test esi, esi
jne 0x45fccc
push str.NtDeviceIoControlFile
push str.NtDll
call fcn.0045f4c0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x4dba7c], esi
test esi, esi
je 0x45fd85
push 0x90
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00478bc0
add esp, 0xc
lea eax, [ebp - 0xe8]
push 0x90
push eax
push 0x90
push eax
push 0x70048
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push edi
call esi
test eax, eax
js 0x45fd18
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd4]
jmp 0x45fd7f
cmp eax, 0xc0000010
jne 0x45fd63
push 0x28
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push 0x28
push eax
push 0x700a0
lea eax, [ebp - 0x50]
movq qword [ebp - 0xc], xmm0
push eax
push 0
push 0
push 0
push edi
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call dword [0x4dba7c]
mov edi, dword [ebp - 0x30]
test eax, eax
js 0x45fd88
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x45fd88
cmp eax, 0xc000000d
jne 0x45fd85
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45fd85
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x30]
mov eax, dword [0x4dba88]
mov esi, dword [ebp - 0x48]
test eax, eax
jne 0x45fdb6
push str.NtClose
push str.Ntdll
call fcn.0045f4c0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4dba88], eax
test eax, eax
je 0x45fdb9
push esi
call eax
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00476100
mov ecx, dword [ebp - 4]
mov dword [edi], eax
xor ecx, ebp
pop esi
mov dword [edi + 4], edx
xor eax, eax
pop edi
call fcn.00475c80
mov esp, ebp
pop ebp
ret
Function at 0x46e950
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x8c], ecx
movlpd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0xcc], 0xf3bcc908
mov dword [ebp - 0xc8], 0x6a09e667
mov dword [ebp - 0xc4], 0x84caa73b
mov dword [ebp - 0xc0], 0xbb67ae85
mov dword [ebp - 0xbc], 0xfe94f82b
mov dword [ebp - 0xb8], 0x3c6ef372
mov dword [ebp - 0xb4], 0x5f1d36f1
mov dword [ebp - 0xb0], 0xa54ff53a
mov dword [ebp - 0xac], 0xade682d1
mov dword [ebp - 0xa8], 0x510e527f
mov dword [ebp - 0xa4], 0x2b3e6c1f
mov dword [ebp - 0xa0], 0x9b05688c
mov dword [ebp - 0x9c], 0xfb41bd6b
mov dword [ebp - 0x98], 0x1f83d9ab
mov dword [ebp - 0x94], 0x137e2179
mov dword [ebp - 0x90], 0x5be0cd19
test esi, esi
je 0x46eae4
push edi
test ecx, ecx
jne 0x46ea6b
cmp esi, 0x80
jb 0x46ea6b
lea eax, [ebp - 0xd4]
push ebx
push eax
call fcn.0046eb10
mov ecx, dword [ebp - 0x8c]
add esp, 8
add dword [ebp - 0xd4], 0x400
adc dword [ebp - 0xd0], 0
sub ebx, 0xffffff80
add esi, 0xffffff80
jmp 0x46ead5
mov eax, 0x80
mov edi, esi
sub eax, ecx
cmp esi, eax
cmovae edi, eax
lea eax, [ebp - 0x88]
push edi
add eax, ecx
push ebx
push eax
call fcn.00476fc0
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, edi
add ebx, edi
sub esi, edi
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x80
jne 0x46ead5
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0046eb10
add esp, 8
add dword [ebp - 0xd4], 0x400
adc dword [ebp - 0xd0], 0
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
test esi, esi
jne 0x46ea30
mov eax, dword [ebp - 0xd8]
pop edi
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0046fc40
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
pop ebx
call fcn.00475c80
mov esp, ebp
pop ebp
ret
Function at 0x473030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
test dl, 3
je 0x473069
test edi, edi
je 0x473069
nop dword [eax + eax]
movzx ecx, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [esi + ecx*4]
sub edi, 1
je 0x473069
test dl, 3
jne 0x473050
mov ebx, edi
lea ecx, [edx - 4]
and ebx, 7
shr edi, 3
mov dword [ebp + 0x10], ebx
test edi, edi
je 0x47310b
nop
mov ebx, dword [ecx + 4]
add ecx, 4
xor ebx, eax
mov dword [ebp + 8], ecx
mov eax, ebx
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, dword [esi + edx*4 + 0x1800]
xor eax, dword [esi + ecx*4 + 0x1400]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [esi + ecx*4 + 0x1000]
movzx ecx, bl
mov ebx, dword [ebp + 8]
add ebx, 4
mov dword [ebp + 8], ebx
xor eax, dword [esi + ecx*4 + 0x1c00]
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 8
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [esi + edx*4 + 0x800]
xor edx, dword [esi + ecx*4 + 0x400]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [esi + ecx*4]
movzx ecx, bl
xor edx, dword [esi + ecx*4 + 0xc00]
mov ecx, dword [ebp + 8]
xor eax, edx
sub edi, 1
jne 0x473080
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x473129
lea edx, [ecx + 3]
movzx ecx, byte [edx + 1]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [esi + ecx*4]
sub ebx, 1
jne 0x473112
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x473150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
je 0x473181
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
movzx eax, al
movzx ecx, word [ecx*2 + 0x4a87c8]
xor eax, ecx
sub edx, 1
jne 0x473161
pop esi
pop ebp
ret
Function at 0x473820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x8c], eax
movzx edi, byte [ebx]
lea esi, [ebx + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
test edi, edi
je 0x47386e
movsx eax, byte [esi]
lea esi, [esi + 1]
mov ecx, edx
shl edx, 5
shr ecx, 0x1b
xor edx, ecx
xor edx, eax
sub edi, 1
jne 0x473857
cmp dword [ebx + 4], 0
jne 0x47389d
mov esi, dword [ebx + 8]
test esi, esi
je 0x47389d
mov ecx, dword [ebp + 0x10]
add esi, 3
shr esi, 2
test esi, esi
je 0x47389d
mov eax, edx
lea ecx, [ecx + 4]
shl edx, 0x10
shr eax, 0x10
xor edx, eax
xor edx, dword [ecx - 4]
sub esi, 1
jne 0x473888
mov esi, dword [ebp - 0x88]
mov dword [esi], edx
mov eax, dword [ebx + 4]
test eax, eax
je 0x4738d7
lea ecx, [ebp - 0x84]
push ecx
push eax
push dword [ebp - 0x8c]
call fcn.00461970
add esp, 0xc
test eax, eax
jne 0x4738d9
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x10
shl eax, 0x10
xor ecx, eax
xor ecx, dword [ebp - 0x7c]
mov dword [esi], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
mov esp, ebp
pop ebp
ret

Function at 0x476b31
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x4aa658
push esi
call fcn.00498a5b
pop ecx
pop ecx
test eax, eax
jne 0x48a6cb
xor al, al
jmp 0x48a748
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0048a39f
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x48a705
push dword [ebp - 0x210]
call fcn.004812c6
xor al, al
jmp 0x48a746
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x48a70b
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x48a72b
push edx
call fcn.0048a5d4
pop ecx
test al, al
je 0x48a6f6
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x48a739
mov bl, 1
push dword [ebp - 0x210]
call fcn.004812c6
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00475c80
leave
ret
Function at 0x48b4bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00476660
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00495610
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x48b501
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x48b65d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004a2600
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4dc1b8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0048ebfa
mov ecx, dword [esi*4 + 0x4dc1b8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x48b656
cmp eax, dword [ecx + edi + 0x24]
jne 0x48b656
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48b656
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0048ebfa
add esp, 0x14
test edx, edx
jl 0x48b656
jg 0x48b5cc
test eax, eax
jb 0x48b656
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x48b656
jl 0x48b5e6
cmp dword [ebp - 0x1008], eax
ja 0x48b656
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x48b604
test ebx, ebx
je 0x48b63d
cmp ecx, edi
jae 0x48b63d
mov al, byte [ecx]
cmp al, 0xd
jne 0x48b61e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x48b62a
cmp byte [ecx + 1], 0xa
jne 0x48b62a
inc ecx
jmp 0x48b62a
movzx eax, al
movsx eax, byte [eax + 0x4d8458]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x48b604
cmp edx, ebx
jne 0x48b604
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x48b65b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret
Function at 0x48e092
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4dc1b8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48e0d2
cmp byte [ebx], 0xa
jne 0x48e0d2
or byte [edi + eax + 0x28], 4
jmp 0x48e0d7
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x48e1d6
mov dl, byte [eax]
cmp dl, 0x1a
je 0x48e1b9
inc eax
cmp dl, 0xd
je 0x48e103
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x48e129
cmp eax, ecx
jae 0x48e137
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x48e0eb
jmp 0x48e1d6
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48e1b4
cmp dword [ebp - 0x10], 0
je 0x48e1b4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4dc1b8]
test byte [eax + edi + 0x28], 0x48
je 0x48e18e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x48e179
mov byte [esi], dl
jmp 0x48e18a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4dc1b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48e1d6
cmp byte [ebp - 1], 0xa
jne 0x48e19d
cmp esi, ebx
jne 0x48e19d
mov byte [esi], 0xa
jmp 0x48e1d5
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0048ec18
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48e1d6
mov byte [esi], 0xd
jmp 0x48e1d5
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4dc1b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48e1d3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48e1d6
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret