joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ee7a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.0059b630
mov eax, dword [esp + 0x10]
push ebx
push esi
test byte [eax + 0x10], 4
mov esi, dword [eax + 4]
lea ebx, [esi - 1]
je 0x6ee847
mov ecx, dword [eax + 8]
xor edx, edx
push ebp
xor ebp, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x6ee830
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
push edi
push dword [ecx]
mov eax, ebp
xor eax, ebx
lea edi, [eax - 1]
not eax
shr edi, 0x1f
shr eax, 0x1f
and edi, eax
neg edi
mov esi, edi
or esi, dword [esp + 0x14]
call fcn.006ee870
mov ecx, dword [esp + 0x18]
mov edx, esi
not edx
mov dword [esp + 0x14], esi
and edx, 0x20
and eax, edi
add edx, dword [esp + 0x24]
inc ebp
add edx, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
cmp ebp, dword [esp + 0x18]
jl 0x6ee7e3
pop edi
mov eax, ebx
shr ebx, 0x1f
not eax
dec eax
shr eax, 0x1f
and eax, ebx
pop ebp
dec eax
pop esi
and eax, edx
pop ebx
add esp, 0xc
ret
test esi, esi
jne 0x6ee853
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [eax]
push dword [eax + esi*4 - 4]
call fcn.006ee870
add esp, 4
shl esi, 5
add esi, 0xffffffe0
add eax, esi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x70b4e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x70b507
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x70b4f6
pop edi
movzx eax, dl
pop esi
ret
Function at 0x7f3850
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.007f3860

