joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bb60
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x120]
push ebp
push esi
push edi
push 0
push 0x233
push str.C:SrcToolsSourceMopaq_srcMPQAPI.cpp
push eax
call fcn.00408660
mov ecx, dword [ebx + 0x120]
mov esi, dword [ebx + 0x128]
mov edx, ecx
mov ebp, eax
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x11c]
push eax
push ebp
call fcn.0041bc10
mov ecx, dword [ebx + 0x11c]
shl ecx, 4
push 3
push str._block_table_
mov dword [esp + 0x24], ecx
call fcn.0041c0d0
mov edx, dword [esp + 0x24]
push eax
push edx
push ebp
call fcn.0041c070
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + 8]
add esp, 0x1c
push 0
lea eax, [esp + 0x18]
push eax
push ecx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x241
push str.C:SrcToolsSourceMopaq_srcMPQAPI.cpp
push ebp
mov esi, eax
call fcn.004093e0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x41bc50
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 3
push str._hash_table_
lea edi, [esi + 0x130]
call fcn.0041c0d0
mov ecx, dword [esi + 0x138]
push eax
mov eax, dword [edi]
push eax
push ecx
call fcn.0041c070
mov edx, dword [edi]
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 8]
add esp, 0x14
push 0
push edi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
ret

Function at 0x41bca0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x124]
mov edx, dword [esi + 0x14c]
mov eax, dword [esi + 0x134]
push 0
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x12c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x11c]
mov dword [esp + 0x24], edx
push 0x20
lea edx, [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
push edx
push eax
mov dword [esp + 0x18], 0x1a51504d
mov dword [esp + 0x1c], 0x20
mov word [esp + 0x24], 0
mov word [esp + 0x26], 3
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
add esp, 0x20
ret

Function at 0x41c010
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
mov edi, dword [esp + 0xc]
shr edi, 2
test edi, edi
mov ecx, 0xeeeeeeee
je 0x41c06b
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ebx
push esi
nop
lea esp, [esp]
mov esi, eax
and esi, 0xff
add ecx, dword [esi*4 + 0x42b7a0]
mov ebx, dword [edx]
lea esi, [ecx + eax]
imul ecx, ecx, 0x21
xor ebx, esi
mov esi, ebx
lea ecx, [ecx + esi + 3]
mov esi, eax
not esi
shl esi, 0x15
add esi, 0x11111111
shr eax, 0xb
mov dword [edx], ebx
add edx, 4
or eax, esi
dec edi
jne 0x41c030
pop esi
pop ebx
pop edi
ret
Function at 0x41c070
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
mov edi, dword [esp + 0xc]
shr edi, 2
test edi, edi
mov ecx, 0xeeeeeeee
je 0x41c0c9
mov eax, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
nop
lea esp, [esp]
mov edx, dword [esi]
mov ebx, eax
and ebx, 0xff
add ecx, dword [ebx*4 + 0x42b7a0]
lea ebx, [ecx + eax]
imul ecx, ecx, 0x21
xor ebx, edx
lea ecx, [ecx + edx + 3]
mov edx, eax
not edx
shl edx, 0x15
add edx, 0x11111111
shr eax, 0xb
mov dword [esi], ebx
add esi, 4
or eax, edx
dec edi
jne 0x41c090
pop esi
pop ebx
pop edi
ret
Function at 0x41c6e0
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x114
push 0x104
push eax
lea ecx, [esp + 0x18]
push ecx
call sub.MSVCRT.dll_strncpy
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, al
je 0x41c70c
cmp byte [esp + 0x11], 0x3a
je 0x41c71c
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x27], 0
mov dword [esp + 0x14], 0x200
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [esp]
add esp, 0x114
ret

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

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
je 0x41c7ad
mov eax, dword [esi]
push ebx
mov bl, byte [esp + 0x18]
test bl, 1
je 0x41c7ba
or eax, 0xffffffff
test bl, 2
je 0x41c7ef
mov edx, dword [esp + 0x10]
test edx, edx
mov ecx, dword [esp + 0xc]
je 0x41c7ef
push ebp
push edi
lea ecx, [ecx]
movzx ebp, byte [ecx]
mov edi, eax
and edi, 0xff
xor edi, ebp
mov edi, dword [edi*4 + 0x425438]
shr eax, 8
xor eax, edi
inc ecx
dec edx
jne 0x41c7d0
pop edi
pop ebp
test bl, 4
pop ebx
je 0x41c7f7
not eax
test esi, esi
je 0x41c7fd
mov dword [esi], eax
pop esi
ret

