joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e450
Capabilities:
Check if file exists

Disassembly:
push 0x8c
mov eax, 0x4394c6
call fcn.00438246
mov edi, ecx
and dword [edi + 0x4c], 0
cmp byte [edi + 0x30], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
jne 0x40e480
test bl, 4
jne 0x40e480
xor cl, cl
jmp 0x40e482
mov cl, 1
mov esi, ebx
shr esi, 1
not esi
and esi, 1
inc esi
shl esi, 0x1e
test bl, 1
je 0x40e49a
or esi, 0x40000000
shr ebx, 3
not ebx
and ebx, 1
test cl, cl
je 0x40e4a9
or ebx, 2
lea ecx, [ebp - 0x88]
call fcn.0040a722
xor eax, eax
mov dword [ebp - 4], eax
cmp byte [edi + 0x24], al
je 0x40e4c4
or esi, 0x100
mov ecx, dword [ebp - 0x90]
push eax
push 0x8000000
push 3
push eax
push ebx
push esi
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
jne 0x40e561
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x94], eax
call fcn.004021e6
mov ecx, dword [ebp - 0x90]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00411520
test al, al
je 0x40e547
push 0
push 0x8000000
push 3
push 0
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40e547
push eax
pop ebx
jmp 0x40e54d
mov ebx, dword [ebp - 0x94]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401e5c
mov eax, dword [ebp - 0x8c]
jmp 0x40e567
mov ebx, dword [ebp - 0x94]
cmp eax, 0xffffffff
jne 0x40e578
cmp ebx, 2
jne 0x40e578
mov dword [edi + 0x4c], 1
cmp byte [edi + 0x24], 0
je 0x40e5a9
cmp eax, 0xffffffff
je 0x40e5a9
or dword [ebp - 0x98], 0xffffffff
lea ecx, [ebp - 0x98]
or dword [ebp - 0x94], 0xffffffff
push 0
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
cmp eax, 0xffffffff
mov byte [edi + 0x1c], cl
mov dword [edi + 0x10], ecx
setne bl
mov byte [edi + 0x15], cl
je 0x40e5d1
push dword [ebp - 0x90]
lea ecx, [edi + 0x34]
mov dword [edi + 8], eax
call fcn.0040335d
mov byte [edi + 0x25], 0
lea ecx, [ebp - 0x88]
call fcn.0040a746
mov al, bl
call fcn.004381f5
ret 8
Function at 0x40e7af
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x4393e0
call fcn.00438246
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
test esi, esi
jne 0x40e7d1
mov al, 1
jmp 0x40e902
cmp dword [ebx + 0x10], 1
lea ecx, [ebx + 8]
mov dword [ebp - 0x34], ecx
jne 0x40e7ef
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebx + 8]
mov dword [ecx], eax
jmp 0x40e8d0
mov dword [ebp - 0x34], ecx
and dword [ebp - 0x30], 0
xor dl, dl
cmp dword [ebx + 0x10], 0
mov byte [ebp - 0x29], dl
je 0x40e846
xor edi, edi
test esi, esi
je 0x40e866
mov eax, esi
mov edx, 0x4000
sub eax, edi
cmp eax, edx
jb 0x40e816
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 0x40e85e
mov ecx, dword [ebp - 0x34]
add edi, 0x4000
cmp edi, esi
jb 0x40e807
jmp 0x40e85e
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 0x40e8fb
cmp byte [ebx + 0x1e], 0
je 0x40e8fb
cmp dword [ebx + 0x10], 0
jne 0x40e8fb
push ecx
lea edi, [ebx + 0x34]
push edi
call fcn.00409eb2
test al, al
je 0x40e8d8
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x30], esi
jae 0x40e7f2
cmp dword [ebp - 0x30], 0
jbe 0x40e7f2
mov edi, dword [ebx]
mov esi, dword [edi + 0x14]
mov ecx, esi
call dword [0x43b26c]
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 [0x43b26c]
mov ecx, ebx
call dword [edi + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
jmp 0x40e7f2
push 0x4412dc
lea ecx, [ebp - 0x28]
call fcn.00401d16
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00409e94
lea ecx, [ebp - 0x28]
call fcn.00401e5c
mov al, byte [ebp - 0x29]
mov byte [ebx + 0xc], 1
call fcn.004381f5
ret 8

Function at 0x40efb4
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x438ea3
call fcn.00438246
mov bl, dl
mov esi, ecx
call fcn.0041098a
movzx eax, ax
cmp eax, 0x2e
je 0x40efee
cmp eax, 0x20
je 0x40efee
push 0
mov ecx, esi
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
jne 0x40f038
jmp 0x40eff0
xor edi, edi
mov ecx, esi
call fcn.0040f2c4
test al, al
jne 0x40f04a
lea ecx, [ebp - 0x2c]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.00411520
test al, al
je 0x40f028
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 0x40f04a
test bl, bl
je 0x40f046
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.0040f34e
xor eax, eax
jmp 0x40f062
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
push 2
pop eax
cmp ecx, eax
je 0x40f062
xor eax, eax
cmp ecx, 3
sete al
inc eax
call fcn.004381f5
ret 4
Function at 0x40f2f2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x438a37
call fcn.00438246
mov edi, ecx
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f346
lea ecx, [ebp - 0x28]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.00411520
test al, al
je 0x40f33e
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.004381f5
ret

Function at 0x40f34e
Capabilities:
Set file attributes

Disassembly:
push 0x1c
mov eax, 0x438a37
call fcn.00438246
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 0x40f3ab
lea ecx, [ebp - 0x28]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.00411520
test al, al
je 0x40f3a3
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.004381f5
ret
Function at 0x40f9b3
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x439650
call fcn.00438246
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
cmp esi, 0xffffffff
jne 0x40fa54
mov ecx, ebx
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40fa70
lea ecx, [ebp - 0x2c]
call fcn.004021e6
and dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.00411520
test al, al
je 0x40fa20
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 0x40fa70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40fa4a
cmp eax, 3
je 0x40fa4a
cmp eax, 0x12
je 0x40fa4a
mov al, 1
jmp 0x40fa4c
xor al, al
mov byte [edi + 0x5c], al
jmp 0x40fb23
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40fa70
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x40fa4c
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.00410b84
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.00417580
lea eax, [ebp - 0x278]
push eax
lea ecx, [edi + 0x30]
call fcn.00417580
lea eax, [ebp - 0x270]
push eax
lea ecx, [edi + 0x38]
call fcn.00417580
and dword [edi + 0x58], 0
mov eax, esi
call fcn.004381f5
ret 4
Function at 0x41019e
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x2c
mov eax, 0x4396fb
call fcn.00438213
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x43b8a0
push 1
push ebx
push 0x43b8b0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41038d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
push 0x441948
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
call fcn.0041053c
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00410584
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 [0x43b26c]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004104f9
test esi, esi
js 0x41037a
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 0x41036a
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.0041043f
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00410584
push 0x441984
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0041043f
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00410584
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0x30
push esi
push eax
push dword [ebp - 0x10]
mov ecx, edi
call dword [0x43b26c]
call edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004104f9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004104f9
test esi, esi
js 0x410367
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410367
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 [0x43b26c]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41032a
cmp dword [ebp - 0x20], ebx
jbe 0x41032a
mov esi, dword [eax]
lea ecx, [ebp - 0x38]
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push 0x441988
push eax
call dword [0x43b26c]
call dword [esi + 0x10]
mov ecx, dword [ebp - 0x30]
call fcn.00410412
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 [0x43b26c]
call esi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov al, bl
jmp 0x41038f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43b26c]
call esi
xor al, al
call fcn.004381e1
ret
Function at 0x410395
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x448020]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp byte [0x44f531], 0
jne 0x4103f8
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 0xa
ja 0x4103e8
jne 0x4103e4
cmp dword [ebp - 0x74], 0x55f0
jb 0x4103e4
call fcn.0041019e
test al, al
je 0x4103e8
xor al, al
jmp 0x4103ea
mov al, 1
mov byte [0x44f530], al
mov byte [0x44f531], 1
jmp 0x4103fd
mov al, byte [0x44f530]
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00422815
add ebp, 0x98
leave
ret

Function at 0x4145ff
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 0x414682
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 0x41465f
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 0x41464f
cmp byte [edx + 1], 0
movups xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x414672
pxor xmm1, xmm2
mov eax, edi
movaps xmm2, xmm3
add edi, 0x10
movups xmmword [eax], xmm1
sub esi, 1
jne 0x414620
pop edi
movups xmmword [edx + 8], xmm2
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41468e
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x34
mov eax, dword [0x448020]
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.00423f00
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x41471a
cmp ebx, dword [ebp + 4]
jg 0x41487e
cmp edi, esi
jge 0x414707
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x414703
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 0x4146e3
mov ebp, dword [esp + 0x14]
cmp edx, 4
jne 0x41470d
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x4146ce
cmp ebx, dword [ebp + 4]
jg 0x41487e
mov edi, 0x4413f0
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 0x4147ab
cmp esi, 1
jle 0x41479f
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 0x41478d
sub dword [esp + 0x10], 1
jne 0x41478a
xor edi, edi
test esi, esi
jle 0x414871
jmp 0x414829
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 0x4147ba
sub dword [esp + 0x10], 1
jne 0x4147b7
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 0x414817
sub dword [esp + 0x10], 1
jne 0x414814
cmp ebx, dword [ebp + 4]
jg 0x414874
cmp edi, esi
jge 0x41485e
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x41485a
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 0x41483a
mov ebp, dword [esp + 0x14]
cmp edx, 4
jne 0x414864
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x414829
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x414728
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422815
add esp, 0x34
ret 4
Function at 0x414893
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x448020]
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 0x41494c
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 + 0x44f130]
movzx eax, byte [ebp - 2]
xor dl, byte [esi + ecx*4 + 0x44e930]
xor dl, byte [esi + eax*4 + 0x44e530]
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
xor dl, byte [esi + eax*4 + 0x44ed30]
mov byte [ebx], dl
lea ebx, [ebx + 4]
sub edi, 1
jne 0x4148d6
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 4
jl 0x4148cb
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0x10
push eax
push edi
call fcn.00423f00
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 0x4148c2
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
call fcn.00422815
add esp, 0x24
ret
Function at 0x414978
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 + 0x44c430], cl
inc ecx
cmp ecx, ebp
jl 0x414985
mov bl, byte [edi + str.cw]
mov dl, 2
mov cl, bl
mov byte [edi*4 + 0x44d131], bl
mov byte [edi*4 + 0x44d130], bl
mov byte [edi*4 + 0x44cd33], bl
mov byte [edi*4 + 0x44cd30], bl
mov byte [edi*4 + 0x44c933], bl
mov byte [edi*4 + 0x44c932], bl
mov byte [edi*4 + 0x44c532], bl
mov byte [edi*4 + 0x44c531], bl
call fcn.0041495d
mov dl, 3
mov byte [edi*4 + 0x44d133], al
mov cl, bl
mov byte [edi*4 + 0x44cd32], al
mov byte [edi*4 + 0x44c931], al
mov byte [edi*4 + 0x44c530], al
call fcn.0041495d
mov bl, byte [edi + 0x44c430]
mov dl, 0xb
mov cl, bl
mov byte [edi*4 + 0x44d132], al
mov byte [edi*4 + 0x44cd31], al
mov byte [edi*4 + 0x44c930], al
mov byte [edi*4 + 0x44c533], al
call fcn.0041495d
movzx esi, bl
mov dl, 9
mov cl, bl
mov byte [edi*4 + 0x44e132], al
mov byte [edi*4 + 0x44dd31], al
mov byte [edi*4 + 0x44d930], al
mov byte [edi*4 + 0x44d533], al
mov byte [esi*4 + 0x44f132], al
mov byte [esi*4 + 0x44ed31], al
mov byte [esi*4 + 0x44e930], al
mov byte [esi*4 + 0x44e533], al
call fcn.0041495d
mov dl, 0xd
mov byte [edi*4 + 0x44e130], al
mov cl, bl
mov byte [edi*4 + 0x44dd33], al
mov byte [edi*4 + 0x44d932], al
mov byte [edi*4 + 0x44d531], al
mov byte [esi*4 + 0x44f130], al
mov byte [esi*4 + 0x44ed33], al
mov byte [esi*4 + 0x44e932], al
mov byte [esi*4 + 0x44e531], al
call fcn.0041495d
mov dl, 0xe
mov byte [edi*4 + 0x44e131], al
mov cl, bl
mov byte [edi*4 + 0x44dd30], al
mov byte [edi*4 + 0x44d933], al
mov byte [edi*4 + 0x44d532], al
mov byte [esi*4 + 0x44f131], al
mov byte [esi*4 + 0x44ed30], al
mov byte [esi*4 + 0x44e933], al
mov byte [esi*4 + 0x44e532], al
call fcn.0041495d
mov byte [edi*4 + 0x44e133], al
mov byte [edi*4 + 0x44dd32], al
mov byte [edi*4 + 0x44d931], al
mov byte [edi*4 + 0x44d530], al
inc edi
mov byte [esi*4 + 0x44f133], al
mov byte [esi*4 + 0x44ed32], al
mov byte [esi*4 + 0x44e931], al
mov byte [esi*4 + 0x44e530], al
cmp edi, ebp
jl 0x414997
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x414d61
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x449868]
mov ebx, ecx
push edi
mov edi, edx
test esi, esi
jne 0x414d89
mov ecx, 0x449860
call fcn.00414b72
mov esi, dword [0x449868]
movzx ecx, byte [ebp + 0xc]
mov eax, edi
and eax, 0xfffffff0
cmp byte [ebp + 8], 0
je 0x414dcf
test esi, esi
je 0x414df1
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43b26c]
call esi
test eax, eax
jne 0x414e13
push str.CryptProtectMemory_failed
mov esi, 0x449850
push esi
call fcn.00409f0c
pop ecx
pop ecx
call fcn.0040a196
push 2
mov ecx, esi
call fcn.0040a0c9
jmp 0x414e13
mov esi, dword [0x44986c]
test esi, esi
je 0x414df1
push ecx
push eax
push ebx
mov ecx, esi
call dword [0x43b26c]
call esi
test eax, eax
jne 0x414e13
push str.CryptUnprotectMemory_failed
jmp 0x414db2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [esp + 0xc], eax
test edi, edi
je 0x414e13
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 0x414e01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4156ac
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 0x41594f
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