joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52c7c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, 1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0xa8]
cmp eax, dword [esi + 0x80]
jbe 0x52c82c
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0xa8], eax
inc dword [esi + 0x94]
mov eax, dword [esi + 0x90]
add eax, dword [esi + 0x98]
dec eax
cmp eax, dword [esi + 0x94]
jge 0x52c82c
mov dword [esi + 0x94], eax
cmp dword [esi + 0xd8], 0
jle 0x52c82a
dec dword [esi + 0xd8]
mov eax, dword [esi + 0x90]
mov dword [esi + 0x94], eax
jmp 0x52c82c
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x52f590
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x52f6cd
cmp dword [esi + 4], 0
je 0x52f6cd
cmp dword [ebx + 8], 0
je 0x52f5f1
mov eax, dword [esi + 4]
cmp byte [eax + 0xc], 0
jne 0x52f5d7
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0xc]
push eax
push 0
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov eax, edi
call fcn.00470688
jmp 0x52f5f1
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0xc]
push eax
push 0x50505
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov eax, edi
call fcn.004706ac
cmp dword [ebx + 0x14], 0
jl 0x52f6cd
cmp dword [ebx + 0x10], 0
je 0x52f6cd
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [ebx + 0x1c]
lea esi, [esi + esi*2]
mov edx, dword [0x53ea0c]
sub eax, dword [edx + esi*4 + 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x20]
cdq
cmp edx, dword [esp + 4]
jne 0x52f631
cmp eax, dword [esp]
pop edx
pop eax
jae 0x52f696
jmp 0x52f635
pop edx
pop eax
jge 0x52f696
call sub.kernel32.dll_GetTickCount_1
mov esi, dword [ebx + 0x1c]
lea esi, [esi + esi*2]
mov edx, dword [0x53ea0c]
mov dword [edx + esi*4 + 8], eax
mov eax, dword [0x53ea0c]
mov eax, dword [eax + esi*4 + 4]
mov edx, dword [ebx + 0x18]
dec edx
cmp eax, edx
jle 0x52f666
mov eax, dword [0x53ea0c]
xor ecx, ecx
mov dword [eax + esi*4 + 4], ecx
mov eax, dword [0x53ea0c]
mov eax, dword [eax + esi*4 + 4]
add eax, dword [ebx + 0x14]
mov ecx, dword [0x53ea0c]
inc dword [ecx + esi*4 + 4]
mov ecx, dword [0x53ea0c]
cmp edx, dword [ecx + esi*4 + 4]
jge 0x52f6a2
mov edx, dword [0x53ea0c]
xor ecx, ecx
mov dword [edx + esi*4 + 4], ecx
jmp 0x52f6a2
mov eax, dword [0x53ea0c]
mov eax, dword [eax + esi*4 + 4]
add eax, dword [ebx + 0x14]
mov edx, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
je 0x52f6cd
mov edx, esp
mov eax, esi
call fcn.0046df40
push esp
push esi
push 1
push 0
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov eax, edi
call fcn.0046e108
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x532078
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5320e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x5320a1
mov eax, esi
mov si, 0xfff6
call fcn.00404114
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 4]
cmp eax, 0x3e8
jbe 0x5320c3
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 8], eax
inc dword [ebx + 8]
lea eax, [ebp - 4]
call fcn.00404d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5320eb
lea eax, [ebp - 4]
call fcn.00404d3c
ret

Function at 0x5356a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5356a8
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x535802
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x160], dl
mov dl, 2
mov eax, ebx
call fcn.00535370
lea eax, [ebp - 4]
lea edx, [ebx + 0x5e]
call fcn.00404fb0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
call fcn.0043b91c
lea eax, [ebp - 8]
lea edx, [ebx + 0x69]
call fcn.00404fb0
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
call fcn.0043b91c
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x74]
call fcn.00404fb0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x14]
call fcn.0043b91c
mov edx, 0x535818
mov eax, dword [ebx + 0x18]
call fcn.0043b91c
lea eax, [ebp - 0x10]
lea edx, [ebx + 0xa7]
call fcn.00404fb0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x20]
call fcn.0043b91c
lea eax, [ebp - 0x14]
lea edx, [ebx + 0xbc]
call fcn.00404fb0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x24]
call fcn.0043b91c
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x98]
call fcn.00404fb0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x30]
call fcn.0043b91c
lea eax, [ebp - 0x1c]
lea edx, [ebx + 0xc9]
call fcn.00404fb0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x38]
call fcn.0043b91c
lea eax, [ebp - 0x20]
lea edx, [ebx + 0xf2]
call fcn.00404fb0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x28]
call fcn.0043b91c
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x107]
call fcn.00404fb0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x2c]
call fcn.0043b91c
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x11f]
call fcn.00404fb0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x34]
call fcn.0043b91c
lea eax, [ebp - 0x2c]
lea edx, [ebx + 0x114]
call fcn.00404fb0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x1c]
call fcn.0043b91c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x535809
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00404d60
ret

