joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bf70
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00466a00
mov eax, dword [0x48d1f4]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
mov ebx, dword [esp + 0x1010]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1018]
movzx eax, word [edi]
test ax, ax
je 0x43c174
push eax
call fcn.00456860
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43bfb1
movzx eax, word [edi]
lea ebp, [edi + 2]
sub esi, ecx
sar esi, 1
cmp eax, 0x5c
jne 0x43bfd1
cmp word [ebp], ax
je 0x43c004
push eax
call fcn.00456860
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x43c09b
cmp word [ebp], 0x3a
jne 0x43c09b
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x43c004
cmp eax, 0x2f
jne 0x43c09b
movzx eax, word [edi]
push eax
call fcn.00456860
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x43c04d
cmp word [ebp], 0x3a
jne 0x43c04d
lea eax, [esi + 4]
mov esi, dword [esp + 0x1020]
cmp esi, eax
jbe 0x43c174
push esi
push 0x47ff9c
push ebx
call fcn.00456ab0
push esi
push edi
push ebx
call fcn.00456a50
mov al, 1
jmp 0x43c176
cmp word [edi], 0x5c
jne 0x43c174
cmp word [ebp], 0x5c
jne 0x43c174
lea eax, [esi + 6]
mov esi, dword [esp + 0x1020]
cmp esi, eax
jbe 0x43c174
push esi
push 0x47ff9c
push ebx
call fcn.00456ab0
push esi
push 0x47ffa8
push ebx
call fcn.00456a50
push esi
push ebp
push ebx
call fcn.00456a50
mov al, 1
jmp 0x43c176
lea eax, [esp + 0x10]
push eax
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x43c174
cmp eax, 0x7ff
ja 0x43c174
movzx eax, word [edi]
cmp eax, 0x5c
je 0x43c13b
cmp eax, 0x2f
je 0x43c13b
push 0x800
lea eax, [esp + 0x14]
push eax
call fcn.0043ad70
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c0e1
sub ecx, edx
lea eax, [esi + 4]
mov esi, dword [esp + 0x1020]
sar ecx, 1
add eax, ecx
cmp esi, eax
jbe 0x43c174
push esi
push 0x47ff9c
push ebx
call fcn.00456ab0
push esi
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00456a50
cmp word [edi], 0x2e
jne 0x43c12f
movzx eax, word [ebp]
push eax
call fcn.0043c310
test al, al
je 0x43c12f
add edi, 4
push esi
push edi
push ebx
call fcn.00456a50
mov al, 1
jmp 0x43c176
lea eax, [esi + 6]
mov esi, dword [esp + 0x1020]
cmp esi, eax
jbe 0x43c174
push esi
push 0x47ff9c
push ebx
call fcn.00456ab0
xor eax, eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x10]
push esi
push eax
push ebx
call fcn.00456a50
push esi
push edi
push ebx
call fcn.00456a50
mov al, 1
jmp 0x43c176
xor al, al
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004669f1
add esp, 0x1004
ret 0xc
Function at 0x440ef0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
push esi
mov esi, dword [esp + 0xc]
xor cl, cl
cmp esi, eax
jbe 0x440f0c
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x440f04
cmp cl, byte [edx]
jne 0x440f4d
push esi
push edx
push 0xffffffffffffffff
call fcn.0041c570
xor edx, edx
not eax
xor ecx, ecx
nop
cmp dword [ecx + 0x48cb04], eax
jne 0x440f30
cmp dword [ecx + 0x48cb00], esi
je 0x440f3d
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x440f20
pop esi
ret 0xc
lea eax, [edx + edx*2]
mov ecx, dword [eax*4 + 0x48cb08]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
pop esi
ret 0xc

