joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d54d
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x118
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x130]
xor ebx, ebx
mov ecx, dword [esp + 0x124]
mov dword [esp + 8], eax
lea eax, [ebp + 0x10]
cmp dword [eax + 0x14], 0x10
push esi
jb 0x44d597
mov eax, dword [eax]
push edx
push ecx
push eax
push 0x6bc0b9e
push 0x7e0df118
push 0xd03ab406
call fcn.004023ee
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004bad3c
add esp, 0x14
lea eax, [esp + 0x1c]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44d5e5
xor al, al
jmp 0x44d650
push edi
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44d60e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44d60e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x44d64f
cmp dword [esp + 0x14], ebx
jne 0x44d646
push edi
lea ecx, [ebp + 0x44]
call fcn.0044aca3
push ebx
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d646
cmp dword [esp + 0x1c], edi
jne 0x44d646
mov eax, dword [esp + 0x10]
mov bl, 1
mov dword [eax], edi
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
mov ecx, dword [esp + 0x120]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x118
ret 0x10
Function at 0x44dbe4
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d46b1
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x28]
mov esi, dword [esp + 0x140]
mov ebx, dword [esp + 0x144]
mov ebp, dword [esp + 0x148]
test edx, edx
je 0x44dc8c
lea ecx, [esp + 0x2c]
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x44dc43
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x44dc4f
lea edi, [esp + 0x2c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44dc5d
push dword [esp + 0x14c]
mov ecx, ebx
lea eax, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
push eax
mov ecx, edx
call fcn.00424f58
jmp 0x44dd14
push esi
lea eax, [edi + 0x2c]
push eax
call fcn.0044a950
push ebx
push esi
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0044af63
push 0xe4ec9589
xor edi, edi
lea esi, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
push 0x9c5d6f0b
cmovae esi, dword [esp + 0x1c]
push 0x326a29f1
mov dword [esp + 0x144], edi
call fcn.004023ee
push eax
push esi
call fcn.004bcaf8
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x44dcef
push edi
push 1
lea ecx, [esp + 0x1c]
call fcn.00403ecf
xor al, al
jmp 0x44dd16
push esi
push dword [esp + 0x150]
push 1
push ebp
call fcn.004bcc90
push esi
call fcn.004baa50
add esp, 0x14
lea ecx, [esp + 0x14]
push edi
push 1
call fcn.00403ecf
mov al, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004b9a6c
add esp, 0x128
ret 0x10
Function at 0x44f003
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4d47ec
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xd0cdef70
xor ebx, ebx
push 0x9d18d823
push 0x4e4d5ac4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
call fcn.00402456
mov ebp, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov eax, dword [esp + 0x40]
mov edi, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], 1
test eax, eax
je 0x44f1b9
push 3
pop esi
mov ecx, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x40], eax
mov al, byte [ecx]
mov byte [esp + edi + 0x18], al
inc edi
mov dl, byte [esp + 0x19]
inc ecx
mov dword [esp + 0x3c], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x44f113
mov esi, dword [esp + 0x20]
mov al, cl
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + esi]
push eax
push 1
call fcn.0044fbac
inc edi
cmp edi, 4
jl 0x44f0e9
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov ch, byte [esp + 0x17]
push 3
pop esi
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x44f07d
test edi, edi
je 0x44f1b9
mov eax, edi
cmp edi, esi
jge 0x44f14a
cmp eax, esi
jae 0x44f1d1
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x44f12f
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x44f1a5
lea esi, [edi + 1]
mov ecx, dword [esp + 0x20]
movzx eax, byte [esp + ebx + 0x1c]
movzx eax, byte [eax + ecx]
mov ecx, ebp
push eax
push 1
call fcn.0044fbac
inc ebx
cmp ebx, esi
jl 0x44f186
push 3
pop esi
cmp edi, esi
jge 0x44f1b9
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.0044fbac
dec esi
jne 0x44f1ab
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
call fcn.004ba3a5
int3
Function at 0x451052
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d4b40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x40]
mov ebx, 0x100
movzx edx, byte [ebp]
movzx eax, byte [ebp + 1]
imul dx, bx
add dx, ax
mov word [edi], dx
movzx ecx, byte [ebp + 2]
movzx eax, byte [ebp + 3]
imul cx, bx
add cx, ax
lea eax, [ebp + 4]
push eax
mov word [edi + 2], cx
call fcn.0040671b
mov dword [edi + 4], eax
lea esi, [ebp + 8]
pop ecx
test eax, eax
je 0x45112b
xor ebx, ebx
test eax, eax
je 0x45110d
mov ebp, esi
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x38], 0
lea ecx, [esp + 0x1c]
push ebx
push ebp
call fcn.0045152c
add ebx, eax
lea ecx, [edi + 0x34]
lea eax, [esp + 0x1c]
push eax
lea ebp, [ebx + esi]
call fcn.00452d0d
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0040ab0c
cmp ebx, dword [edi + 4]
jb 0x4510c5
mov ebp, dword [esp + 0x40]
push dword [esp + 0x40]
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
add eax, esi
push eax
push esi
push dword [edi + 0xc]
call fcn.0044a3b2
add esi, dword [edi + 4]
mov ebx, 0x100
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
add esi, 2
imul cx, bx
xor ebx, ebx
add cx, ax
xor eax, eax
mov word [edi + 0x14], cx
cmp ax, cx
jae 0x45116f
push esi
lea ecx, [esp + 0x18]
call fcn.004513cf
add esi, eax
lea ecx, [edi + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.00452c23
movzx eax, word [edi + 0x14]
inc ebx
cmp ebx, eax
jb 0x451149
mov ebp, dword [esp + 0x40]
movzx ecx, byte [esi]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esi + 1]
xor ebx, ebx
add esi, 2
add cx, ax
xor eax, eax
mov word [edi + 0x24], cx
cmp ax, cx
jae 0x4511dd
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 1
call fcn.00451001
add esi, eax
lea ecx, [edi + 0x28]
lea eax, [esp + 0x1c]
push eax
call fcn.00452b11
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0040ab0c
movzx ecx, word [edi + 0x24]
inc ebx
cmp ebx, ecx
jb 0x451192
mov ebp, dword [esp + 0x40]
sub esi, ebp
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x463ff3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x202
call fcn.004bb72d
mov esi, dword [esp + 0x14]
mov ebx, eax
pop ecx
mov ecx, 0x80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 2]
movsw word es:[edi], word [esi]
mov esi, 0x100
mov edx, esi
mov al, byte [ecx + 0x100]
xor byte [ecx], al
inc ecx
dec edx
jne 0x46401c
push esi
push edx
lea eax, [ebx + 0x102]
push eax
call fcn.004bf040
mov ax, word [esp + 0x20]
add esp, 0xc
mov byte [ebx + 0x201], 1
mov word [ebx], ax
mov al, byte [ebx + 0x201]
pop edi
mov byte [ebx + 0x1ff], al
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4641e2
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
pop eax
push eax
push edi
call fcn.004bb2a8
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x464253
push dword [esp + 0x10]
add esi, 2
push esi
call ebx
pop ecx
pop ecx
push 0x2e
pop ecx
lea eax, [esi + eax*2]
mov word [eax], cx
push 0x6b
pop ecx
mov word [eax + 2], cx
push 0x65
pop ecx
mov word [eax + 4], cx
push 0x79
pop ecx
mov word [eax + 6], cx
xor ecx, ecx
push edi
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x464253
xor eax, eax
inc eax
jmp 0x4642e0
push edi
xor esi, esi
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x464269
sub ecx, edx
sar ecx, 1
lea esi, [edi + ecx*2]
cmp esi, edi
je 0x46428e
push 0x5c
pop eax
cmp word [esi - 2], ax
je 0x46428e
mov word [esi], ax
add esi, 2
push dword [esp + 0x10]
push esi
call ebx
push 0x5c
lea esi, [esi + eax*2]
pop eax
push dword [esp + 0x18]
mov word [esi], ax
add esi, 2
push esi
call ebx
add esp, 0x10
lea eax, [esi + eax*2]
push 0x2e
pop ecx
mov word [eax], cx
push 0x6b
pop ecx
mov word [eax + 2], cx
push 0x65
pop ecx
mov word [eax + 4], cx
push 0x79
pop ecx
mov word [eax + 6], cx
xor ecx, ecx
push edi
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
ret
Function at 0x4642e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x34], eax
and dword [esp + 0x18], 0
and dword [esp + 0x30], 0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
push 0x400
mov dword [esp + 0x18], 0x45422023
mov dword [esp + 0x1c], 0x204e4947
mov dword [esp + 0x20], 0x4543494c
mov dword [esp + 0x24], 0x2045534e
mov dword [esp + 0x28], 0x59454b
mov dword [esp + 0x30], 0x4e452023
mov dword [esp + 0x34], 0x494c2044
mov dword [esp + 0x38], 0x534e4543
mov dword [esp + 0x3c], 0x454b2045
mov dword [esp + 0x40], 0x59
call fcn.004bb72d
pop ecx
mov ebx, eax
mov dword [esp + 0x10], 0xbfbbef
movzx eax, word [edi]
lea ecx, [esp + 0x10]
mov ebp, ebx
mov esi, edi
cmp ax, word [ecx]
jne 0x464385
movzx eax, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x464385
lea esi, [edi + 3]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004c07e0
pop ecx
pop ecx
test eax, eax
je 0x4643ad
lea esi, [eax + 0x13]
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004c07e0
pop ecx
pop ecx
test eax, eax
je 0x4643ad
mov byte [eax], 0
cmp byte [esi], 0
je 0x46440c
push 0xa
push esi
call fcn.004bc150
pop ecx
pop ecx
test eax, eax
je 0x4643c8
mov byte [eax], 0
lea ecx, [eax + 1]
jmp 0x4643d8
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4643cd
sub ecx, edx
add ecx, esi
test ecx, ecx
je 0x46440c
mov al, byte [esi]
cmp al, 0x20
je 0x4643e6
cmp al, 9
jne 0x4643e9
inc esi
jmp 0x4643dc
mov al, byte [esi]
cmp al, 0x23
je 0x464408
jmp 0x464404
cmp al, 0xd
je 0x464401
cmp al, 0x20
je 0x464401
cmp al, 9
je 0x464401
mov byte [ebp], al
inc ebp
inc esi
mov al, byte [esi]
test al, al
jne 0x4643f1
mov esi, ecx
jmp 0x4643ad
mov byte [ebp], 0
mov ecx, ebx
sub edi, ebx
mov al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
test al, al
jne 0x464414
push ebx
call fcn.004bbb16
pop ecx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x38
ret
Function at 0x468adf
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push edi
push 0x50
pop ecx
lea edi, [edx + 0x28]
rep stosd dword es:[edi], eax
and dword [edx + 4], eax
and dword [edx], eax
mov dword [edx + 8], 0x67452301
mov dword [edx + 0xc], 0xefcdab89
mov dword [edx + 0x10], 0x98badcfe
mov dword [edx + 0x14], 0x10325476
mov dword [edx + 0x18], 0xc3d2e1f0
pop edi
ret

