joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036b12
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dc63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10036c54
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10036c4c
mov dword [ebp - 0x28], 0x74a0
mov dword [ebp - 0x30], str.awnfyp_wtjybxtrg_vujw_usjwtpbpj_cgwv_nwccfa_wvjii_apc_rkdvlbozt_nxvpqer
cmp dword [ebp - 0x28], 0x7506
jle 0x10036bf4
and dword [ebp - 0x24], 0
jmp 0x10036b7c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6d6b
jge 0x10036bf4
and dword [ebp - 0x18], 0
jmp 0x10036b92
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x433e
jge 0x10036bf2
and dword [ebp - 0x1c], 0
jmp 0x10036ba8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x63b0
jge 0x10036bf0
and dword [ebp - 0x20], 0
jmp 0x10036bbe
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5c45
jge 0x10036bee
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
xor eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, 0x10077fd8
call fcn.10004c70
jmp 0x10036bb7
jmp 0x10036ba1
jmp 0x10036b8b
jmp 0x10036b75
mov byte [ebp - 0x11], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x741c
jge 0x10036c12
mov edx, dword [ebp - 0x30]
mov ecx, 0x10077fd8
call fcn.10007021
jmp 0x10036c2e
or dword [ebp - 4], 0xffffffff
jmp 0x10036c38
push 1
lea eax, [ebp - 0x11]
push eax
push 1
push 1
call fcn.10034c5a
add esp, 0x10
jmp 0x10036c52
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x10036c5c
push 1
call fcn.10033165
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ff10
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4100db
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40ff39
mov eax, 0x7000000
jmp 0x40ff41
test eax, eax
je 0x4100b6
mov dword [esp + 0x14], eax
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call fcn.0046e7f0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x12be7e0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x4100ce
cmp edx, 0x21
jae 0x4100c2
movsd qword [esp + 0x18], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.00465820
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.004658f0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xdfd880]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xdfd8d0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x410091
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xdfd910]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046e8c0
mov eax, edx
mov ecx, 0x21
call fcn.0046e9b0
nop
call fcn.0046d440
jmp fcn.0040ff10
Function at 0x41ab10
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ad1e
sub esp, 0x18
mov eax, dword [0x1340ac8]
test eax, eax
jne 0x41ad07
nop
nop
lea eax, [0x1340ab8]
mov dword [esp], eax
call fcn.0040dbf0
mov eax, dword [0x1340abc]
test eax, eax
je 0x41ab58
cmp dword [eax + 8], 0xcc
jne 0x41abce
mov edx, dword [0x1340ac0]
test edx, edx
jne 0x41abb0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x13487f0]
mov dword [esp + 8], eax
call fcn.004100f0
mov eax, dword [esp + 0xc]
mov dword [0x1340ac0], eax
mov ecx, dword [0x1340ac4]
mov dword [eax], ecx
mov eax, dword [0x1340ac0]
mov dword [0x1340ac4], eax
movzx eax, byte [0x13418a0]
test al, al
jne 0x41abb0
xor eax, eax
jmp 0x41acd8
mov edx, dword [0x1340ac0]
mov ebx, dword [edx + 4]
mov dword [0x1340ac0], ebx
mov ebx, dword [0x1340abc]
mov dword [edx + 4], ebx
mov dword [0x1340abc], edx
mov edx, dword [0x1340abc]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x41acb7
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.00406670
mov eax, dword [0x1341280]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x41ac18
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x41ac2e
call fcn.0046e850
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0x1341280]
test eax, eax
jne 0x41ac52
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x41ac80
call fcn.0046e890
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0x1340ab8]
mov dword [esp], eax
call fcn.0040ddf0
nop
lea eax, [0x1340ab4]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004067f0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046e8c0
lea edx, [0x12b63a4]
movzx ebx, byte [edx + eax]
lea ebp, [0x13418a0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x41abb0
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x41acc1
mov ecx, 5
call fcn.0046e8b0
lea eax, [0xcbb9dc]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043e470
nop
call fcn.0046d440
jmp fcn.0041ab10
Function at 0x428a50
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428b38
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x428b32
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00428e90
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00428f70
movzx eax, byte [esp + 0x18]
test al, 2
je 0x428ae6
cmp word [esp + 0x10], 0x1f0
jbe 0x428ae6
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x428b2d
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00428f00
add esp, 0x1c
ret
call fcn.0046e8c0
call fcn.0046e8c0
nop
call fcn.0046d440
jmp fcn.00428a50
Function at 0x428b50
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428c84
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x428c7e
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00428e90
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00429060
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x428c77
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00428f00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x428c3a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.004355b0
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x428c73
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004065b0
add esp, 0x20
ret
mov eax, edx
call fcn.0046e8c0
call fcn.0046e8c0
nop
call fcn.0046d440
jmp fcn.00428b50
Function at 0x42ec90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42ee00
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42ed90
cmp cl, 1
je 0x42ed22
cmp cl, 2
jne 0x42ede9
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004342f0
nop
nop
lea eax, [0x1325080]
mov dword [esp], eax
call fcn.0040dbf0
mov eax, dword [0x1325024]
sub eax, dword [0x1325008]
nop
mov dword [0x1325024], eax
mov eax, dword [0x1325014]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1325014], ecx
nop
lea eax, [0x1325080]
mov dword [esp], eax
call fcn.0040ddf0
jmp 0x42ede5
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.0041ab10
nop
nop
lea eax, [0x1325080]
mov dword [esp], eax
call fcn.0040dbf0
mov eax, dword [0x1324ffc]
sub eax, dword [0x1324fe0]
nop
mov dword [0x1324ffc], eax
mov eax, dword [0x1324fec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1324fec], ecx
nop
lea eax, [0x1325080]
mov dword [esp], eax
call fcn.0040ddf0
jmp 0x42ede5
cmp cl, 3
jne 0x42ed9b
mov byte [eax + 8], 1
jmp 0x42ede5
cmp cl, 4
jne 0x42ede9
nop
nop
lea eax, [0x1325080]
mov dword [esp], eax
call fcn.0040dbf0
mov eax, dword [0x1325074]
sub eax, dword [0x1325058]
nop
mov dword [0x1325074], eax
mov eax, dword [0x1325064]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1325064], ecx
nop
nop
lea eax, [0x1325080]
mov dword [esp], eax
call fcn.0040ddf0
add esp, 0x14
ret
lea eax, [0xcb12bd]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043e470
nop
call fcn.0046d440
jmp fcn.0042ec90
Function at 0x45ac10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45ad8a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45ad80
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45ac6a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45ac6a
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 0x45ac7d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x45ad57
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 0x45ad4b
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 0x45ad42
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x45acd0
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x45ad13
mov eax, 1
cmp eax, ecx
ja 0x45ad07
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0046e920
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x45ad3d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45ad0c
mov ecx, dword [esp + 0xc]
jmp 0x45acd5
call fcn.0046e8c0
xor eax, eax
mov ecx, eax
call fcn.0046e8b0
call fcn.0046e920
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x45ad7b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45ad50
mov ecx, dword [esp + 0x18]
jmp 0x45ac82
call fcn.0046e8c0
xor eax, eax
mov ecx, eax
call fcn.0046e8b0
nop
call fcn.0046d440
jmp fcn.0045ac10

