joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba746
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esi], vtable.CItemBase.0
mov dword [esi + 4], edi
mov dword [esi + 0x64], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov edx, dword [0x4f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f7780
call eax
add eax, 0x10
mov dword [esi + 0x70], eax
mov edx, dword [0x4f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f7780
mov dword [ebp - 4], edi
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
mov edx, dword [0x4f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f7780
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [esi + 0x78], eax
mov edx, dword [0x4f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f7780
mov byte [ebp - 4], 2
call eax
add eax, 0x10
mov dword [esi + 0x7c], eax
mov edx, dword [0x4f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f7780
mov byte [ebp - 4], 3
call eax
add eax, 0x10
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 4
call fcn.00446140
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 5
call fcn.00446140
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 6
call fcn.00446140
lea ecx, [esi + 0xcc]
call fcn.004265e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4534c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4f3958]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
jne 0x453526
lea eax, [ebp - 0x20c]
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x453509
call int.00408f20
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004951ca
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x100
jbe 0x453542
mov eax, 0x80020013
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004951ca
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.00496ae5
add esp, 0x10
cmp eax, 0x50
je 0x453510
lea edx, [ebp - 0x414]
push edx
push 0
push 0x4ce010
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4534f3
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x414]
push edx
xor ecx, ecx
lea esi, [edi + 4]
push 0x101
push esi
mov word [ebp - 0x20e], cx
call fcn.00496ae5
mov eax, dword [ebp + 0xc]
add esp, 0x10
push 0
push 0x2100
push 2
lea ecx, [ebp - 0x420]
push ecx
push 0
push eax
push esi
mov dword [ebp - 0x420], 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 1
mov dword [edi + 0x208], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
pop esi
cmp eax, 0xffffffff
je 0x4534f3
mov ecx, dword [ebp - 4]
mov dword [edi], eax
xor ecx, ebp
xor eax, eax
pop edi
call fcn.004951ca
mov esp, ebp
pop ebp
ret 8

Function at 0x453660
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ecx]
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x453687
call int.00408f20
test eax, eax
jl 0x453694
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x455df0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad11
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.IThreadCallback.0
xor ebx, ebx
mov dword [esi], vtable.CDataEngine.1.0
mov dword [esi + 4], vtable.CDataEngine.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
call fcn.00446140
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00446140
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.0044e840
mov dword [esi + method.CXThread.virtual_0], vtable.CXThread.0
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
xor eax, eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], eax
mov dword [esi + 0x194], eax
mov byte [esi + 0x198], bl
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
add eax, 0x10
mov dword [esi + 0x1a4], eax
lea ecx, [esi + 0x1b0]
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x1ac], ebx
call fcn.004265e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4f3958]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x808], 0
test edi, edi
jge 0x459940
push 0x4db940
jmp 0x45998f
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
mov dword [ebp - 0x808], 0
call fcn.004953b0
add esp, 0xc
lea ecx, [ebp - 0x808]
push ecx
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x459939
mov eax, dword [ebp - 0x808]
lea edx, [ebp - 0x804]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [ebp - 0x804]
push ecx
mov ecx, esi
call int.00408bf0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004951ca
mov esp, ebp
pop ebp
ret 8
Function at 0x45a9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push esi
mov dword [eax], edx
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
lea edx, [eax + 4]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp + 8]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45aa3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x45ab80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb778
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x18]
push eax
xor esi, esi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
mov dword [ebp - 0x10], esi
call int.00408bf0
mov ecx, edi
call fcn.0045a9f0
cmp eax, esi
je 0x45ac83
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x45ac83
add eax, 0x10
push 0x4f7834
push eax
mov dword [ebp - 0x10], eax
call fcn.00495396
mov esi, eax
add esp, 8
test esi, esi
je 0x45ac83
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push esi
call fcn.004953b0
mov eax, dword [edi + 4]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push esi
push 0
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45ac7a
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ac30
sub eax, edx
sar eax, 1
je 0x45ac7a
lea ecx, [ebp + 0xc]
call fcn.0040ccc0
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.00408ba0
push esi
call fcn.0049538b
mov esi, dword [ebp + 8]
add esp, 4
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.0040cce0
lea ecx, [ebp + 0xc]
call fcn.00407680
jmp 0x45ac92
push esi
call fcn.0049538b
add esp, 4
mov esi, dword [ebp + 8]
push 0x4db940
mov ecx, esi
call int.00408bf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45c4d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba948
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4f7280], 0
mov dword [ebp - 4], 0
jne 0x45c52f
mov eax, dword [ebp + 8]
push eax
call fcn.0045c210
add esp, 4
test edx, edx
jl 0x45c525
jg 0x45c51b
cmp eax, 0x500000
jbe 0x45c525
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [0x4f7280], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c555
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x45c7c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4f3958]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x808], 0
test byte [0x4f72ec], al
jne 0x45c818
or dword [0x4f72ec], eax
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
add eax, 0x10
push 0x4c0040
mov dword [0x4f72e8], eax
call fcn.00497838
add esp, 4
mov eax, dword [0x4f72e8]
cmp dword [eax - 0xc], 0
je 0x45c832
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c8d6
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.004953b0
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360safe
lea eax, [ebp - 0x804]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x804]
push edx
call fcn.0045c160
add esp, 4
test eax, eax
jne 0x45c89a
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str._trashcleanlog.ini
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c8b5
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x804]
push edx
mov ecx, 0x4f72e8
call fcn.00408770
mov eax, dword [0x4f72e8]
add eax, 0xfffffff0
push eax
call fcn.00409d70
mov ecx, dword [ebp - 4]
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004951ca
mov esp, ebp
pop ebp
ret 4
Function at 0x45ca90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4f3958]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov dword [ebp - 0x808], 0
mov word [ebp - 0x804], ax
call fcn.004953b0
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.360safeCleanOKClean
lea eax, [ebp - 0x804]
push eax
mov ecx, eax
push ecx
call edi
lea edx, [ebp - 0x804]
push edx
call fcn.0045c160
add esp, 4
test eax, eax
jne 0x45cb1c
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.360OKCleanNew.ini
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call edi
lea eax, [ebp - 0x804]
push eax
mov ecx, esi
call int.00408bf0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004951ca
mov esp, ebp
pop ebp
ret 4

