joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4765f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404cfc
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.004036bc
push 0
push edi
lea eax, [ebp - 0x105]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.0040a0ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x480354
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4a71b8], 0
mov eax, dword [0x4a9c6c]
cmp dword [eax], 2
jne 0x48052d
mov eax, dword [0x4a9798]
cmp dword [eax], 5
jl 0x48052d
call fcn.0047d448
test al, al
jne 0x480385
call fcn.0047d454
call fcn.0047d440
mov dword [0x4a71c0], eax
push 0x480530
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7184], eax
cmp dword [0x4a7184], 0
jne 0x4803e0
mov edx, 0x8000
mov eax, 0x480544
call fcn.0040faec
mov dword [0x4a71bc], eax
mov eax, dword [0x4a71bc]
mov dword [0x4a71c0], eax
push 0x480530
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7184], eax
cmp dword [0x4a7184], 0
je 0x480528
push 0x480550
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7188], eax
cmp dword [0x4a7188], 0
je 0x480528
push 0x48055c
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a718c], eax
cmp dword [0x4a718c], 0
je 0x480528
mov byte [0x4a71b8], 1
push 0x48056c
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7190], eax
push 0x480578
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7194], eax
push 0x480584
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7198], eax
push 0x480594
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a719c], eax
push 0x4805a4
mov eax, dword [0x4a71c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a71a0], eax
mov edx, 0x8000
mov eax, 0x4805bc
call fcn.0040faec
mov dword [0x4a71c4], eax
cmp dword [0x4a71c4], 0
je 0x48052d
push 0x4805cc
mov eax, dword [0x4a71c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a71a4], eax
push 0x4805e8
mov eax, dword [0x4a71c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a71a8], eax
push 0x480608
mov eax, dword [0x4a71c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a71ac], eax
push 0x480624
mov eax, dword [0x4a71c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a71b0], eax
push 0x48063c
mov eax, dword [0x4a71c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a71b4], eax
ret
call fcn.004802d4
ret
Function at 0x486920
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]
test edi, edi
jne 0x48694a
cmp dword [ebx + 0x64], 0
jne 0x48694a
cmp dword [ebx + 0x6c], 0
jne 0x48694a
mov edi, esi
jmp 0x4869d1
cmp edi, 0xffffffff
jne 0x486952
dec edi
jmp 0x4869d1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4869d1
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00485d14
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 0x48699f
mov cx, word [esp]
sub cx, si
jmp 0x4869a1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x486988
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 0x4869c7
mov cx, word [esp]
sub cx, si
jmp 0x4869c9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4869b0
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x486a2e
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004866bc
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x486a19
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 0x486a2e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x48692a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48cca0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4abeb8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48ccc2
shr eax, 1
xor eax, 0xedb88320
jmp 0x48ccc4
shr eax, 1
dec edx
jne 0x48ccb0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48cca9
mov byte [0x4ac2b8], 1
pop esi
pop ebx
ret

