joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ffe4
Capabilities:
Get disk size

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x440038
mov eax, dword [esp]
imul dword [esp + 4]
mov edx, eax
imul edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp qword [ebx]
wait
imul dword [esp + 8]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esi]
wait
jmp 0x44004e
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], 0xbff00000
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], 0xbff00000
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x441504
Capabilities:
Identify system language via api

Disassembly:
call sub.kernel32.dll_GetUserDefaultLangID
and ax, 0x3ff
movzx eax, ax
cmp eax, 0x19
ja case.0x44151b.0
mov al, byte [eax + 0x441522]
jmp dword [eax*4 + 0x44153c]
mov al, 5
ret
mov al, 1
ret
mov al, 8
ret
mov al, 7
ret
mov al, 6
ret
mov al, 2
ret
mov al, 4
ret
mov al, 3
ret
mov al, 1
ret
Function at 0x444bb4
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
call fcn.00403e14
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete al
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, eax
movzx eax, word [esi + 0x48]
mov dword [esp], eax
xor edx, edx
mov dl, byte [esi + 0x108c]
mov ecx, dword [esp]
mov eax, esi
call fcn.0044f408
mov ebx, eax
mov eax, dword [esi + 0x40]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
test bl, bl
jbe 0x44f940
xor ecx, ecx
mov cl, byte [esi + 0x108c]
lea edx, [esi + 0x104b]
mov eax, dword [esi + 0x28]
call fcn.004028b0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x28]
mov edi, ebx
and edi, 0xff
dec edi
test di, di
jb 0x44f8e6
inc edi
xor eax, eax
movzx edx, ax
mov ecx, edx
add ecx, dword [esp + 4]
mov cl, byte [esi + ecx + 0x4a]
xor cl, byte [esi + edx + 0x104b]
push ecx
mov ecx, dword [esp + 0xc]
add ecx, edx
pop edx
mov byte [ecx], dl
inc eax
dec di
jne 0x44f8c2
mov al, byte [esi + 0x108c]
cmp bl, al
jne 0x44f902
xor ecx, ecx
mov cl, al
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 8]
call fcn.004028b0
jmp 0x44f915
xor eax, eax
mov al, bl
push eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x28]
mov eax, esi
call fcn.0044f414
xor eax, eax
mov al, bl
sub dword [esp], eax
add dword [esp + 8], eax
add dword [esp + 4], eax
xor edx, edx
mov dl, byte [esi + 0x108c]
mov ecx, dword [esp]
mov eax, esi
call fcn.0044f408
mov ebx, eax
test bl, bl
ja 0x44f894
add esp, 0xc
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, eax
movzx eax, word [esi + 0x48]
mov dword [esp], eax
xor edx, edx
mov dl, byte [esi + 0x108c]
mov ecx, dword [esp]
mov eax, esi
call fcn.0044f408
mov ebx, eax
mov eax, dword [esi + 0x40]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
test bl, bl
jbe 0x44fa34
xor ecx, ecx
mov cl, byte [esi + 0x108c]
lea edx, [esi + 0x104b]
mov eax, dword [esi + 0x28]
call fcn.004028b0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x28]
mov al, byte [esi + 0x108c]
cmp bl, al
jne 0x44f9bd
xor ecx, ecx
mov cl, al
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 4]
lea eax, [esi + eax + 0x4a]
call fcn.004028b0
jmp 0x44f9d4
xor eax, eax
mov al, bl
push eax
mov eax, dword [esp + 8]
lea ecx, [esi + eax + 0x4a]
mov edx, dword [esi + 0x28]
mov eax, esi
call fcn.0044f414
mov edi, ebx
and edi, 0xff
dec edi
test di, di
jb 0x44fa09
inc edi
xor eax, eax
movzx edx, ax
mov ecx, edx
add ecx, dword [esp + 4]
mov cl, byte [esi + ecx + 0x4a]
xor cl, byte [esi + edx + 0x104b]
push ecx
mov ecx, dword [esp + 0xc]
add ecx, edx
pop edx
mov byte [ecx], dl
inc eax
dec di
jne 0x44f9e5
xor eax, eax
mov al, bl
sub dword [esp], eax
add dword [esp + 4], eax
add dword [esp + 8], eax
xor edx, edx
mov dl, byte [esi + 0x108c]
mov ecx, dword [esp]
mov eax, esi
call fcn.0044f408
mov ebx, eax
test bl, bl
ja 0x44f980
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x44fb2c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
xor esi, esi
jmp 0x44fb45
mov byte [ebx + ecx + 0x4a], 0
inc word [ebx + 0x48]
movzx ecx, word [ebx + 0x48]
mov eax, ecx
xor edx, edx
mov dl, byte [ebx + 0x108c]
mov edi, edx
cdq
idiv edi
test edx, edx
jne 0x44fb3c
xor ecx, ecx
mov cl, byte [ebx + 0x108c]
lea edx, [ebx + 0x104b]
lea eax, [ebx + esi + 0x4a]
call fcn.004028b0
xor edx, edx
mov dl, byte [ebx + 0x108c]
dec edx
test dx, dx
jb 0x44fb9a
inc edx
xor eax, eax
movzx edi, ax
mov ecx, dword [ebx + 0x28]
mov cl, byte [ecx + edi]
xor byte [ebx + edi + 0x104b], cl
inc eax
dec dx
jne 0x44fb84
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x28]
xor ecx, ecx
mov cl, byte [ebx + 0x108c]
mov edx, dword [ebx + 0x28]
lea eax, [ebx + 0x104b]
call fcn.004028b0
mov eax, dword [esp]
lea edx, [eax + esi]
xor ecx, ecx
mov cl, byte [ebx + 0x108c]
lea eax, [ebx + 0x104b]
call fcn.004028b0
xor eax, eax
mov al, byte [ebx + 0x108c]
add esi, eax
movzx eax, word [ebx + 0x48]
cmp esi, eax
jne 0x44fb5c
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44fbec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
xor esi, esi
jmp 0x44fc05
mov byte [ebx + ecx + 0x4a], 0
inc word [ebx + 0x48]
movzx ecx, word [ebx + 0x48]
mov eax, ecx
xor edx, edx
mov dl, byte [ebx + 0x108c]
mov edi, edx
cdq
idiv edi
test edx, edx
jne 0x44fbfc
xor ecx, ecx
mov cl, byte [ebx + 0x108c]
lea edx, [ebx + 0x104b]
lea eax, [ebx + esi + 0x4a]
call fcn.004028b0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
xor edx, edx
mov dl, byte [ebx + 0x108c]
dec edx
test dx, dx
jb 0x44fc61
inc edx
xor eax, eax
movzx edi, ax
mov ecx, dword [ebx + 0x28]
mov cl, byte [ecx + edi]
xor byte [ebx + edi + 0x104b], cl
inc eax
dec dx
jne 0x44fc4b
xor ecx, ecx
mov cl, byte [ebx + 0x108c]
mov edx, dword [ebx + 0x28]
lea eax, [ebx + esi + 0x4a]
call fcn.004028b0
mov eax, dword [esp]
lea edx, [eax + esi]
xor ecx, ecx
mov cl, byte [ebx + 0x108c]
lea eax, [ebx + 0x104b]
call fcn.004028b0
xor eax, eax
mov al, byte [ebx + 0x108c]
add esi, eax
movzx eax, word [ebx + 0x48]
cmp esi, eax
jne 0x44fc1c
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44fe3c
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebx
push esi
push edi
push ebp
xor ebx, ebx
mov edx, 0x47eadc
mov ecx, dword [eax + 0x1090]
mov esi, dword [edx]
mov dword [ecx + ebx*4], esi
inc ebx
add edx, 4
cmp ebx, 0x12
jne 0x44fe47
xor ebx, ebx
mov esi, 0x47eb24
xor ecx, ecx
mov edx, esi
mov edi, ebx
shl edi, 7
mov ebp, dword [eax + 0x1094]
lea edi, [ebp + edi*8]
mov ebp, dword [edx]
mov dword [edi + ecx*4], ebp
inc ecx
add edx, 4
cmp ecx, 0x100
jne 0x44fe66
inc ebx
add esi, 0x400
cmp ebx, 4
jne 0x44fe62
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44ff38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x2c]
call fcn.00403c50
test eax, eax
je 0x4500cb
mov eax, dword [esi + 0x2c]
call fcn.00403c50
inc eax
call fcn.00407e94
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x4500c4
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [esi + 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.00407d60
xor ebx, ebx
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + ebx]
mov byte [ebp - 0xd], al
mov eax, dword [esi + 0x2c]
call fcn.00403c50
push eax
lea eax, [ebx + 1]
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x14]
mov al, byte [eax + edx]
mov byte [ebp - 0xe], al
mov eax, dword [esi + 0x2c]
call fcn.00403c50
push eax
lea eax, [ebx + 2]
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x14]
mov al, byte [eax + edx]
mov byte [ebp - 0xf], al
mov eax, dword [esi + 0x2c]
call fcn.00403c50
push eax
lea eax, [ebx + 3]
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x14]
mov al, byte [eax + edx]
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1090]
mov edx, dword [ebp - 4]
xor dword [eax + edi*4], edx
mov eax, dword [esi + 0x2c]
call fcn.00403c50
push eax
lea eax, [ebx + 4]
pop edx
mov ecx, edx
cdq
idiv ecx
mov ebx, edx
inc edi
cmp edi, 0x12
jne 0x44ff81
mov eax, dword [esi + 0x2c]
call fcn.00403c50
mov edx, eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
call fcn.00402c2c
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [esi + 0x1098], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dword [esi + 0x109c], eax
xor edi, edi
mov eax, esi
call fcn.004500d4
mov eax, dword [esi + 0x1090]
mov edx, dword [ebp - 8]
mov dword [eax + edi*4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + edi*4 + 4], edx
add edi, 2
cmp edi, 0x12
jl 0x450042
xor ebx, ebx
xor edi, edi
cmp ebx, 0x100
jge 0x4500a6
mov eax, esi
call fcn.004500d4
mov eax, edi
shl eax, 7
mov edx, dword [esi + 0x1094]
lea edx, [edx + eax*8]
mov ecx, dword [ebp - 8]
mov dword [edx + ebx*4], ecx
mov edx, dword [esi + 0x1094]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0xc]
mov dword [eax + ebx*4 + 4], edx
add ebx, 2
cmp ebx, 0x100
jl 0x450070
xor ebx, ebx
inc edi
cmp edi, 4
jne 0x450068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4500cb
mov eax, dword [ebp - 0x14]
call fcn.00407ee0
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x45217a
cmp dword [ebx + 0x64], 0
jne 0x45217a
cmp dword [ebx + 0x6c], 0
jne 0x45217a
mov esi, edi
jmp 0x452208
cmp esi, 0xffffffff
jne 0x452185
dec esi
jmp 0x452208
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jl 0x452208
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00450574
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4521d0
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4521d5
mov word [edx], 0
dec eax
test eax, eax
jne 0x4521b6
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4521fc
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x452201
mov word [edx], 0
dec eax
test eax, eax
jne 0x4521e2
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x452266
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00451ee4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jl 0x452251
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jge 0x452266
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45215a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x457180
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4572da
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4572ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403b78
lea eax, [ebp - 0x118]
mov edx, 0x4572f0
call fcn.00403c58
mov eax, dword [ebp - 0x118]
call fcn.00403e14
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x45722c
lea eax, [ebp - 0x111]
call fcn.00407c70
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403ab8
jmp 0x457233
mov eax, esi
call fcn.004039d4
cmp bl, 0x61
jae 0x457254
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040ac8c
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403a6c
jmp 0x45726e
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040ac00
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403a6c
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x4572fc
call fcn.00408320
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4572c1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x45a4fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403e14
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45a515
test al, 0x10
jne 0x45a519
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45b274
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00403e14
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45b2b0
push ebp
call fcn.0045b204
pop ecx
mov eax, dword [ebp - 8]
call fcn.0045acf4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x45b330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x45b3c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004039d4
mov eax, dword [ebp - 4]
call fcn.00403c50
test al, al
jbe 0x45b3ad
mov byte [ebp - 9], al
mov bl, 1
lea eax, [ebp - 0x10]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.00403b78
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00403c58
xor eax, eax
mov al, bl
mov edx, dword [edi]
movzx eax, byte [edx + eax - 1]
add esi, eax
imul esi, dword [ebp - 8]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 9]
jne 0x45b36f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b3ca
lea eax, [ebp - 0x10]
call fcn.004039d4
ret

