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

Disassembly:
push 0x2c
mov eax, 0x439ce0
call fcn.00438b46
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
test esi, esi
jne 0x40e801
mov al, 1
jmp 0x40e932
cmp dword [ebx + 0x10], 1
lea ecx, [ebx + 8]
mov dword [ebp - 0x34], ecx
jne 0x40e81f
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebx + 8]
mov dword [ecx], eax
jmp 0x40e900
mov dword [ebp - 0x34], ecx
and dword [ebp - 0x30], 0
xor dl, dl
cmp dword [ebx + 0x10], 0
mov byte [ebp - 0x29], dl
je 0x40e876
xor edi, edi
test esi, esi
je 0x40e896
mov eax, esi
mov edx, 0x4000
sub eax, edi
cmp eax, edx
jb 0x40e846
mov eax, edx
push 0
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x38]
add eax, edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dl
mov byte [ebp - 0x29], dl
test eax, eax
je 0x40e88e
mov ecx, dword [ebp - 0x34]
add edi, 0x4000
cmp edi, esi
jb 0x40e837
jmp 0x40e88e
push 0
lea edx, [ebp - 0x30]
push edx
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dl
mov byte [ebp - 0x29], dl
test dl, dl
jne 0x40e92b
cmp byte [ebx + 0x1e], 0
je 0x40e92b
cmp dword [ebx + 0x10], 0
jne 0x40e92b
push ecx
lea edi, [ebx + 0x34]
push edi
call fcn.00409ee2
test al, al
je 0x40e908
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x30], esi
jae 0x40e822
cmp dword [ebp - 0x30], 0
jbe 0x40e822
mov edi, dword [ebx]
mov esi, dword [edi + 0x14]
mov ecx, esi
call dword [0x43c270]
mov ecx, ebx
call esi
sub eax, dword [ebp - 0x30]
mov ecx, dword [edi + 0x10]
push 0
sbb edx, 0
push edx
push eax
call dword [0x43c270]
mov ecx, ebx
call dword [edi + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
jmp 0x40e822
push 0x4422dc
lea ecx, [ebp - 0x28]
call fcn.00401d16
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00409ec4
lea ecx, [ebp - 0x28]
call fcn.00401e5c
mov al, byte [ebp - 0x29]
mov byte [ebx + 0xc], 1
call fcn.00438af5
ret 8

Function at 0x40efe4
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x4397a3
call fcn.00438b46
mov bl, dl
mov esi, ecx
call fcn.00410c1c
movzx eax, ax
cmp eax, 0x2e
je 0x40f01e
cmp eax, 0x20
je 0x40f01e
push 0
mov ecx, esi
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
jne 0x40f068
jmp 0x40f020
xor edi, edi
mov ecx, esi
call fcn.0040f2f4
test al, al
jne 0x40f07a
lea ecx, [ebp - 0x2c]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.004117b2
test al, al
je 0x40f058
push 0
lea ecx, [ebp - 0x2c]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401e5c
test edi, edi
je 0x40f07a
test bl, bl
je 0x40f076
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.0040f381
xor eax, eax
jmp 0x40f092
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
push 2
pop eax
cmp ecx, eax
je 0x40f092
xor eax, eax
cmp ecx, 3
sete al
inc eax
call fcn.00438af5
ret 4
Function at 0x40f325
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x439337
call fcn.00438b46
mov edi, ecx
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f379
lea ecx, [ebp - 0x28]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.004117b2
test al, al
je 0x40f371
lea ecx, [ebp - 0x28]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00401e5c
mov eax, esi
call fcn.00438af5
ret

Function at 0x40f381
Capabilities:
Set file attributes

Disassembly:
push 0x1c
mov eax, 0x439337
call fcn.00438b46
mov esi, edx
mov edi, ecx
push esi
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
test eax, eax
jne 0x40f3de
lea ecx, [ebp - 0x28]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.004117b2
test al, al
je 0x40f3d6
push esi
lea ecx, [ebp - 0x28]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
lea ecx, [ebp - 0x28]
call fcn.00401e5c
mov al, bl
call fcn.00438af5
ret
Function at 0x40f9e6
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x439f50
call fcn.00438b46
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
cmp esi, 0xffffffff
jne 0x40fa87
mov ecx, ebx
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40faa3
lea ecx, [ebp - 0x2c]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.004117b2
test al, al
je 0x40fa53
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401e5c
cmp esi, 0xffffffff
jne 0x40faa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40fa7d
cmp eax, 3
je 0x40fa7d
cmp eax, 0x12
je 0x40fa7d
mov al, 1
jmp 0x40fa7f
xor al, al
mov byte [edi + 0x5c], al
jmp 0x40fb56
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40faa3
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x40fa7f
push ebx
mov ecx, edi
call fcn.0040335d
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401d16
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov ecx, edi
call fcn.00410e16
lea ecx, [ebp - 0x2c]
call fcn.00401e5c
mov ecx, dword [ebp - 0x260]
xor eax, eax
add eax, dword [ebp - 0x25c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x27c]
adc ecx, 0
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x278]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x274]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x270]
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 0x26c]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x268]
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp - 0x264]
mov dword [edi + 0x50], eax
lea eax, [ebp - 0x268]
mov dword [edi + 0x54], ecx
lea ecx, [edi + 0x28]
push eax
call fcn.00417920
lea eax, [ebp - 0x278]
push eax
lea ecx, [edi + 0x30]
call fcn.00417920
lea eax, [ebp - 0x270]
push eax
lea ecx, [edi + 0x38]
call fcn.00417920
and dword [edi + 0x58], 0
mov eax, esi
call fcn.00438af5
ret 4

