joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438a00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eebb
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x11c], eax
mov eax, esi
mov dword [ebp - 0x118], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438a44
sub eax, edx
sar eax, 1
cmp eax, 5
jb 0x438b65
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x438a8f
push esi
push str.ERROR:_Could_not_open__s
call fcn.004261a0
add esp, 8
jmp 0x438b65
lea ecx, [ebp - 0x124]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x438b5e
lea eax, [edi + 2]
push eax
call fcn.0047125f
mov esi, eax
lea eax, [edi + 2]
push eax
push 0
push esi
mov byte [esi + edi], 0
call fcn.00479dd0
add esp, 0x10
push 0
lea edx, [ebp - 0x120]
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x438b44
cmp dword [ebp - 0x120], edi
jne 0x438b44
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 3
push esi
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x110]
push ecx
mov dword [ebp - 0x114], eax
call fcn.00429d50
mov edi, dword [ebp - 0x11c]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x114]
call fcn.00402c40
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
cmp eax, edx
je 0x438b37
push eax
call fcn.00473a61
add esp, 4
push esi
call fcn.00472958
add esp, 4
mov al, 1
jmp 0x438b67
mov eax, dword [ebp - 0x118]
push eax
push str.ERROR:_Read_error_on__s
call fcn.004261a0
push esi
call fcn.00472958
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret 4
Function at 0x439cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1fe
lea eax, [ebp - 0x202]
push 0
push eax
call fcn.00479dd0
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
push 0x101
xor ecx, ecx
push ecx
push str.SoftwareioloGovernor
push reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp - 0x204], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439d61
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x208]
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push str.CurrentProfile
push eax
mov dword [ebp - 0x20c], 0x100
mov dword [ebp - 0x210], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x439d71
mov ecx, dword [ebp - 0x208]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439d87
push ebx
sub eax, edx
lea ecx, [ebp - 0x204]
sar eax, 1
push ecx
push esi
mov ebx, eax
call fcn.00402e20
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00474985
mov esp, ebp
pop ebp
ret

