joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e02e587
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e048994]
jne 0x2e033d16
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x2e04a240], eax
mov dword [0x2e04a23c], ecx
mov dword [0x2e04a238], edx
mov dword [0x2e04a234], ebx
mov dword [0x2e04a230], esi
mov dword [0x2e04a22c], edi
mov word [0x2e04a258], ss
mov word [0x2e04a24c], cs
mov word [0x2e04a228], ds
mov word [0x2e04a224], es
mov word [0x2e04a220], fs
mov word [0x2e04a21c], gs
pushfd
pop dword [0x2e04a250]
mov eax, dword [ebp]
mov dword [0x2e04a244], eax
mov eax, dword [ebp + 4]
mov dword [0x2e04a248], eax
lea eax, [ebp + 8]
mov dword [0x2e04a254], eax
mov eax, dword [ebp - 0x320]
mov dword [0x2e04a190], 0x10001
mov eax, dword [0x2e04a248]
mov dword [0x2e04a144], eax
mov dword [0x2e04a138], 0xc0000409
mov dword [0x2e04a13c], 1
mov eax, dword [0x2e048994]
mov dword [ebp - 0x328], eax
mov eax, dword [0x2e048998]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x2e04a188], eax
push 1
call fcn.2e032f71
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2e009eb0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x2e04a188], 0
jne 0x2e033e02
push 1
call fcn.2e032f71
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x2e02ee7c
call fcn.2e031a75
mov dword [eax], esi
call fcn.2e031a62
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.2e02e175
add esp, 0x14
push 0x16
pop eax
jmp 0x2e02eed1
test dword [ebp + 0xc], 0xfffffff9
jne 0x2e02ee58
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x2e02eea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.2e031a88
pop ecx
call fcn.2e031a62
mov eax, dword [eax]
jmp 0x2e02eed1
test al, 0x10
jne 0x2e02eecf
test al, 1
je 0x2e02eecf
test byte [ebp + 0xc], 2
je 0x2e02eecf
call fcn.2e031a75
mov dword [eax], 5
call fcn.2e031a62
mov dword [eax], 0xd
jmp 0x2e02eea0
xor eax, eax
pop esi
pop ebp
ret

Function at 0x2e030314
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x2e03034f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x2e030336
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x2e030347
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x2e030351
inc edi
add eax, 0x28
cmp edi, esi
jb 0x2e03032c
xor eax, eax
pop edi
pop esi
ret
Function at 0x2e03056b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.2e0302d4
dec edx
mov bl, cl
lea eax, [ebp - 0x58]
push eax
call fcn.2e0302e4
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.2e030299
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
invalid
invalid
push esp

Function at 0x2e030ee8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
loope 0x2e030f2d
pop esp
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
invalid
cli
invalid

Function at 0x2e030f83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp ebx, edi
xchg byte [eax + 4], ch
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x2e030f9d
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x2e030fc8
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
cmp dword [ebp - 0x398], 0
je 0x2e031192
cmp dword [ebp + 0xc], 1
je 0x2e031192
cmp dword [ebp + 0xc], 8
jne 0x2e03115a
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
invalid
test dword [ecx - 7], edx

Function at 0x2e031175
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.2e0302d4
invalid