Function at 0x48cce0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4ac2b8], 0
jne 0x48ccf7
call fcn.0048cca0
mov eax, edi
sub eax, 1
jno 0x48cd03
call fcn.00403eac
test eax, eax
jl 0x48cd29
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4abeb8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48cd0a
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10006240
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7ccb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101242d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100b8470
push 4
mov dword [ebp - 4], 0
call fcn.100b948a
mov edi, eax
add esp, 4
test edi, edi
je 0x100062c0
call fcn.100b8091
mov dword [edi], eax
call fcn.100b7e50
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100b7d85
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100062b6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100b7dad
jmp 0x100062c2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x1000a250
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x101242d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
mov dword [ebp - 0x124], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x120], edx
mov edx, dword [eax + 0xc]
push ebx
xor ecx, 0x677d9197
xor edx, 0xb27022dc
push esi
mov dword [ebp - 0x84], 0x70e15
mov dword [ebp - 0x80], 0x1c232a31
mov dword [ebp - 0x7c], 0x383f464d
mov dword [ebp - 0x78], 0x545b6269
mov dword [ebp - 0x74], 0x70777e85
mov dword [ebp - 0x70], 0x8c939aa1
mov dword [ebp - 0x6c], 0xa8afb6bd
mov dword [ebp - 0x68], 0xc4cbd2d9
mov dword [ebp - 0x64], 0xe0e7eef5
mov dword [ebp - 0x60], 0xfc030a11
mov dword [ebp - 0x5c], 0x181f262d
mov dword [ebp - 0x58], 0x343b4249
mov dword [ebp - 0x54], 0x50575e65
mov dword [ebp - 0x50], 0x6c737a81
mov dword [ebp - 0x4c], 0x888f969d
mov dword [ebp - 0x48], 0xa4abb2b9
mov dword [ebp - 0x44], 0xc0c7ced5
mov dword [ebp - 0x40], 0xdce3eaf1
mov dword [ebp - 0x3c], 0xf8ff060d
mov dword [ebp - 0x38], 0x141b2229
mov dword [ebp - 0x34], 0x30373e45
mov dword [ebp - 0x30], 0x4c535a61
mov dword [ebp - 0x2c], 0x686f767d
mov dword [ebp - 0x28], 0x848b9299
mov dword [ebp - 0x24], 0xa0a7aeb5
mov dword [ebp - 0x20], 0xbcc3cad1
mov dword [ebp - 0x1c], 0xd8dfe6ed
mov dword [ebp - 0x18], 0xf4fb0209
mov dword [ebp - 0x14], 0x10171e25
mov dword [ebp - 0x10], 0x2c333a41
mov dword [ebp - 0xc], 0x484f565d
mov dword [ebp - 8], 0x646b7279
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], edx
xor esi, esi
jmp 0x1000a390
mov eax, dword [ebp + esi - 0x84]
xor eax, dword [ebp + esi - 0x120]
add esi, 4
xor eax, dword [ebp + esi - 0x11c]
xor eax, dword [ebp + esi - 0x120]
mov ebx, eax
mov ecx, eax
shr ecx, 0x18
movzx ecx, byte [ecx + 0x101123b8]
mov edx, eax
shr ebx, 0x10
shr edx, 8
shl ecx, 8
movzx ebx, bl
movzx ebx, byte [ebx + 0x101123b8]
movzx edx, dl
movzx edx, byte [edx + 0x101123b8]
or ecx, ebx
movzx eax, al
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0x101123b8]
shl ecx, 8
or ecx, edx
mov eax, ecx
rol eax, 0xd
mov edx, ecx
ror edx, 9
xor eax, edx
xor eax, dword [ebp + esi - 0x128]
xor eax, ecx
mov dword [ebp + esi - 0x118], eax
mov dword [esi + edi - 4], eax
cmp esi, 0x80
jb 0x1000a390
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100b993a
mov esp, ebp
pop ebp
ret
Function at 0x1000aa20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101242d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push ebx
push edi
mov edi, ecx
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov bl, 4
lea eax, [ebp - 0x12]
mov dl, byte [eax + 1]
xor byte [eax - 2], dl
mov cl, byte [eax - 2]
xor cl, dl
mov dl, byte [eax]
xor byte [eax - 2], cl
xor byte [eax - 1], dl
mov byte [eax + 1], cl
mov cl, byte [eax - 1]
xor cl, dl
xor byte [eax - 1], cl
mov byte [eax], cl
add eax, 4
dec bl
jne 0x1000aa53
lea eax, [ebp - 0x14]
push eax
call fcn.1000a250
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
xor al, al
pop ebx
call fcn.100b993a
mov esp, ebp
pop ebp
ret
Function at 0x1000ab00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101242d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push ebx
mov dword [ebp - 0x30], esi
lea ecx, [esi + 0x5c]
mov dword [ebp - 0x28], 0x34
push edi
mov eax, dword [ecx - 0x18]
xor eax, dword [ecx - 0x34]
mov edx, dword [ecx]
mov edi, dword [ecx - 0x28]
rol edx, 0xf
xor eax, edx
rol edi, 7
mov ebx, eax
rol ebx, 0x17
xor edi, ebx
rol eax, 0xf
xor edi, eax
xor edi, dword [ecx - 0xc]
add ecx, 4
xor edi, dword [ecx - 0x1c]
xor edi, dword [ecx - 0x38]
xor edi, edx
dec dword [ebp - 0x28]
mov dword [ecx + 8], edi
jne 0x1000ab22
lea ecx, [esi + 0x28]
mov eax, ecx
mov edx, 0x40
mov edi, dword [eax + 0x10]
xor edi, dword [eax]
add eax, 4
dec edx
mov dword [eax + 0x10c], edi
jne 0x1000ab61
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x10]
mov edi, dword [esi]
mov dword [ebp - 0x1c], edx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], edx
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], eax
xor edx, edx
mov dword [ebp - 0x28], ecx
mov esi, dword [edx*4 + 0x101122b8]
mov eax, edi
rol eax, 0xc
mov cl, dl
rol esi, cl
add esi, eax
add esi, ebx
rol esi, 7
xor eax, esi
mov dword [ebp - 0x2c], eax
cmp edx, 0x10
jge 0x1000abce
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
xor eax, edi
jmp 0x1000abdd
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
or eax, edi
and eax, dword [ebp - 0x1c]
and ecx, edi
or eax, ecx
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x110]
add ecx, eax
add ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
cmp edx, 0x10
jge 0x1000ac00
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x10]
xor ecx, ebx
jmp 0x1000ac12
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x14]
mov ecx, ebx
mov ebx, dword [ebp - 0x14]
not ecx
and ecx, dword [ebp - 0xc]
or ecx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add dword [ebp - 0x28], 4
add eax, ecx
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add eax, esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x20]
rol ecx, 9
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
rol ecx, 0x13
mov ebx, eax
rol ebx, 0x11
mov esi, eax
rol esi, 9
xor ebx, esi
xor ebx, eax
inc edx
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ebx
cmp edx, 0x40
jl 0x1000aba3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x24]
pop edi
sub ecx, eax
mov edx, 8
pop ebx
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x1000ac76
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100b993a
mov esp, ebp
pop ebp
ret
Function at 0x1000aec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp esi, ebx
je 0x1000af8e
cmp dword [ebp + 8], ebx
je 0x1000af8e
mov eax, dword [esi + 0x24]
push edi
mov edi, dword [esi + 0x20]
mov ecx, edi
xor ecx, 0x18
shr ecx, 3
and ecx, 0x3f
mov byte [ecx + esi + 0x28], 0x80
add dword [esi + 0x20], 8
mov dword [ebp - 4], eax
jne 0x1000aefe
inc dword [esi + 0x24]
mov dword [esi + 0x20], ebx
test dword [esi + 0x20], 0x1ff
jne 0x1000af0e
mov ecx, esi
call fcn.1000ab00
mov edx, dword [esi + 0x20]
and edx, 0x1ff
cmp edx, 0x1c0
je 0x1000af5d
nop
mov eax, dword [esi + 0x20]
xor eax, 0x18
shr eax, 3
and eax, 0x3f
mov byte [eax + esi + 0x28], bl
add dword [esi + 0x20], 8
jne 0x1000af3c
inc dword [esi + 0x24]
mov dword [esi + 0x20], ebx
test dword [esi + 0x20], 0x1ff
jne 0x1000af4c
mov ecx, esi
call fcn.1000ab00
mov ecx, dword [esi + 0x20]
and ecx, 0x1ff
cmp ecx, 0x1c0
jne 0x1000af20
mov edx, dword [ebp - 4]
mov ecx, esi
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edi
call fcn.1000ab00
xor eax, eax
pop edi
mov ecx, eax
xor ecx, 3
mov dl, byte [ecx + esi]
mov ecx, dword [ebp + 8]
mov byte [eax + ecx], dl
inc eax
cmp eax, 0x20
jl 0x1000af70
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010560
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38e0
call fcn.100ba4f0
mov eax, dword [0x101242d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [0x100d92a4]
mov dword [ebp - 0x38e0], ebx
mov dword [ebp - 0x38d8], ebx
mov edi, edi
mov eax, dword [ebp - 0x38d8]
push eax
push str..PhysicalDrive_d
lea ecx, [ebp - 0x104]
push 0xff
push ecx
call fcn.100b9f48
add esp, 0x10
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea edx, [ebp - 0x104]
push edx
call dword [0x100d92a8]
mov esi, eax
cmp esi, 0xffffffff
je 0x100107ae
xor eax, eax
mov dword [ebp - 0x37c0], eax
mov dword [ebp - 0x37bc], eax
push 0x2710
mov dword [ebp - 0x37b8], eax
lea eax, [ebp - 0x2fe4]
push ebx
push eax
mov dword [ebp - 0x38dc], ebx
mov dword [ebp - 0x37c0], ebx
mov dword [ebp - 0x37bc], ebx
call fcn.100b9410
add esp, 0xc
push ebx
lea ecx, [ebp - 0x38dc]
push ecx
push 0x2710
lea edx, [ebp - 0x2fe4]
push edx
push 0xc
lea eax, [ebp - 0x37c0]
push eax
push 0x2d1400
push esi
call edi
test eax, eax
je 0x100107a1
mov edx, dword [ebp - 0x2fd8]
lea ecx, [ebp - 0x37b4]
push ecx
push ebx
push edx
lea eax, [ebp - 0x2fe4]
push eax
call fcn.100103f0
mov edx, dword [ebp - 0x2fd4]
lea ecx, [ebp - 0x8d4]
push ecx
push ebx
push edx
lea eax, [ebp - 0x2fe4]
push eax
call fcn.100103f0
mov edx, dword [ebp - 0x2fd0]
lea ecx, [ebp - 0x33cc]
push ecx
push ebx
push edx
lea eax, [ebp - 0x2fe4]
push eax
call fcn.100103f0
push 0x114
lea ecx, [ebp - 0x38d4]
push ebx
push ecx
call fcn.100b9410
add esp, 0x3c
lea edx, [ebp - 0x38d4]
push edx
mov dword [ebp - 0x38d4], 0x114
call dword [0x100d92ac]
mov eax, dword [ebp - 0x38d0]
cmp eax, 6
jne 0x1001078e
cmp dword [ebp - 0x38cc], 2
jae 0x10010794
lea eax, [ebp - 0x4ec]
push eax
push 1
mov ecx, dword [ebp - 0x2fcc]
push ecx
lea edx, [ebp - 0x2fe4]
push edx
call fcn.100103f0
add esp, 0x10
cmp byte [0x101260a0], bl
jne 0x10010759
movsx eax, byte [ebp - 0x4ec]
push eax
call fcn.100ba2ee
add esp, 4
test eax, eax
jne 0x10010720
movsx ecx, byte [ebp - 0x4d9]
push ecx
call fcn.100ba2ee
add esp, 4
test eax, eax
je 0x10010759
lea edx, [ebp - 0x4ec]
push edx
push 0x400
push 0x101260a0
call fcn.100b9e32
lea eax, [ebp - 0x8d4]
push eax
push 0x400
push 0x10125ca0
call fcn.100b9e32
add esp, 0x18
mov dword [ebp - 0x38e0], 1
push 0x2710
lea ecx, [ebp - 0x2fe4]
push ebx
push ecx
call fcn.100b9410
add esp, 0xc
push ebx
lea edx, [ebp - 0x38dc]
push edx
push 0x2710
lea eax, [ebp - 0x2fe4]
push eax
push ebx
push ebx
push 0x700a0
push esi
call edi
jmp 0x100107a7
jbe 0x100106d1
lea eax, [ebp - 0x4ec]
push eax
push ebx
jmp 0x100106da
call dword [0x100d92b0]
push esi
call dword [0x100d92b4]
mov eax, dword [ebp - 0x38d8]
inc eax
mov dword [ebp - 0x38d8], eax
cmp eax, 0x10
jl 0x10010590
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38e0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b993a
mov esp, ebp
pop ebp
ret
Function at 0x10025c60
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push edi
mov edi, dword [esi]
mov dword [ebp - 0xc], edi
mov edi, dword [esi + 4]
mov dword [ebp - 8], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
xor edx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0x20
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 8]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0xc]
sub edx, 0x61c88647
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 0x10]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x14]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
add ecx, esi
dec dword [ebp - 4]
jne 0x10025c92
mov edx, dword [ebp + 8]
pop edi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10025ce0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edi
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov edx, 0xc6ef3720
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0x20
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 8]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
sub eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 0x10]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x14]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
sub ecx, esi
add edx, 0x61c88647
dec dword [ebp - 4]
jne 0x10025d15
mov edx, dword [ebp + 8]
pop edi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop esi
mov esp, ebp
pop ebp
ret