Function at 0x439dc0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, eax
test edi, edi
je 0x439e01
mov eax, edi
add esi, 0x48
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439dd5
push ebx
sub eax, edx
sar eax, 1
push edi
push esi
mov ebx, eax
call fcn.00402e20
mov eax, dword [esi]
push eax
push str.SetCurrentProfile_to__s
call fcn.004261a0
add esp, 8
pop ebx
jmp 0x439e16
push str.SetCurrentProfile_EMPTY
call fcn.004261a0
add esp, 4
add esi, 0x48
call fcn.00402b20
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x439e3b
push str.CurrentProfile
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, edi
mov edx, str.SoftwareioloGovernor
call fcn.00426830
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x102
push 0
push 0
push 0
push str.SoftwareioloGovernor
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x439e92
mov ecx, dword [ebp - 4]
push str.CurrentProfile
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x439e88
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439fd0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, ecx
test esi, esi
je 0x43a024
cmp word [esi], 0
je 0x43a024
lea edx, [ebx + 0x4c]
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439ff3
sub eax, ebx
sar eax, 1
push esi
push edx
mov ebx, eax
call fcn.00402e20
push str.CurrentTrigger
push reloc.OLEAUT32.dll_SysReAllocString
mov edx, str.SoftwareioloGovernor
call fcn.00426830
jmp 0x43a0ca
mov ecx, dword [ebx + 0x4c]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x43a082
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x43a05d
cmp dword [ecx - 8], 0
jge 0x43a04c
push 0x80070057
call fcn.004018d0
mov dword [ecx - 0xc], 0
mov eax, dword [ebx + 0x4c]
xor ecx, ecx
mov word [eax], cx
jmp 0x43a082
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a073
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx + 0x4c], eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x102
push 0
push 0
push 0
push str.SoftwareioloGovernor
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x43a0ca
mov eax, dword [ebp - 4]
push str.CurrentTrigger
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43a0c0
mov ecx, dword [ebp - 4]
push ecx
jmp 0x43a0c4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 4]
push ecx
push 0
push 0x102
push 0
push 0
push 0
push str.SoftwareioloGovernor
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], edx
call edi
test eax, eax
jne 0x43a13e
push 8
lea edx, [ebp - 0x18]
push edx
push 0xb
push eax
mov eax, dword [ebp - 4]
push str.EBLastChangeTimestamp
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x43a134
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push str.SoftwareioloGovernor
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4440bb
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push eax
lea edx, [ebp - 8]
push edx
push eax
mov dword [esi], eax
mov eax, dword [ebp - 4]
push str.Config
push eax
mov dword [ebp - 8], 3
call edi
test eax, eax
jne 0x444092
mov eax, dword [esi]
test eax, eax
je 0x444092
push eax
call fcn.0047125f
mov edx, dword [ebp - 4]
add esp, 4
push esi
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.Config
push edx
mov dword [ebx], eax
call edi
test eax, eax
je 0x44409b
mov dword [esi], 0
mov eax, dword [ebx]
push eax
call fcn.00472958
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
mov dword [edx + 0x34e4], 0x80000001
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x4440d0
Capabilities:
Get file size
Read file on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44419d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
call fcn.0047125f
add esp, 4
push 0
lea edx, [ebp - 8]
push edx
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x444141
push edi
call fcn.00472958
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edx + 0x34e4]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareioloGovernor
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4441a8
mov ecx, dword [ebp - 4]
push ebx
push edi
push 3
push eax
push str.Config
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00472958
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00472958
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x449640
Capabilities:
Check if file exists
Create directory
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x7fe
lea eax, [ebp - 0x802]
push 0
push eax
mov esi, ecx
call fcn.00479dd0
add esp, 0xc
lea edx, [ebp - 0x808]
push edx
push 0x101
xor ecx, ecx
push ecx
push str.SoftwareioloGovernor
push SysReAllocString
mov word [ebp - 0x804], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4496e9
lea eax, [ebp - 0x80c]
push eax
mov eax, dword [ebp - 0x808]
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x810]
push edx
push 0
push 0x4b4aa4
push eax
mov dword [ebp - 0x80c], 0x400
mov dword [ebp - 0x810], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x449780
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x804]
call fcn.0044a5b0
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x449717
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x804]
lea edx, [esi + 0x30dc]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449726
sub eax, esi
lea ecx, [ebp - 0x804]
sar eax, 1
push ecx
push edx
mov ebx, eax
call fcn.00402e20
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449750
sub eax, edx
lea edx, [ebp - 0x804]
sar eax, 1
push edx
push edi
mov ebx, eax
call fcn.00402e20
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00474985
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x808]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x449717

