joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005c40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4bfb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100c66d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1003c007
push 4
mov dword [ebp - 4], 0
call fcn.1003d7eb
mov edi, eax
add esp, 4
test edi, edi
je 0x10005cbc
call fcn.1003be02
mov dword [edi], eax
call fcn.1003bbc1
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1003bfc8
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10005cb2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1003bff0
jmp 0x10005cbe
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 4
Function at 0x1000ab60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov ecx, dword [0x100c9918]
cmp ecx, ebx
jne 0x1000abca
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x1000abb9
mov esi, eax
call fcn.10035040
jmp 0x1000abbb
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x100c9918], ecx
lea edx, [ebp - 0x64]
call fcn.10035560
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.10025830
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10005d70
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x1000ac0c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x1000ac58
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1000ac1c
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x1000ac58
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x64]
mov word [ebp - 0x2c], cx
mov esi, 7
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.10005150
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ebx, [esi - 6]
jmp 0x1000ac86
push ebx
xor eax, eax
mov esi, 7
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10005fb0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
mov ebx, 2
xor ecx, ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
mov dword [ebp - 0x68], ebx
call fcn.100050d0
or ebx, 4
test bl, 2
je 0x1000accd
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x1000acbd
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
test bl, 1
je 0x1000acf4
cmp dword [ebp - 0x18], 8
jb 0x1000ace4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], 8
jb 0x1000ad06
mov eax, dword [ebp - 0x64]
push eax
call fcn.1003d468
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x1000b560
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x180]
mov dword [ebp - 0x16c], 0x67452301
mov dword [ebp - 0x168], 0xefcdab89
mov dword [ebp - 0x164], 0x98badcfe
mov dword [ebp - 0x160], 0x10325476
mov dword [ebp - 0x15c], 0xc3d2e1f0
call fcn.1000ae10
call fcn.1000ad30
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 0x164]
mov dword [esi], eax
mov eax, dword [ebp - 0x160]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x15c]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x1000e3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9b38
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100c66d0]
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
cmp dword [esi + 0x10], 0
mov edi, edx
je 0x1000e4bb
cmp dword [esi + 0x14], 8
jb 0x1000e402
mov eax, dword [esi]
jmp 0x1000e404
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x1000e4bb
mov ecx, esi
lea esi, [ebp - 0x48]
call fcn.10034210
push eax
lea ecx, [ebx + 0x74]
mov dword [ebp - 4], 0
call fcn.100109a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 0x10
jb 0x1000e44b
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
mov ecx, edi
lea esi, [ebp - 0x2c]
call fcn.10034210
push eax
lea ecx, [ebx + 0x58]
mov dword [ebp - 4], 1
call fcn.100109a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x1000e47e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
push 0
lea edi, [ebp - 0x58]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.1002ccea
push ebx
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.1000e720
test al, al
jne 0x1000e4bf
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.1002cf07
xor al, al
jmp 0x1000e4d9
lea edi, [ebp - 0x58]
mov ecx, ebx
call fcn.1000ef90
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.1002cf07
mov al, 1
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.1003c5b5
mov esp, ebp
pop ebp
ret

