joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4068e0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x443ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457640]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x94], ebx
je 0x406a2c
lea eax, [esp + 0x18]
push eax
call fcn.00401dc0
lea edi, [esi + 0x80]
mov dword [esp + 0x38], ebx
cmp dword [edi + 0x18], 0x10
jb 0x406936
mov ecx, dword [edi + 4]
jmp 0x406939
lea ecx, [edi + 4]
lea edx, [esp + 0x18]
push edx
call fcn.00402f80
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
xor esi, esi
test eax, eax
jle 0x4069c4
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
lea eax, [esp + 0x1c]
call fcn.00401e70
cmp dword [eax + 0x18], 0x10
jb 0x406982
mov ebx, dword [eax + 4]
jmp 0x406985
lea ebx, [eax + 4]
push 0
push ebx
call fcn.0042ccd9
add esp, 8
cmp eax, 0xffffffff
je 0x4069a2
push ebx
call ebp
test eax, eax
jne 0x4069a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
jl 0x40696d
xor ebx, ebx
cmp dword [edi + 0x18], 0x10
jb 0x4069cf
mov esi, dword [edi + 4]
jmp 0x4069d2
lea esi, [edi + 4]
push ebx
push esi
call fcn.0042ccd9
add esp, 8
cmp eax, 0xffffffff
je 0x4069e8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call fcn.00404980
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x406a13
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
push edx
call fcn.00403690
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.0040fc42
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0040fc42
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x406ba0
Capabilities:
Terminate thread

Disassembly:
push ecx
mov ecx, dword [esi + 0xc]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp], 0x103
jne 0x406bdf
mov edx, dword [esi + 0xc]
push 0x103
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x1e], al
mov byte [esi + 0x1c], 1
pop ecx
ret
mov byte [esi + 0x1e], 0
mov byte [esi + 0x1c], 1
pop ecx
ret
Function at 0x4075c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x443d48
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x457640]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor edx, edx
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], edx
lea ecx, [esi + 0x14]
mov byte [ecx + 4], dl
mov dword [esi + 4], edx
mov dword [esi + 8], 4
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
mov eax, 0x44a897
mov dword [esp + 0x18], edx
mov dword [esi], vtable.TiXmlText.0
lea edi, [eax + 1]
mov bl, byte [eax]
inc eax
cmp bl, dl
jne 0x407621
sub eax, edi
push eax
push 0x44a897
call fcn.004026a0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x407de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4439b3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457640]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
xor edx, edx
lea edi, [esi + 0x14]
mov dword [edi + 0x14], edx
mov ecx, 0xf
mov dword [edi + 0x18], ecx
mov byte [edi + 4], dl
mov ebx, 1
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
mov dword [esp + 0x1c], edx
lea eax, [esi + 0x38]
mov dword [esi], vtable.TiXmlElement.0
mov dword [eax], vtable.TiXmlAttribute.0
mov dword [eax + 0x20], ecx
mov dword [eax + 0x1c], edx
mov byte [eax + 0xc], dl
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], edx
mov byte [eax + 0x28], dl
mov dword [eax + 0x44], eax
mov dword [eax + 0x40], eax
mov byte [esp + 0x1c], bl
mov eax, ebp
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], edx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, dl
jne 0x407e70
sub eax, ebx
push eax
push ebp
mov ecx, edi
call fcn.004026a0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x408a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443978
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x457640]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x457640]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc], al
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
lea eax, [ecx + 0x14]
call fcn.004078b0
mov eax, dword [esp + 0x10]
add esp, 4
cmp dword [esp + 0x20], 0x10
jae 0x408aa8
lea eax, [esp + 0xc]
push eax
push 0x44af04
push esi
call fcn.0042d615
add esp, 0xc
cmp dword [esp + 0x20], 0x10
jb 0x408acb
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0040fc42
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call int.0042c7ef
add esp, 0x2c
ret 8
Function at 0x4131ba
Capabilities:
Encode data using xor