Function at 0x44a150
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0x30e4
test edx, edx
jne 0x44a167
xor eax, eax
jmp 0x44a17f
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44a170
sub eax, esi
sar eax, 1
push edx
push edi
mov ebx, eax
call fcn.00402e20
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44a1f0
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x44a1a8
mov eax, dword [eax - 0xc]
push eax
push edi
call fcn.00401ff0
mov esi, dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x44a1b9
xor eax, eax
jmp 0x44a1cf
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44a1c0
sub eax, edx
sar eax, 1
push esi
push edi
mov ebx, eax
call fcn.00402e20
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004441c0
mov eax, esi
call fcn.0043fc30
mov ecx, esi
call fcn.00440360
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x44a330
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
push 0x1a
mov ebx, eax
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44a3f3
push 0
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea edi, [ebx - 2]
jmp 0x44a360
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44a360
push 0
mov ecx, 7
mov esi, 0x4aa2c4
push ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
call esi
lea eax, [ebx - 2]
jmp 0x44a390
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x44a390
mov ecx, dword [str.config]
mov dword [eax], ecx
mov edx, dword [0x4b4ac8]
mov dword [eax + 4], edx
mov ecx, dword [0x4b4acc]
push 0
mov dword [eax + 8], ecx
mov edx, dword [0x4b4ad0]
push ebx
push 0
mov dword [eax + 0xc], edx
call esi
add ebx, 0xfffffffe
lea esp, [esp]
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x44a3d0
mov edi, ebx
mov ecx, 7
mov esi, 0x4ae930
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
dec eax
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44a439
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44a411
sub eax, edx
sar eax, 1
dec eax
test eax, eax
jle 0x44a439
cmp word [ebx + eax*2], 0x5c
je 0x44a433
dec eax
test eax, eax
jg 0x44a425
jmp 0x44a439
xor ecx, ecx
mov word [ebx + eax*2], cx
cmp word [ebx], 0
je 0x44a465
add ebx, 0xfffffffe
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x44a442
mov edi, ebx
mov ecx, 7
mov esi, 0x4ae930
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
mov eax, str.prolasso.ini
sub ebx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x44a470
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
Function at 0x44a490
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
push 0x1a
mov ebx, eax
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44a509
push 0
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea edi, [ebx - 2]
jmp 0x44a4c0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44a4c0
push 0
push ebx
mov ecx, 7
mov esi, 0x4aa2c4
push 0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
add ebx, 0xfffffffe
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x44a4e6
mov edi, ebx
mov ecx, 7
mov esi, 0x4ae930
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
dec eax
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44a554
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44a527
sub eax, edx
sar eax, 1
dec eax
test eax, eax
jle 0x44a554
jmp 0x44a540
cmp word [ebx + eax*2], 0x5c
je 0x44a54e
dec eax
test eax, eax
jg 0x44a540
jmp 0x44a554
xor ecx, ecx
mov word [ebx + eax*2], cx
cmp word [ebx], 0
je 0x44a583
add ebx, 0xfffffffe
lea ecx, [ecx]
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x44a560
mov edi, ebx
mov ecx, 7
mov esi, 0x4ae930
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
mov eax, str.prolasso.ini
sub ebx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x44a590
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
Function at 0x44a5b0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eba8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c448c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 1
push 0x1a
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44a655
lea edi, [ebx - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44a5f0
mov ecx, 7
mov esi, 0x4aa2c4
push 0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
call esi
lea eax, [ebx - 2]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x44a616
mov ecx, dword [str.logs]
mov dword [eax], ecx
mov edx, dword [0x4b4abc]
mov dword [eax + 4], edx
mov ecx, dword [0x4b4ac0]
push 0
push ebx
mov dword [eax + 8], ecx
call esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4c41fc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c41fc
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 0
call fcn.0044afe0
test al, al
je 0x44a6b1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x44a695
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00401ff0
mov eax, dword [ebp - 0x10]
sub ebx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x44a6a0
jmp 0x44a6f8
push 0x3ff
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44a6f8
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44a6d0
sub eax, edx
sar eax, 1
dec eax
test eax, eax
jle 0x44a6f8
cmp word [ebx + eax*2], 0x5c
je 0x44a6f2
dec eax
test eax, eax
jg 0x44a6e4
jmp 0x44a6f8
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44a71e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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 0x44a740
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d466
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x428], esi
push 1
push 0x1a
lea eax, [ebp - 0x420]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44a8a8
push 0x4aa2c4
lea ecx, [ebp - 0x420]
push ecx
push str._s_s
lea edi, [ebp - 0x428]
call fcn.004020e0
mov edx, dword [0x4c41fc]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4c41fc
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x428]
push ebx
push str._sprolasso.log
lea edi, [ebp - 0x424]
call fcn.004020e0
mov ecx, dword [ebp - 0x424]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
push esi
push ebx
push str._sprolasso.log._u
call fcn.004020e0
mov edi, dword [ebp - 0x424]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44a861
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44a861
inc esi
push esi
push ebx
push str._sprolasso.log._u
lea edi, [ebp - 0x424]
call fcn.004020e0
mov edi, dword [ebp - 0x424]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44a82e
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x44a881
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a8a4
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov al, 1
jmp 0x44a8cd
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 0x44a8cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret
Function at 0x44a8f0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d430
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c448c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
mov byte [ebp - 0xd], 1
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push str._sprolasso.log
lea edi, [ebp - 0x14]
call fcn.004020e0
mov esi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 8
push esi
call ebx
cmp eax, 0xffffffff
je 0x44a96f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44a96f
mov byte [ebp - 0xd], al
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
push ecx
push str._sprolasso.log._u
lea edi, [ebp - 0x14]
call fcn.004020e0
mov edi, dword [ebp - 0x14]
add esp, 0xc
push edi
call ebx
cmp eax, 0xffffffff
je 0x44a9bd
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44a9bd
mov edx, dword [ebp + 8]
inc esi
push esi
push edx
push str._sprolasso.log._u
lea edi, [ebp - 0x14]
call fcn.004020e0
mov edi, dword [ebp - 0x14]
add esp, 0xc
push edi
call ebx
cmp eax, 0xffffffff
jne 0x44a991
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44a9dd
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44aa03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4