joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044283
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.100389f0
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.10017fec
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.100143bd
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x10015ca5
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.10031290
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x10015c8f
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.10005094
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000bd82
push edi
push 1
mov byte [ebp - 4], 1
call fcn.10005bea
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x10015c41
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x10015cc3
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002cf2d
leave
ret

Function at 0x10015d1c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x10015d89
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.10031290
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10015d89
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x10015d98
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1002cf2d
add ebp, 0x190
leave
ret
Function at 0x10017528
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x10017539
mov eax, dword [eax + 4]
jmp 0x1001753c
add eax, 4
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push str.Softwareprojonepodlpkeyrule_secClass_
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001756f
cmp dword [ebp - 8], 4
jne 0x1001756f
mov eax, dword [ebp - 0xc]
leave
ret
xor eax, eax
leave
ret

Function at 0x100192af
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10031290
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.10005094
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002cf2d
add ebp, 0x190
leave
ret

Function at 0x10019328
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10031290
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.10005094
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002cf2d
add ebp, 0x190
leave
ret
Function at 0x1002641d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push edi
xor eax, eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x12], 0x5c
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x1002645a
cmp eax, 3
jne 0x10026472
push ebx
call fcn.10014ed4
pop ecx
cmp eax, 0xffffffff
je 0x1002647f
cmp eax, 7
jne 0x10026472
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x10026481
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1002cf2d
leave
ret

Function at 0x1002648e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x100264b2
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10058a48]
dec edx
inc ecx
test edx, edx
jne 0x10026496
pop esi
not eax
ret

Function at 0x10026592
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.10031290
mov esi, 0x1004c404
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x100265e2
lea eax, [ebp - 0x5c]
call fcn.1002b634
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.1002b65f
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.1002b65f
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1002b6f7
lea eax, [ebp - 0xb8]
call fcn.1002b634
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.1002b65f
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.1002b65f
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1002b6f7
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.10015db0
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002cf2d
add ebp, 0x6c
leave
ret
Function at 0x1002668c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xa7]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xa8], 0
call fcn.10031290
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x100266f1
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.100317c0
add esp, 0xc
jmp 0x1002672a
lea eax, [ebp - 0x138]
call fcn.1002b7b8
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002b7f8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.1002b884
pop ecx
pop ecx
push 0x10
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0xa8]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x48], dl
mov byte [ebp + ecx - 0x110], al
inc ecx
cmp ecx, 0x40
jb 0x1002672c
lea eax, [ebp - 0xd0]
call fcn.1002b7b8
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002b7f8
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002b7f8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002b884
lea eax, [ebp - 0xd0]
call fcn.1002b7b8
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002b7f8
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002b7f8
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002b884
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.10015db0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002cf2d
leave
ret
Function at 0x10026e9a
Capabilities:
Check if file exists

Disassembly:
push 0xa8
mov eax, 0x10043cbd
call fcn.1002e47a
mov eax, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x10026f0c
push edi
lea ecx, [ebp - 0x98]
call fcn.10005029
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x78], ebx
call fcn.1000125f
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
mov dword [ebp - 0x78], 3
jb 0x10026efb
mov eax, dword [eax + 4]
jmp 0x10026efe
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x71], bl
test eax, eax
je 0x10026f10
mov byte [ebp - 0x71], 0
test byte [ebp - 0x78], 2
je 0x10026f27
and dword [ebp - 0x78], 0xfffffffd
push esi
push ebx
lea esi, [ebp - 0xb4]
call fcn.10005bea
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x78], bl
je 0x10026f3e
push 0
push ebx
lea ecx, [ebp - 0x98]
call fcn.10005a12
cmp byte [ebp - 0x71], 0
je 0x10026f48
xor al, al
jmp 0x10026f94
lea esi, [ebp - 0x6c]
call fcn.10005016
lea esi, [ebp - 0x50]
call fcn.10005016
lea esi, [ebp - 0x34]
call fcn.10005016
push str.file
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.100059a4
push edi
mov ecx, esi
mov byte [ebp - 0x70], bl
call fcn.100059a4
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
push eax
add esi, 0x3c
call fcn.10027abf
lea esi, [ebp - 0x70]
call fcn.1002707d
mov al, bl
call fcn.1002e4fd
ret 4
Function at 0x1002828f
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x1004259a
call fcn.1002e47a
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push 0x80000000
push dword [ebp - 0x28]
call dword [0x1005b8c8]
push eax
lea esi, [ebp - 0x20]
call fcn.10028253
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x100282f8
cmp ecx, 0xffffffff
jne 0x100282fe
inc edi
cmp edi, 4
jb 0x100282c8
cmp ecx, ebx
je 0x10028309
or eax, 0xffffffff
cmp ecx, eax
jne 0x10028319
lea eax, [ebp - 0x20]
call fcn.10009d68
xor eax, eax
call fcn.1002e4fd
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x10028346
cmp dword [ebp - 0x18], 0x706c646f
je 0x10028352
lea eax, [ebp - 0x20]
call fcn.10009d68
mov eax, ebx
jmp 0x10028313
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x10028361
dec eax
jne 0x10028346
push 3
pop ebx
jmp 0x10028346
push 2
jmp 0x1002835e

Function at 0x10028365
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x1002836a
ret
Function at 0x100283c5
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
ja 0x10028402
jb 0x1002851b
cmp eax, 0x1000
jb 0x1002851b
push 1
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov dword [ebp - 0x20], edi
call esi
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1002844f
cmp dword [ebp - 0x1c], eax
jne 0x1002851b
push eax
jmp 0x10028508
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x10028464
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x10028502
cmp dword [ebx + 4], 0x706c646f
jne 0x10028502
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x1002848a
cmp eax, 3
jne 0x10028502
push dword [ebx + 0x18c]
push ebx
call fcn.10028365
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x100284e3
cmp dword [ebx + 0x1a0], 0x40
ja 0x100284e3
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x100284e3
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x100284e3
cmp ax, 0xc
ja 0x100284e3
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x100284e3
cmp ax, 0x1f
ja 0x100284e3
xor ebx, ebx
inc ebx
jmp 0x100284e5
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
jne 0x100284fe
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
mov eax, ebx
jmp 0x1002851d
cmp dword [ebp - 0x1c], edi
jne 0x1002851b
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002b634
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x1002be0b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1002be25
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1002be21
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002bf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.1002c106
mov bl, al
mov al, dl
call fcn.1002c106
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.1002c106
mov bl, al
mov al, byte [esi - 4]
call fcn.1002c106
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.1002c106
mov bl, al
mov al, byte [esi]
call fcn.1002c106
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.1002c106
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1002c106
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x1002bf68
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002cf2d
leave
ret 4
Function at 0x1002bff5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10057060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1002c182
push ebx
mov dl, al
call fcn.1002c15b
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1002c116
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1002c134
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1002c116
push ebx
mov byte [ebp - 0x15], al
call fcn.1002c134
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1002c15b
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1002c182
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1002c15b
mov bl, al
mov al, byte [edi + 4]
call fcn.1002c182
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1002c134
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002c116
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1002c134
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1002c116
xor bl, al
mov al, dl
call fcn.1002c182
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002c15b
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1002c021
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002cf2d
leave
ret 4
Function at 0x1002c7f8
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x100428c5
call fcn.1002e47a
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1002c817
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10006848
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x1002c91c
jmp 0x1002c848
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x1004cac8]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x1002c85c
cmp al, 0xff
je 0x1002c848
cmp al, 0xff
je 0x1002c91c
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x1004cac8]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x1002c87c
cmp cl, 0xff
je 0x1002c864
cmp cl, 0xff
je 0x1002c91c
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10015fc0
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002c91c
movsx eax, al
mov al, byte [eax + 0x1004cac8]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1002c8bc
cmp al, 0xff
je 0x1002c89c
cmp al, 0xff
je 0x1002c91c
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10015fc0
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002c91c
movsx eax, al
mov cl, byte [eax + 0x1004cac8]
cmp esi, dword [ebp - 0x30]
jae 0x1002c8fa
cmp cl, 0xff
je 0x1002c8dc
cmp cl, 0xff
je 0x1002c91c
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.10015fc0
cmp esi, dword [ebp - 0x30]
jb 0x1002c845
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.1000504b
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10005a12
mov eax, dword [ebp - 0x38]
call fcn.1002e4fd
ret
Function at 0x1002ca02
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
push ebx
push esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, eax
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
xor esi, 0x677d9197
xor edi, 0xb27022dc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ecx + 0x1004ca00]
xor eax, dword [ebp + ecx - 0x20]
xor eax, dword [ebp + ecx - 0x18]
xor eax, dword [ebp + ecx - 0x1c]
mov edx, eax
shr edx, 0x18
mov ebx, eax
movzx edx, dl
mov dl, byte [edx + 0x1004c8f0]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x1004c8f0]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x1004c8f0]
mov byte [ebp + 0x73], al
movzx eax, byte [ebp + 0x70]
shr ebx, 8
movzx edx, dl
shl eax, 8
or eax, edx
movzx esi, bl
mov bl, byte [esi + 0x1004c8f0]
shl eax, 8
movzx edx, bl
or eax, edx
movzx edx, byte [ebp + 0x73]
shl eax, 8
or eax, edx
mov edx, eax
rol edx, 0xd
mov esi, eax
ror esi, 9
xor edx, esi
xor edx, dword [ebp + ecx - 0x24]
xor edx, eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + ecx - 0x14], edx
mov dword [ecx + eax], edx
add ecx, 4
cmp ecx, 0x80
jb 0x1002cab1
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x1002cf2d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10057060]
jne 0x1002cf37
repz ret
jmp fcn.1002e51b