Function at 0x45b40c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov dword [esp], ecx
mov esi, eax
mov edi, dword [esp]
mov ebp, edx
xor edx, edx
lea eax, [esp + 4]
xor ecx, ecx
mov cl, dl
mov ebx, ecx
add ebx, 0x41
mov byte [eax], bl
add ecx, 0x61
mov byte [eax + 0x1a], cl
inc edx
inc eax
cmp dl, 0x1a
jne 0x45b423
xor edx, edx
lea eax, [esp + 0x38]
xor ecx, ecx
mov cl, dl
add ecx, 0x30
mov byte [eax], cl
inc edx
inc eax
cmp dl, 0xa
jne 0x45b441
mov byte [esp + 0x42], 0x2b
mov byte [esp + 0x43], 0x2f
cmp ebp, 3
jl 0x45b4d1
xor eax, eax
mov al, byte [esi]
shr eax, 2
mov al, byte [esp + eax + 4]
mov byte [edi], al
mov dl, byte [esi]
and dl, 3
and edx, 0xff
shl edx, 4
lea eax, [esi + 1]
xor ecx, ecx
mov cl, byte [eax]
shr ecx, 4
or edx, ecx
mov dl, byte [esp + edx + 4]
lea ecx, [edi + 1]
mov byte [ecx], dl
mov al, byte [eax]
and al, 0xf
and eax, 0xff
shl eax, 2
lea edx, [esi + 2]
xor ecx, ecx
mov cl, byte [edx]
shr ecx, 6
or eax, ecx
mov al, byte [esp + eax + 4]
lea ecx, [edi + 2]
mov byte [ecx], al
mov al, byte [edx]
and al, 0x3f
and eax, 0xff
mov al, byte [esp + eax + 4]
lea edx, [edi + 3]
mov byte [edx], al
sub ebp, 3
add esi, 3
add edi, 4
cmp ebp, 3
jge 0x45b460
cmp ebp, 1
jne 0x45b509
xor eax, eax
mov al, byte [esi]
shr eax, 2
mov al, byte [esp + eax + 4]
mov byte [edi], al
mov al, byte [esi]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [esp + eax + 4]
lea edx, [edi + 1]
mov byte [edx], al
lea eax, [edi + 2]
mov byte [eax], 0x3d
lea eax, [edi + 3]
mov byte [eax], 0x3d
add edi, 4
jmp 0x45b55c
cmp ebp, 2
jne 0x45b55c
xor eax, eax
mov al, byte [esi]
shr eax, 2
mov al, byte [esp + eax + 4]
mov byte [edi], al
mov dl, byte [esi]
and dl, 3
and edx, 0xff
shl edx, 4
lea eax, [esi + 1]
xor ecx, ecx
mov cl, byte [eax]
shr ecx, 4
or edx, ecx
mov dl, byte [esp + edx + 4]
lea ecx, [edi + 1]
mov byte [ecx], dl
mov al, byte [eax]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [esp + eax + 4]
lea edx, [edi + 2]
mov byte [edx], al
lea eax, [edi + 3]
mov byte [eax], 0x3d
add edi, 4
mov byte [edi], 0
mov eax, edi
sub eax, dword [esp]
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4635cc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
xor eax, eax
push ebp
push 0x4636be
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x480e28]
mov dword [0x480e28], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004029bc
mov eax, dword [ebp - 0x10]
mov edx, 0x40
call fcn.004074c8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4636a6
mov edx, 0x483950
mov ecx, 0x1000
mov eax, dword [ebp - 0xc]
call fcn.0040752c
mov esi, eax
mov edx, esi
dec edx
test edx, edx
jl 0x46368e
inc edx
mov eax, 0x483950
mov cl, byte [ebx + 0x480e18]
cmp cl, byte [eax]
jne 0x463660
cmp ebx, 0xd
jne 0x46365d
mov dword [ebp - 8], 7
xor ebx, ebx
inc ebx
jmp 0x463662
xor ebx, ebx
cmp dword [ebp - 8], 0
jne 0x463687
mov cl, byte [ebp - 4]
xor cl, byte [eax]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x480a18]
mov edi, dword [ebp - 4]
shr edi, 8
xor ecx, edi
mov dword [ebp - 4], ecx
jmp 0x46368a
dec dword [ebp - 8]
inc eax
dec edx
jne 0x463645
cmp esi, 0x1000
jge 0x463624
mov eax, dword [ebp - 0xc]
call fcn.00407590
mov ebx, dword [ebp - 4]
xor ebx, 0xffffffff
jmp 0x4636a8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4636c5
lea eax, [ebp - 0x10]
call fcn.004039d4
ret

Function at 0x46944c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x469485
mov eax, dword [0x481440]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x469478
push ebx
push 0x46948c
call fcn.0042971c
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x4694ac
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0046944c
xor edx, edx
push ebp
push 0x46957b
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x46954d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x46953c
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004028b0
mov eax, dword [ebp - 4]
call fcn.00469404
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469543
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x4695b4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469692
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046944c
xor edx, edx
push ebp
push 0x469675
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x46963e
mov edx, ebx
mov eax, dword [0x413ee8]
call fcn.00418250
test al, al
je 0x46962e
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00418124
call fcn.00403550
jmp 0x46967c
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4695f9
lea edx, [ebp - 8]
mov eax, dword [0x481304]
call fcn.00404c04
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406500]
call fcn.0040a094
call fcn.004034b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46967c
mov eax, dword [ebp - 4]
call fcn.00469420
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469699
lea eax, [ebp - 8]
call fcn.004039d4
ret

Function at 0x4696a0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046944c
xor eax, eax
push ebp
push 0x4696f8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4696ff
mov eax, dword [ebp - 4]
call fcn.00469420
ret

Function at 0x469708
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046944c
xor edx, edx
push ebp
push 0x46975d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469764
mov eax, dword [ebp - 4]
call fcn.00469420
ret