Function at 0x41cb00
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
jne 0x41cb14
push 0x57
call fcn.0040b130
xor eax, eax
pop ebp
ret
call fcn.0041c8f0
test eax, eax
je 0x41cb2b
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
pop ebp
ret
push esi
push edi
xor edi, edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41cb87
mov eax, dword [0x42bbb0]
mov edx, dword [0x42bbb4]
push ebx
push edi
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41cb74
cmp ebx, dword [esp + 0x14]
jne 0x41cb74
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
pop ebx
jne 0x41cb87
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x41ce00
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
push eax
push edi
push esi
push ecx
push ebx
push ebp
call fcn.0040ff70
test eax, eax
jne 0x41ce5b
test edi, edi
je 0x41ce35
test esi, esi
je 0x41ce35
mov byte [esi], al
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41ce48
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41ce54
push 0
push ebx
push ebp
call fcn.0041cd50
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x41ce70
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
push edi
push esi
push eax
push ebx
push ebp
call fcn.00410100
test eax, eax
jne 0x41cec6
test edi, edi
je 0x41cea0
test esi, esi
je 0x41cea0
mov byte [esi], al
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41ceb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41cebf
push 0
push ebx
push ebp
call fcn.0041cd50
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x41ced0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
push esi
push eax
push edi
push ebx
call fcn.004101b0
test eax, eax
jne 0x41cf1b
test esi, esi
je 0x41cef6
mov dword [esi], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41cf09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41cf15
push 0
push edi
push ebx
call fcn.0041cd50
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x68aa6b
Capabilities:
Hash data with crc32

Disassembly:
cmp byte [ecx + 0x1004b], 0
jne 0x68aaae
mov byte [ecx + 0x1004b], 1
xor edx, edx
lea eax, [ecx + 0x1004c]
push esi
push 8
mov ecx, edx
pop esi
test cl, 1
je 0x68aa98
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x68aa9a
shr ecx, 1
dec esi
test esi, esi
jg 0x68aa89
mov dword [eax], ecx
inc edx
add eax, 4
cmp edx, 0xff
jle 0x68aa84
pop esi
ret

Function at 0x68aaaf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x68aae9
cmp dword [ebp + 0xc], 0
je 0x68aae9
push esi
movzx edx, byte [eax]
xor edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x10]
dec dword [ebp + 0xc]
and edx, 0xff
mov edx, dword [ecx + edx*4 + 0x1004c]
shr esi, 8
xor esi, edx
inc eax
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], esi
jne 0x68aac0
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc

Function at 0x694153
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], edi
jne 0x694182
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
inc eax
imul eax, eax, 3
jmp 0x694205
push ebx
xor eax, eax
push esi
mov dword [ebp + 8], edi
cmp ecx, edi
jle 0x694203
xor esi, esi
xor edx, edx
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], ecx
jge 0x6941f0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
movsx ecx, byte [ebx + ecx]
inc dword [ebp + 8]
cmp ecx, 0xd
je 0x6941eb
cmp ecx, 0xa
je 0x6941eb
shl edx, 6
cmp ecx, 0x60
jle 0x6941bd
add ecx, 0xffffffb9
jmp 0x6941d7
cmp ecx, 0x40
jle 0x6941c7
add ecx, 0xffffffbf
jmp 0x6941d7
cmp ecx, 0x3d
jne 0x6941cf
inc edi
jmp 0x6941ea
cmp ecx, 0x2f
jle 0x6941db
add ecx, 4
or edx, ecx
jmp 0x6941ea
jne 0x6941e2
or edx, 0x3f
jmp 0x6941ea
cmp ecx, 0x2b
jne 0x6941ea
or edx, 0x3e
inc esi
cmp esi, 4
jne 0x694191
cmp esi, 4
jne 0x69422c
lea ecx, [eax + 3]
mov esi, ecx
sub esi, edi
cmp esi, dword [ebp + 0x10]
jle 0x694221
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
dec ecx
test edi, edi
je 0x694218
mov esi, eax
sub esi, edi
add esi, 3
cmp ecx, esi
jge 0x69421e
mov esi, dword [ebp + 0xc]
mov byte [ecx + esi], dl
shr edx, 8
cmp ecx, eax
jne 0x694208
push 3
pop ecx
sub ecx, edi
add eax, ecx
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], ecx
jl 0x69418d
jmp 0x694203
Function at 0x698949
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x6c3854
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], eax
je 0x6c388d
push esi
mov esi, dword [ecx + 0xc]
push edi
movzx edi, byte [edx]
dec dword [ebp + 0xc]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor eax, edi
inc edx
cmp dword [ebp + 0xc], 0
mov dword [ecx + 4], eax
jne 0x6c386b
pop edi
pop esi
mov eax, dword [ecx + 4]
pop ebp
ret 0xc

Function at 0x6c928c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov edx, ecx
push esi
mov dword [ebp - 8], edx
xor eax, eax
push edi
mov esi, dword [eax + 0x7422b8]
mov ecx, dword [edx]
mov dword [eax + ecx], esi
add eax, 4
cmp eax, 0x48
jb 0x6c929b
xor eax, eax
mov ecx, 0x100
mov edi, dword [eax + 0x742300]
mov esi, dword [edx + 4]
mov dword [eax + esi], edi
add eax, 4
dec ecx
jne 0x6c92b5
cmp eax, 0x1000
jb 0x6c92b0
and dword [ebp - 4], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
jmp 0x6c92dc
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov edx, dword [ebp - 4]
add edx, eax
mov dword [ebp + 0xc], edx
xor edx, edx
lea eax, [ecx + 1]
div edi
movzx eax, byte [ecx + esi]
shl eax, 8
add dword [ebp - 4], 4
movzx ebx, byte [edx + esi]
or ebx, eax
xor edx, edx
lea eax, [ecx + 2]
div edi
shl ebx, 8
movzx eax, byte [edx + esi]
or ebx, eax
xor edx, edx
lea eax, [ecx + 3]
div edi
shl ebx, 8
movzx eax, byte [edx + esi]
or ebx, eax
mov eax, dword [ebp + 0xc]
xor dword [eax], ebx
lea eax, [ecx + 4]
xor edx, edx
div edi
cmp dword [ebp - 4], 0x48
mov ecx, edx
jb 0x6c92d9
and dword [ebp + 0xc], 0
and dword [ebp + 8], 0
mov esi, dword [ebp - 8]
xor edi, edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.006c8b2a
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [edi + eax], ecx
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [edi + eax + 4], ecx
add edi, 8
cmp edi, 0x48
jb 0x6c933f
xor edi, edi
mov ebx, 0x80
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.006c8b2a
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
mov dword [edi + eax], ecx
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov dword [edi + eax + 4], ecx
add edi, 8
dec ebx
jne 0x6c936e
cmp edi, 0x1000
jb 0x6c9369
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x6cd7df
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
xor edx, edx
xor eax, eax
mov dword [ebp - 0xc], ecx
cmp edi, edx
je 0x6cd8a3
mov dword [ebp - 4], edx
cmp dword [ebp + 0xc], edx
jbe 0x6cd8a3
push ebx
push esi
jmp 0x6cd80b
mov edi, dword [ebp + 8]
movzx esi, byte [edx + edi]
inc edx
shl esi, 8
cmp edx, dword [ebp + 0xc]
jae 0x6cd821
movzx ebx, byte [edx + edi]
or esi, ebx
inc edx
jmp 0x6cd824
inc dword [ebp - 4]
shl esi, 8
cmp edx, dword [ebp + 0xc]
jae 0x6cd835
movzx edi, byte [edx + edi]
or esi, edi
inc edx
jmp 0x6cd838
inc dword [ebp - 4]
push 3
pop edi
cmp dword [ebp - 4], 0
je 0x6cd84b
dec dword [ebp - 4]
mov byte [ebp + edi - 8], 0x3d
jmp 0x6cd860
mov ebx, dword [0x74336c]
mov ecx, esi
and ecx, 0x3f
mov cl, byte [ecx + ebx]
mov byte [ebp + edi - 8], cl
mov ecx, dword [ebp - 0xc]
shr esi, 6
dec edi
jns 0x6cd83b
xor esi, esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x6cd884
cmp dword [ecx + 4], edi
jb 0x6cd884
mov edi, dword [ebp + 0x10]
mov word [eax + edi], 0xa0d
add eax, 2
and dword [ecx + 4], 0
mov bl, byte [ebp + esi - 8]
mov edi, dword [ebp + 0x10]
mov byte [eax + edi], bl
inc eax
inc esi
inc dword [ecx + 4]
cmp esi, 4
jl 0x6cd868
cmp edx, dword [ebp + 0xc]
jb 0x6cd808
pop esi
pop ebx
pop edi
leave
ret 0x10