Function at 0x1000e5c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x14], 8
jb 0x1000e5cc
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 2
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e619
cmp dword [esi + 0x14], 8
push ebx
mov bl, 1
jb 0x1000e5f1
mov eax, dword [esi]
jmp 0x1000e5f3
mov eax, esi
mov edx, dword [ebp - 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1000e604
xor bl, bl
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x1000e619
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x100145b0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp ecx, edx
je 0x100145e3
movsx eax, byte [ecx]
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
inc ecx
lea esi, [eax + eax*4 - 0x19ab949c]
cmp ecx, edx
jne 0x100145c0
mov eax, 0x4e25
mul esi
mov ecx, esi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1e
imul ecx, ecx, 0x7fffd8ee
mov eax, esi
sub eax, ecx
add eax, 0x2710
pop esi
pop ebp
ret
Function at 0x10019c40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5d28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100c66d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
lea edi, [esi + 2]
jae 0x10019c82
lea eax, [ebp + 0xc]
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp ebx, 0xffffffff
jne 0x10019cbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x20], 0x10
jb 0x10019d96
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x10019d8e
lea edx, [ebp - 0x1c]
push edx
push ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x20], eax
call fcn.1003c472
mov ecx, dword [ebp - 0x20]
add esp, 4
push 0
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push ecx
push esi
push ebx
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10019d7e
cmp dword [esi], 4
lea eax, [esi + 9]
jne 0x10019d62
xor edx, edx
mov edi, 1
cmp dword [esi + 4], edx
jbe 0x10019d62
mov ecx, eax
add eax, 6
cmp byte [ebp + 0x2c], 0
je 0x10019d32
test eax, eax
je 0x10019d41
movzx ebx, word [ecx]
cmp dword [ebp + 0x28], ebx
jne 0x10019d41
mov ecx, dword [ecx + 2]
mov edx, dword [eax + 2]
sub edx, ecx
push edx
jmp 0x10019d52
test eax, eax
je 0x10019d41
mov ebx, dword [eax + 2]
sub ebx, dword [ecx + 2]
cmp ebx, 0x40
je 0x10019d49
inc edx
cmp edx, dword [esi + 4]
jb 0x10019d10
jmp 0x10019d5f
mov ecx, dword [ecx + 2]
mov eax, dword [eax + 2]
sub eax, ecx
push eax
add ecx, esi
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.100112e0
xor edi, edi
mov ebx, dword [ebp - 0x10]
push esi
call fcn.1003d45d
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x20], 0x10
jb 0x10019d96
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x10019d8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x20], 0x10
jb 0x10019d96
mov edx, dword [ebp + 0xc]
push edx
call fcn.1003d468
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x1001a090
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5530
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x18]
push 0x100b61ec
xor edi, edi
lea ecx, [ebp + 8]
call fcn.10006e60
lea edi, [ebx + 8]
test eax, eax
je 0x1001a250
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x1001a0ea
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a250
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x1001a116
lea eax, [ebp + 8]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001a17c
lea eax, [ebp - 0x2c]
mov edi, 0xf
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], 0
call fcn.100109a0
cmp dword [ebp - 0x18], 0x10
jb 0x1001a15f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
jb 0x1001a27b
mov edx, dword [ebp + 8]
push edx
jmp 0x1001a273
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x1001a1b6
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.100109a0
lea ecx, [ebp - 0x2c]
call fcn.1008e670
lea ecx, [ebp + 8]
call fcn.10004230
jmp 0x1001a27b
push ebx
call fcn.1003c472
add esp, 4
push 0
lea ecx, [ebp - 0x34]
push ecx
push ebx
push eax
push edi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
test ebx, ebx
je 0x1001a1f7
mov edi, edi
mov edx, dword [ebp - 0x30]
movzx eax, byte [edi + edx]
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.10004f40
inc edi
cmp edi, ebx
jb 0x1001a1e0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1001a207
push eax
call fcn.1003d45d
add esp, 4
lea ecx, [ebp - 0x2c]
mov edi, 0xf
push ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov ecx, esi
mov byte [esi], 0
call fcn.100109a0
cmp dword [ebp - 0x18], 0x10
jb 0x1001a236
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x1001a27b
mov eax, dword [ebp + 8]
push eax
jmp 0x1001a273
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x100b6252
mov ecx, esi
mov byte [esi], 0
call fcn.10005990
cmp dword [ebp + 0x1c], edi
jb 0x1001a27b
mov ecx, dword [ebp + 8]
push ecx
call fcn.1003d468
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x1001f1a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
cmp edi, 0x40
jne 0x1001f1c5
mov eax, esi
jmp 0x1001f24a
jbe 0x1001f205
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd8], 0x20
call fcn.1001f9b0
push esi
mov eax, edi
lea esi, [ebp - 0xd0]
call fcn.1001fa20
add esp, 4
lea edi, [ebp - 0x24]
call fcn.1001fac0
mov eax, edi
mov edi, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
jmp 0x1001f211
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], edi
mov esi, 0x40
sub esi, edi
push esi
lea ecx, [ebx + edi + 0x2a0]
push 0x36
push ecx
call fcn.10044ad0
add esp, 0xc
push esi
lea edx, [ebx + edi + 0x2e0]
push 0x5c
push edx
call fcn.10044ad0
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
add esp, 0xc
test edi, edi
jle 0x1001f268
lea esi, [ebx + 0x2e0]
mov cl, byte [eax]
xor cl, 0x36
mov byte [esi - 0x40], cl
mov dl, byte [eax]
xor dl, 0x5c
mov byte [esi], dl
inc eax
inc esi
dec edi
jne 0x1001f254
mov eax, dword [0x100c8058]
mov dword [ebx + 0x88], eax
mov ecx, dword [0x100c805c]
mov dword [ebx + 0x8c], ecx
mov edx, dword [0x100c8060]
mov dword [ebx + 0x90], edx
mov eax, dword [0x100c8064]
mov dword [ebx + 0x94], eax
mov ecx, dword [0x100c8068]
mov dword [ebx + 0x98], ecx
mov edx, dword [0x100c806c]
mov dword [ebx + 0x9c], edx
mov eax, dword [0x100c8070]
mov dword [ebx + 0xa0], eax
mov ecx, dword [0x100c8074]
lea edx, [ebx + 0x2a0]
mov dword [ebx + 0xa4], ecx
push edx
mov eax, 0x40
mov esi, ebx
mov dword [ebx + 4], 0
mov dword [ebx], 0
call fcn.1001fa20
mov eax, dword [0x100c8058]
lea esi, [ebx + 0xa8]
mov dword [esi + 0x88], eax
mov ecx, dword [0x100c805c]
mov dword [esi + 0x8c], ecx
mov edx, dword [0x100c8060]
mov dword [esi + 0x90], edx
mov eax, dword [0x100c8064]
mov dword [esi + 0x94], eax
mov ecx, dword [0x100c8068]
mov dword [esi + 0x98], ecx
mov edx, dword [0x100c806c]
mov dword [esi + 0x9c], edx
mov eax, dword [0x100c8070]
mov dword [esi + 0xa0], eax
mov ecx, dword [0x100c8074]
lea edx, [ebx + 0x2e0]
add esp, 4
mov dword [esi + 0xa4], ecx
push edx
mov eax, 0x40
mov dword [ebp - 0xd4], esi
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1001fa20
lea edi, [ebx + 0x150]
mov ecx, 0x2a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xd4]
add esp, 4
lea edi, [ebx + 0x1f8]
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x10020470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6ba5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100c66d0]
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x68], esi
mov edi, dword [0x100c9918]
mov dword [ebp - 0x6c], eax
cmp edi, esi
jne 0x100204e1
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x100204d0
mov esi, eax
call fcn.10035040
jmp 0x100204d2
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x100c9918], edi
lea ebx, [ebp - 0x48]
call fcn.10035310
push 1
mov eax, 0x100b6220
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.10005e70
lea esi, [ebp - 0x2c]
call fcn.10025920
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10005d70
mov edi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0x10020533
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.10025ad0
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10005d70
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0x10020561
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x38], ebx
je 0x100205ad
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x10020571
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x100205ad
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x48]
xor eax, eax
push ecx
mov edi, 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10005150
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ebx, [edi - 6]
jmp 0x100205db
push ebx
xor edx, edx
mov edi, 7
push 0x100b61ec
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
call fcn.10005fb0
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 5
mov ebx, 2
mov esi, dword [ebp - 0x6c]
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov word [esi], cx
push eax
mov ecx, esi
mov dword [ebp - 0x68], ebx
call fcn.100050d0
or ebx, 4
test bl, 2
je 0x10020625
and ebx, 0xfffffffd
cmp dword [ebp - 0x50], 8
jb 0x10020615
mov edx, dword [ebp - 0x64]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
test bl, 1
je 0x1002064c
cmp dword [ebp - 0x18], 8
jb 0x1002063c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], 8
jb 0x1002065e
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
mov eax, esi
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.1003c5b5
mov esp, ebp
pop ebp
ret 4
Function at 0x10021d60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov ecx, dword [0x100c9918]
cmp ecx, ebx
jne 0x10021dca
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x10021db9
mov esi, eax
call fcn.10035040
jmp 0x10021dbb
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x100c9918], ecx
lea edx, [ebp - 0x64]
call fcn.10035560
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.100258c0
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10005d70
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x10021e0c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x10021e58
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x10021e1c
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x10021e58
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x64]
mov word [ebp - 0x2c], cx
mov esi, 7
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.10005150
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ebx, [esi - 6]
jmp 0x10021e86
push ebx
xor eax, eax
mov esi, 7
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10005fb0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
mov ebx, 2
xor ecx, ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
mov dword [ebp - 0x68], ebx
call fcn.100050d0
or ebx, 4
test bl, 2
je 0x10021ecd
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x10021ebd
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
test bl, 1
je 0x10021ef4
cmp dword [ebp - 0x18], 8
jb 0x10021ee4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], 8
jb 0x10021f06
mov eax, dword [ebp - 0x64]
push eax
call fcn.1003d468
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x10024300
Capabilities:
Encode data using xor

