joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10022563
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 0x100225a0
jb 0x100226b9
cmp eax, 0x1000
jb 0x100226b9
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 0x100225ed
cmp dword [ebp - 0x1c], eax
jne 0x100226b9
push eax
jmp 0x100226a6
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x10022602
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x100226a0
cmp dword [ebx + 4], 0x706c646f
jne 0x100226a0
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x10022628
cmp eax, 3
jne 0x100226a0
push dword [ebx + 0x18c]
push ebx
call fcn.100224b2
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x10022681
cmp dword [ebx + 0x1a0], 0x40
ja 0x10022681
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x10022681
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x10022681
cmp ax, 0xc
ja 0x10022681
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x10022681
cmp ax, 0x1f
ja 0x10022681
xor ebx, ebx
inc ebx
jmp 0x10022683
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
jne 0x1002269c
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 0x100226bb
cmp dword [ebp - 0x1c], edi
jne 0x100226b9
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 0x100256aa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x1006d144]
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 0x10025796
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.1003c1e0
add esp, 0xc
call fcn.10025633
push 0x104
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
mov dword [esp + 0x1c], eax
call fcn.100022e2
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10025759
cmp word [0x10072048], ax
je 0x10025759
push 0x10072048
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.100024cb
mov dword [esp + 0xc], str.gxdte64.sys
test eax, eax
jne 0x10025772
mov dword [esp + 0xc], str.gxdte32.sys
call fcn.1000487b
push dword [esp + 0xc]
lea ecx, [esp + 0x14]
call fcn.100291d7
call fcn.1000481a
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.1003b824
mov esp, ebp
pop ebp
ret

Function at 0x10025e52
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006d144]
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 0x10025e8d
push str.shlSelFiles
push str.softwareprojonepodlp_smpcache
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10025ed9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x1005ee34
call fcn.10004aec
lea ecx, [ebp - 0x20]
call fcn.100012ce
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
cmp dword [ebp - 8], 8
jae 0x10025eb6
lea eax, [ebp - 0x1c]
push 0
push eax
push str.shlSelFiles
push str.softwareprojonepodlp_smpcache
push SysReAllocString
call fcn.10004305
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.10005a26
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003b824
leave
ret

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

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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x1006d144]
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.1003c1e0
mov esi, 0x1005ec88
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 0x100260c8
lea eax, [ebp - 0x5c]
call fcn.1002abd4
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.1002abff
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.1002abff
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1002ac97
lea eax, [ebp - 0xb8]
call fcn.1002abd4
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.1002abff
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.1002abff
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1002ac97
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.10004a3b
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b824
add ebp, 0x6c
leave
ret
Function at 0x10026172
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1006d144]
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.1003c1e0
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x100261d7
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.1003b940
add esp, 0xc
jmp 0x10026210
lea eax, [ebp - 0x138]
call fcn.1002ad58
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002ad98
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.1002ae24
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 0x10026212
lea eax, [ebp - 0xd0]
call fcn.1002ad58
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002ad98
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002ad98
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002ae24
lea eax, [ebp - 0xd0]
call fcn.1002ad58
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002ad98
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002ad98
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002ae24
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.10004a3b
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b824
leave
ret

