joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417ff0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x41823b
cmp dword [ebp + 0xc], 0
je 0x41823b
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41823b
mov eax, dword [ebp + 0x10]
add eax, 7
test eax, 0xfffffff8
je 0x41823b
mov eax, dword [ebp + 0x18]
mov edx, 0x10
cmp eax, edx
xorps xmm0, xmm0
movups xmmword [0x5058a0], xmm0
cmovg eax, edx
push eax
push ecx
push 0x5058a0
call fcn.004a4870
add esp, 0xc
xor edx, edx
nop
mov eax, edx
mov cl, dl
sar eax, 3
and cl, 7
mov al, byte [eax + 0x5058a0]
sar al, cl
and al, 1
mov byte [edx + 0x505910], al
inc edx
cmp edx, 0x40
jl 0x418050
xor ecx, ecx
movsx eax, byte [ecx + str.91__]
movzx eax, byte [eax + 0x50590f]
mov byte [ecx + 0x5057a0], al
movsx eax, byte [ecx + 0x4d3851]
movzx eax, byte [eax + 0x50590f]
mov byte [ecx + 0x5057a1], al
movsx eax, byte [ecx + 0x4d3852]
movzx eax, byte [eax + 0x50590f]
mov byte [ecx + 0x5057a2], al
movsx eax, byte [ecx + 0x4d3853]
movzx eax, byte [eax + 0x50590f]
mov byte [ecx + 0x5057a3], al
add ecx, 4
cmp ecx, 0x38
jl 0x418072
push 0x38
push 0x5057a0
push 0x505910
call fcn.004a4870
add esp, 0xc
mov dword [ebp - 8], 0x5051a0
xor eax, eax
mov dword [ebp - 4], eax
push ebx
push esi
push edi
nop dword [eax]
movsx ebx, byte [eax + 0x4d3ab8]
mov edi, dword [0x500008]
push ebx
push edi
push 0x5057a0
call fcn.004a4870
mov esi, 0x1c
lea eax, [edi + ebx]
sub esi, ebx
push esi
push eax
push edi
call fcn.004a4870
mov eax, dword [0x500008]
mov edi, ebx
push ebx
add eax, 0x1c
neg edi
add eax, edi
push 0x5057a0
push eax
call fcn.004a4870
push ebx
push dword [0x50000c]
push 0x5057a0
call fcn.004a4870
push esi
mov esi, dword [0x50000c]
lea eax, [esi + ebx]
push eax
push esi
call fcn.004a4870
push ebx
lea eax, [esi + 0x1c]
add eax, edi
push 0x5057a0
push eax
call fcn.004a4870
add esp, 0x48
xor eax, eax
nop dword [eax]
movsx ecx, byte [eax + 0x4d3888]
movzx ecx, byte [ecx + 0x50590f]
mov byte [eax + 0x5057a0], cl
movsx ecx, byte [eax + 0x4d3889]
movzx ecx, byte [ecx + 0x50590f]
mov byte [eax + 0x5057a1], cl
movsx ecx, byte [eax + 0x4d388a]
movzx ecx, byte [ecx + 0x50590f]
mov byte [eax + 0x5057a2], cl
movsx ecx, byte [eax + 0x4d388b]
movzx ecx, byte [ecx + 0x50590f]
mov byte [eax + 0x5057a3], cl
movsx ecx, byte [eax + 0x4d388c]
movzx ecx, byte [ecx + 0x50590f]
mov byte [eax + 0x5057a4], cl
movsx ecx, byte [eax + 0x4d388d]
movzx ecx, byte [ecx + 0x50590f]
mov byte [eax + 0x5057a5], cl
add eax, 6
cmp eax, 0x30
jl 0x418170
mov ebx, dword [ebp - 8]
push 0x30
push 0x5057a0
push ebx
call fcn.004a4870
mov eax, dword [ebp - 4]
add ebx, 0x30
inc eax
mov dword [ebp - 8], ebx
add esp, 0xc
mov dword [ebp - 4], eax
cmp ebx, 0x5054a0
jl 0x4180f0
push dword [ebp + 0x1c]
push 0x5051a0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00418440
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x418250
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
nop dword [eax]
movsx eax, byte [ecx + 0x4d3800]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a0], al
movsx eax, byte [ecx + 0x4d3801]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a1], al
movsx eax, byte [ecx + 0x4d3802]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a2], al
movsx eax, byte [ecx + 0x4d3803]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a3], al
movsx eax, byte [ecx + 0x4d3804]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a4], al
movsx eax, byte [ecx + 0x4d3805]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a5], al
add ecx, 6
cmp ecx, 0x30
jl 0x418260
push 0x30
push 0x5057a0
push 0x505950
call fcn.004a4870
mov edx, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
lea eax, [edx + 0x2f]
cmp eax, 0x505950
jb 0x418325
cmp edx, 0x50597f
ja 0x418325
sub edx, 0x505950
nop word [eax + eax]
mov al, byte [edx + ecx + 0x505950]
xor byte [ecx + 0x505950], al
inc ecx
cmp ecx, 0x30
jl 0x418310
jmp 0x418352
sub edx, 0x505950
nop dword [eax + eax]
movups xmm0, xmmword [ecx + 0x505950]
movups xmm1, xmmword [edx + ecx + 0x505950]
pxor xmm1, xmm0
movups xmmword [ecx + 0x505950], xmm1
add ecx, 0x10
cmp ecx, 0x30
jl 0x418330
push ebx
push edi
mov edi, esi
mov dword [ebp - 4], 0
mov esi, 0x505951
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], esi
nop dword [eax]
mov cl, byte [esi]
xor eax, eax
mov dl, byte [esi - 1]
add cl, cl
add cl, byte [esi + 1]
add dl, dl
add dl, byte [esi + 4]
add cl, cl
add cl, byte [esi + 2]
add cl, cl
movsx ebx, dl
add cl, byte [esi + 3]
add ebx, dword [ebp - 4]
add ebx, ebx
movsx esi, cl
mov edx, eax
mov cl, al
sar edx, 3
and cl, 7
add edx, esi
mov dl, byte [edx + ebx*8 + 0x4d38b8]
sar dl, cl
and dl, 1
mov byte [eax + edi], dl
inc eax
cmp eax, 4
jl 0x418396
mov esi, dword [ebp - 8]
add edi, 4
add dword [ebp - 4], 4
add esi, 6
sub dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
jne 0x418370
mov esi, dword [ebp + 8]
xor ecx, ecx
pop edi
pop ebx
movsx eax, byte [ecx + 0x4d3830]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a0], al
movsx eax, byte [ecx + 0x4d3831]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a1], al
movsx eax, byte [ecx + 0x4d3832]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a2], al
movsx eax, byte [ecx + 0x4d3833]
movzx eax, byte [eax + esi - 1]
mov byte [ecx + 0x5057a3], al
add ecx, 4
cmp ecx, 0x20
jl 0x4183d4
push 0x20
push 0x5057a0
push esi
call fcn.004a4870
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b6f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x41b791
cmp byte [esi + 0x3d], 0
je 0x41b791
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41b747
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41b759
sub eax, 1
je 0x41b75d
sub eax, 2
je 0x41b791
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41b77a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004acec5
add esp, 0x10
cmp edi, eax
jne 0x41b747
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x41b9b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x41b9e0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41ba1c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41ba1c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x41bb01
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x41ba44
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41ba77
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004ac561
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x41bb01
cmp eax, 1
jle 0x41bad4
cmp eax, 3
jne 0x41bb01
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00418af0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41baf1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004acec5
add esp, 0x10
cmp edi, eax
jne 0x41bb01
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x41ba07
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
Function at 0x41c190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x41c1b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004036f0
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x41c1d5
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x41c1d7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x41c25f
jg 0x41c1ea
test esi, esi
je 0x41c25f
test ecx, ecx
jl 0x41c22c
jg 0x41c1f4
test eax, eax
je 0x41c22c
cmp ebx, ecx
jg 0x41c206
jl 0x41c1fe
cmp esi, eax
jae 0x41c206
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004a4870
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x41c232
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x41c25f
jg 0x41c23c
test esi, esi
je 0x41c25f
cmp dword [edi + 0x4c], 0
je 0x41c25f
mov ecx, edi
call fcn.0041b8c0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.004ac831
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41c2a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403610
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x41c2c5
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x41c2c7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x41c344
jg 0x41c2da
test esi, esi
je 0x41c344
test ecx, ecx
jl 0x41c31e
jg 0x41c2e4
test eax, eax
je 0x41c31e
cmp edi, ecx
jg 0x41c2f6
jl 0x41c2ee
cmp esi, eax
jae 0x41c2f6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.004a4870
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x41c321
mov edx, dword [ebp + 8]
test edi, edi
jl 0x41c344
jg 0x41c32b
test esi, esi
je 0x41c344
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x41c344
push eax
push esi
push 1
push edx
call fcn.004acec5
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41cea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d04f7
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x2b4], 0
jne 0x41cfa3
cmp dword [edi + 0x2ac], 0
jne 0x41cefd
mov ecx, edi
call fcn.0041ebd0
mov dword [edi + 0x2b0], eax
cmp dword [edi + 0x2b0], 0
je 0x41cfa3
call fcn.0041c3e0
add eax, 0x120
lea ecx, [ebp - 0x28]
push eax
call fcn.00402a10
push 0x10
mov dword [ebp - 4], 0
call fcn.004a1376
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x41cf52
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
push ecx
movups xmmword [eax], xmm0
mov ecx, eax
push dword [edi + 0x248]
call fcn.0041c360
jmp 0x41cf54
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0
mov dword [edi + 0x264], eax
call fcn.0041c820
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00402900
cmp esi, 1
jne 0x41cfa3
push str.DD8982A9_2114_4335_8970_A8CAA220ED04
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x250], eax
call fcn.0041c3e0
mov ecx, eax
call fcn.00419690
mov ecx, edi
call fcn.0041f600
push 3
mov ecx, edi
call fcn.0041e7b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x41d410
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
push 0x20a
push 0
push eax
mov dword [ebp - 0x464], ecx
call fcn.004a4df0
push esi
push str._s.
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00407510
push 0x250
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.004a4df0
add esp, 0x2c
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
nop dword [eax]
mov edx, 0x4d4140
lea ecx, [ebp - 0x434]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x41d4c6
test ax, ax
je 0x41d4c2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x41d4c6
add ecx, 4
add edx, 4
test ax, ax
jne 0x41d4a0
xor eax, eax
jmp 0x41d4cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d55e
mov eax, 0x4d4144
lea ecx, [ebp - 0x434]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41d506
test dx, dx
je 0x41d502
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41d506
add ecx, 4
add eax, 4
test dx, dx
jne 0x41d4e0
xor eax, eax
jmp 0x41d50b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d55e
lea eax, [ebp - 0x434]
push eax
push esi
push 0x4d4008
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00407510
add esp, 0x18
lea eax, [ebp - 0x210]
test byte [ebp - 0x460], 0x10
push eax
je 0x41d558
mov ecx, dword [ebp - 0x464]
call fcn.0041d410
lea eax, [ebp - 0x210]
push eax
call ebx
jmp 0x41d55e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41d490
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4
Function at 0x41d5a0
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.SoftwareLXSoft
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41d624
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41d624
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0
push ecx
push 0
push str.LxAppID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 4
jne 0x41d61b
push str.SoftwareLXSoft
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWangYunNote
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d663
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWangYunNote
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret

Function at 0x41d680
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41d70a
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a4df0
push 0x4d3ff4
lea eax, [ebp - 0x414]
push eax
push 0x4d4008
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00407510
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call edi
push 0
push 0x17
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d7cc
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a4df0
push 0x4d4014
lea eax, [ebp - 0x414]
push eax
push 0x4d4008
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00407510
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call edi
push 0x4d4030
lea eax, [ebp - 0x414]
push eax
push 0x4d4008
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00407510
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call edi
push 0x4d4048
lea eax, [ebp - 0x414]
push eax
push 0x4d4008
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00407510
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x41d7e0
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0568
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x27c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409500
mov ecx, str.WangYunSvD.dll
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d827
sub ecx, edx
sar ecx, 1
push ecx
push str.WangYunSvD.dll
lea ecx, [ebp - 0x34]
call fcn.004090e0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d89e
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41d89e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x43677542
push eax
push esi
mov dword [ebp - 0x18], 0x6b636568
mov word [ebp - 0x14], 0x4f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d897
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x41d8d4
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d8ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8ee
push edx
push ecx
call fcn.004a1326
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call fcn.004a8d39
int3
Function at 0x41d920
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004a4df0
add esp, 0xc
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWangYunNote
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41da46
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0x20a
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.InstallLocation
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41da46
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x41da46
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41da10
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x27c]
call fcn.00408140
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004a1365
mov esp, ebp
pop ebp
ret