Function at 0x442df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b83f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x48d1f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x1c], 0
mov edx, 0x1c
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x24], 0
mov eax, dword [eax + 0x94f8]
mov dword [esi + 0x40], eax
mul edx
mov dword [ebp - 4], 0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004669e3
xor edx, edx
mov dword [esi + 0x44], eax
add esp, 4
cmp dword [esi + 0x40], edx
jbe 0x442ebb
xor eax, eax
lea esp, [esp]
mov ecx, dword [esi + 0x44]
lea eax, [eax + 0x1c]
inc edx
mov dword [eax + ecx - 0x1c], esi
mov ecx, dword [esi + 0x44]
mov dword [eax + ecx - 0x18], 0
cmp edx, dword [esi + 0x40]
jb 0x442ea0
cmp byte [ebp + 0xc], 0
je 0x442edc
mov dword [esi + 0x3c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x338
call fcn.004669a5
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x442f00
push dword [esi + 0x40]
mov ecx, eax
call fcn.00457750
jmp 0x442f02
xor eax, eax
push 0x4000010
mov byte [ebp - 4], 0
mov dword [esi + 0x3c], eax
call fcn.004669e3
mov ecx, eax
mov dword [esi + 0x1c], eax
neg ecx
add esp, 4
and ecx, 0xf
add ecx, eax
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x450310
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2010
call fcn.00466a00
mov eax, dword [0x48d1f4]
xor eax, esp
mov dword [esp + 0x200c], eax
push esi
mov esi, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
cmp edi, esi
je 0x45034a
push dword [esp + 0x2024]
push esi
push edi
call fcn.00456ab0
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45041f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450370
sub ecx, edx
mov eax, 0x7ff
sar ecx, 1
sub eax, ecx
add eax, eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1018]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.LanguageFolder
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450415
mov word [esp + 0x14], ax
lea eax, [esp + 0x14]
push 0x800
push eax
lea eax, [esp + 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x800
lea eax, [esp + 0x18]
push eax
call fcn.0043ad70
push 0x800
push esi
call fcn.0043cb30
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00456a50
lea eax, [esp + 0x14]
push eax
call fcn.00429bd0
test al, al
je 0x450415
push dword [esp + 0x2024]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00456ab0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2014]
pop edi
pop esi
xor ecx, esp
call fcn.004669f1
add esp, 0x2010
ret 0xc

Function at 0x450440
Capabilities:
Check os version