Function at 0x2e031648
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec ebx
cdq
pop es
xchg ecx, eax
lea eax, [ebp - 0x6dc]
push eax
call fcn.2e0302e4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.2e030299
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x2e032467
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.2e030245
add esp, 0xc
invalid
movsd dword es:[edi], dword [esi]
add cl, bh
Function at 0x2e031fc2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebx]
jne 0x2e03205e
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.2e0302e4
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.2e030245
add esp, 0xc
jmp 0x2e03224c
cmp dword [ebp - 0x6fc], 4
jne 0x2e032108
and byte [ebp - 0x7bc], 0
and byte [ebp - 0x7bb], 0
mov byte [ebp - 0x7ba], 2
and byte [ebp - 0x7b9], 0
mov byte [ebp - 0x7b8], 0xa1
mov byte [ebp - 0x7b7], 0xb2
mov byte [ebp - 0x7b6], 0xb1
mov byte [ebp - 0x7b5], 0xb8
dec ebx
clc
invalid
invalid
mov eax, 0xf84c85c6
invalid
dec edi
mov byte [ebp - 0x7b3], 0xce
mov byte [ebp - 0x7b2], 0xd3
mov byte [ebp - 0x7b1], 0x99
mov byte [ebp - 0x7b0], 0x91
mov byte [ebp - 0x7af], 0x91
invalid
test dword [edx - 8], edx
Function at 0x45db00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x38000]
push edi
or ebp, 0xffffffff
jmp 0x45db22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45db29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45db18
mov eax, 1
add ebx, ebx
jne 0x45db3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45db30
jne 0x45db4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45db30
xor ecx, ecx
sub eax, 3
jb 0x45db60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45dbd2
mov ebp, eax
add ebx, ebx
jne 0x45db6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45db78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45db9c
inc ecx
add ebx, ebx
jne 0x45db88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45db7d
jne 0x45db99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45db7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45dbbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45dbad
jmp 0x45db1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45dbbc
add edi, ecx
jmp 0x45db1e
pop esi
mov edi, esi
mov ecx, 0x1e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45dbda
cmp byte [edi], 0
jne 0x45dbda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45dbdf
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x45dc4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d22c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d298]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45dc0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d2a0]
or eax, eax
je 0x45dc48
mov dword [ebx], eax
add ebx, 4
jmp 0x45dc29
call dword [esi + 0x5d29c]
mov ebp, dword [esi + 0x5d2a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45dc82
sub esp, 0xffffff80
jmp 0x401820
Function at 0x403740
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push esi
push edi
mov eax, 0x87
movd xmm6, eax
mov eax, dword [esp + 0x1c]
shrd dword [esp + 0x18], eax, 9
shr eax, 9
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea edx, [eax + 0x2c90]
add dword [esp + 0x18], 1
adc dword [esp + 0x1c], 0
movq xmm2, qword [esp + 0x18]
pxor xmm2, xmmword [edx]
aesenc xmm2, xmmword [edx + 0x10]
aesenc xmm2, xmmword [edx + 0x20]
aesenc xmm2, xmmword [edx + 0x30]
aesenc xmm2, xmmword [edx + 0x40]
aesenc xmm2, xmmword [edx + 0x50]
aesenc xmm2, xmmword [edx + 0x60]
aesenc xmm2, xmmword [edx + 0x70]
aesenc xmm2, xmmword [edx + 0x80]
aesenc xmm2, xmmword [edx + 0x90]
aesenc xmm2, xmmword [edx + 0xa0]
aesenc xmm2, xmmword [edx + 0xb0]
aesenc xmm2, xmmword [edx + 0xc0]
aesenc xmm2, xmmword [edx + 0xd0]
aesenclast xmm2, xmmword [edx + 0xe0]
mov ecx, 0x10
movdqa xmm4, xmm2
psraw xmm4, 8
psrldq xmm4, 0xf
pand xmm4, xmm6
movdqa xmm5, xmm2
pslldq xmm5, 8
psrldq xmm5, 7
psrlq xmm5, 7
movdqa xmm3, xmm2
psllq xmm3, 1
por xmm3, xmm5
pxor xmm3, xmm4
movdqu xmm0, xmmword [esi]
movdqu xmm1, xmmword [esi + 0x10]
pxor xmm0, xmm2
pxor xmm1, xmm3
movdqa xmm4, xmmword [eax]
pxor xmm0, xmm4
pxor xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x10]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x20]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x30]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x40]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x50]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x60]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x70]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x80]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x90]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xa0]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xb0]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xc0]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xd0]
aesenc xmm0, xmm4
aesenc xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xe0]
aesenclast xmm0, xmm4
aesenclast xmm1, xmm4
pxor xmm0, xmm2
pxor xmm1, xmm3
movdqu xmmword [edi], xmm0
movdqu xmmword [edi + 0x10], xmm1
add esi, 0x20
add edi, 0x20
dec ecx
je 0x40397f
movdqa xmm4, xmm3
psraw xmm4, 8
psrldq xmm4, 0xf
pand xmm4, xmm6
movdqa xmm5, xmm3
pslldq xmm5, 8
psrldq xmm5, 7
psrlq xmm5, 7
movdqa xmm2, xmm3
psllq xmm2, 1
por xmm2, xmm5
pxor xmm2, xmm4
jmp 0x4037f0
sub dword [esp + 0x14], 0x200
jne 0x40376e
pop edi
pop esi
ret 0x18
Function at 0x4039a0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
push esi
push edi
mov eax, 0x87
movd xmm6, eax
mov eax, dword [esp + 0x1c]
shrd dword [esp + 0x18], eax, 9
shr eax, 9
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea edx, [eax + 0x2c90]
add eax, 0xf0
add dword [esp + 0x18], 1
adc dword [esp + 0x1c], 0
movq xmm2, qword [esp + 0x18]
pxor xmm2, xmmword [edx]
aesenc xmm2, xmmword [edx + 0x10]
aesenc xmm2, xmmword [edx + 0x20]
aesenc xmm2, xmmword [edx + 0x30]
aesenc xmm2, xmmword [edx + 0x40]
aesenc xmm2, xmmword [edx + 0x50]
aesenc xmm2, xmmword [edx + 0x60]
aesenc xmm2, xmmword [edx + 0x70]
aesenc xmm2, xmmword [edx + 0x80]
aesenc xmm2, xmmword [edx + 0x90]
aesenc xmm2, xmmword [edx + 0xa0]
aesenc xmm2, xmmword [edx + 0xb0]
aesenc xmm2, xmmword [edx + 0xc0]
aesenc xmm2, xmmword [edx + 0xd0]
aesenclast xmm2, xmmword [edx + 0xe0]
mov ecx, 0x10
movdqa xmm4, xmm2
psraw xmm4, 8
psrldq xmm4, 0xf
pand xmm4, xmm6
movdqa xmm5, xmm2
pslldq xmm5, 8
psrldq xmm5, 7
psrlq xmm5, 7
movdqa xmm3, xmm2
psllq xmm3, 1
por xmm3, xmm5
pxor xmm3, xmm4
movdqu xmm0, xmmword [esi]
movdqu xmm1, xmmword [esi + 0x10]
pxor xmm0, xmm2
pxor xmm1, xmm3
movdqa xmm4, xmmword [eax]
pxor xmm0, xmm4
pxor xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x10]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x20]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x30]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x40]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x50]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x60]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x70]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x80]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0x90]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xa0]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xb0]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xc0]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xd0]
aesdec xmm0, xmm4
aesdec xmm1, xmm4
movdqa xmm4, xmmword [eax + 0xe0]
aesdeclast xmm0, xmm4
aesdeclast xmm1, xmm4
pxor xmm0, xmm2
pxor xmm1, xmm3
movdqu xmmword [edi], xmm0
movdqu xmmword [edi + 0x10], xmm1
add esi, 0x20
add edi, 0x20
dec ecx
je 0x403be4
movdqa xmm4, xmm3
psraw xmm4, 8
psrldq xmm4, 0xf
pand xmm4, xmm6
movdqa xmm5, xmm3
pslldq xmm5, 8
psrldq xmm5, 7
psrlq xmm5, 7
movdqa xmm2, xmm3
psllq xmm2, 1
por xmm2, xmm5
pxor xmm2, xmm4
jmp 0x403a55
sub dword [esp + 0x14], 0x200
jne 0x4039d3
pop edi
pop esi
ret 0x18