Function at 0x468b55
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea ebx, [edx + 0x28]
push 0x40
mov ecx, ebx
pop esi
mov eax, dword [ecx + 0x34]
xor eax, dword [ecx + 0x20]
xor eax, dword [ecx + 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x3c], eax
dec esi
jne 0x468b68
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0x14
mov esi, dword [esp + 0x10]
mov ecx, eax
mov eax, ebp
rol ecx, 5
xor eax, edi
mov dword [esp + 0x10], ebp
and eax, edx
add esi, 0x5a827999
xor eax, ebp
mov ebp, edi
add ecx, eax
mov edi, edx
add ecx, dword [ebx]
lea ebx, [ebx + 4]
mov edx, dword [esp + 0x14]
add esi, ecx
ror edi, 2
mov eax, esi
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x468ba9
mov eax, dword [esp + 0x2c]
mov ebx, edx
push 0x14
add eax, 0x78
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
pop ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, ebp
rol esi, 5
xor eax, edi
add edx, 0x6ed9eba1
xor eax, ebx
add esi, eax
mov eax, dword [esp + 0x1c]
add esi, dword [eax]
add eax, 4
add esi, edx
mov dword [esp + 0x1c], eax
mov edx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
dec dword [esp + 0x20]
mov dword [esp + 0x14], esi
jne 0x468c00
mov eax, dword [esp + 0x2c]
add eax, 0xc8
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov ecx, edi
rol esi, 5
or ecx, ebx
mov eax, edi
and eax, ebx
and ecx, ebp
or ecx, eax
add esi, 0x8f1bbcdc
mov eax, dword [esp + 0x20]
add ecx, edx
mov edx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
add esi, dword [eax]
add eax, 4
add esi, ecx
mov dword [esp + 0x20], eax
dec dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x468c4c
mov ecx, dword [esp + 0x2c]
push 0x14
mov dword [esp + 0x14], edx
add ecx, 0x118
pop edx
rol esi, 5
mov eax, ebp
xor eax, edi
add esi, 0xca62c1d6
add esi, dword [esp + 0x10]
xor eax, ebx
add eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esp + 0x10], ebp
add esi, eax
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
mov dword [esp + 0x14], esi
dec edx
jne 0x468c9a
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add eax, esi
add dword [edx + 0x10], edi
add dword [edx + 0x14], ebp
add dword [edx + 0xc], ebx
pop edi
pop esi
mov dword [edx + 8], eax
mov eax, dword [esp + 8]
add dword [edx + 0x18], eax
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x46f746
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x46f751
xor eax, eax
ret
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x46f80e
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
dec edi
jne 0x46f771
pop edi
test esi, esi
je 0x46f827
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4e07c0]
inc edx
dec esi
jne 0x46f812
not ecx
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x4719e3
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x68], 0
and dword [ebp - 0x6c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 8
pop ecx
push dword [ebp + 0xc]
mov esi, 0x4e1818
lea edi, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00471a3e
push ebx
lea eax, [ebp - 0x6c]
push 0x20
push eax
call fcn.004725da
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret
Function at 0x4727ea
Capabilities:
Hash data using sha1

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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
and dword [esp + 4], 0
push ebx
push ebp
mov ebx, dword [eax]
push esi
mov esi, dword [esp + 0x24]
push edi
push 4
pop edi
mov dword [esi + 0xa0], ebx
mov ebp, dword [eax + 4]
mov dword [esi + 0xa4], ebp
mov ecx, dword [eax + 8]
mov dword [esi + 0xa8], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 0x98]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x90]
mov dword [esi + 0xac], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ecx
push 3
push eax
call fcn.00402860
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
xor eax, dword [edx + 0x4e1fc0]
add edx, edi
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x24]
xor ebp, ebx
sub dword [esp + 0x24], 0x10
xor esi, ebp
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
mov dword [ecx - 4], ebp
xor eax, esi
mov dword [ecx], esi
mov dword [ecx + 4], eax
sub ecx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp edx, 0x28
jb 0x473c8f
mov esi, dword [esp + 0x28]
push dword [esi + edi*4]
call fcn.00402de1
mov dword [esi + edi*4], eax
inc edi
pop ecx
cmp edi, 0x28
jb 0x473ce0
and dword [esi + 0xf0], 0
and byte [esi + 0xf2], 0xfe
xor eax, eax
pop edi
mov byte [esi + 0xf0], 0xa0
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x473d11
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0xc]
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [eax]
mov dword [esi], edi
mov ebx, dword [eax + 4]
mov dword [esi + 4], ebx
mov ebp, dword [eax + 8]
mov dword [esi + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
push 3
push esi
call fcn.00402860
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
xor eax, dword [ecx + 0x4e1fc0]
add ecx, 4
xor edi, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
xor ebx, edi
xor ebp, ebx
xor esi, ebp
mov dword [eax - 4], edi
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], esi
add eax, 0x10
mov dword [esp + 0x14], eax
cmp ecx, 0x24
jb 0x473d48
push 3
push esi
mov dword [esp + 0x24], esi
call fcn.00402860
xor eax, dword [0x4e1fe4]
mov esi, dword [esp + 0x28]
xor edi, eax
mov eax, dword [esp + 0x24]
xor ebx, edi
pop ecx
xor ebp, ebx
and dword [esi + 0xf0], 0
xor eax, ebp
or byte [esi + 0xf2], 1
pop ecx
mov dword [esi + 0xa0], edi
pop edi
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], eax
xor eax, eax
mov byte [esi + 0xf0], 0xa0
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x473e9c
Capabilities:
Hash data with md5

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

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
movzx edi, byte [ebx + 0x5284a0]
mov ecx, edi
mov edx, edi
shr edx, 1
and ecx, 3
xor edx, edi
mov eax, edi
shr eax, 2
shr edx, 1
movzx esi, byte [ecx + 0x5177a0]
xor esi, eax
movzx eax, byte [ecx + 0x5177a4]
xor edx, eax
xor esi, edi
xor edx, edi
imul eax, edx, 0x10100
add eax, esi
shl eax, 8
add eax, edi
shl edi, 0x10
mov dword [ebx*4 + 0x5285a0], eax
imul eax, edx, 0x1000100
add eax, esi
add edi, eax
mov dword [ebx*4 + 0x528da0], edi
movzx edi, byte [ebx + 0x5283a0]
mov ecx, edi
mov edx, edi
and ecx, 3
shr edx, 1
xor edx, edi
mov eax, edi
shr eax, 2
shr edx, 1
movzx esi, byte [ecx + 0x5177a0]
xor esi, eax
movzx eax, byte [ecx + 0x5177a4]
xor edx, eax
xor esi, edi
xor edx, edi
mov ecx, edi
imul eax, edx, 0x101
shl ecx, 8
add ecx, esi
shl edx, 8
shl ecx, 0x10
add edx, edi
shl edx, 8
add ecx, eax
imul eax, esi, 0x1000001
mov dword [ebx*4 + 0x5289a0], ecx
add edx, eax
mov dword [ebx*4 + 0x5291a0], edx
inc ebx
cmp ebx, 0x100
jb 0x4749ae
pop edi
pop esi
pop ebx
ret