Disassembly:
mov eax, 0x1120
call fcn.00466a00
mov eax, dword [0x48d1f4]
xor eax, esp
mov dword [esp + 0x111c], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1130]
cmp byte [esi], 0
je 0x450481
push dword [0x49d0f0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x49d0f4]
mov dword [0x49d0f0], eax
mov byte [esi], 0
lea eax, [esp + 0x124]
push 0x800
test edi, edi
je 0x45049a
push edi
push eax
call fcn.00456ab0
jmp 0x4504a3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push 0x4801f0
lea eax, [esp + 0x12c]
push eax
call fcn.0043cc40
push 0x800
lea eax, [esp + 0x128]
push eax
push eax
call fcn.00450310
lea eax, [esp + 8]
mov dword [esp + 8], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x18], 2
jne 0x45050f
cmp dword [esp + 0xc], 5
ja 0x4504fb
jne 0x45050f
cmp word [esp + 0x11c], 2
jb 0x45050f
push 2
push 0
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x45051d
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x49d0f0], eax
pop edi
setne al
mov byte [esi], al
test al, al
mov eax, dword [esp + 0x1128]
pop esi
mov dword [0x49d0f4], eax
jne 0x450540
mov dword [0x49d0f0], eax
mov ecx, dword [esp + 0x111c]
xor ecx, esp
call fcn.004669f1
add esp, 0x1120
ret 8
Function at 0x450690
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
xor ecx, ecx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x4a15b0], cl
inc ecx
cmp ecx, 0x100
jl 0x450692
push ebx
xor edx, edx
push esi
lea esp, [esp]
mov al, byte [edx + str.cw]
mov bl, 2
mov byte [edx*4 + 0x4a22b1], al
mov cl, al
mov byte [edx*4 + 0x4a22b0], al
xor ah, ah
mov byte [edx*4 + 0x4a1eb3], al
mov byte [edx*4 + 0x4a1eb0], al
mov byte [edx*4 + 0x4a1ab3], al
mov byte [edx*4 + 0x4a1ab2], al
mov byte [edx*4 + 0x4a16b2], al
mov byte [edx*4 + 0x4a16b1], al
mov ch, cl
test bl, 1
je 0x4506fd
xor ah, cl
add cl, cl
test ch, ch
jns 0x450706
xor cl, 0x1b
shr bl, 1
jne 0x4506f4
mov byte [edx*4 + 0x4a22b3], ah
mov cl, 3
mov byte [edx*4 + 0x4a1eb2], ah
xor bl, bl
mov byte [edx*4 + 0x4a1ab1], ah
mov byte [edx*4 + 0x4a16b0], ah
lea ebx, [ebx]
mov ah, al
test cl, 1
je 0x450739
xor bl, al
add al, al
test ah, ah
jns 0x450741
xor al, 0x1b
shr cl, 1
jne 0x450730
mov cl, byte [edx + 0x4a15b0]
xor ah, ah
mov byte [edx*4 + 0x4a22b2], bl
mov al, cl
mov byte [edx*4 + 0x4a1eb1], bl
mov byte [edx*4 + 0x4a1ab0], bl
mov byte [edx*4 + 0x4a16b3], bl
mov bl, 0xb
lea ecx, [ecx]
mov ch, al
test bl, 1
je 0x450779
xor ah, al
add al, al
test ch, ch
jns 0x450781
xor al, 0x1b
shr bl, 1
jne 0x450770
movzx esi, cl
mov al, cl
mov byte [edx*4 + 0x4a32b2], ah
xor bl, bl
mov byte [edx*4 + 0x4a2eb1], ah
mov byte [edx*4 + 0x4a2ab0], ah
mov byte [edx*4 + 0x4a26b3], ah
mov byte [esi*4 + 0x4a42b2], ah
mov byte [esi*4 + 0x4a3eb1], ah
mov byte [esi*4 + 0x4a3ab0], ah
mov byte [esi*4 + 0x4a36b3], ah
mov ah, 9
mov ch, al
test ah, 1
je 0x4507cf
xor bl, al
add al, al
test ch, ch
jns 0x4507d7
xor al, 0x1b
shr ah, 1
jne 0x4507c6
mov byte [edx*4 + 0x4a32b0], bl
mov ah, 0xd
mov byte [edx*4 + 0x4a2eb3], bl
mov al, cl
mov byte [edx*4 + 0x4a2ab2], bl
mov byte [edx*4 + 0x4a26b1], bl
mov byte [esi*4 + 0x4a42b0], bl
mov byte [esi*4 + 0x4a3eb3], bl
mov byte [esi*4 + 0x4a3ab2], bl
mov byte [esi*4 + 0x4a36b1], bl
xor bl, bl
lea esp, [esp]
mov ch, al
test ah, 1
je 0x450829
xor bl, al
add al, al
test ch, ch
jns 0x450831
xor al, 0x1b
shr ah, 1
jne 0x450820
mov byte [edx*4 + 0x4a32b1], bl
xor al, al
mov byte [edx*4 + 0x4a2eb0], bl
mov byte [edx*4 + 0x4a2ab3], bl
mov byte [edx*4 + 0x4a26b2], bl
mov byte [esi*4 + 0x4a42b1], bl
mov byte [esi*4 + 0x4a3eb0], bl
mov byte [esi*4 + 0x4a3ab3], bl
mov byte [esi*4 + 0x4a36b2], bl
mov bl, 0xe
mov ah, cl
test bl, 1
je 0x45087a
xor al, cl
add cl, cl
test ah, ah
jns 0x450883
xor cl, 0x1b
shr bl, 1
jne 0x450871
mov byte [edx*4 + 0x4a32b3], al
mov byte [edx*4 + 0x4a2eb2], al
mov byte [edx*4 + 0x4a2ab1], al
mov byte [edx*4 + 0x4a26b0], al
inc edx
mov byte [esi*4 + 0x4a42b3], al
mov byte [esi*4 + 0x4a3eb2], al
mov byte [esi*4 + 0x4a3ab1], al
mov byte [esi*4 + 0x4a36b0], al
cmp edx, 0x100
jl 0x4506b0
pop esi
pop ebx
ret
Function at 0x4529b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
test edi, edi
jne 0x4529d2
push ebx
push 0
push ebp
call fcn.00468da0
add esp, 0xc
push ebx
push ebp
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x24]
push edi
call fcn.00452700
test al, al
jne 0x452a90
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x452a53
cmp dword [esi + 0x24], ebx
je 0x452a22
push dword [esi + 0x20]
call fcn.004669ec
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004669e3
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
xor edi, edi
test ebx, ebx
je 0x452a4b
mov ebp, dword [esp + 0x1c]
lea esp, [esp]
movzx edx, word [edi + ebp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + edx*4]
mov dword [ecx + edi*4], eax
add edi, 2
cmp edi, ebx
jb 0x452a30
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
xor edx, edx
imul ecx, eax
mov eax, dword [esi + 0x1c]
add ecx, edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 4]
mov edi, dword [eax + ecx*4]
test ebx, ebx
je 0x452a90
lea ecx, [ecx]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi]
add ecx, edi
mov ax, word [eax + ecx*4]
xor word [edx + ebp], ax
add edx, 2
cmp edx, ebx
jb 0x452a70
lea esp, [esp]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x453940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1058
call fcn.00466a00
mov eax, dword [0x48d1f4]
xor eax, esp
mov dword [esp + 0x1054], eax
push ebp
push esi
mov esi, dword [esp + 0x1064]
mov ebp, ecx
cmp byte [esi], 0
je 0x453b84
push ebx
push edi
lea ebx, [ebp + 0x101e]
push ebx
call fcn.0043cb30
mov edi, eax
cmp edi, ebx
jbe 0x4539a5
xor eax, eax
push ebx
mov word [edi - 2], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [edi - 2], cx
cmp eax, 0xffffffff
je 0x4539a5
test eax, 0x400
je 0x4539a5
mov byte [esi], 0
push 0x480284
push ebx
call fcn.004690fb
add esp, 8
test eax, eax
jne 0x453b7f
cmp byte [esi], al
je 0x453b82
mov ecx, dword [ebp + 0x40f0]
test ecx, ecx
je 0x4539e0
push 1
push 1
push eax
push ebx
call fcn.00417860
test al, al
jne 0x453b7f
cmp byte [esi], 0
je 0x453b82
mov ecx, dword [ebp + 0x30e0]
test ecx, ecx
je 0x4539f9
push ebx
call fcn.00456b50
mov edi, dword [ebp + 0x30e4]
test edi, edi
je 0x453ae4
mov ecx, dword [edi + 4]
mov esi, dword [ebp + 0x30ec]
inc ecx
mov dword [esp + 0x14], esi
mov dword [edi + 4], ecx
cmp ecx, dword [edi + 8]
jbe 0x453adb
mov eax, dword [edi + 0xc]
test eax, eax
je 0x453a49
cmp ecx, eax
jbe 0x453a49
push eax
push str.Maximum_allowed_array_size___u__is_exceeded
push 0x49d17c
call fcn.004212e0
add esp, 0xc
mov ecx, 0x49d17c
call fcn.004213d0
mov ecx, dword [edi + 8]
mov eax, ecx
shr eax, 2
add ecx, 0x20
add ecx, eax
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, ecx
ja 0x453a67
mov eax, ecx
mov dword [esp + 0x10], ecx
shl eax, 2
cmp byte [edi + 0x10], 0
push eax
je 0x453ab8
call fcn.0046a8f8
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x453a89
mov ecx, 0x49d17c
call fcn.004213d0
mov eax, dword [edi]
test eax, eax
je 0x453ad2
mov esi, dword [edi + 8]
shl esi, 2
push esi
push eax
push ebp
call fcn.00468820
add esp, 0xc
push esi
push dword [edi]
call fcn.00454020
push dword [edi]
call fcn.0046a8f3
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x453ad2
push dword [edi]
call fcn.0046a903
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x453ad2
mov ecx, 0x49d17c
call fcn.004213d0
mov eax, dword [esp + 0x10]
mov dword [edi], ebp
mov dword [edi + 8], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [eax + ecx*4 - 4], esi
push 0x800
lea eax, [esp + 0x68]
push eax
push ebx
call fcn.0043adf0
xor eax, eax
mov dword [esp + 0x1c], 0x47d694
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x20], 0x47d694
mov dword [esp + 0x24], 0x47d694
mov dword [esp + 0x28], 0x47d694
mov dword [esp + 0x2c], 0x47d694
mov dword [esp + 0x30], 0x47d694
mov dword [esp + 0x34], 0x47d694
mov dword [esp + 0x60], 0x57
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 1
call fcn.00458680
mov ecx, 0x49d17c
call fcn.00421c60
jmp 0x453b82
mov byte [esi], 0
pop edi
pop ebx
mov ecx, dword [esp + 0x105c]
pop esi
pop ebp
xor ecx, esp
call fcn.004669f1
add esp, 0x1058
ret 4
Function at 0x453d30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, ecx
push edi
cmp eax, ebx
jb 0x453d47
mov eax, ebx
mov edi, dword [esp + 0x24]
add eax, eax
push eax
push dword [esp + 0x20]
push edi
call fcn.00468820
mov al, byte [esi + 0x101]
add esp, 0xc
mov ebp, dword [0x4a46b8]
add ebx, ebx
mov byte [esp + 0x13], al
test ebp, ebp
jne 0x453ddb
cmp byte [0x4a46b4], 0
jne 0x453ddb
push str.Crypt32.dll
call fcn.00457400
mov dword [0x4a46b0], eax
test eax, eax
je 0x453dc6
push str.CryptProtectMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptUnprotectMemory
push dword [0x4a46b0]
mov dword [0x4a46b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [0x4a46b8]
mov esi, eax
mov dword [0x4a46bc], esi
mov byte [0x4a46b4], 1
jmp 0x453de1
mov esi, dword [0x4a46bc]
mov ebp, dword [0x4a46b8]
mov byte [0x4a46b4], 1
jmp 0x453de1
mov esi, dword [0x4a46bc]
xor ecx, ecx
mov eax, ebx
and eax, 0xfffffff0
cmp byte [esp + 0x13], cl
setne cl
cmp byte [esp + 0x2c], 0
je 0x453e3d
test ebp, ebp
je 0x453e59
push ecx
push eax
push edi
mov ecx, ebp
call dword [0x47d2b8]
call ebp
test eax, eax
jne 0x453e82
push str.CryptProtectMemory_failed
push 0x49d17c
call fcn.004212e0
add esp, 8
mov ecx, 0x49d17c
call fcn.00421c60
push 2
mov ecx, 0x49d17c
call fcn.00421270
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
test esi, esi
je 0x453e59
push ecx
push eax
push edi
mov ecx, esi
call dword [0x47d2b8]
call esi
test eax, eax
jne 0x453e82
push str.CryptUnprotectMemory_failed
jmp 0x453e10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x453e82
lea esp, [esp]
add al, 0x4b
lea ecx, [edx + edi]
add al, dl
inc edx
xor byte [ecx], al
mov eax, dword [esp + 0x14]
cmp edx, ebx
jb 0x453e70
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x14
Function at 0x453e90
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [0x4a46b8]
test edi, edi
jne 0x453f08
cmp byte [0x4a46b4], 0
jne 0x453f08
push str.Crypt32.dll
call fcn.00457400
mov dword [0x4a46b0], eax
test eax, eax
je 0x453ef3
push str.CryptProtectMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptUnprotectMemory
push dword [0x4a46b0]
mov dword [0x4a46b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [0x4a46b8]
mov esi, eax
mov dword [0x4a46bc], esi
mov byte [0x4a46b4], 1
jmp 0x453f0e
mov esi, dword [0x4a46bc]
mov edi, dword [0x4a46b8]
mov byte [0x4a46b4], 1
jmp 0x453f0e
mov esi, dword [0x4a46bc]
mov ebx, dword [esp + 0x18]
mov eax, ebx
movzx ecx, byte [esp + 0x20]
and eax, 0xfffffff0
cmp byte [esp + 0x1c], 0
je 0x453f6a
test edi, edi
je 0x453f89
push ecx
push eax
push dword [esp + 0x1c]
mov ecx, edi
call dword [0x47d2b8]
call edi
test eax, eax
jne 0x453fb2
push str.CryptProtectMemory_failed
push 0x49d17c
call fcn.004212e0
add esp, 8
mov ecx, 0x49d17c
call fcn.00421c60
push 2
mov ecx, 0x49d17c
call fcn.00421270
pop edi
pop esi
pop ebx
pop ecx
ret 0x10
test esi, esi
je 0x453f89
push ecx
push eax
push dword [esp + 0x1c]
mov ecx, esi
call dword [0x47d2b8]
call esi
test eax, eax
jne 0x453fb2
push str.CryptUnprotectMemory_failed
jmp 0x453f40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x453fb2
mov esi, dword [esp + 0x14]
lea ecx, [ecx]
add al, 0x4b
lea ecx, [edx + esi]
add al, dl
inc edx
xor byte [ecx], al
mov eax, dword [esp + 0xc]
cmp edx, ebx
jb 0x453fa0
pop edi
pop esi
pop ebx
pop ecx
ret 0x10
Function at 0x455730
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x4c
mov eax, dword [0x48d1f4]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0x18]
mov ebp, edi
mov eax, dword [esi + 0x1c]
and edi, 0x3f
shld eax, ebp, 3
shl ebp, 3
mov byte [esi + edi + 0x20], 0x80
inc edi
mov dword [esp + 0x10], eax
cmp edi, 0x38
je 0x4557c4
jbe 0x4557a3
cmp edi, 0x40
jae 0x45578e
mov eax, 0x40
lea ecx, [esi + 0x20]
sub eax, edi
add ecx, edi
push eax
push 0
push ecx
call fcn.00468da0
add esp, 0xc
push 1
lea ebx, [esi + 0x20]
xor edi, edi
push ebx
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00454610
jmp 0x4557a6
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edi
push eax
lea eax, [esi + 0x20]
add eax, edi
push 0
push eax
call fcn.00468da0
mov eax, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4557c7
lea ebx, [esi + 0x20]
bswap eax
push 1
mov dword [esi + 0x58], eax
lea eax, [esp + 0x1c]
push ebx
push eax
bswap ebp
push esi
mov dword [esi + 0x5c], ebp
call fcn.00454610
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004669f1
add esp, 0x4c
ret 8

Function at 0x455850
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4
Function at 0x455aa0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x20]
mov ebx, esi
mov ebp, dword [edi + 0x24]
and esi, 0x3f
shld ebp, ebx, 3
shl ebx, 3
mov byte [esi + edi + 0x28], 0x80
inc esi
cmp esi, 0x38
je 0x455b04
jbe 0x455aec
cmp esi, 0x40
jae 0x455ae4
mov eax, 0x40
lea ecx, [edi + 0x28]
sub eax, esi
add ecx, esi
push eax
push 0
push ecx
call fcn.00468da0
add esp, 0xc
push edi
xor esi, esi
call fcn.00455e50
mov eax, 0x38
sub eax, esi
push eax
lea eax, [edi + 0x28]
add eax, esi
push 0
push eax
call fcn.00468da0
add esp, 0xc
bswap ebp
bswap ebx
push edi
mov dword [edi + 0x60], ebp
mov dword [edi + 0x64], ebx
call fcn.00455e50
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
bswap eax
mov dword [ecx], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
bswap eax
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x18]
bswap eax
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x1c]
bswap eax
mov dword [ecx + 0x1c], eax
mov dword [edi], 0x6a09e667
mov dword [edi + 4], 0xbb67ae85
mov dword [edi + 8], 0x3c6ef372
mov dword [edi + 0xc], 0xa54ff53a
mov dword [edi + 0x10], 0x510e527f
mov dword [edi + 0x14], 0x9b05688c
mov dword [edi + 0x18], 0x1f83d9ab
mov dword [edi + 0x1c], 0x5be0cd19
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x455bb0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
ret 4