joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412af0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412d14
sub esp, 0x18
mov eax, dword [0x569a28]
test eax, eax
jne 0x412cfd
nop
lea eax, [0x569a14]
mov dword [esp], eax
call fcn.004090f0
mov eax, dword [0x569a18]
test eax, eax
je 0x412b39
cmp dword [eax + 8], 0xcc
jne 0x412baf
mov edx, dword [0x569a0c]
test edx, edx
jne 0x412b91
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x56c230]
mov dword [esp + 8], eax
call fcn.0040b4e0
mov eax, dword [esp + 0xc]
mov dword [0x569a0c], eax
mov ecx, dword [0x5699d0]
mov dword [eax], ecx
mov eax, dword [0x569a0c]
mov dword [0x5699d0], eax
movzx eax, byte [0x569ea0]
test al, al
jne 0x412b91
xor eax, eax
jmp 0x412ca9
mov edx, dword [0x569a0c]
mov ebx, dword [edx + 4]
mov dword [0x569a0c], ebx
mov ebx, dword [0x569a18]
mov dword [edx + 4], ebx
mov dword [0x569a18], edx
mov edx, dword [0x569a18]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412c91
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402140
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x569ba0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x412c0d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x412c1a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0045d070
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x569ba0]
test edx, edx
jne 0x412c46
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x412c67
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0045d070
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0045d070
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0045d070
nop
lea eax, [0x569a14]
mov dword [esp], eax
call fcn.004092f0
nop
lea eax, [0x569a10]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004022c0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045d100
lea esi, [0x569ea0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x412b91
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x412cf3
lea edx, [0x52020c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x412c9b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0045d0f0
mov ecx, 5
call fcn.0045d0f0
lea eax, [0x4a4867]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00433c50
nop
call fcn.0045bc60
jmp fcn.00412af0
Function at 0x4260e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426250
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00423e70
mov eax, dword [esp + 4]
test eax, eax
je 0x426239
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.00421c20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.004090f0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x426177
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x4261dd
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x42618c
cmp byte [ebp + 6], dl
je 0x426197
cmp esi, ebx
ja 0x4261dd
jne 0x426175
cmp byte [ebp + 6], dl
jbe 0x426175
jmp 0x4261dd
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004092f0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4261d4
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4261d4
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.00425fe0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004092f0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x426230
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x426230
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x4a59fe]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00433c50
nop
call fcn.0045bc60
jmp fcn.004260e0
Function at 0x4266d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4267ec
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x426765
cmp cl, 2
je 0x42670d
cmp cl, 3
jne 0x4267d5
mov byte [eax + 8], 1
jmp 0x4267d1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042b900
nop
lea eax, [0x54dff8]
mov dword [esp], eax
call fcn.004090f0
nop
mov eax, dword [0x54dfc4]
sub eax, dword [0x54dfa8]
mov dword [0x54dfc4], eax
mov eax, dword [0x54dfb4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x54dfb4], ecx
nop
lea eax, [0x54dff8]
mov dword [esp], eax
call fcn.004092f0
jmp 0x4267d1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00412af0
nop
lea eax, [0x54dff8]
mov dword [esp], eax
call fcn.004090f0
nop
mov eax, dword [0x54df9c]
sub eax, dword [0x54df80]
mov dword [0x54df9c], eax
mov eax, dword [0x54df8c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x54df8c], ecx
nop
nop
lea eax, [0x54dff8]
mov dword [esp], eax
call fcn.004092f0
add esp, 0x14
ret
lea eax, [0x4a22c7]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00433c50
nop
call fcn.0045bc60
jmp fcn.004266d0
Function at 0x44d020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44d1a7
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44d19d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44d07c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44d07c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44d08f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x44d172
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44d164
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44d15b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x44d0e6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44d12f
mov eax, 1
cmp eax, ecx
ja 0x44d11d
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0045d160
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x44d156
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x44d122
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x44d0eb
call fcn.0045d100
xor eax, eax
mov ecx, eax
call fcn.0045d0f0
call fcn.0045d160
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x44d198
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x44d169
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x44d094
call fcn.0045d100
xor eax, eax
mov ecx, eax
call fcn.0045d0f0
nop
call fcn.0045bc60
jmp fcn.0044d020
Function at 0x451130
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x451230
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.004519c0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x4929e0]
mov dword [esp], ecx
call fcn.0040b190
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x54e090]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.004509b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0044fdd0
add esp, 0x28
ret
call fcn.0045bc60
jmp fcn.00451130
Function at 0x4547a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45483f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045d237
lea ecx, [0x454850]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045bb50
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045bc60
jmp fcn.004547a0
Function at 0x45cf20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x569c80]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45b6eb
je 0x45b73e
cmp ebx, 0x20
jbe 0x45b744
cmp ebx, 0x40
jbe 0x45b78a
jmp 0x45b82b
test ebx, ebx
je 0x45b734
add eax, 0x10
test ax, 0xff0
je 0x45b720
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4bed40]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4bee40]
jmp 0x45b708
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45b708
pxor xmm1, xmmword [0x569c90]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x569c90]
pxor xmm2, xmmword [0x569ca0]
pxor xmm3, xmmword [0x569cb0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x569c90]
pxor xmm2, xmmword [0x569ca0]
pxor xmm3, xmmword [0x569cb0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45b88a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5699ad], 0
je 0x45cf3a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45b6b0
jmp fcn.00407d80
Function at 0x45cf40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40267e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045bc60
jmp 0x402640
cmp byte [0x5699ad], 0
je 0x45cf5b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45b6b0
jmp 0x402640
Function at 0x402db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78f8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x1c], 5
xor eax, eax
mov dword [ebp - 0x18], 0xf800e8
mov dword [ebp - 0x14], 0xf300ee
mov dword [ebp - 0x10], 0xbd0094
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x18], cx
inc eax
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jb 0x402e00
xor eax, eax
mov word [ebp + ecx*2 - 0x18], ax
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.00404740
add esp, 8
lea ecx, [ebp - 0x34]
mov esi, eax
push ebx
call fcn.00404120
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push 0x7cd37c
cmovae ecx, dword [ebp - 0x34]
push ecx
push dword [ebp - 0x24]
push ecx
push esi
call fcn.00404c80
add esp, 0x10
push eax
call fcn.00404740
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.00404490
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403e20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
xor edx, edx
push esi
lea esi, [ecx + 4]
test eax, eax
je 0x403e41
nop dword [eax]
lea eax, [edx + 0xb8]
xor word [esi + edx*2], ax
inc edx
mov eax, dword [ecx]
cmp edx, eax
jb 0x403e30
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, esi
pop esi
ret