Function at 0x5391e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xfffffefc
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 1]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004035fc
lea eax, [esp + 1]
push eax
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x539220
xor eax, eax
mov al, byte [esp]
test byte [esp + eax + 1], 0x80
je 0x539220
mov bl, 1
mov eax, ebx
add esp, 0x104
pop ebx
ret
Function at 0x407270
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40d044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40d03c]
sub esp, 4
test ebx, ebx
je 0x4072bb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4072b4
test esi, esi
je 0x4072b4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x407290
mov dword [esp], 0x40d044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4074a0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4074f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4075c8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40752e
cmp eax, 4
jne 0x407550
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40753e
cmp edx, 4
je 0x40753e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004074a0
Function at 0x401d70
Capabilities:
Delete file

Disassembly:
mov eax, 0x2024
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x2020], eax
push esi
mov esi, dword [esp + 0x202c]
xor eax, eax
test esi, esi
je 0x401e04
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.0044e2b0
push 0x1000
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.0044f24b
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.0044e29c
add esp, 0x2024
ret

Function at 0x401f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b6cb
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
push edi
mov eax, dword [0x485b90]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov eax, dword [0x487b58]
mov edx, dword [eax + 0xc]
mov ecx, 0x487b58
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea edi, [esp + 0x10]
mov dword [esp + 0x828], 0
call fcn.00402180
test eax, eax
jne 0x40202f
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 0x402028
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4020eb
push 0x800
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0044e2b0
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 0x402075
lea edi, [ebx + 0xc]
lea eax, [esp + 0x10]
call fcn.00402b70
jmp 0x4020bf
lea edi, [esp + 0x10]
call fcn.00402260
test eax, eax
je 0x401ffd
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4020bf
push 0x400
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0044f24b
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.00402b30
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 0x4020e6
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.0044e29c
mov esp, ebp
pop ebp
ret
Function at 0x402180
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push 0x477478
xor ebx, ebx
mov eax, edi
call fcn.00402bd0
push 0x800
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0044e2b0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x476bf8
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 0x402242
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402200
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402bd0
mov ebx, edi
call fcn.00402f40
mov eax, 0x22
call fcn.00403060
mov eax, 0x5c
call fcn.00403060
call fcn.00402fc0
call fcn.004030e0
mov ecx, dword [esp + 0x814]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e29c
add esp, 0x814
ret

Function at 0x402260
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push 0x477478
xor ebx, ebx
mov eax, edi
call fcn.00402bd0
push 0x800
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0044e2b0
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 0x402322
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4022e0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402bd0
mov ebx, edi
call fcn.00402f40
mov eax, 0x22
call fcn.00403060
mov eax, 0x5c
call fcn.00403060
call fcn.00402fc0
call fcn.004030e0
mov ecx, dword [esp + 0x814]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e29c
add esp, 0x814
ret
Function at 0x4024c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x698
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x694], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x47730c
push esi
xor edi, edi
push 0x477310
lea edx, [esp + 0x49c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
call fcn.00402e50
add esp, 0xc
test eax, eax
je 0x40251f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x694]
xor ecx, esp
call fcn.0044e29c
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 0x402604
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
inc edi
test byte [esp + 0x38], 0x10
je 0x4025c2
cmp word [esp + 0x64], 0x2e
jne 0x40256d
mov ax, word [esp + 0x66]
test ax, ax
je 0x4025c2
cmp ax, 0x2e
jne 0x40256d
cmp word [esp + 0x68], 0
je 0x4025c2
lea eax, [esp + 0x64]
push eax
push esi
lea ecx, [esp + 0x290]
push ecx
call ebx
test eax, eax
je 0x4025c2
push str.kwsmain.exe
lea edx, [esp + 0x28c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4025c2
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 0x4025c2
test byte [esp + 0x14], 0x10
jne 0x4025c2
cmp dword [esp + 0x34], 0x1000
ja 0x4025e4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4025f9
cmp edi, 0x3e8
jl 0x402545
jmp 0x4025f9
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.0044e29c
mov esp, ebp
pop ebp
ret 4
Function at 0x402620
Capabilities:
Enumerate process modules
Suspend thread

Disassembly:
sub esp, 0x43c
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x434], eax
cmp dword [0x489038], 0
push esi
push edi
mov esi, ecx
jne 0x402665
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 [0x489038], eax
test eax, eax
je 0x402723
push esi
push 0
push 0x42
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x402723
push 0
push 4
lea eax, [esp + 0x14]
push eax
push 9
push edi
call dword [0x489038]
test eax, eax
je 0x4026ae
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.0044e29c
add esp, 0x43c
ret
push ebx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x402690
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x402717
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
ja 0x4026ff
mov edx, dword [esp + 0x28]
add edx, eax
cmp edx, ecx
jbe 0x4026ff
lea eax, [esp + 0x30]
push str.kswebshield.dll
push eax
call fcn.0044f0d8
add esp, 8
test eax, eax
je 0x402710
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4026d3
jmp 0x402717
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.0044e29c
add esp, 0x43c
ret