Function at 0x40d690
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x427008]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x408]
call fcn.0040d4c0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c61b
mov esp, ebp
pop ebp
ret
Function at 0x40e790
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d4fd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x427008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x5950
mov dword [edi], vtable.CCryptoIO.0
call fcn.0041c629
add esp, 4
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], esi
push 0x40
push 0x3000
push 0x104
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x40e81b
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], esi
cmp esi, eax
je 0x40e83a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x40e82f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0040de20
mov eax, dword [edi + 4]
mov byte [eax + 0x18], 0
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x40e890
mov esi, dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e853
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [edx], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 0x100
jbe 0x40e87e
mov dword [ecx], pe_nt_image_headers32
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1c]
push dword [eax]
add eax, 4
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.0040d290
test eax, eax
je 0x40e8ab
mov eax, 0x40aaa0
mov ecx, 0x408300
jmp 0x40e8b5
mov eax, fcn.00417580
mov ecx, fcn.00417430
mov dword [0x427768], ecx
mov dword [0x427774], eax
call fcn.004082c0
test eax, eax
je 0x40e8dd
mov dword [0x427768], 0x403c00
mov dword [0x427774], 0x405f60
call fcn.00418450
test eax, eax
je 0x40e8f2
mov eax, fcn.004039a0
mov ecx, fcn.00403740
jmp 0x40e911
call fcn.0040285c
test eax, eax
je 0x40e907
mov eax, 0x417a50
mov ecx, 0x4176d0
jmp 0x40e911
mov eax, 0x417050
mov ecx, 0x416f10
mov dword [0x427770], eax
mov eax, edi
mov dword [0x42776c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40f090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d5bd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x427008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40f1f7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x40f1fc
push 0x40
push 0x3000
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x40f0f9
push 0x800
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov dword [ebp - 4], 0
test esi, esi
jne 0x40f133
push str.Malloc_Failed_n
call fcn.0040d690
add esp, 4
lea ecx, [ebp - 0x14]
mov esi, 0xd
call fcn.0040f310
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 8]
push 0
push 0
push 0x800
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
mov edx, dword [edi + 4]
mov ecx, esi
mov edx, dword [edx + 0x1c]
call fcn.00418530
test eax, eax
jne 0x40f176
lea ecx, [ebp - 0x14]
lea esi, [eax + 4]
call fcn.0040f310
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x40f1d0
mov ecx, dword [ebp + 8]
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f190
sub ecx, dword [ebp - 0x10]
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [edx], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 0x100
jbe 0x40f1bc
mov dword [ecx], pe_nt_image_headers32
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1c]
push dword [eax]
add eax, 4
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0040f310
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x413e20
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
push 0x80
push 0
lea edi, [esi + 0xd0]
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
push eax
cmp eax, 0x80
jbe 0x413ee7
mov edx, ebx
mov dword [esi + 0x48], 0
mov ecx, esi
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi], 0xf3bcc908
mov dword [esi + 4], 0x6a09e667
mov dword [esi + 8], 0x84caa73b
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0xfe94f82b
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0x5f1d36f1
mov dword [esi + 0x1c], 0xa54ff53a
mov dword [esi + 0x20], 0xade682d1
mov dword [esi + 0x24], 0x510e527f
mov dword [esi + 0x28], 0x2b3e6c1f
mov dword [esi + 0x2c], 0x9b05688c
mov dword [esi + 0x30], 0xfb41bd6b
mov dword [esi + 0x34], 0x1f83d9ab
mov dword [esi + 0x38], 0x137e2179
mov dword [esi + 0x3c], 0x5be0cd19
call fcn.00413c50
mov edx, edi
mov ecx, esi
call fcn.00413d10
jmp 0x413ef1
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, edi
mov ecx, 0x20
nop dword [eax + eax]
xor dword [eax], 0x36363636
lea eax, [eax + 4]
sub ecx, 1
jne 0x413f00
mov dword [esi + 0x48], ecx
mov edx, edi
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov ecx, esi
push 0x80
mov dword [esi], 0xf3bcc908
mov dword [esi + 4], 0x6a09e667
mov dword [esi + 8], 0x84caa73b
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0xfe94f82b
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0x5f1d36f1
mov dword [esi + 0x1c], 0xa54ff53a
mov dword [esi + 0x20], 0xade682d1
mov dword [esi + 0x24], 0x510e527f
mov dword [esi + 0x28], 0x2b3e6c1f
mov dword [esi + 0x2c], 0x9b05688c
mov dword [esi + 0x30], 0xfb41bd6b
mov dword [esi + 0x34], 0x1f83d9ab
mov dword [esi + 0x38], 0x137e2179
mov dword [esi + 0x3c], 0x5be0cd19
call fcn.00413c50
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x413fa0
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x427008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
lea edx, [ebp - 0x48]
call fcn.00413d10
lea edx, [esi + 0xd0]
mov ecx, 0x20
mov eax, edx
nop dword [eax + eax]
xor dword [eax], 0x6a6a6a6a
lea eax, [eax + 4]
sub ecx, 1
jne 0x413fd0
mov dword [esi + 0x48], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov ecx, esi
push 0x80
mov dword [esi], 0xf3bcc908
mov dword [esi + 4], 0x6a09e667
mov dword [esi + 8], 0x84caa73b
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0xfe94f82b
mov dword [esi + 0x14], 0x3c6ef372
mov dword [esi + 0x18], 0x5f1d36f1
mov dword [esi + 0x1c], 0xa54ff53a
mov dword [esi + 0x20], 0xade682d1
mov dword [esi + 0x24], 0x510e527f
mov dword [esi + 0x28], 0x2b3e6c1f
mov dword [esi + 0x2c], 0x9b05688c
mov dword [esi + 0x30], 0xfb41bd6b
mov dword [esi + 0x34], 0x1f83d9ab
mov dword [esi + 0x38], 0x137e2179
mov dword [esi + 0x3c], 0x5be0cd19
call fcn.00413c50
push 0x40
lea edx, [ebp - 0x48]
mov ecx, esi
call fcn.00413c50
mov edx, edi
mov ecx, esi
call fcn.00413d10
xor eax, eax
lea edi, [ebp - 0x48]
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041c61b
mov esp, ebp
pop ebp
ret