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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0xa64cb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0xa59670]
mov eax, dword [esi*4 + 0xa596b0]
xor eax, dword [esp]
call fcn.0054ef70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.0054efac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0xa59680]
mov eax, dword [esi*4 + 0xa596c0]
xor eax, dword [esp]
call fcn.0054ef70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.0054efac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0xa59690]
mov eax, dword [esi*4 + 0xa596d0]
xor eax, dword [esp]
call fcn.0054ef70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.0054efac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0xa596a0]
mov eax, dword [esi*4 + 0xa596e0]
xor eax, dword [esp]
call fcn.0054ef70
mov edi, eax
mov eax, edi
call fcn.0054efac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x54efe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x54f138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x54f16d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x54f193
inc ebx
cmp ebx, 0xf
jne 0x54f17d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x54f14f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x558ee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0xa5e0f4
mov ebx, 0xa68ce4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.00557e30
mov dword [esp + 8], eax
mov eax, edi
call fcn.00557e40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.00557e30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.00557e40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x558ef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4010b6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4011a8
push ebx
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], ebx
jle 0x4011a7
push esi
push edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x40119b
movzx ecx, word [eax]
test cx, cx
je 0x40119b
cmp cx, 0x2f
jne 0x401118
cmp word [eax + 2], 0
je 0x401118
cmp word [eax + 4], 0x3a
jne 0x401118
push 3
jmp 0x401121
cmp word [eax + 2], 0x3a
jne 0x40119b
push 2
pop ecx
movzx edx, word [eax + ecx*2 - 4]
lea esi, [eax + ecx*2]
movzx eax, dx
sub eax, 0x50
je 0x401168
sub eax, 3
je 0x401158
dec eax
je 0x401147
sub eax, 0x1c
je 0x401168
sub eax, 3
je 0x401158
dec eax
jne 0x40119b
push esi
call fcn.0043a00d
push eax
call fcn.0040105c
add esp, 8
jmp 0x40119b
push esi
call fcn.0043a00d
push eax
call fcn.00401000
pop ecx
pop ecx
jmp 0x40119b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x40119b
push 0x3a
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x40119b
push esi
call fcn.0043a00d
push eax
call fcn.00401000
add edi, 2
push edi
call fcn.0043a00d
add esp, 0xc
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x4010e6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4011aa
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push str.Q360WDMutex
xor ebx, ebx
push 1
push ebx
mov dword [0x47b640], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47b640], eax
cmp eax, ebx
je 0x401247
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401247
push ebx
push str.Q360WDClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, ebx
je 0x401216
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.004010b6
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x47b64c], ebx
jne 0x40121b
cmp dword [0x47b648], ebx
jne 0x401223
xor eax, eax
inc eax
jmp 0x401249
cmp dword [0x47b648], ebx
je 0x401232
push ebx
push dword [0x47b648]
push 0x3400
push esi
call edi
mov eax, dword [0x47b64c]
cmp eax, ebx
je 0x401216
push ebx
push eax
push 0xc29
push esi
call edi
jmp 0x401216
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x401e80
Capabilities:
Check if file exists

Disassembly:
call fcn.004016e3
test eax, eax
je 0x401e8d
xor eax, eax
inc eax
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x401ebd
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401ec1
push esi
call fcn.00401aac
pop ecx
test eax, eax
jne 0x401ec1
push 1
call fcn.00439b50
push eax
push esi
call fcn.00439d60
add esp, 0xc
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret
Function at 0x40204e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x402071
xor eax, eax
jmp 0x4020ab
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0043a190
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
push edi
call fcn.0040179b
add esp, 0x1c
test eax, eax
je 0x40206d
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043a7c3
leave
ret

