joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4146f0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4464e8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x459178]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x41472f
mov eax, dword [esi]
jmp 0x414731
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x414739
mov ecx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push eax
push ecx
call ebx
test eax, eax
je 0x414750
mov al, 1
jmp 0x414954
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x70], eax
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.00415690
movzx ecx, byte [esp + 0x17]
test al, al
mov edx, 1
mov dword [esp + 0x44], 0
cmovne ecx, edx
mov dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x70], dl
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.00415690
test al, al
jne 0x4147de
cmp byte [esp + 0x18], al
je 0x41480b
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
push 0xb
cmovae ecx, dword [esp + 0x38]
lea eax, [esp + 0x50]
cmp dword [esp + 0x64], 8
push ecx
cmovae eax, dword [esp + 0x54]
push eax
call ebx
test eax, eax
je 0x41480b
mov bl, 1
jmp 0x4148f1
mov ecx, esi
call fcn.00414400
cmp eax, 0xffffffff
je 0x4148ef
xor eax, eax
mov dword [esp + 0x2c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.00402073
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x1c]
call fcn.004152c0
test al, al
je 0x4148c0
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.00414500
test al, al
je 0x4148c0
mov edx, esi
mov ecx, edi
call fcn.00414500
lea ecx, [esp + 0x1c]
test al, al
je 0x4148b9
call fcn.00414b80
mov byte [esp + 0x70], 1
cmp dword [esp + 0x30], 8
jb 0x41489e
push dword [esp + 0x1c]
call fcn.0043722b
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov bl, 1
mov word [esp + 0x1c], ax
jmp 0x4148f1
mov edx, esi
call fcn.00414500
mov byte [esp + 0x70], 1
cmp dword [esp + 0x30], 8
jb 0x4148d8
push dword [esp + 0x1c]
call fcn.0043722b
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
xor bl, bl
mov byte [esp + 0x70], 0
cmp dword [esp + 0x48], 8
jb 0x414909
push dword [esp + 0x34]
call fcn.0043722b
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 8
jb 0x41493b
push dword [esp + 0x4c]
call fcn.0043722b
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
mov al, bl
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00436362
add esp, 0x64
ret
Function at 0x414980
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x446468
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x459178]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x4149bc
mov eax, dword [esi]
jmp 0x4149be
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4149d0
mov al, 1
jmp 0x414a5d
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00415690
test al, al
je 0x414a27
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x414a27
mov bl, 1
jmp 0x414a29
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x414a44
push dword [esp + 0xc]
call fcn.0043722b
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00436362
add esp, 0x28
ret

Function at 0x414a80
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x446468
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x459178]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x414abc
mov eax, dword [esi]
jmp 0x414abe
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x414ad2
mov al, 1
jmp 0x414b61
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00415690
test al, al
je 0x414b2b
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x414b2b
mov bl, 1
jmp 0x414b2d
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x414b48
push dword [esp + 0xc]
call fcn.0043722b
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00436362
add esp, 0x28
ret
Function at 0x414e20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44656b
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov eax, dword [0x459178]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x45dbf4]
mov dword [esp + 8], 0x45dbf4
test eax, eax
je 0x414e72
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x638], 0
cmp dword [0x45a290], 0
je 0x414ec0
cmp esi, 0x45a280
je 0x414e9e
push 0xffffffffffffffff
push 0
push 0x45a280
mov ecx, esi
call fcn.00402073
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x45dbf4]
test eax, eax
je 0x414eb9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x414fc5
xor eax, eax
push 0x20a
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.004374e0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x414fa8
xor eax, eax
push 0x410
push eax
mov word [esp + 0x21e], ax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.004374e0
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x414f6d
test eax, eax
je 0x414f6d
add eax, eax
cmp eax, 0x412
jae 0x414f68
xor ecx, ecx
mov word [esp + eax + 0x218], cx
lea eax, [esp + 0x218]
push eax
mov ecx, esi
call fcn.00401b84
jmp 0x414e9e
call fcn.00437368
cmp word [esp + 0xc], 0
jne 0x414f89
xor eax, eax
mov ecx, esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00402102
jmp 0x414e9e
lea eax, [esp + 0xc]
push eax
call fcn.004370ab
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00402102
jmp 0x414e9e
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x45dbf4]
test eax, eax
je 0x414fc3
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.00436362
add esp, 0x634
ret
Function at 0x415000
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
xor eax, eax
push esi
push edi
push 0x20a
push eax
mov word [esp + 0x14], ax
mov edi, edx
lea eax, [esp + 0x16]
mov esi, ecx
push eax
call fcn.004374e0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x415044
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x41504c
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4150cb
xor eax, eax
mov word [esp + 0x216], ax
cmp word [esp + 0xc], ax
jne 0x415097
push eax
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call fcn.00402102
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00436362
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
call fcn.004370ab
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00402102
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00436362
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00436362
add esp, 0x210
ret

Function at 0x415a20
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x415a4e
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00436362
add esp, 8
ret 4
push esi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x415a89
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x415a89
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00436362
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, esi
mov dword [edi], eax
mov al, 1
adc ecx, 0
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xc]
pop esi
pop edi
xor ecx, esp
call fcn.00436362
add esp, 8
ret 4
Function at 0x415b60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x24
xor eax, eax
push ebx
push ebp
push esi
push edi
lea esp, [esp]
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x461540], ecx
inc eax
cmp eax, 0x100
jb 0x415b70
cmp eax, 0x800
jae 0x415c43
lea esp, [esp]
mov edx, dword [eax*4 + 0x461140]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x461540]
mov dword [eax*4 + 0x461540], edx
inc eax
cmp eax, 0x800
jb 0x415c20
lea ecx, [esp + 0x10]
mov dword [0x45de00], 0x445090
call fcn.00415f60
test eax, eax
je 0x415cfb
mov edi, dword [esp + 0x20]
xor ecx, ecx
mov ebp, dword [esp + 0x18]
mov esi, edi
shr esi, 8
mov eax, 0x45a1f8
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor edx, edx
mov ebx, dword [esp + 0x14]
cmp dword [eax - 8], ebx
mov ebx, dword [esp + 0x1c]
jne 0x415c99
cmp dword [eax - 4], ebp
jne 0x415c99
cmp dword [eax], ebx
je 0x415ca8
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x415c83
or ecx, 0xffffffff
sub ecx, 0
je 0x415ce2
dec ecx
je 0x415cd1
dec ecx
jne 0x415cfb
cmp esi, 6
jb 0x415cfb
jne 0x415cf1
cmp edi, 0xf
jb 0x415cfb
mov dword [0x45de00], 0x444fb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
cmp esi, 5
jb 0x415cfb
jne 0x415cf1
cmp edi, 6
jb 0x415cfb
cmp edi, 0xa
jmp 0x415cef
cmp esi, 6
jb 0x415cfb
jne 0x415cf1
cmp edi, 0x100c
je 0x415cfb
mov dword [0x45de00], 0x444fb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x415d10
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x459178]
xor eax, esp
mov dword [esp + 4], eax
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, ecx
push edi
mov edi, dword [esp + 0x18]
mov dword [ebx], 0
cmp dword [ebp], 0xffffffff
jne 0x415d4d
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00436362
add esp, 8
ret 0xc
push esi
mov esi, dword [esp + 0x20]
mov ecx, 0x100000
jmp 0x415d60
cmp esi, 0x100000
mov dword [esp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
test eax, eax
setne al
add dword [ebx], ecx
test al, al
je 0x415dba
test ecx, ecx
je 0x415da3
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x415d60
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00436362
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x14]
xor al, al
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00436362
add esp, 8
ret 0xc
Function at 0x422718
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
xor esi, esi
mov edi, esi
push 8
shl edi, 0x18
pop ebx
lea ecx, [edi + edi]
mov edx, edi
mov eax, ecx
mov edi, ecx
xor eax, 0x4c11db7
and edx, 0x80000000
cmovne edi, eax
dec ebx
test ebx, ebx
jg 0x422725
mov dword [esi*4 + 0x45d7a0], edi
inc esi
cmp esi, 0x100
jb 0x42271d
pop edi
pop esi
pop ebx
ret
Function at 0x42f926
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
je 0x42f936
mov dword [edi], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], esi
test ecx, ecx
je 0x42f98e
mov eax, 0x8000
cmp ecx, eax
push esi
cmovb eax, ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 8]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test edi, edi
je 0x42f96b
mov ecx, dword [ebp + 0x10]
add dword [edi], ecx
test eax, eax
jne 0x42f98e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42f980
mov esi, 0x80004005
jmp 0x42f98e
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x4330c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4330e5
xor eax, eax
jmp 0x433227
add dword [ebp + 8], 5
lea eax, [edx - 4]
push ebx
or ebx, 0xffffffff
add eax, ecx
mov dword [ebp - 4], eax
lea edx, [edi + ecx]
mov dword [ebp - 0xc], edx
cmp edx, eax
jae 0x433118
mov ecx, dword [ebp - 4]
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x43310f
inc edx
cmp edx, ecx
jb 0x433102
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov edi, edx
sub edi, ecx
cmp edx, eax
jae 0x43320b
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x43319e
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x18], ebx
test al, al
je 0x433143
cmp al, 0xff
jne 0x4331cb
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 8]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, edx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x4331df
movzx eax, byte [esi + 0x44cfa4]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x43318d
cmp al, 0xff
jne 0x4331df
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0x10]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0x14]
jmp 0x433164
dec ecx
shl esi, cl
and esi, 7
je 0x43312f
movzx eax, byte [esi + 0x44cfa4]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x44d440], 0
mov al, byte [ecx + 4]
je 0x4331c9
test al, al
je 0x4331c9
cmp al, 0xff
jne 0x43312f
mov ebx, edi
and esi, 3
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
jmp 0x4330f5
mov edx, dword [ebp - 0xc]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x18]
shr eax, 8
add edi, 5
mov byte [edx + 2], al
jmp 0x4331d4
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433418
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 0x43374e
Capabilities:
Check os version
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x459178]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x11c], ebx
mov ecx, ebx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x45e210], cl
inc ecx
cmp ecx, 0x100
jb 0x43376e
movzx edi, byte [ebx + str.cw]
mov eax, edi
mov ecx, edi
and al, 0x80
movzx esi, al
neg esi
lea eax, [edi + edi]
sbb esi, esi
shl ecx, 8
and esi, 0x1b
xor esi, eax
and esi, 0xff
mov edx, esi
xor edx, edi
mov eax, edx
shl eax, 8
or eax, edi
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
mov dword [ebx*4 + 0x45f310], eax
mov eax, ecx
or ecx, esi
or eax, edi
shl eax, 8
or eax, esi
shl ecx, 8
shl esi, 8
or ecx, edx
or esi, edx
shl eax, 8
or eax, edx
shl esi, 8
or esi, edi
shl ecx, 8
mov dword [ebx*4 + 0x45f710], eax
or ecx, edi
shl esi, 8
or esi, edi
mov dword [ebx*4 + 0x45fb10], ecx
movzx edi, byte [ebx + 0x45e210]
mov dword [ebx*4 + 0x45ff10], esi
mov eax, edi
and al, 0x80
mov ebx, 0xff
movzx esi, al
neg esi
lea eax, [edi + edi]
sbb esi, esi
and esi, 0x1b
xor esi, eax
and esi, ebx
mov eax, esi
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [esi + esi]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
and ecx, ebx
mov eax, ecx
and al, 0x80
movzx edx, al
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x1b
xor edx, eax
and edx, ebx
mov dword [ebp - 0x120], edx
mov ebx, edx
mov eax, dword [ebp - 0x120]
xor edx, esi
xor eax, ecx
xor ebx, edi
mov ecx, eax
mov dword [ebp - 0x120], eax
xor edx, edi
xor ecx, edi
mov edi, eax
mov eax, edx
shl eax, 8
xor edi, esi
mov esi, dword [ebp - 0x11c]
or eax, ecx
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
mov dword [esi*4 + 0x45e310], eax
mov eax, ecx
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
shl eax, 8
or eax, edx
mov dword [esi*4 + 0x45e710], eax
mov eax, ebx
shl eax, 8
or eax, edi
shl edi, 8
or edi, edx
shl eax, 8
shl edi, 8
or eax, edx
or edi, ecx
shl eax, 8
shl edi, 8
or eax, ecx
or edi, ebx
mov dword [esi*4 + 0x45eb10], eax
mov ebx, esi
mov dword [ebx*4 + 0x45ef10], edi
inc ebx
mov dword [ebp - 0x11c], ebx
cmp ebx, 0x100
jb 0x433784
lea eax, [ebp - 0x118]
mov dword [0x461520], 0x4343ff
push eax
mov dword [0x461528], 0x434459
mov dword [0x461524], 0x4344f5
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x43396e
cmp dword [ebp - 0x114], 5
sbb eax, eax
inc eax
je 0x43396e
lea ecx, [ebp - 0x140]
call fcn.00415f60
test eax, eax
je 0x43396e
mov eax, dword [ebp - 0x128]
shr eax, 0x19
and eax, 1
je 0x43396e
mov dword [0x461520], 0x435183
mov dword [0x461528], 0x4351db
mov dword [0x461524], 0x43530c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436362
mov esp, ebp
pop ebp
ret
Function at 0x43397c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x4339b2
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x4339a5
cmp esi, ecx
jae 0x433a9e
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x433a30
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
and eax, 0xff
shr ecx, 8
and ecx, 0xff
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ecx + str.cw]
or edx, eax
mov eax, dword [ebp - 8]
shl edx, 8
movzx eax, byte [eax + 0x44d670]
xor ecx, eax
or ecx, edx
jmp 0x433a84
cmp edi, 6
jbe 0x433a84
cmp edx, 4
jne 0x433a84
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x4339c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x434df2
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
mov edi, ecx
push ecx
lea esi, [edi + 4]
mov ecx, esi
call fcn.00408e5e
test al, al
je 0x434e0a
pop edi
xor al, al
pop esi
ret
push 0xc
call fcn.0043748f
pop ecx
test eax, eax
je 0x434e25
push edi
push 0x434da6
mov ecx, eax
call fcn.004129d0
jmp 0x434e27
xor eax, eax
push eax
mov ecx, esi
call fcn.00408e15
mov ecx, esi
call fcn.00408d9a
pop edi
mov ecx, eax
pop esi
jmp fcn.00412c20