Function at 0x10026f8b
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 0x10026fe1
cmp eax, 0xffffffff
je 0x10026fe1
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 0x10026fe1
cmp dword [ebp - 4], 4
jne 0x10026fe1
cmp dword [ebp - 8], 0x21726152
jne 0x10026fe1
inc esi
lea ecx, [ebp - 0xc]
call fcn.10001336
mov eax, esi
pop esi
leave
ret
Function at 0x10027335
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x100535d0
call fcn.1003b89c
mov edi, ecx
lea ecx, [ebp - 0x64]
mov esi, edx
call fcn.10004cbe
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x14]
push edi
push dword [eax]
lea ecx, [ebp - 0x38]
call fcn.10006020
push edi
push dword [edi + 0x14]
lea ecx, [ebp - 0x40]
call fcn.10006020
jmp 0x100273a8
lea ecx, [ebp - 0x38]
call fcn.10004e18
cmp dword [eax + 0x18], 8
jb 0x10027381
mov eax, dword [eax + 4]
jmp 0x10027384
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100273a0
lea ecx, [ebp - 0x38]
call fcn.10004e18
push eax
lea ecx, [ebp - 0x64]
call fcn.10004d98
lea ecx, [ebp - 0x38]
call fcn.10004e47
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.10005bee
test al, al
je 0x1002736e
cmp dword [ebp - 0x4c], ebx
jne 0x100273db
mov edi, 0x44e
lea ecx, [ebp - 0x64]
call fcn.10005bbd
push dword [ebp - 0x64]
call fcn.1003b063
pop ecx
mov eax, edi
call fcn.1003b91f
ret
push ebx
push ebx
push esi
call fcn.10001a7e
call fcn.10002228
push esi
push 0x1005f890
lea eax, [ebp - 0x30]
push 0x1005f894
push eax
call fcn.10004194
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.10006020
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.10006020
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x1002748d
lea ecx, [ebp - 0x38]
call fcn.10004e18
cmp dword [eax + 0x18], 8
jb 0x10027451
mov eax, dword [eax + 4]
jmp 0x10027454
add eax, 4
push eax
lea eax, [ebp - 0x80]
push str.___s_
push eax
call fcn.10004194
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10006738
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.10005a26
lea ecx, [ebp - 0x38]
call fcn.10004e47
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.10005bee
test al, al
je 0x1002743e
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push esi
call edi
test eax, eax
je 0x100274ca
push 0x1005f438
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100274ca
push str.__md1M
lea ecx, [ebp - 0x30]
call fcn.10005889
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 0xf
call fcn.10006683
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x100274ea
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x80]
push ecx
push eax
call fcn.10026f1d
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x80]
mov edi, eax
call fcn.10005814
cmp edi, ebx
je 0x1002750c
call fcn.10002228
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10005a26
jmp 0x100273c2
Function at 0x1002751c
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x10053f82
call fcn.1003b89c
mov esi, ecx
mov edi, edx
push esi
mov dword [ebp - 0x68], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10027547
mov eax, 0x44f
jmp 0x100276c8
push esi
call fcn.10026f8b
pop ecx
test eax, eax
je 0x10027560
mov edx, edi
mov ecx, esi
call fcn.1002711f
jmp 0x100276c8
push esi
push 0x1005f890
lea eax, [ebp - 0x4c]
push str.__s__l___s_
push eax
call fcn.10004194
add esp, 0x10
xor edi, edi
mov dword [ebp - 4], edi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.10006683
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1002759c
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.10026f1d
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
cmp eax, edi
jne 0x100276af
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100275bf
lea eax, [ebp - 0x2c]
push 0x1005f8e0
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10003fb0
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.10005cfe
jmp 0x1002767b
lea ecx, [ebp - 0x58]
call fcn.10009d37
push eax
call fcn.1001d228
test eax, eax
jne 0x10027603
inc dword [ebp - 0x50]
jmp 0x10027673
cmp dword [ebp - 0x50], 1
jne 0x1002766d
lea ecx, [ebp - 0x58]
call fcn.10009d37
cmp dword [eax + 0x14], 0x35
jbe 0x10027673
lea ecx, [ebp - 0x58]
call fcn.10009d37
push 0xffffffffffffffff
push 0x35
push eax
lea esi, [ebp - 0xb8]
call fcn.1000b03c
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 5
call fcn.100013a2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.10004f19
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.10005a26
push edi
push 1
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.10005814
jmp 0x10027673
cmp dword [ebp - 0x50], 2
je 0x1002769e
lea ecx, [ebp - 0x58]
call fcn.10005d30
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
lea ecx, [ebp - 0x60]
call fcn.10005cfe
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x58]
call fcn.10005bee
test al, al
je 0x100275ec
lea ecx, [ebp - 0x80]
call fcn.10005b21
push dword [ebp - 0x80]
call fcn.1003b063
pop ecx
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.10005814
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.10005a26
mov eax, dword [ebp - 0x64]
call fcn.1003b91f
ret
Function at 0x100276ce
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.1001b29e
test al, al
jne 0x10027773
call fcn.10006283
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x10027717
mov eax, dword [eax + 4]
jmp 0x1002771a
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10027762
lea esi, [ebp - 0xc]
call fcn.10006283
cmp dword [eax + 0x18], 8
jb 0x10027738
mov edi, dword [eax + 4]
jmp 0x1002773b
lea edi, [eax + 4]
lea esi, [ebp - 0xc]
call fcn.10006283
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x10027751
mov eax, dword [eax + 4]
jmp 0x10027754
add eax, 4
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10027766
and dword [ebp - 4], 0
lea esi, [ebp - 0xc]
call fcn.10007adc
jmp 0x100276ea
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x1002777a
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x10054730
call fcn.1003b89c
mov esi, ecx
push esi
mov ebx, edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002779f
mov eax, 0x44f
jmp 0x10027854
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100277b4
mov eax, 0x450
jmp 0x10027854
push esi
call fcn.10026f8b
pop ecx
test eax, eax
je 0x100277cd
push ebx
mov ecx, esi
call fcn.10027258
pop ecx
jmp 0x10027854
lea eax, [ebp - 0x68]
push eax
call fcn.1000556d
and dword [ebp - 4], 0
push ebx
push esi
push 0x1005f890
lea eax, [ebp - 0x2c]
push str.__s__x___s___r__o__s___y
push eax
call fcn.10004194
add esp, 0x14
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.10006683
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10027813
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.10026f1d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.10005814
test esi, esi
je 0x10027839
lea ebx, [ebp - 0x68]
call fcn.100276ce
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005a26
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x68]
push eax
call fcn.100055a6
mov eax, esi
call fcn.1003b91f
ret

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

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

Function at 0x10027c44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006d144]
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.10027dd1
push ebx
mov dl, al
call fcn.10027daa
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.10027d65
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.10027d83
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.10027d65
push ebx
mov byte [ebp - 0x15], al
call fcn.10027d83
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.10027daa
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.10027dd1
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.10027daa
mov bl, al
mov al, byte [edi + 4]
call fcn.10027dd1
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.10027d83
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10027d65
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.10027d83
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.10027d65
xor bl, al
mov al, dl
call fcn.10027dd1
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10027daa
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x10027c70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b824
leave
ret 4
Function at 0x10028443
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x1005244e
call fcn.1003b89c
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 0x10028462
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10006683
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x10028567
jmp 0x10028493
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x1005dcb8]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x100284a7
cmp al, 0xff
je 0x10028493
cmp al, 0xff
je 0x10028567
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x1005dcb8]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x100284c7
cmp cl, 0xff
je 0x100284af
cmp cl, 0xff
je 0x10028567
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.100056a9
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10028567
movsx eax, al
mov al, byte [eax + 0x1005dcb8]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x10028507
cmp al, 0xff
je 0x100284e7
cmp al, 0xff
je 0x10028567
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.100056a9
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10028567
movsx eax, al
mov cl, byte [eax + 0x1005dcb8]
cmp esi, dword [ebp - 0x30]
jae 0x10028545
cmp cl, 0xff
je 0x10028527
cmp cl, 0xff
je 0x10028567
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.100056a9
cmp esi, dword [ebp - 0x30]
jb 0x10028490
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10004a81
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10005814
mov eax, dword [ebp - 0x38]
call fcn.1003b91f
ret