Function at 0x402686
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4026d7
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4026e8
push 0xd
pop eax
jmp 0x402715
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4026eb
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x402c59
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00402645
mov ebx, eax
cmp ebx, esi
je 0x402cc9
lea ecx, [ebp - 0x70]
call fcn.004025d0
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a7c3
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x402ce1
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00402c59
cmp eax, esi
jne 0x402d13
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x402cd1
lea ecx, [ebp - 0x70]
call fcn.004025d0
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00402575
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004025d0
mov eax, esi
jmp 0x402caf
Function at 0x405c24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x1c
mov eax, 0x45bc9b
call fcn.0043ac8b
mov ebx, dword [ebp + 0xa14]
xor edi, edi
mov dword [ebp - 0x18], edi
xor eax, eax
push 0x206
mov word [ebp + 0x800], ax
lea eax, [ebp + 0x802]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0x104
call fcn.0043a190
add esp, 0xc
cmp dword [ebp + 0xa18], edi
jne 0x405ca2
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
je 0x405ca2
push esi
mov ecx, ebx
call fcn.00402197
mov eax, ebx
jmp 0x405dde
cmp dword [esi + 0xc], edi
je 0x405cd8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp + 0x800]
push edx
lea edx, [ebp - 0x20]
push edx
push eax
push ecx
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp + 0x800]
push eax
call fcn.0043a6d4
pop ecx
test eax, eax
jne 0x405ceb
lea eax, [ebp + 0x800]
push str.configdefaultskin
push eax
call fcn.0043b4d4
pop ecx
pop ecx
lea eax, [ebp + 0x800]
push eax
mov ecx, esi
call fcn.00404c6e
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00404128
push 2
pop ebx
push 0x5c
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
call fcn.0040416f
pop ecx
pop ecx
test al, al
jne 0x405d3f
push 1
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00404128
push 6
pop ebx
push 0x2f
push eax
call fcn.0040416f
pop ecx
pop ecx
mov byte [ebp - 0xd], 0
test al, al
je 0x405d43
mov byte [ebp - 0xd], 1
test bl, 4
je 0x405d56
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
and ebx, 0xfffffffb
call fcn.004014f1
or dword [ebp - 4], 0xffffffff
test bl, 2
je 0x405d6a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004014f1
cmp byte [ebp - 0xd], 0
je 0x405d80
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
mov ecx, esi
call fcn.00403401
push 0x400
lea eax, [ebp]
push eax
push edi
call fcn.00401710
add esp, 0xc
cmp dword [esi + 8], 0
jle 0x405da8
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc edi
cmp edi, dword [esi + 8]
jl 0x405d98
push dword [esi]
lea eax, [ebp]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
push 0
call fcn.0040204e
pop ecx
pop ecx
test eax, eax
jne 0x405dd2
push str.configdefaultskin
mov ecx, esi
call fcn.00404c6e
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00402197
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0xa0c
leave
ret 8
Function at 0x405fb9
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x145c]
mov eax, 0x145c
call fcn.0043a7e0
push 0xffffffffffffffff
push 0x45bd0b
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x1458], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
push 0x24c
lea eax, [ebp + 4]
push edi
push eax
mov dword [ebp], edi
call fcn.0043a190
add esp, 0xc
push 0x47bc90
lea ecx, [ebp - 0x10]
call fcn.00402172
xor eax, eax
push 0x206
mov word [ebp + 0x1250], ax
lea eax, [ebp + 0x1252]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0043a190
mov esi, 0x800
push esi
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.0043a190
push esi
lea eax, [ebp + 0xa50]
push edi
push eax
call fcn.0043a190
push 0x400
lea eax, [ebp + 0x250]
push eax
push edi
call fcn.00401710
add esp, 0x30
xor esi, esi
cmp dword [ebx + 8], edi
jle 0x406089
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc esi
cmp esi, dword [ebx + 8]
jl 0x406076
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.config
lea eax, [ebp + 0x250]
push eax
lea eax, [ebp + 0x1250]
push eax
call esi
lea eax, [ebp + 0x1250]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404c6e
push 0x460c3c
lea ecx, [ebp - 0x10]
call fcn.00404c49
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x40613e
test byte [ebp], 0x10
je 0x406124
lea eax, [ebp + 0x2c]
push 0x460c38
push eax
call fcn.0043a48a
pop ecx
pop ecx
test eax, eax
je 0x406124
lea eax, [ebp + 0x2c]
push 0x460c30
push eax
call fcn.0043a48a
pop ecx
pop ecx
test eax, eax
je 0x406124
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x1250]
push eax
lea eax, [ebp + 0xa50]
push eax
call esi
lea eax, [ebp + 0xa50]
push eax
mov ecx, ebx
call fcn.00405e03
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4060d4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004014f1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1458]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x145c
leave
ret
Function at 0x4062ff
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x10
mov eax, 0x45bd43
call fcn.0043ac8b
lea ecx, [ebp - 0x1c]
call fcn.0040410f
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0043a190
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.0043a190
add esp, 0x18
push 0x47bc90
lea ecx, [ebp - 0x10]
call fcn.00402172
push 0x104
lea eax, [ebp + 0x208]
push eax
push dword [0x47bc1c]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str....._
lea eax, [ebp + 0x208]
push eax
push eax
call esi
push str.I18N.dll
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
call esi
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406433
lea eax, [ebp]
push eax
call fcn.00401e80
pop ecx
test eax, eax
je 0x406433
push dword [0x47bc1c]
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004061d7
test eax, eax
je 0x406433
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040622c
test eax, eax
je 0x406433
push dword [ebp - 0x10]
call fcn.00401e80
pop ecx
test eax, eax
je 0x406433
push 2
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, edi
je 0x406433
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push esi
push 0x47bc20
mov dword [0x47ba78], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004014f1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004014f1
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x414
leave
ret
Function at 0x409a43
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0043a190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.adfilterextadfilter.ini
lea eax, [ebp - 0x20c]
push eax
call esi
xor eax, eax
push 0x40e
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push edi
push eax
call fcn.0043a190
add esp, 0xc
push edi
push 0x1c
lea eax, [ebp - 0x61c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.VirtualStore
lea eax, [ebp - 0x61c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
push eax
lea eax, [ebp - 0x61c]
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.0043a7c3
leave
ret
Function at 0x40c3a5
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0xa0
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0xa0], eax
push 0x30
mov eax, 0x45c387
call fcn.0043ac8b
mov ebx, dword [ebp + 0xac]
mov esi, ecx
lea edi, [esi + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040ad9f
xor ebx, ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040a9fd
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], eax
call fcn.0040a08f
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40c43b
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa0]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0xa4
leave
ret 4
push 1
push ebx
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0040a77a
push dword [ebp - 0x10]
add esi, 4
mov ecx, esi
call fcn.00409b1e
push eax
lea ecx, [ebp]
call fcn.0040accc
mov dword [ebp - 4], 1
cmp dword [ebp + 0x7c], ebx
jne 0x40c47d
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp]
call fcn.0040a708
mov eax, ebx
jmp 0x40c416
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x18]
call fcn.0041fb50
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a062
push dword [eax + 4]
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0040be8f
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x98], 8
mov eax, dword [ebp + 0x84]
jae 0x40c4c4
lea eax, [ebp + 0x84]
push eax
call fcn.004224c6
cmp dword [ebp + 0x98], 8
mov eax, dword [ebp + 0x84]
pop ecx
jae 0x40c4e0
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
jmp 0x40c471
Function at 0x40ce9e
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0xa0
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0xa0], eax
push 0x14
mov eax, 0x45c43a
call fcn.0043ac8b
mov eax, dword [ebp + 0xb4]
mov edi, dword [ebp + 0xac]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xb8]
mov esi, ecx
lea ecx, [ebp]
mov dword [ebp - 0x20], eax
call fcn.0040a6bf
xor ebx, ebx
push str.urlrules
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
call fcn.0042efd9
jmp 0x40d024
lea ecx, [ebp]
call fcn.0040a1c1
mov eax, dword [ebp + 0xb0]
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x80]
mov dword [ebp + 0x7c], eax
call fcn.0040acaf
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0040aed7
test eax, eax
je 0x40d03e
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov dword [ebp - 0x14], ebx
jae 0x40cf45
lea eax, [ebp + 4]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0040b233
test eax, eax
je 0x40cfd4
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
cmp dword [ebp - 0x14], ebx
je 0x40d031
cmp dword [ebp + 0xbc], ebx
je 0x40d031
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040a9fd
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40cfc6
lea edi, [esi + 4]
push ebx
mov ecx, edi
call fcn.00409b1e
sub eax, 0xffffff80
cmp dword [eax + 0x18], 8
jb 0x40cfa9
mov eax, dword [eax + 4]
jmp 0x40cfac
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp]
push eax
push ebx
mov ecx, edi
call fcn.00409b1e
mov ecx, eax
call fcn.0040ae55
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
jmp 0x40d017
push str.1000
lea ecx, [ebp]
call fcn.00409fab
test eax, eax
je 0x40d017
lea edi, [esi + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp]
push eax
lea ecx, [esi + 4]
call fcn.0040cb84
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0xc0], ebx
je 0x40d017
push 1
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040ad5a
mov ecx, dword [ebp - 0x18]
push str.urlrules
call fcn.0042f00c
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40cf01
jmp 0x40d041
xor eax, eax
cmp dword [ebp - 0x14], ebx
sete al
mov dword [ebp - 0x10], eax
jmp 0x40d041
mov dword [ebp - 0x10], ebx
mov ecx, esi
call fcn.0040ce42
lea ecx, [ebp]
call fcn.0040a708
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa0]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0xa4
leave
ret 0x18