Function at 0x40fff5
Capabilities:
Hash data using crc32b

Disassembly:
mov ecx, dword [esp + 4]
push edi
xor edi, edi
test ecx, ecx
je 0x41002c
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41002b
mov eax, esi
mov edx, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
sar edx, 0x1f
and eax, ecx
shr esi, 1
and edx, 0x4c11db7
add ecx, ecx
xor edi, eax
xor ecx, edx
jne 0x410005
pop esi
mov eax, edi
pop edi
ret 8
Function at 0x410430
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x2c
mov eax, 0x43a03d
call fcn.00438b13
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x43c8a0
push 1
push ebx
push 0x43c8b0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41061f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
push 0x442948
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
call fcn.004107ce
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00410816
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x43c270]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0041078b
test esi, esi
js 0x41060c
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
js 0x4105fc
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
push str.SELECT__FROM_Win32_OperatingSystem
mov edi, dword [eax + 0x50]
call fcn.004106d1
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00410816
push 0x442984
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004106d1
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00410816
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x30
push esi
push eax
push dword [ebp - 0x10]
mov ecx, edi
call dword [0x43c270]
call edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0041078b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041078b
test esi, esi
js 0x4105f9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4105f9
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
mov esi, dword [eax]
push ecx
push 1
push 0xffffffffffffffff
mov ecx, dword [esi + 0x10]
push eax
call dword [0x43c270]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4105bc
cmp dword [ebp - 0x20], ebx
jbe 0x4105bc
mov esi, dword [eax]
lea ecx, [ebp - 0x38]
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push 0x442988
push eax
call dword [0x43c270]
call dword [esi + 0x10]
mov ecx, dword [ebp - 0x30]
call fcn.004106a4
test eax, eax
lea eax, [ebp - 0x38]
push eax
setne bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
mov al, bl
jmp 0x410621
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43c270]
call esi
xor al, al
call fcn.00438ae1
ret
Function at 0x410627
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x449020]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp byte [0x452531], 0
jne 0x41068a
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 0xa
ja 0x41067a
jne 0x410676
cmp dword [ebp - 0x74], 0x55f0
jb 0x410676
call fcn.00410430
test al, al
je 0x41067a
xor al, al
jmp 0x41067c
mov al, 1
mov byte [0x452530], al
mov byte [0x452531], 1
jmp 0x41068f
mov al, byte [0x452530]
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00423145
add ebp, 0x98
leave
ret