Function at 0x7f3ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.007f3af0
Function at 0x100f50a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10115280], 0
mov byte [0x10115284], 0
mov edi, dword [0x10115278]
add edi, 0xffffe149
mov dword [0x10115274], edi
mov dword [0x1011527c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100f5110
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x10115278], eax
mov dword [0x1011527c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100f5152
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10115278]
mov esi, eax
add esi, 0xffffe149
mov dword [0x10115274], esi
mov esi, dword [0x1011527c]
add esi, 1
mov dword [0x1011527c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x100f5110
jmp 0x100f50ef
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x10115288], 0
mov dword [0x10115274], 0x2253
mov esi, dword [0x10115280]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10115288], ebx
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x30]
idiv ebx
mov dword [0x10115280], edx
mov dword [0x10115274], 0x1af3
mov esi, dword [ebp - 0x2c]
mov bl, byte [edi + esi]
mov byte [0x10115284], bl
add ecx, 0xffffe224
mov dword [0x10115278], ecx
mov bl, byte [edi + edx]
mov byte [edi + esi], bl
mov bl, byte [0x10115284]
mov ecx, dword [0x10115280]
mov byte [edi + ecx], bl
mov ecx, dword [0x10115278]
mov edx, ecx
add edx, 0xffffe149
mov dword [0x10115274], edx
mov esi, dword [0x1011527c]
add esi, 1
mov dword [0x1011527c], esi
cmp esi, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], edx
jl 0x100f5152
mov eax, dword [ebp - 0x34]
mov dword [0x10115274], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100f5bb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x100f5bf9
mov eax, 1
mov ecx, dword [0x10115278]
add ecx, 0xef6
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
jmp 0x100f5d29
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x100f5c3a
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], cl
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
jne 0x100f5bf9
jmp 0x100f5c3a
mov eax, dword [ebp - 0x24]
mov ecx, 0x106d
xor edx, edx
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jne 0x100f5d29
mov eax, 0x106d
xor ecx, ecx
mov dword [0x10115274], 0x11f2
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x100f5d29
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x100f5d29
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x100f5d29
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x34]
cmp word [edx], 0x64
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x100f5d29
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x100f5d29
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x100f5bdd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [0x10115278], ecx
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x100f6290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1011527c], 0
mov dword [0x10115280], 0
mov dword [0x1011528c], 0
mov edi, dword [0x10115278]
mov ebx, edi
add ebx, 0xffffe149
mov dword [0x10115274], ebx
add edi, 0xffffd49d
mov dword [0x10115278], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x100f643c
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x100f630b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1011527c], edx
mov dword [0x10115274], 0x13cb
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10115280], edx
mov dword [0x10115278], 0x7fe
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10115284], cl
mov dword [0x10115274], 0xfae
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10115278]
add edx, 0xffffe149
mov dword [0x10115274], edx
mov cl, byte [0x10115284]
mov edx, dword [0x10115280]
mov byte [edi + edx], cl
mov edx, dword [0x10115274]
add edx, 0xffffddc4
mov dword [0x10115274], edx
mov edx, dword [0x1011527c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10115280]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x10115278]
mov ecx, edx
add ecx, 0xffffe149
and ebx, 0xff
mov dword [0x1011528c], ebx
mov dword [0x10115274], ecx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
xor cl, byte [ebx + esi]
add edx, 0xffffa56d
mov dword [0x10115274], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov dword [0x10115278], 0x87a
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x38], esi
je 0x100f643a
mov eax, dword [0x1011527c]
mov ecx, dword [0x10115280]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x100f630b
jmp 0x100f643c
mov dword [0x10115274], 0x584
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100f65b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov edx, dword [0x10115274]
mov esi, edx
add esi, 0xffffff71
mov dword [0x10115274], esi
add edx, 0xfffff428
mov dword [0x10115278], edx
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.100f5240
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x54], ecx
mov dword [0x10115278], 0x12c8
mov dword [esp + 0x68], 0x125e00
mov ecx, dword [0x10115260]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], eax
mov eax, 0xa69
lea ecx, [0x100f5b30]
mov edx, dword [0x10115264]
mov dword [esp + 0x58], edx
mov edx, dword [0x10115268]
mov dword [esp + 0x8c], edx
mov edx, dword [0x1011526c]
mov dword [esp + 0x4c], edx
mov dword [0x10115274], 0x1bd1
mov edx, dword [0x10115270]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jmp 0x100f66d6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [0x10115278], eax
mov dword [esp + 0x88], ecx
mov dword [0x10115274], 0x39d
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x64], eax
call fcn.100f5bb0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x100f670c
jmp 0x100f6748
mov eax, dword [esp + 0x14]
add eax, 0x3c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
cmp dword [edx + ecx], 0x4550
mov esi, dword [esp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], esi
je 0x100f6663
jmp 0x100f66ed
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
je 0x100f66a4
mov eax, 0x890
mov ecx, dword [esp + 0x14]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jmp 0x100f66d6
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100f5d40
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10115278]
add ecx, 0xffffd92f
mov dword [0x10115274], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x747c36a4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x21ea3f1e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00
Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407155
mov eax, dword [ecx + 0x3c]
add eax, ecx
je 0x407155
cmp dword [eax], 0x4550
jne 0x407155
lea ecx, [eax + 4]
test ecx, ecx
je 0x407155
mov edx, 0x14c
xor eax, eax
cmp word [ecx], dx
sete al
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x407160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407195
mov eax, dword [ecx + 0x3c]
add eax, ecx
je 0x407195
cmp dword [eax], 0x4550
jne 0x407195
lea ecx, [eax + 4]
test ecx, ecx
je 0x407195
mov edx, 0x8664
xor eax, eax
cmp word [ecx], dx
sete al
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x4071a0
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [eax + 0x14], 0xf
mov edi, dword [ebp + 8]
jbe 0x4071c5
mov ecx, dword [eax]
push ebx
push dword [eax + 0x10]
lea eax, [ebp - 0x1c]
push ecx
push eax
call fcn.00406120
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4071f4
test esi, esi
je 0x4071ea
mov dword [esi], str.Failed_to_convert_path_to_wide_string
mov esi, 0x57
jmp 0x4072df
push 4
push 0x3000
lea eax, [eax*2 + 6]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x407225
test esi, esi
je 0x4072d7
mov dword [esi], str.Failed_to_remotely_allocate_page_with_VirtualAllocEx__
jmp 0x4072d7
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
cmp dword [ebp - 8], 7
lea eax, [ebp - 0x1c]
push ecx
cmova eax, dword [ebp - 0x1c]
lea ecx, [edx*2 + 2]
mov dword [ebp - 0x24], 0
push ecx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4072be
mov ecx, dword [ebp - 0x20]
lea eax, [ecx*2 + 2]
cmp dword [ebp - 0x24], eax
jb 0x4072be
push 0
push 0
push ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x407299
push 0x8000
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test esi, esi
je 0x4072d7
mov dword [esi], str.Failed_to_create_run_remote_thread_with_CreateRemoteThread__
jmp 0x4072d7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor esi, esi
jmp 0x4072df
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test esi, esi
je 0x4072d7
mov dword [esi], str.Failed_to_remotely_write_dll_path_with_WriteProcessMemory__
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 8]
pop ebx
cmp ecx, 7
jbe 0x407316
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40730c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407328
push ecx
push edx
call fcn.0041557a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041558d
mov esp, ebp
pop ebp
ret
call fcn.0041a45f
int3
Function at 0x40bc40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d8e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0041554a
mov edi, eax
add esp, 4
test edi, edi
je 0x40bceb
push 1
mov dword [ebp - 4], 0
call fcn.00414249
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c6b0
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d9e5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x43c200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x43d4b3], 0
je 0x40c821
push str.restoring_registry_entries__HKCS__1
push 0x44d510
call fcn.004067f0
add esp, 8
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
push 0xf003f
push 0
push str.steamShellOpenCommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c747
push dword [0x43c084]
push 0x4494b8
push 1
push eax
push 0x42fea0
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40c821
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.00408440
add esp, 8
lea ecx, [ebp - 0x5d]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00407330
push 0x41
push str.Unable_to_restore_the_original_registry_entry__HKCS__2__error_
push 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.0040ea00
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x44d510
call fcn.00406800
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x40c800
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c7f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c865
push ecx
push edx
call fcn.0041557a
add esp, 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00402cd0
cmp byte [0x43d4b2], 0
jne 0x40c84c
push str.removing_registry_entries__HKCS__2__added_by_loader_
push 0x44d510
call fcn.004067f0
add esp, 8
push str.steam
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041558d
mov esp, ebp
pop ebp
ret
call fcn.0041a45f
int3
Function at 0x40c870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d9e5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x43c200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x43d4b0], 0
je 0x40c9f3
push str.restoring_registry_entries__HKCU_
push 0x44d510
call fcn.004067f0
add esp, 8
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
push 0xf003f
push 0
push str.SoftwareValveSteamActiveProcess
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c924
push dword [0x43c078]
push 0x43d4b8
push 1
push eax
push 0x42fb50
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [0x43c07c]
push 0x4414b8
push 1
push 0
push str.SteamClientDll64
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40c9f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.00408440
add esp, 8
lea ecx, [ebp - 0x5d]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00407330
push 0x3e
push str.Unable_to_restore_the_original_registry_entry__HKCU___error_
push 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.0040ea00
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x44d510
call fcn.00406800
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40c9d9
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c9cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca0c
push ecx
push edx
call fcn.0041557a
add esp, 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00402cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041558d
mov esp, ebp
pop ebp
ret
call fcn.0041a45f
int3