Function at 0x45cb50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb9a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x44]
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
mov eax, dword [esi]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x45cba2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45cbfb
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0045ca90
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040f740
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cbdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x10], esp
mov ebx, esp
push eax
call fcn.00409d70
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.0045c4d0
mov esi, dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cc20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb9f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov dword [ebp - 4], 0
jge 0x45cc88
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00408570
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [esi - 0xc], 0x400
mov ecx, edi
mov word [esi + 0x800], ax
call fcn.0045cb50
push eax
push 0x400
push esi
push 0x4db940
push str.lastcleansize
push str.cleanrst
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00496d18
xor ecx, ecx
mov dword [esi - 0xc], eax
add esp, 8
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x45cd1c
push esi
call fcn.0049b222
mov edi, eax
lea eax, [esi - 0x10]
mov ebx, edx
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cd06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cd3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cd60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb9f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov dword [ebp - 4], 0
jge 0x45cdc8
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00408570
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [esi - 0xc], 0x400
mov ecx, edi
mov word [esi + 0x800], ax
call fcn.0045cb50
push eax
push 0x400
push esi
push 0x4db940
push str.lastcdiskcleansize
push str.cleanrst
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00496d18
xor ecx, ecx
mov dword [esi - 0xc], eax
add esp, 8
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x45ce5c
push esi
call fcn.0049b222
mov edi, eax
lea eax, [esi - 0x10]
mov ebx, edx
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ce46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ce7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cea0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb9f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov dword [ebp - 4], 0
jge 0x45cf08
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00408570
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [esi - 0xc], 0x400
mov ecx, edi
mov word [esi + 0x800], ax
call fcn.0045cb50
push eax
push 0x400
push esi
push 0x4db940
push str.accumcdiskcleansize
push str.cleanrst
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00496d18
xor ecx, ecx
mov dword [esi - 0xc], eax
add esp, 8
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x45cf9c
push esi
call fcn.0049b222
mov edi, eax
lea eax, [esi - 0x10]
mov ebx, edx
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cf86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cfbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d040
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb9d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f3958]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f7780
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov dword [ebp - 4], 0
jge 0x45d0aa
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00408570
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [esi - 0xc], 0x400
mov ecx, edi
mov word [esi + 0x800], ax
call fcn.0045cb50
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x400
push esi
push 0x4db940
push str.accumcleansize
push str.cleanrst
call ebx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00496d18
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [esi - 0xc]
add esp, 8
test eax, eax
jne 0x45d196
lea edx, [ebp - 0x14]
push edx
mov ecx, edi
call fcn.0045c7c0
mov edi, dword [eax]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov byte [ebp - 4], 1
jge 0x45d135
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00408570
mov esi, dword [ebp - 0x10]
push edi
push 0x400
push esi
push 0x4db940
push str.totalsize
xor eax, eax
mov dword [esi - 0xc], 0x400
push str.data
mov word [esi + 0x800], ax
call ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00496d18
add esp, 8
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x45d1e2
push esi
call fcn.0049b222
mov edi, eax
lea eax, [esi - 0x10]
mov ebx, edx
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d1cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d205
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret