joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002214c
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 0x10022189
jb 0x100222a2
cmp eax, 0x1000
jb 0x100222a2
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 0x100221d6
cmp dword [ebp - 0x1c], eax
jne 0x100222a2
push eax
jmp 0x1002228f
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100221eb
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x10022289
cmp dword [ebx + 4], 0x706c646f
jne 0x10022289
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x10022211
cmp eax, 3
jne 0x10022289
push dword [ebx + 0x18c]
push ebx
call fcn.1002209b
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x1002226a
cmp dword [ebx + 0x1a0], 0x40
ja 0x1002226a
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x1002226a
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x1002226a
cmp ax, 0xc
ja 0x1002226a
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x1002226a
cmp ax, 0x1f
ja 0x1002226a
xor ebx, ebx
inc ebx
jmp 0x1002226c
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
jne 0x10022285
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 0x100222a4
cmp dword [ebp - 0x1c], edi
jne 0x100222a2
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 0x100252b4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x1006c144]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor eax, eax
push eax
push eax
push 3
push eax
push 3
mov ebx, 0xc0000000
push ebx
mov edi, str..gxdte_cd
push edi
call esi
cmp eax, 0xffffffff
jne 0x100253a0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.1003af40
add esp, 0xc
call fcn.1002523d
push 0x104
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
mov dword [esp + 0x1c], eax
call fcn.10002287
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10025363
cmp word [0x10070f48], ax
je 0x10025363
push 0x10070f48
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10002470
mov dword [esp + 0xc], str.gxdte64.sys
test eax, eax
jne 0x1002537c
mov dword [esp + 0xc], str.gxdte32.sys
call fcn.100048ce
push dword [esp + 0xc]
lea ecx, [esp + 0x14]
call fcn.10028de1
call fcn.1000486d
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push ebx
push edi
call esi
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003a584
mov esp, ebp
pop ebp
ret

Function at 0x10025a5c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006c144]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x10025a97
push str.shlSelFiles
push str.softwareprojonepodlp_smpcache
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10025ae3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x1005dc68
call fcn.10004b35
lea ecx, [ebp - 0x20]
call fcn.100012b1
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
cmp dword [ebp - 8], 8
jae 0x10025ac0
lea eax, [ebp - 0x1c]
push 0
push eax
push str.shlSelFiles
push str.softwareprojonepodlp_smpcache
push SysReAllocString
call fcn.10004358
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.10005a9d
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003a584
leave
ret

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

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10025b14
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1006d750]
dec edx
inc ecx
test edx, edx
jne 0x10025af8
pop esi
not eax
ret
Function at 0x10025c82
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x1006c144]
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.1003af40
mov esi, str.podlp
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 0x10025cd2
lea eax, [ebp - 0x5c]
call fcn.1002a7de
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.1002a809
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.1002a809
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1002a8a1
lea eax, [ebp - 0xb8]
call fcn.1002a7de
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.1002a809
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.1002a809
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1002a8a1
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.10004a8e
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003a584
add ebp, 0x6c
leave
ret
Function at 0x10025d7c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1006c144]
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.1003af40
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x10025de1
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.1003a6a0
add esp, 0xc
jmp 0x10025e1a
lea eax, [ebp - 0x138]
call fcn.1002a962
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002a9a2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.1002aa2e
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 0x10025e1c
lea eax, [ebp - 0xd0]
call fcn.1002a962
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002a9a2
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002a9a2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002aa2e
lea eax, [ebp - 0xd0]
call fcn.1002a962
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002a9a2
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002a9a2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002aa2e
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.10004a8e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003a584
leave
ret

Function at 0x10026b95
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x10026beb
cmp eax, 0xffffffff
je 0x10026beb
push esi
lea ecx, [ebp - 4]
push ecx
push 4
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026beb
cmp dword [ebp - 4], 4
jne 0x10026beb
cmp dword [ebp - 8], 0x21726152
jne 0x10026beb
inc esi
lea ecx, [ebp - 0xc]
call fcn.10001319
mov eax, esi
pop esi
leave
ret
Function at 0x10026f3f
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x1005227d
call fcn.1003a5fc
mov edi, ecx
lea ecx, [ebp - 0x64]
mov esi, edx
call fcn.10004d3e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x14]
push edi
push dword [eax]
lea ecx, [ebp - 0x38]
call fcn.10005c95
push edi
push dword [edi + 0x14]
lea ecx, [ebp - 0x40]
call fcn.10005c95
jmp 0x10026fb2
lea ecx, [ebp - 0x38]
call fcn.10004e98
cmp dword [eax + 0x18], 8
jb 0x10026f8b
mov eax, dword [eax + 4]
jmp 0x10026f8e
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10026faa
lea ecx, [ebp - 0x38]
call fcn.10004e98
push eax
lea ecx, [ebp - 0x64]
call fcn.10004e18
lea ecx, [ebp - 0x38]
call fcn.10004ec7
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.100249c9
test al, al
je 0x10026f78
cmp dword [ebp - 0x4c], ebx
jne 0x10026fe5
mov edi, 0x44e
lea ecx, [ebp - 0x64]
call fcn.10005c64
push dword [ebp - 0x64]
call fcn.10039dc6
pop ecx
mov eax, edi
call fcn.1003a67f
ret
push ebx
push ebx
push esi
call fcn.10001a23
call fcn.100021cd
push esi
push 0x1005e7d8
lea eax, [ebp - 0x30]
push 0x1005e7dc
push eax
call fcn.100041e7
add esp, 0x10
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10005c95
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.10005c95
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x10027097
lea ecx, [ebp - 0x38]
call fcn.10004e98
cmp dword [eax + 0x18], 8
jb 0x1002705b
mov eax, dword [eax + 4]
jmp 0x1002705e
add eax, 4
push eax
lea eax, [ebp - 0x80]
push str.___s_
push eax
call fcn.100041e7
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.1000672e
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.10005a9d
lea ecx, [ebp - 0x38]
call fcn.10004ec7
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.100249c9
test al, al
je 0x10027048
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push esi
call edi
test eax, eax
je 0x100270d4
push 0x1005e240
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100270d4
push str.__md1M
lea ecx, [ebp - 0x30]
call fcn.10005900
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 0xf
call fcn.10006679
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x100270f4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x80]
push ecx
push eax
call fcn.10026b27
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x80]
mov edi, eax
call fcn.1000588b
cmp edi, ebx
je 0x10027116
call fcn.100021cd
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10005a9d
jmp 0x10026fcc
Function at 0x10027126
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x10052c2f
call fcn.1003a5fc
mov esi, ecx
mov edi, edx
push esi
mov dword [ebp - 0x68], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10027151
mov eax, 0x44f
jmp 0x100272d2
push esi
call fcn.10026b95
pop ecx
test eax, eax
je 0x1002716a
mov edx, edi
mov ecx, esi
call fcn.10026d29
jmp 0x100272d2
push esi
push 0x1005e7d8
lea eax, [ebp - 0x4c]
push str.__s__l___s_
push eax
call fcn.100041e7
add esp, 0x10
xor edi, edi
mov dword [ebp - 4], edi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.10006679
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x100271a6
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.10026b27
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
cmp eax, edi
jne 0x100272b9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100271c9
lea eax, [ebp - 0x2c]
push 0x1005e828
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10004003
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x50], edi
call fcn.10005d74
jmp 0x10027285
lea ecx, [ebp - 0x58]
call fcn.100246b0
push eax
call fcn.1001cfc2
test eax, eax
jne 0x1002720d
inc dword [ebp - 0x50]
jmp 0x1002727d
cmp dword [ebp - 0x50], 1
jne 0x10027277
lea ecx, [ebp - 0x58]
call fcn.100246b0
cmp dword [eax + 0x14], 0x35
jbe 0x1002727d
lea ecx, [ebp - 0x58]
call fcn.100246b0
push 0xffffffffffffffff
push 0x35
push eax
lea esi, [ebp - 0xb8]
call fcn.1000afe9
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 5
call fcn.10001385
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.10004f99
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.10005a9d
push edi
push 1
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1000588b
jmp 0x1002727d
cmp dword [ebp - 0x50], 2
je 0x100272a8
lea ecx, [ebp - 0x58]
call fcn.1001484a
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
lea ecx, [ebp - 0x60]
call fcn.10005d74
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x58]
call fcn.100249c9
test al, al
je 0x100271f6
lea ecx, [ebp - 0x80]
call fcn.10005bae
push dword [ebp - 0x80]
call fcn.10039dc6
pop ecx
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.1000588b
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.10005a9d
mov eax, dword [ebp - 0x64]
call fcn.1003a67f
ret
Function at 0x100272d8
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x14], eax
call fcn.10013971
test al, al
jne 0x1002737d
call fcn.1000a922
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x10027321
mov eax, dword [eax + 4]
jmp 0x10027324
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002736c
lea esi, [ebp - 0xc]
call fcn.1000a922
cmp dword [eax + 0x18], 8
jb 0x10027342
mov edi, dword [eax + 4]
jmp 0x10027345
lea edi, [eax + 4]
lea esi, [ebp - 0xc]
call fcn.1000a922
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1002735b
mov eax, dword [eax + 4]
jmp 0x1002735e
add eax, 4
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10027370
and dword [ebp - 4], 0
lea esi, [ebp - 0xc]
call fcn.1001ac95
jmp 0x100272f4
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x10027384
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x10053377
call fcn.1003a5fc
mov esi, ecx
push esi
mov ebx, edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100273a9
mov eax, 0x44f
jmp 0x1002745e
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100273be
mov eax, 0x450
jmp 0x1002745e
push esi
call fcn.10026b95
pop ecx
test eax, eax
je 0x100273d7
push ebx
mov ecx, esi
call fcn.10026e62
pop ecx
jmp 0x1002745e
lea eax, [ebp - 0x68]
push eax
call fcn.100055ed
and dword [ebp - 4], 0
push ebx
push esi
push 0x1005e7d8
lea eax, [ebp - 0x2c]
push str.__s__x___s___r__o__s___y
push eax
call fcn.100041e7
add esp, 0x14
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.10006679
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1002741d
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.10026b27
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.1000588b
test esi, esi
je 0x10027443
lea ebx, [ebp - 0x68]
call fcn.100272d8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005a9d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x68]
push eax
call fcn.10005626
mov eax, esi
call fcn.1003a67f
ret

Function at 0x10027664
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 0x1002767e
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1002767a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10027799
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1006c144]
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.1002795f
mov bl, al
mov al, dl
call fcn.1002795f
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.1002795f
mov bl, al
mov al, byte [esi - 4]
call fcn.1002795f
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.1002795f
mov bl, al
mov al, byte [esi]
call fcn.1002795f
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.1002795f
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1002795f
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 0x100277c1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a584
leave
ret 4

Function at 0x1002784e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006c144]
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.100279db
push ebx
mov dl, al
call fcn.100279b4
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1002796f
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1002798d
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1002796f
push ebx
mov byte [ebp - 0x15], al
call fcn.1002798d
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.100279b4
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.100279db
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.100279b4
mov bl, al
mov al, byte [edi + 4]
call fcn.100279db
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1002798d
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002796f
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1002798d
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1002796f
xor bl, al
mov al, dl
call fcn.100279db
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.100279b4
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1002787a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a584
leave
ret 4
Function at 0x1002804d
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x10051092
call fcn.1003a5fc
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 0x1002806c
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10006679
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x10028171
jmp 0x1002809d
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x1005cb08]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x100280b1
cmp al, 0xff
je 0x1002809d
cmp al, 0xff
je 0x10028171
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x1005cb08]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x100280d1
cmp cl, 0xff
je 0x100280b9
cmp cl, 0xff
je 0x10028171
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10005720
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10028171
movsx eax, al
mov al, byte [eax + 0x1005cb08]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x10028111
cmp al, 0xff
je 0x100280f1
cmp al, 0xff
je 0x10028171
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.10005720
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10028171
movsx eax, al
mov cl, byte [eax + 0x1005cb08]
cmp esi, dword [ebp - 0x30]
jae 0x1002814f
cmp cl, 0xff
je 0x10028131
cmp cl, 0xff
je 0x10028171
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.10005720
cmp esi, dword [ebp - 0x30]
jb 0x1002809a
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10004ad4
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000588b
mov eax, dword [ebp - 0x38]
call fcn.1003a67f
ret