Function at 0x406650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x406681
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x406670
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x406790
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4067c1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4067b0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x4123d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x790a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x412411
xor al, al
jmp 0x412576
push esi
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp - 0x20], xmm0
call fcn.00412200
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x412543
push dword [eax]
cmp byte [edi], 0
mov ecx, 0x101001
mov eax, 0x100401
push 0
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x412543
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push edi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x41249c
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41253a
mov edx, esi
lea ecx, [ebp - 0x84]
call fcn.00410d10
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0x14
mov dword [ebp - 0x50], 0xd800cc
mov dword [ebp - 0x4c], 0xd000c9
mov dword [ebp - 0x48], 0xd400d7
mov dword [ebp - 0x44], 0xd300d2
mov dword [ebp - 0x40], 0xee00e0
mov dword [ebp - 0x3c], 0xe300a4
mov dword [ebp - 0x38], 0xb100eb
mov dword [ebp - 0x34], 0xe800e6
mov dword [ebp - 0x30], 0xa000b8
mov dword [ebp - 0x2c], 0xeb00ae
mov dword [ebp - 0x28], 0xcc
call fcn.00403e20
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00413810
add esp, 8
mov ecx, eax
push 1
call fcn.004130e0
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.00404490
lea ecx, [ebp - 0x84]
call fcn.00404490
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412545
xor bl, bl
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x412574
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x412574
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x412574
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 4
Function at 0x412f00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x790ca6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x82f184]
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 ebx, dword [ebp + 8]
mov esi, 0x41
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
nop dword [eax]
push 0x208
lea eax, [ebp - 0x220]
mov word [ebp - 0x18], si
push 0
push eax
mov dword [ebp - 0x16], 0x3a
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x412fb6
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412f84
sub eax, edx
mov ecx, edi
sar eax, 1
cmp dword [edi + 0x14], 8
jb 0x412f9d
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
call fcn.00408350
add esp, 0xc
test eax, eax
je 0x412ffd
inc esi
cmp si, 0x5a
jbe 0x412f40
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov ecx, ebx
push 0x7cd378
mov word [ebx], ax
call fcn.004044f0
mov eax, ebx
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.0076d59e
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], cx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x23c], 7
cmp ecx, eax
jb 0x4130d5
sub ecx, eax
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [edi + 0x14], 8
jb 0x413045
mov edi, dword [edi]
push edx
lea eax, [edi + eax*2]
push eax
lea ecx, [ebp - 0x250]
call fcn.004044f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
lea edx, [ecx + 2]
mov word [ebp - 0x238], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413080
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.004044f0
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x238]
push eax
push ebx
call fcn.00413490
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.00404490
lea ecx, [ebp - 0x250]
call fcn.00404490
jmp 0x412fdd
call fcn.004046a0
int3
Function at 0x4130e0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2060
call fcn.0078f690
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2050], 0x44
xor eax, eax
movlpd qword [ebp - 0x204c], xmm0
cmp dword [ecx + 0x14], 8
movlpd qword [ebp - 0x2044], xmm0
movlpd qword [ebp - 0x203c], xmm0
movlpd qword [ebp - 0x2034], xmm0
movlpd qword [ebp - 0x202c], xmm0
movlpd qword [ebp - 0x201e], xmm0
movlpd qword [ebp - 0x2016], xmm0
mov word [ebp - 0x200e], ax
mov dword [ebp - 0x2024], 0x101
mov word [ebp - 0x2020], ax
movups xmmword [ebp - 0x2060], xmm0
jb 0x413165
mov ecx, dword [ecx]
push ecx
lea eax, [ebp - 0x2008]
push 0x1000
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x2060]
push eax
lea eax, [ebp - 0x2050]
push eax
push 0
push 0
push 0x80
push 0
push 0
push 0
lea eax, [ebp - 0x2008]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jle 0x4131cf
cmp byte [ebp + 8], 0
je 0x4131bf
push 0xffffffffffffffff
push dword [ebp - 0x2060]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret

Function at 0x4131e0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
xor edx, edx
mov ecx, dword [edi]
lea eax, [edi + 4]
test ecx, ecx
je 0x413207
push esi
nop
lea ecx, [edx - 0x48]
xor byte [edx + eax], cl
lea esi, [edx + eax]
mov ecx, dword [edi]
inc edx
cmp edx, ecx
jb 0x4131f0
pop esi
mov byte [ecx + eax], 0
pop edi
ret
mov byte [ecx + eax], dl
pop edi
ret