Function at 0x462550
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1340c6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4625eb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x1340c6c]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046eae7
lea ecx, [0x462600]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0046d350
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046d440
jmp fcn.00462550
Function at 0x46e6f0
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 [0x1341680]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46ce7b
je 0x46cece
cmp ebx, 0x20
jbe 0x46ced4
cmp ebx, 0x40
jbe 0x46cf1a
jmp 0x46cfbb
test ebx, ebx
je 0x46cec4
add eax, 0x10
test ax, 0xff0
je 0x46ceb0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0xe068e0]
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 + 0xe069e0]
jmp 0x46ce98
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46ce98
pxor xmm1, xmmword [0x1341690]
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 [0x1341690]
pxor xmm2, xmmword [0x13416a0]
pxor xmm3, xmmword [0x13416b0]
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 [0x1341690]
pxor xmm2, xmmword [0x13416a0]
pxor xmm3, xmmword [0x13416b0]
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 0x46d01a
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 [0x1340a49], 0
je 0x46e70a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46ce40
jmp fcn.0040c3a0
Function at 0x46f680
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46f69a
mov ecx, 0x14
jmp 0x46f6a3
shl ecx, 2
add ecx, 0xe10
mov dword [0x1340c6c], ecx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x5e11d0], 1
mov dword [0x5e11cc], 1
mov dword [0x5e11c8], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x5e1014], eax
mov eax, dword [0x5e11dc]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x5e11f0]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x5e11d8]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x575128], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x4072a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ecx]
cmp edi, 2
jne 0x4072b6
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx + 0x18]
cmp byte [ecx + 0x30], 1
mov esi, ecx
jne 0x4072d5
push 1
mov ebx, eax
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x40731d
mov byte [esi + 0x30], 0
mov eax, ebx
mov ebx, dword [esi + 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
push ebx
call sub.kernel32.dll_CloseHandle
test edi, edi
je 0x4072f0
push dword [esi + 4]
call sub.kernel32.dll_CloseHandle
cmp dword [esi + 8], 0
je 0x4072fe
push dword [esi + 0xc]
call sub.kernel32.dll_CloseHandle
cmp dword [esi + 0x10], 0
je 0x40730c
push dword [esi + 0x14]
call sub.kernel32.dll_CloseHandle
add esi, 0x20
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp sym.core::ptr::drop_in_place_LT_core..option..Option_LT_tokio..process..imp..Waiting_GT__GT_::h618a4d6159afd567
call sub.kernel32.dll_GetLastError
cmp eax, 5
mov eax, ebx
jne 0x4072d5
push 0
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x40733e
cmp eax, 0x102
je 0x4072cf
jmp 0x407357
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x4072cf
call sub.kernel32.dll_GetLastError
jmp 0x4072d3
Function at 0x40fc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
nop word [eax + eax]
mov ecx, eax
xor edx, edx
test cl, 3
sete dl
or edx, eax
or edx, 0x20
lock cmpxchg dword [esi], edx
jne 0x40fc50
test cl, 3
je 0x40fc9b
mov eax, 0xffffffc0
lock xadd dword [esi], eax
cmp eax, 0x3f
jbe 0x40fcad
and eax, 0xffffffc0
cmp eax, 0x40
jne 0x40fc97
mov ecx, esi
call sym.__ZN4core3ptr299drop_in_place_LT_tokio..runtime..task..core..Cell_LT_tokio..runtime..blocking..task..BlockingTask_LT_tokio..fs
push dword [esi - 4]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
pop esi
pop edi
pop ebp
ret
lea ecx, [esi + 0x18]
call sym.tokio::runtime::task::harness::cancel_task::h89bf352f5cf7bd5d
mov ecx, esi
pop esi
pop edi
pop ebp
jmp sym.tokio::runtime::task::harness::Harness_LT_T_C_S_GT_::complete::h0f38afe2c422e47e
mov ecx, str.assertion_failed:_prev.ref_count_____1
mov edx, 0x27
push 0x5b5e24
call sym.core::panicking::panic::hf6244c8fb5815825
mov edi, eax
push dword [esi - 4]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
push edi
call sym.__Unwind_Resume
nop dword [eax]