Function at 0x402740
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 0x4027c9
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 0x4027c9
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x4027c9
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x14], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x4027c2
lea ecx, [ecx]
mov ebx, dword [esp + 8]
cmp dword [esp + 0x18], ebx
jne 0x4027b3
mov ecx, dword [esp + 0x14]
call fcn.00402620
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x4027a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4027d0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x61c
mov eax, dword [0x485b90]
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 0x402851
cmp word [eax], 0
je 0x402851
push esi
push eax
lea eax, [esp + 0x218]
push eax
call ebx
test eax, eax
je 0x402851
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402851
lea edx, [esp + 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x210]
push 0x4773a0
push eax
call fcn.004501ef
add esp, 8
test eax, eax
je 0x402851
push eax
call fcn.0044faf3
add esp, 4
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
je 0x4028a7
lea edx, [esp + 8]
push edx
push str._s.tmp
lea edx, [esp + 0x420]
call fcn.00402e50
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.0044e29c
add esp, 0x61c
ret 4
Function at 0x402980
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x82c
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x828], eax
mov ecx, dword [0x4773e8]
mov edx, dword [0x4773ec]
mov eax, dword [str.qQ]
push ebx
push esi
mov dword [esp + 0x820], ecx
movzx ecx, word [0x4773f4]
push edi
mov dword [esp + 0x828], edx
mov edx, dword [0x476c44]
mov dword [esp + 0x820], eax
mov eax, dword [0x4773f0]
mov word [esp + 0x830], cx
movzx ecx, word [0x476c4c]
push 0x800
mov dword [esp + 0x818], edx
mov dword [esp + 0x830], eax
mov eax, dword [0x476c48]
lea edx, [esp + 0x14]
push 0
push edx
mov dword [esp + 0x824], eax
mov word [esp + 0x828], cx
call fcn.0044e2b0
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.00401d70
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.00401d70
mov ecx, dword [esp + 0x838]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e29c
mov esp, ebp
pop ebp
ret
Function at 0x403300
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x110c
call fcn.0044f1e0
mov eax, dword [0x485b90]
xor eax, esp
mov dword [esp + 0x1108], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
lea ecx, [esp + 0x914]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.0044e2b0
add esp, 0xc
push 0x800
lea edx, [esp + 0x114]
push 0
push edx
call fcn.0044e2b0
add esp, 0xc
lea eax, [esp + 0x910]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x100
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.0044e2b0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
xor esi, esi
jmp 0x403390
lea edx, [esp + 0x10]
push 0x80
push edx
call fcn.00403210
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x914]
push ecx
lea edx, [esp + 0x118]
push edx
call ebx
lea eax, [esp + 0x110]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4033c3
mov ecx, dword [str..tmp]
mov edx, dword [0x477504]
mov dword [eax], ecx
mov cx, word [0x477508]
mov dword [eax + 4], edx
lea edx, [esp + 0x110]
push edx
mov word [eax + 8], cx
call edi
test eax, eax
je 0x403416
inc esi
cmp esi, 0xa
jl 0x403390
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1108]
xor ecx, esp
call fcn.0044e29c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x110]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403420
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x110]
mov ebx, eax
mov eax, dword [esp + 0xc]
push ecx
call fcn.00402bd0
mov ecx, dword [esp + 0x1114]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044e29c
mov esp, ebp
pop ebp
ret

Function at 0x403460
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 0x10], 0
mov edx, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x20]
lea eax, [esi + 8]
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 4], 0
mov dword [eax], 0xffffffff
mov dword [esi + 0x14], edi
je 0x4034bc
test ecx, ecx
je 0x4034bc
push eax
push 0
push edx
push ecx
push 0
push 0
call fcn.0045076e
add esp, 0x18
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
ret 0x18