Function at 0x4148d3
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
mov edx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edx + 0x18]
mov dword [esp + 0xc], eax
movups xmm2, xmmword [edx + 8]
test esi, esi
je 0x414956
mov ecx, dword [ebp + 8]
mov eax, ecx
add ecx, 0x10
mov dword [ebp + 8], ecx
mov ecx, dword [edx + 4]
movups xmm3, xmmword [eax]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0xc]
dec ecx
movups xmm1, xmmword [eax]
pxor xmm1, xmm3
test ecx, ecx
jle 0x414933
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0xc]
movups xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x414923
cmp byte [edx + 1], 0
movups xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x414946
pxor xmm1, xmm2
mov eax, edi
movaps xmm2, xmm3
add edi, 0x10
movups xmmword [eax], xmm1
sub esi, 1
jne 0x4148f4
pop edi
movups xmmword [edx + 8], xmm2
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414962
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x34
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x20
push eax
mov esi, dword [ebp + 4]
lea eax, [esp + 0x28]
sub esi, 6
mov dword [esp + 0x1c], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.00424830
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x4149ee
cmp ebx, dword [ebp + 4]
jg 0x414b52
cmp edi, esi
jge 0x4149db
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x4149d7
mov esi, dword [esp + 0x14]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x4149b7
mov ebp, dword [esp + 0x14]
cmp edx, 4
jne 0x4149e1
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x4149a2
cmp ebx, dword [ebp + 4]
jg 0x414b52
mov edi, 0x4423f0
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + str.cw]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + str.cw]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + str.cw]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + str.cw]
xor byte [esp + 0x23], al
mov al, byte [edi]
inc edi
xor al, cl
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], al
cmp esi, 8
je 0x414a7f
cmp esi, 1
jle 0x414a73
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x414a61
sub dword [esp + 0x10], 1
jne 0x414a5e
xor edi, edi
test esi, esi
jle 0x414b45
jmp 0x414afd
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x414a8e
sub dword [esp + 0x10], 1
jne 0x414a8b
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], 3
mov al, byte [eax + str.cw]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + str.cw]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + str.cw]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + str.cw]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x414aeb
sub dword [esp + 0x10], 1
jne 0x414ae8
cmp ebx, dword [ebp + 4]
jg 0x414b48
cmp edi, esi
jge 0x414b32
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x414b2e
mov esi, dword [esp + 0x14]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x414b0e
mov ebp, dword [esp + 0x14]
cmp edx, 4
jne 0x414b38
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x414afd
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x4149fc
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423145
add esp, 0x34
ret 4
Function at 0x414b67
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
inc ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 8], ebx
cmp dword [ebp + 4], ebx
jle 0x414c20
push esi
push edi
lea edi, [ebp + 0x28]
mov dword [esp + 0x14], edi
lea eax, [edi + 2]
xor esi, esi
mov dword [esp + 0x18], eax
lea ebx, [esp + 0x20]
mov ebp, eax
push 4
add ebx, esi
pop edi
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp - 1]
mov dl, byte [esi + eax*4 + 0x452130]
movzx eax, byte [ebp - 2]
xor dl, byte [esi + ecx*4 + 0x451930]
xor dl, byte [esi + eax*4 + 0x451530]
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
xor dl, byte [esi + eax*4 + 0x451d30]
mov byte [ebx], dl
lea ebx, [ebx + 4]
sub edi, 1
jne 0x414baa
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 4
jl 0x414b9f
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0x10
push eax
push edi
call fcn.00424830
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
inc ebx
add edi, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
cmp ebx, dword [ebp + 4]
jl 0x414b96
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
call fcn.00423145
add esp, 0x24
ret
Function at 0x414c4c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x44f430], cl
inc ecx
cmp ecx, ebp
jl 0x414c59
mov bl, byte [edi + str.cw]
mov dl, 2
mov cl, bl
mov byte [edi*4 + 0x450131], bl
mov byte [edi*4 + 0x450130], bl
mov byte [edi*4 + 0x44fd33], bl
mov byte [edi*4 + 0x44fd30], bl
mov byte [edi*4 + 0x44f933], bl
mov byte [edi*4 + 0x44f932], bl
mov byte [edi*4 + 0x44f532], bl
mov byte [edi*4 + 0x44f531], bl
call fcn.00414c31
mov dl, 3
mov byte [edi*4 + 0x450133], al
mov cl, bl
mov byte [edi*4 + 0x44fd32], al
mov byte [edi*4 + 0x44f931], al
mov byte [edi*4 + 0x44f530], al
call fcn.00414c31
mov bl, byte [edi + 0x44f430]
mov dl, 0xb
mov cl, bl
mov byte [edi*4 + 0x450132], al
mov byte [edi*4 + 0x44fd31], al
mov byte [edi*4 + 0x44f930], al
mov byte [edi*4 + 0x44f533], al
call fcn.00414c31
movzx esi, bl
mov dl, 9
mov cl, bl
mov byte [edi*4 + 0x451132], al
mov byte [edi*4 + 0x450d31], al
mov byte [edi*4 + 0x450930], al
mov byte [edi*4 + 0x450533], al
mov byte [esi*4 + 0x452132], al
mov byte [esi*4 + 0x451d31], al
mov byte [esi*4 + 0x451930], al
mov byte [esi*4 + 0x451533], al
call fcn.00414c31
mov dl, 0xd
mov byte [edi*4 + 0x451130], al
mov cl, bl
mov byte [edi*4 + 0x450d33], al
mov byte [edi*4 + 0x450932], al
mov byte [edi*4 + 0x450531], al
mov byte [esi*4 + 0x452130], al
mov byte [esi*4 + 0x451d33], al
mov byte [esi*4 + 0x451932], al
mov byte [esi*4 + 0x451531], al
call fcn.00414c31
mov dl, 0xe
mov byte [edi*4 + 0x451131], al
mov cl, bl
mov byte [edi*4 + 0x450d30], al
mov byte [edi*4 + 0x450933], al
mov byte [edi*4 + 0x450532], al
mov byte [esi*4 + 0x452131], al
mov byte [esi*4 + 0x451d30], al
mov byte [esi*4 + 0x451933], al
mov byte [esi*4 + 0x451532], al
call fcn.00414c31
mov byte [edi*4 + 0x451133], al
mov byte [edi*4 + 0x450d32], al
mov byte [edi*4 + 0x450931], al
mov byte [edi*4 + 0x450530], al
inc edi
mov byte [esi*4 + 0x452133], al
mov byte [esi*4 + 0x451d32], al
mov byte [esi*4 + 0x451931], al
mov byte [esi*4 + 0x451530], al
cmp edi, ebp
jl 0x414c6b
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x415035
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x44a868]
mov ebx, ecx
push edi
mov edi, edx
test esi, esi
jne 0x41505d
mov ecx, 0x44a860
call fcn.00414e46
mov esi, dword [0x44a868]
movzx ecx, byte [ebp + 0xc]
mov eax, edi
and eax, 0xfffffff0
cmp byte [ebp + 8], 0
je 0x4150a3
test esi, esi
je 0x4150c5
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43c270]
call esi
test eax, eax
jne 0x4150e7
push str.CryptProtectMemory_failed
mov esi, 0x44a850
push esi
call fcn.00409f3c
pop ecx
pop ecx
call fcn.0040a1c6
push 2
mov ecx, esi
call fcn.0040a0f9
jmp 0x4150e7
mov esi, dword [0x44a86c]
test esi, esi
je 0x4150c5
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43c270]
call esi
test eax, eax
jne 0x4150e7
push str.CryptUnprotectMemory_failed
jmp 0x415086
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0xc], eax
test edi, edi
je 0x4150e7
add al, 0x4b
lea ecx, [edx + ebx]
add al, dl
xor byte [ecx], al
inc edx
mov eax, dword [esp + 0xc]
cmp edx, edi
jb 0x4150d5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415980
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret

Function at 0x415c23
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret
Function at 0x415c63
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x13c
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x30], edi
lea ecx, [edi + 0x28]
add ecx, esi
call fcn.0040fbdb
mov dword [esp + esi + 0x48], eax
add esi, 4
cmp esi, 0x40
jb 0x415c83
push 0x30
lea ebx, [esp + 0x84]
pop ebp
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub ebp, 1
jne 0x415ca3
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov esi, dword [edi + 0x14]
mov ebp, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, ebp
rol eax, 7
mov dword [esp + 0x40], esi
mov esi, ebp
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov eax, ebp
mov edx, dword [esp + 0x1c]
mov ecx, ebp
ror eax, 6
not ecx
and ecx, dword [esp + 0x10]
xor esi, eax
mov eax, edx
mov dword [esp + 0x1c], ebp
and eax, ebp
mov dword [esp + 0x3c], ebp
xor ecx, eax
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
add esi, ecx
add esi, dword [ebx + 0x442500]
add esi, dword [esp + ebx + 0x48]
add ebx, 4
add esi, dword [esp + 0x24]
mov dword [esp + 0x24], eax
add ebp, esi
mov dword [esp + 0x10], edx
mov eax, edi
rol eax, 0xa
mov edx, edi
ror edx, 0xd
xor edx, eax
mov dword [esp + 0x20], edi
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x14]
and ecx, edi
xor ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea edi, [edx + esi]
mov esi, dword [esp + 0x1c]
mov edx, eax
cmp ebx, 0x100
jb 0x415d1a
mov eax, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x30]
add dword [edi + 4], ecx
mov ecx, dword [esp + 0x34]
add dword [edi + 8], ecx
mov ecx, dword [esp + 0x38]
add dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x3c]
add dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x40]
add dword [edi + 0x18], ecx
add dword [edi + 0x10], ebp
mov ecx, dword [esp + 0x44]
add dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x148]
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423145
add esp, 0x13c
ret