Disassembly:
test esi, esi
jne 0x10024307
xor al, al
ret
mov byte [esi], 0
test eax, eax
je 0x10024304
xor cl, cl
inc eax
mov edx, 4
push edi
movzx edi, byte [eax - 1]
movzx ecx, cl
xor edi, ecx
movzx ecx, byte [edi + 0x100b6908]
movzx edi, byte [eax]
xor ecx, edi
movzx ecx, byte [ecx + 0x100b6908]
movzx edi, byte [eax + 1]
xor ecx, edi
movzx ecx, byte [ecx + 0x100b6908]
movzx edi, byte [eax + 2]
xor ecx, edi
movzx ecx, byte [ecx + 0x100b6908]
movzx edi, byte [eax + 3]
xor ecx, edi
movzx ecx, byte [ecx + 0x100b6908]
movzx edi, byte [eax + 4]
xor ecx, edi
mov cl, byte [ecx + 0x100b6908]
add eax, 6
dec edx
jne 0x10024317
xor cl, 0x55
mov byte [esi], cl
mov al, 1
pop edi
ret

Function at 0x10024a20
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
jne 0x10024a47
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x210]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10024a37
lea ecx, [ebp - 0x210]
push 0x100b9244
push ecx
call fcn.1003e21b
add esp, 8
test eax, eax
je 0x10024a81
xor edx, edx
mov word [eax + 2], dx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10024a37
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x214]
xor ecx, ebp
mov dword [esi], edx
mov al, 1
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret