joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4173f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f038
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x46600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp esi, 0xffffffff
jne 0x41742b
xor al, al
jmp 0x4174ef
and esi, 0xffffb1af
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x41743b
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push eax
call ebx
test eax, eax
je 0x417450
mov al, 1
jmp 0x4174ef
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.004197a0
test al, al
je 0x41749a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x41749a
mov bl, 1
jmp 0x41749c
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4174d9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4174cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41750b
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043af96
mov esp, ebp
pop ebp
ret
call fcn.0043f174
int3

Function at 0x417520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f038
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x46600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417556
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x417600
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004197a0
test al, al
je 0x4175af
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4175ec
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4175e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41761d
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043af96
mov esp, ebp
pop ebp
ret
call fcn.0043f174
int3
Function at 0x417b80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f038
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x46600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417bb6
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x417bca
mov al, 1
jmp 0x417c6e
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004197a0
test al, al
je 0x417c19
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x417c19
mov bl, 1
jmp 0x417c1b
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x417c58
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417c4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c89
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043af96
mov esp, ebp
pop ebp
ret
call fcn.0043f174
int3
Function at 0x418680
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x46600c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x21c]
lea eax, [esp + 8]
push esi
push edi
push 0x20c
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.0043cc90
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4186be
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4186c6
mov esi, dword [esi]
lea eax, [esp + 0x10]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x418836
xor eax, eax
mov word [esp + 0x21a], ax
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.0043ef4e
mov ecx, dword [ebx + 0x14]
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ecx
cmp ebp, ecx
ja 0x41872f
mov edi, ebx
cmp ecx, 8
jb 0x41870b
mov edi, dword [ebx]
lea esi, [ebp*2]
mov dword [ebx + 0x10], ebp
push esi
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0043c190
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x41881b
cmp ebp, 0x7ffffffe
ja 0x418850
mov esi, ebp
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x41874f
mov esi, 0x7ffffffe
jmp 0x41876d
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x418765
mov esi, 0x7ffffffe
jmp 0x41876d
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x41877f
or ecx, 0xffffffff
jmp 0x418787
cmp ecx, 0x1000
jb 0x4187ae
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.0043b1a7
add esp, 4
test eax, eax
je 0x418855
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4187c1
test ecx, ecx
je 0x4187bf
push ecx
call fcn.0043b1a7
add esp, 4
mov edi, eax
jmp 0x4187c1
xor edi, edi
mov dword [ebx + 0x14], esi
lea eax, [esp + 0x14]
lea esi, [ebp*2]
mov dword [ebx + 0x10], ebp
push esi
push eax
push edi
call fcn.0043c710
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [esp + 0x10]
cmp eax, 8
jb 0x418819
lea ecx, [eax*2 + 2]
mov eax, dword [ebx]
cmp ecx, 0x1000
jb 0x41880f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418855
mov eax, edx
push ecx
push eax
call fcn.0043b1d7
add esp, 8
mov dword [ebx], edi
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0043af96
add esp, 0x214
ret
mov ecx, dword [esp + 0x21c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043af96
add esp, 0x214
ret
call fcn.00402330
call fcn.0043f174
int3
Function at 0x41a030
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x46600c]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x41a095
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 0x41a070
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41a095
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0043af96
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0043af96
add esp, 8
ret 4

Function at 0x41a160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x2c
mov eax, dword [0x46600c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x46c6c0], ecx
inc eax
cmp eax, 0x100
jb 0x41a174
cmp eax, 0x800
jae 0x41a243
nop dword [eax + eax]
mov edx, dword [eax*4 + 0x46c2c0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x46c6c0]
mov dword [eax*4 + 0x46c6c0], edx
inc eax
cmp eax, 0x800
jb 0x41a220
lea ecx, [esp + 0x14]
mov dword [0x46a04c], 0x44dd20
call fcn.0041a5e0
test eax, eax
je 0x41a2ef
mov edi, dword [esp + 0x24]
xor ecx, ecx
mov ebp, dword [esp + 0x1c]
mov esi, edi
shr esi, 8
mov eax, 0x4668b0
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor edx, edx
mov ebx, dword [esp + 0x18]
cmp dword [eax - 8], ebx
mov ebx, dword [esp + 0x20]
jne 0x41a299
cmp dword [eax - 4], ebp
jne 0x41a299
cmp dword [eax], ebx
je 0x41a2a8
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x41a283
or ecx, 0xffffffff
sub ecx, 0
je 0x41a2d6
sub ecx, 1
je 0x41a2c5
sub ecx, 1
jne 0x41a2ef
cmp esi, 6
jb 0x41a2ef
jne 0x41a2e5
cmp edi, 0xf
jb 0x41a2ef
jmp 0x41a2e5
cmp esi, 5
jb 0x41a2ef
jne 0x41a2e5
cmp edi, 6
jb 0x41a2ef
cmp edi, 0xa
jmp 0x41a2e3
cmp esi, 6
jb 0x41a2ef
jne 0x41a2e5
cmp edi, 0x100c
je 0x41a2ef
mov dword [0x46a04c], 0x44dc40
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043af96
add esp, 0x2c
ret
Function at 0x426fa6
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
xor edx, edx
push edi
mov esi, edx
push 8
shl esi, 0x18
pop edi
lea ecx, [esi + esi]
mov eax, ecx
xor eax, 0x4c11db7
test esi, esi
cmovs ecx, eax
dec edi
mov esi, ecx
test edi, edi
jg 0x426fb2
mov dword [edx*4 + 0x469b50], esi
inc edx
cmp edx, 0x100
jb 0x426faa
pop edi
pop esi
ret

Function at 0x42af3e
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x466a38
cmp dword [eax], esi
jne 0x42af58
cmp dword [eax + 4], edx
je 0x42af69
add eax, 0x28
inc ecx
cmp eax, 0x466bc8
jl 0x42af4f
or eax, 0xffffffff
pop esi
pop ebp
ret
mov eax, ecx
jmp 0x42af66
Function at 0x4329b0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x46600c]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
je 0x432a23
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4329fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x432a23
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, edi
pop edi
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0043af96
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0043af96
add esp, 8
ret 4

Function at 0x432ef0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x46600c]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x432f63
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x432f3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x432f63
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, edi
pop edi
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0043af96
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0043af96
add esp, 8
ret 4

Function at 0x433a2a
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 0x433a3a
mov dword [edi], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], esi
test eax, eax
je 0x433a92
push esi
lea ecx, [ebp + 0x10]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, 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 0x433a6f
mov ecx, dword [ebp + 0x10]
add dword [edi], ecx
test eax, eax
jne 0x433a92
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x433a84
mov esi, 0x80004005
jmp 0x433a92
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 0x4364cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
and edx, 0xfffffffe
mov esi, edi
lea ebx, [edi - 4]
add ebx, edx
cmp esi, ebx
ja 0x436544
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 3]
xor edx, 8
and eax, edx
add esi, 2
cmp eax, 0xf8
jb 0x4364de
movzx ecx, byte [esi - 2]
movzx eax, byte [esi + 1]
and eax, 7
shl edx, 8
add ecx, edx
lea ecx, [eax + ecx*8]
movzx eax, byte [esi]
add esi, 2
shl ecx, 8
add ecx, eax
mov eax, esi
sub eax, edi
add eax, dword [ebp + 8]
shr eax, 1
sub ecx, eax
mov eax, ecx
mov byte [esi - 2], cl
shr eax, 0xb
mov byte [esi - 4], al
mov eax, ecx
shr eax, 0x13
and al, 7
shr ecx, 8
or al, 0xf0
or cl, 0xf8
mov byte [esi - 3], al
mov byte [esi - 1], cl
jmp 0x4364de
sub esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x437ade
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x437b00
xor eax, eax
jmp 0x437c14
add dword [ebp + 8], 5
add edx, 0xfffffffc
add edx, eax
mov dword [ebp - 8], edx
push edi
lea edi, [ebx + eax]
cmp edi, edx
jae 0x437b24
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x437b21
inc edi
cmp edi, edx
jb 0x437b14
mov eax, dword [ebp - 4]
mov ecx, edi
sub ecx, ebx
mov ebx, edi
sub ecx, eax
sub ebx, eax
cmp edi, edx
jae 0x437c02
cmp ecx, 2
jbe 0x437bb9
xor esi, esi
movzx edx, byte [edi + 4]
lea eax, [edx + 1]
test al, 0xfe
jne 0x437bed
movzx eax, byte [edi + 3]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
mov eax, dword [ebp + 8]
add eax, ebx
sub edx, eax
test esi, esi
je 0x437b96
and esi, 6
mov eax, edx
shl esi, 2
mov ecx, esi
shr eax, cl
inc eax
test al, 0xfe
jne 0x437b94
mov eax, 0x100
shl eax, cl
dec eax
xor edx, eax
mov eax, dword [ebp + 8]
add eax, ebx
sub edx, eax
xor esi, esi
mov eax, edx
mov byte [edi + 1], dl
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
and dl, 1
neg dl
mov byte [edi + 3], al
push 5
mov byte [edi + 4], dl
pop eax
jmp 0x437bf5
shr esi, cl
test esi, esi
je 0x437b3d
cmp esi, 4
ja 0x437be2
cmp esi, 3
je 0x437be2
mov eax, esi
shr eax, 1
movzx eax, byte [eax + edi + 1]
inc eax
test al, 0xfe
jne 0x437b3d
mov eax, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x437b0d
or esi, 8
xor eax, eax
shr esi, 1
inc eax
mov edx, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 4]
jmp 0x437b0d
xor eax, eax
shr esi, cl
cmp ecx, 2
pop edi
cmova esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x437c18
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 0x4389ec
Capabilities:
Check os version
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x46600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x13c], ebx
mov ecx, ebx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x46a450], cl
inc ecx
cmp ecx, 0x100
jb 0x438a0c
movzx edi, byte [ebx + str.cw]
mov eax, edi
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edi + edi]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
mov ecx, edi
mov edx, esi
shl ecx, 8
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 + 0x46a550], eax
mov eax, ecx
or ecx, esi
or eax, edi
shl eax, 8
or eax, esi
shl ecx, 8
or ecx, edx
shl esi, 8
shl ecx, 8
or esi, edx
or ecx, edi
shl eax, 8
mov dword [ebx*4 + 0x46ad50], ecx
or eax, edx
shl esi, 8
or esi, edi
mov dword [ebx*4 + 0x46a950], eax
shl esi, 8
or esi, edi
mov dword [ebx*4 + 0x46b150], esi
movzx ebx, byte [ebx + 0x46a450]
mov eax, ebx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [ebx + ebx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
mov eax, esi
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [esi + esi]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx edx, cl
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx ecx, cl
mov eax, ecx
mov edi, ecx
xor ecx, edx
xor edi, esi
xor eax, ebx
mov dword [ebp - 0x144], ecx
xor edi, ebx
mov dword [ebp - 0x140], eax
xor ecx, ebx
mov ebx, dword [ebp - 0x144]
xor ebx, esi
mov edx, dword [ebp - 0x140]
mov eax, edi
mov esi, dword [ebp - 0x13c]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, ebx
mov dword [esi*4 + 0x46b550], eax
mov eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, ebx
shl eax, 8
or eax, edi
mov dword [esi*4 + 0x46b950], eax
mov eax, edx
shl eax, 8
or eax, ebx
shl ebx, 8
or ebx, edi
shl eax, 8
shl ebx, 8
or eax, edi
or ebx, ecx
shl eax, 8
shl ebx, 8
or eax, ecx
or ebx, edx
mov dword [esi*4 + 0x46bd50], eax
mov dword [esi*4 + 0x46c150], ebx
mov ebx, esi
inc ebx
mov dword [ebp - 0x13c], ebx
cmp ebx, 0x100
jb 0x438a22
lea eax, [ebp - 0x138]
mov dword [0x46c6b8], 0x43920a
push eax
mov dword [ebp - 0x138], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x438be0
cmp dword [ebp - 0x134], 5
jb 0x438be0
lea ecx, [ebp - 0x24]
call fcn.0041a5e0
test eax, eax
je 0x438be0
mov eax, dword [ebp - 0xc]
mov ecx, 0x439e75
shr eax, 0x19
and eax, 1
mov eax, dword [0x46c6b8]
cmovne eax, ecx
mov dword [0x46c6b8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043af96
leave
ret
Function at 0x438bec
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 0x438c22
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x438c15
cmp esi, ecx
jae 0x438d05
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 0x438c9b
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
movzx eax, al
shr ecx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x45a278]
xor ecx, eax
or ecx, edx
jmp 0x438ceb
cmp edi, 6
jbe 0x438ceb
cmp edx, 4
jne 0x438ceb
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
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
movzx eax, al
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 0x438c34
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x439b1e
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
mov edi, ecx
push ecx
lea esi, [edi + 4]
mov ecx, esi
call fcn.0040846d
test al, al
je 0x439b36
pop edi
xor al, al
pop esi
ret
push 0xc
call fcn.0043b1a7
pop ecx
push edi
push 0x439acf
mov ecx, eax
call fcn.00415a70
push eax
mov ecx, esi
call fcn.004084a6
mov ecx, esi
call fcn.00408402
pop edi
mov ecx, eax
pop esi
jmp fcn.00415c10
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x50c6517e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x69f16705
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x33f51688
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x341d17e5
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219