Disassembly:
adc byte [ebp - 0xd8a3881], bh
or eax, 0xb837fba1
das
push ebx
clc
push ebp
mov esp, 0x4dbf6fff
arpl word [ebp - 0x2b], bp
or byte [ebx + 0x18b9c6dd], bl
ja 0x4131e2
sub eax, 0xc25f230f
mov ebp, 0x35eebfd8
or eax, 0xdbbfb120
mov eax, ds
scasd eax, dword es:[edi]
arpl word [ecx], bp
pop esp
inc edi
push ebx
invalid
js 0x41316a
test al, 0x47
stosd dword es:[edi], eax
cwde
pop es
mov byte [ecx + 0x1c4d3441], bh
nop
inc ecx
xor al, 0x4d
sbb al, 0x90
inc edi
push ss
xchg edi, eax
loop 0x4131c3
xor ecx, esi
pop esi
mov dword [0x7a7a8aef], ebp
arpl si, si
pop ss
pop ss
not dword [ecx + 0x66]
dec ebp
xor cl, bh
and al, 0x96
xchg edx, eax
invalid

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x42cc81
call fcn.0042f1db
mov dword [eax], esi
call fcn.0042f1c8
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0042cc1a
add esp, 0x14
push 0x16
pop eax
jmp 0x42ccd6
test dword [ebp + 0xc], 0xfffffff9
jne 0x42cc5d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42ccae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042f1ee
pop ecx
call fcn.0042f1c8
mov eax, dword [eax]
jmp 0x42ccd6
test al, 0x10
jne 0x42ccd4
test al, 1
je 0x42ccd4
test byte [ebp + 0xc], 2
je 0x42ccd4
call fcn.0042f1db
mov dword [eax], 5
call fcn.0042f1c8
mov dword [eax], 0xd
jmp 0x42cca5
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x13c06f65
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x395902ad
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401dd0
Capabilities:
Delete file

Disassembly:
mov eax, 0x2024
call fcn.0044ef90
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x2020], eax
push esi
mov esi, dword [esp + 0x202c]
xor eax, eax
test esi, esi
je 0x401e64
push 0x2000
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x14], 3
call fcn.0044e060
push 0x1000
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.0044effb
add esp, 0x18
lea ecx, [esp + 4]
lea edx, [esp + 0x24]
mov eax, 0x614
push ecx
mov dword [esp + 0x10], edx
mov word [esp + 0x18], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x2024]
pop esi
xor ecx, esp
call fcn.0044e04c
add esp, 0x2024
ret

Function at 0x401ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b42b
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov eax, dword [0x487cf8]
mov edx, dword [eax + 0xc]
mov ecx, 0x487cf8
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea edi, [esp + 0x10]
mov dword [esp + 0x828], 0
call fcn.004021e0
test eax, eax
jne 0x40208f
mov dword [esp + 0x828], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402088
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40214b
push 0x800
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0044e060
mov esi, dword [esp + 0x1c]
add esp, 0xc
push str.KWSMain.exe
push esi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4020d5
lea edi, [ebx + 0xc]
lea eax, [esp + 0x10]
call fcn.00402bf0
jmp 0x40211f
lea edi, [esp + 0x10]
call fcn.004022c0
test eax, eax
je 0x40205d
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40211f
push 0x400
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0044effb
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edi, [ebx + 0xc]
lea edx, [esp + 0x14]
call fcn.00402b90
lea eax, [esi - 0x10]
mov dword [esp + 0x828], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret
Function at 0x4021e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push 0x477630
xor ebx, ebx
mov eax, edi
call fcn.00402c50
push 0x800
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0044e060
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x476db0
push str.SoftwareKingsoftKSWSVC
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
je 0x4022a2
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402260
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402c50
mov ebx, edi
call fcn.00402fc0
mov eax, 0x22
call fcn.004030e0
mov eax, 0x5c
call fcn.004030e0
call fcn.00403040
call fcn.00403160
mov ecx, dword [esp + 0x814]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e04c
add esp, 0x814
ret

Function at 0x4022c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push 0x477630
xor ebx, ebx
mov eax, edi
call fcn.00402c50
push 0x800
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0044e060
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push str.ImagePath
push str.SYSTEMCurrentControlSetServicesKingsoft_Antivirus_WebShield_Service
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
je 0x402382
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402340
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402c50
mov ebx, edi
call fcn.00402fc0
mov eax, 0x22
call fcn.004030e0
mov eax, 0x5c
call fcn.004030e0
call fcn.00403040
call fcn.00403160
mov ecx, dword [esp + 0x814]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e04c
add esp, 0x814
ret
Function at 0x402520
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x698
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x694], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x4774c4
push esi
xor edi, edi
push 0x4774c8
lea edx, [esp + 0x49c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
call fcn.00402ed0
add esp, 0xc
test eax, eax
je 0x40257f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x494]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x402664
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
inc edi
test byte [esp + 0x38], 0x10
je 0x402622
cmp word [esp + 0x64], 0x2e
jne 0x4025cd
mov ax, word [esp + 0x66]
test ax, ax
je 0x402622
cmp ax, 0x2e
jne 0x4025cd
cmp word [esp + 0x68], 0
je 0x402622
lea eax, [esp + 0x64]
push eax
push esi
lea ecx, [esp + 0x290]
push ecx
call ebx
test eax, eax
je 0x402622
push str.kwsmain.exe
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x402622
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x290]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x402622
test byte [esp + 0x14], 0x10
jne 0x402622
cmp dword [esp + 0x34], 0x1000
ja 0x402644
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x402659
cmp edi, 0x3e8
jl 0x4025a5
jmp 0x402659
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x64]
push ecx
push esi
push edx
call ebx
mov dword [esp + 8], 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x69c]
mov eax, dword [esp + 8]
pop edi
pop ebx
xor ecx, esp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret 4
Function at 0x402680
Capabilities:
Enumerate process modules
Suspend thread

Disassembly:
sub esp, 0x43c
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x434], eax
cmp dword [0x4891e0], 0
push esi
push edi
mov esi, ecx
jne 0x4026c5
push str.NtQueryInformationThread
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4891e0], eax
test eax, eax
je 0x402783
push esi
push 0
push 0x42
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x402783
push 0
push 4
lea eax, [esp + 0x14]
push eax
push 9
push edi
call dword [0x4891e0]
test eax, eax
je 0x40270e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.0044e04c
add esp, 0x43c
ret
push ebx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x4026f0
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x402777
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
ja 0x40275f
mov edx, dword [esp + 0x28]
add edx, eax
cmp edx, ecx
jbe 0x40275f
lea eax, [esp + 0x30]
push str.kswebshield.dll
push eax
call fcn.0044ee88
add esp, 8
test eax, eax
je 0x402770
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x402733
jmp 0x402777
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
xor ecx, esp
call fcn.0044e04c
add esp, 0x43c
ret

Function at 0x4027a0
Capabilities:
Enumerate threads
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x402829
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 8]
test eax, eax
je 0x402829
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x402829
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x14], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x402822
lea ecx, [ecx]
mov ebx, dword [esp + 8]
cmp dword [esp + 0x18], ebx
jne 0x402813
mov ecx, dword [esp + 0x14]
call fcn.00402680
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x402800
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402830
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x61c
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x618], eax
mov eax, dword [esp + 0x620]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
mov esi, ecx
test eax, eax
je 0x4028b1
cmp word [eax], 0
je 0x4028b1
push esi
push eax
lea eax, [esp + 0x218]
push eax
call ebx
test eax, eax
je 0x4028b1
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4028b1
lea edx, [esp + 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x210]
push 0x477558
push eax
call fcn.0044ff9f
add esp, 8
test eax, eax
je 0x4028b1
push eax
call fcn.0044f8a3
add esp, 4
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
je 0x402907
lea edx, [esp + 8]
push edx
push str._s.tmp
lea edx, [esp + 0x420]
call fcn.00402ed0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 8
push 1
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
push 4
push 0
lea edx, [esp + 0x10]
push edx
call esi
push 4
push 0
lea eax, [esp + 0x420]
push eax
call esi
mov ecx, dword [esp + 0x620]
pop esi
pop ebx
xor ecx, esp
call fcn.0044e04c
add esp, 0x61c
ret 4
Function at 0x4029e0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x82c
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x828], eax
mov ecx, dword [0x4775a0]
mov edx, dword [0x4775a4]
mov eax, dword [str.qQ]
push ebx
push esi
mov dword [esp + 0x820], ecx
movzx ecx, word [0x4775ac]
push edi
mov dword [esp + 0x828], edx
mov edx, dword [0x476dfc]
mov dword [esp + 0x820], eax
mov eax, dword [0x4775a8]
mov word [esp + 0x830], cx
movzx ecx, word [0x476e04]
push 0x800
mov dword [esp + 0x818], edx
mov dword [esp + 0x830], eax
mov eax, dword [0x476e00]
lea edx, [esp + 0x14]
push 0
push edx
mov dword [esp + 0x824], eax
mov word [esp + 0x828], cx
call fcn.0044e060
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x820]
push ecx
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ecx
call ebx
push 1
push 0x19
lea edx, [esp + 0x18]
push edx
push 0
call esi
lea eax, [esp + 0x820]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
lea eax, [esp + 0x10]
push eax
call ebx
push 1
push 0x1a
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
push 1
push 0xb
lea edx, [esp + 0x18]
push edx
push 0
call esi
lea eax, [esp + 0x814]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
lea eax, [esp + 0x10]
push eax
call fcn.00401dd0
add esp, 4
push 1
push 0x16
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
lea edx, [esp + 0x814]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call fcn.00401dd0
mov ecx, dword [esp + 0x838]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e04c
mov esp, ebp
pop ebp
ret