Function at 0x6cd8a8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x6cd95c
cmp dword [ebp + 0x10], esi
je 0x6cd95c
mov ecx, dword [ebp + 0xc]
lea edi, [eax + ecx]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], esi
cmp eax, edi
jae 0x6cd992
xor eax, eax
xor edx, edx
cmp dword [ebp + 8], edi
jae 0x6cd948
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
inc dword [ebp + 8]
cmp cl, 9
jl 0x6cd8fd
cmp cl, 0xa
jle 0x6cd943
cmp cl, 0xd
je 0x6cd943
cmp cl, 0x20
je 0x6cd943
shl edx, 6
cmp cl, 0x60
jle 0x6cd90d
movsx ecx, cl
sub ecx, 0x47
jmp 0x6cd92f
cmp cl, 0x40
jle 0x6cd91a
movsx ecx, cl
sub ecx, 0x41
jmp 0x6cd92f
cmp cl, 0x3d
jne 0x6cd924
inc dword [ebp + 0xc]
jmp 0x6cd942
cmp cl, 0x2f
jle 0x6cd933
movsx ecx, cl
add ecx, 4
or edx, ecx
jmp 0x6cd942
jne 0x6cd93a
or edx, 0x3f
jmp 0x6cd942
cmp cl, 0x2b
jne 0x6cd942
or edx, 0x3e
inc eax
cmp eax, 4
jb 0x6cd8dc
cmp eax, 4
jne 0x6cd996
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 3]
mov ebx, eax
sub ebx, ecx
cmp ebx, dword [ebp + 0x14]
jbe 0x6cd97e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
dec eax
test ecx, ecx
je 0x6cd975
mov ebx, esi
sub ebx, ecx
add ebx, 3
cmp eax, ebx
jae 0x6cd97b
mov ebx, dword [ebp + 0x10]
mov byte [eax + ebx], dl
shr edx, 8
cmp eax, esi
jne 0x6cd965
push 3
pop eax
sub eax, ecx
add esi, eax
cmp dword [ebp + 8], edi
jb 0x6cd8d8
mov eax, esi
jmp 0x6cd95e
neg eax
sbb eax, eax
not eax
and eax, esi
jmp 0x6cd95e
Function at 0x6cd9ce
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x6cd9e0
xor eax, eax
jmp 0x6cdaa8
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ebx
push esi
mov esi, dword [edx - 0xc]
add esi, edx
mov dword [ebp + 8], edi
jmp 0x6cda9b
xor eax, eax
xor ebx, ebx
cmp edx, esi
jae 0x6cda5c
mov cl, byte [edx]
inc edx
cmp cl, 9
jl 0x6cda13
cmp cl, 0xa
jle 0x6cda57
cmp cl, 0xd
je 0x6cda57
cmp cl, 0x20
je 0x6cda57
shl ebx, 6
cmp cl, 0x60
jle 0x6cda23
movsx ecx, cl
sub ecx, 0x47
jmp 0x6cda43
cmp cl, 0x40
jle 0x6cda30
movsx ecx, cl
sub ecx, 0x41
jmp 0x6cda43
cmp cl, 0x3d
jne 0x6cda38
inc edi
jmp 0x6cda56
cmp cl, 0x2f
jle 0x6cda47
movsx ecx, cl
add ecx, 4
or ebx, ecx
jmp 0x6cda56
jne 0x6cda4e
or ebx, 0x3f
jmp 0x6cda56
cmp cl, 0x2b
jne 0x6cda56
or ebx, 0x3e
inc eax
cmp eax, 4
jb 0x6cd9f8
cmp eax, 4
jne 0x6cdaad
mov eax, dword [ebp + 8]
add eax, 3
mov ecx, eax
sub ecx, edi
cmp ecx, dword [ebp + 0x10]
jbe 0x6cda8e
xor eax, eax
jmp 0x6cdaa6
dec eax
test edi, edi
je 0x6cda85
mov ecx, dword [ebp + 8]
sub ecx, edi
add ecx, 3
cmp eax, ecx
jae 0x6cda8b
mov ecx, dword [ebp + 0xc]
mov byte [eax + ecx], bl
shr ebx, 8
cmp eax, dword [ebp + 8]
jne 0x6cda74
push 3
pop eax
sub eax, edi
add dword [ebp + 8], eax
cmp edx, esi
jb 0x6cd9f4
mov eax, dword [ebp + 8]
pop esi
pop ebx
pop edi
pop ebp
ret 0xc
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 8]
jmp 0x6cdaa6
Function at 0x6cdab8
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x67fe71
call 0x835abe
mov edi, ecx
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x20], 0
test ebx, ebx
jne 0x6cdae6
mov ecx, dword [ebp + 8]
push 0x6975a8
call fcn.0068379f
mov eax, dword [ebp + 8]
jmp 0x6cdbec
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.006cd76f
mov esi, eax
call fcn.00736974
push eax
lea ecx, [ebp - 0x18]
call fcn.006831e0
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x18]
call fcn.00683345
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], ecx
jbe 0x6cdbc5
jmp 0x6cdb26
mov ebx, dword [ebp + 0xc]
movzx esi, byte [ecx + ebx]
inc ecx
shl esi, 8
cmp ecx, dword [ebp + 0x10]
jae 0x6cdb3c
movzx ebx, byte [ecx + ebx]
or esi, ebx
inc ecx
jmp 0x6cdb3f
inc dword [ebp - 0x10]
shl esi, 8
cmp ecx, dword [ebp + 0x10]
jae 0x6cdb53
mov ebx, dword [ebp + 0xc]
movzx ebx, byte [ecx + ebx]
or esi, ebx
inc ecx
jmp 0x6cdb56
inc dword [ebp - 0x10]
mov dword [ebp - 0x14], 3
cmp dword [ebp - 0x10], 0
je 0x6cdb70
mov ebx, dword [ebp - 0x14]
dec dword [ebp - 0x10]
mov byte [ebp + ebx - 0x1c], 0x3d
jmp 0x6cdb88
mov ebx, dword [0x74336c]
mov eax, esi
and eax, 0x3f
mov al, byte [eax + ebx]
mov ebx, dword [ebp - 0x14]
mov byte [ebp + ebx - 0x1c], al
mov eax, dword [ebp - 0x20]
shr esi, 6
dec dword [ebp - 0x14]
jns 0x6cdb5d
xor esi, esi
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x6cdbab
cmp dword [edi + 4], ebx
jb 0x6cdbab
mov word [edx + eax], 0xa0d
add edx, 2
and dword [edi + 4], 0
mov bl, byte [ebp + esi - 0x1c]
mov byte [edx + eax], bl
inc edx
inc esi
inc dword [edi + 4]
cmp esi, 4
jl 0x6cdb92
cmp ecx, dword [ebp + 0x10]
jb 0x6cdb23
push edx
lea ecx, [ebp - 0x18]
call fcn.00687064
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
push esi
call fcn.00683091
mov edi, dword [ebp + 8]
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00682e4d
mov eax, edi
call 0x835b96
ret 0x10
Function at 0x404819
Capabilities:
Shutdown system

Disassembly:
call fcn.00427280
push 2
mov eax, str.SeShutdownPrivilege
push eax
call fcn.00408209
movsx eax, byte [esp + 4]
push eax
push 0
push 1
mov eax, str.Exit
push eax
push 0
call sub.ADVAPI32.dll_InitiateSystemShutdownW
xor eax, eax
ret 4
Function at 0x40524f
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00427280
push dword [esp + 0x20]
call fcn.00414380
mov dword [esp], 0
mov dword [esp + 4], 1
mov edx, 0x42b02e
lea ecx, [esp + 8]
call fcn.00414068
mov edx, 0x42b02e
lea ecx, [esp + 0xc]
call fcn.00414068
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [esp + 0x10], eax
mov dword [esp], 0
jmp 0x4052a3
mov eax, 0x19
cmp eax, dword [esp]
jl 0x4052ff
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov ecx, dword [esp]
shl edi, cl
and ebx, edi
and ebx, ebx
je 0x4052fa
mov edx, dword [esp + 8]
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004271e0
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
mov ebx, dword [esp + 0xc]
add ebx, 0x41
push ebx
call fcn.00425710
pop eax
lea eax, [esp + 0xc]
push eax
call fcn.004270e0
inc dword [esp]
jno 0x4052a3
mov eax, 0x42b3be
push eax
call fcn.00425730
mov dword [esp], eax
jmp 0x40530f
mov eax, 0x42b42e
push eax
call fcn.00425730
cmp eax, dword [esp]
jl 0x4053ef
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push dword [esp + 0xc]
call fcn.00425710
call fcn.00427340
push dword [esp + 0x10]
call fcn.00414362
add dword [esp + 4], edx
call fcn.00425570
call fcn.00414380
and eax, eax
je 0x405368
xor eax, eax
jmp 0x40536d
mov eax, 1
and eax, eax
je 0x4053e6
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push dword [esp + 0xc]
call fcn.00425710
mov edx, 0x42b184
push edx
call fcn.004271e0
call fcn.00414362
add dword [esp], edx
call sub.KERNEL32.dll_GetDriveTypeW
call fcn.00414380
mov ebx, eax
cmp ebx, 1
jne 0x4053e6
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push dword [esp + 8]
call fcn.00425710
mov edx, 0x42b184
push edx
call fcn.004271e0
lea eax, [esp + 0x10]
push eax
call fcn.004270e0
jmp 0x4053ef
inc dword [esp]
jno 0x40530f
mov edx, dword [esp + 0xc]
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004271e0
pop eax
push eax
call fcn.00414350
pop edx
add eax, edx
jmp 0x405417
push dword [esp + 0xc]
call fcn.00427310
push dword [esp + 8]
call fcn.00427310
add esp, 0x14
pop edi
pop ebx
ret