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

Disassembly:
push 0xffffffffffffffff
push 0x4c94f6
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
push 0x43a8b0
push 0x43a890
push 0x10
push 0x14
lea eax, [esi + 0x5c]
push eax
mov dword [esi], vtable.CFileRecord.0
call fcn.004ac118
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
or ecx, 0xffffffff
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ecx
mov dword [esp + 0x10], ecx
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8
Function at 0x438cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d335d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [0x513afc], 0x81d0
lea ecx, [ebp - 0x4c]
call fcn.0043dc30
mov byte [ebp - 4], 1
push esi
call fcn.004ab46f
add esp, 4
mov ebx, eax
cmp byte [ebp + 0xc], 0
je 0x438dd6
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x28]
call fcn.00418720
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
xor edi, edi
mov esi, dword [ebp + 8]
call fcn.00417c30
mov eax, dword [eax]
xor esi, esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x14]
xor eax, 0x33
mov dword [ebp - 0x14], eax
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0043ed70
mov byte [ebp - 4], 3
mov eax, dword [eax]
push eax
call fcn.004abcd7
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405020
add esi, 0x3f480
cmp ebx, esi
jge 0x438db8
mov byte [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0043ded0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0x4e69d4
push 0x64
lea edi, [ebp - 0x18]
call fcn.004498a0
add esp, 0xc
mov byte [ebp - 4], 4
push eax
mov ecx, dword [ebp - 0x14]
push ecx
jmp 0x438e30
push 0xa
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0043ed70
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
call fcn.004abcd7
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405020
add esi, 0x3f480
cmp ebx, esi
jge 0x438e16
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
push ecx
jmp 0x438da1
push ebx
push 0x4e69d8
push 0x64
lea edi, [ebp - 0x18]
call fcn.004498a0
add esp, 0xc
mov byte [ebp - 4], 6
push eax
push 0xa
lea ecx, [ebp - 0x4c]
call fcn.0043eca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405020
push 0x18
call fcn.004ab619
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x438e63
push eax
call fcn.00438ee0
mov ebx, eax
jmp 0x438e65
xor ebx, ebx
mov byte [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp edi, edx
jae 0x438e8e
call fcn.00417c30
push eax
mov ecx, ebx
call fcn.00417a30
inc edi
jmp 0x438e6b
push 0
push 0
push ebx
push 0x438420
push 0
push 0
call fcn.004aae8e
add esp, 0x18
mov byte [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0043ded0
mov dword [ebp - 4], 0xffffffff
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 0x438f30
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4d2d18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.0043ade0
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [eax + 8]
push edi
push edi
push 1
push edi
call eax
mov dword [0x513af0], eax
mov dword [esp + 0x20], 0xffffffff
lea esi, [esp + 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call fcn.0043ade0
mov dword [esp + 0x20], 1
mov ecx, dword [eax + 8]
push edi
push edi
push 1
push edi
call ecx
mov dword [0x513af4], eax
mov dword [esp + 0x20], 0xffffffff
lea esi, [esp + 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call fcn.0043ade0
mov dword [esp + 0x20], 2
mov edx, dword [eax + 8]
push edi
push 1
push edi
push edi
call edx
mov dword [0x513af8], eax
mov dword [esp + 0x20], 0xffffffff
push edi
push edi
push edi
push 0x439260
push edi
push edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004aae8e
add esp, 0x18
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x43d5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cad40
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CAttr_Bitmap_class_CAttrResident_.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x43d626
push eax
call fcn.0045a597
add esp, 4
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CAttrResident.0
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CAttrBase.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x43e390
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cefc0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov byte [ebp - 0x15], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edi, esi
call fcn.0043f180
mov edi, dword [esi + 0x18]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x43e3e1
cmp ecx, eax
je 0x43e3e6
call fcn.004ab09b
cmp dword [ebp - 0x1c], edi
jne 0x43e494
lea edx, [ebp + 0xc]
push edx
push esi
lea ebx, [ebp - 0x2c]
call fcn.0043f080
lea ecx, [ebp - 0x1c]
call fcn.00404eb0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push str.CREATE_TABLE_scanned2__x_file_id_INTEGER__file_time_INTEGER__detection_name_TEXT__t_on_INTEGER__
lea edi, [ebp - 0x1c]
call fcn.00440910
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
push ecx
mov ebx, dword [esi + 0x20]
call fcn.00447150
mov dword [ebp - 4], 0
jmp 0x43e448
mov edx, dword [ebp + 0xc]
push edx
push str.CREATE_INDEX_fileIndex_ON_scanned2__x_file_id__file_time__
lea edi, [ebp - 0x1c]
call fcn.00440910
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [esi + 0x20]
call fcn.00447150
mov dword [ebp - 4], 0
jmp 0x43e485
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405020
mov dword [ebp - 4], 5
lea ecx, [ebp + 8]
call fcn.00404eb0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
push ecx
push str.SELECT_detection_name_FROM_scanned2__x_WHERE_file_id____AND_file_time____AND_t_on_____
lea edi, [ebp + 8]
call fcn.00440910
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [esi + 0x20]
call fcn.004470d0
mov bl, 7
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
lea eax, [ebp - 0x20]
call fcn.00447060
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 2
lea eax, [ebp - 0x20]
call fcn.00447060
push 0
call fcn.004ab46f
add esp, 4
sub eax, 0x15180
push eax
push 3
lea eax, [ebp - 0x20]
call fcn.00447020
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00446e10
mov byte [ebp - 4], 8
cmp byte [ebp - 0x2c], 0
jne 0x43e53f
push 0x4e4ed2
lea esi, [ebp - 0x34]
call fcn.00446970
push eax
mov ecx, dword [ebp + 0x20]
call fcn.00405080
mov byte [ebp - 0x15], 1
mov byte [ebp - 4], bl
lea esi, [ebp - 0x34]
call fcn.004468a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00446be0
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
call fcn.00405020
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4437e0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [esp + 8]
push eax
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x443800
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop ecx
ret
cmp dword [esp + 4], edi
je 0x44380e
mov eax, 0x1e
pop ebx
pop ecx
ret
xor eax, eax
test edi, edi
jbe 0x44381d
xor byte [eax + esi], 0x67
inc eax
cmp eax, edi
jb 0x443814
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x443830
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push ebp
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x443857
pop esi
pop ebp
lea eax, [ebx + 0xe]
pop ebx
pop ecx
ret
test ebp, ebp
jbe 0x443873
mov ecx, dword [esp + 0x18]
push edi
sub ecx, esi
mov edi, ebp
mov dl, byte [ecx + eax]
xor dl, 0x67
mov byte [eax], dl
inc eax
sub edi, 1
jne 0x443864
pop edi
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x10]
push eax
push ebp
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x443895
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4438a0
cmp dword [esp + 0xc], ebp
je 0x4438a0
mov ebx, 0x1d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
lea eax, [edx + 0x14]
lea edi, [edx + 4]
mov ecx, 0x108
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x443a4b
mov ecx, 0x104
nop
cmp word [eax], 0
je 0x443a47
add eax, 2
sub ecx, 1
jne 0x443a30
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x443a56
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
push ebx
lea ebx, [edx + 0x21c]
test ebx, ebx
je 0x443a84
mov ecx, 0x104
mov eax, ebx
cmp word [eax], 0
je 0x443a80
add eax, 2
sub ecx, 1
jne 0x443a68
pop ebx
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x443a90
pop ebx
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
test byte [ebp + 4], 1
je 0x443ab4
call fcn.004457d0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x443ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
pop esi
pop ebp
ret 4
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret 4
Function at 0x443de0
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4cd1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
mov ebp, 0x5c
push eax
lea ebx, [ebp - 0x5b]
xor eax, eax
mov edx, edi
mov dword [esp + 0x14], ebp
call fcn.0042f150
mov esi, eax
cmp esi, 0xffffffff
je 0x443ed8
mov dword [esp + 0x10], ebp
lea ebp, [ebx + 7]
lea ecx, [ecx]
lea ecx, [esp + 0x14]
push ecx
inc esi
push edi
mov ecx, esi
xor edx, edx
call fcn.0042de00
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x443e66
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x443e88
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x443e7f
lea eax, [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [esp + 0x10]
push edx
mov ebx, 1
mov eax, esi
mov edx, edi
call fcn.0042f150
mov esi, eax
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], ebp
jb 0x443eb8
mov eax, dword [esp + 0x18]
push eax
call fcn.0045a597
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
cmp esi, 0xffffffff
jne 0x443e40
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004aa641
add esp, 0x30
ret
Function at 0x444290
Capabilities:
Delete file

Disassembly:
add ecx, 0x21c
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
ret

Function at 0x4445f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 0x10000
xor edi, edi
push 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
jne 0x444629
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_BackupRead]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push ebp
push 0
lea ecx, [esp + 0x30]
push ecx
push 0x10000
push esi
push edx
call ebx
mov ecx, dword [esp + 0x24]
mov edi, eax
test ecx, ecx
je 0x444688
xor eax, eax
test ecx, ecx
jbe 0x44466d
lea ebx, [ebx]
xor byte [eax + esi], 0x67
inc eax
cmp eax, ecx
jb 0x444660
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push esi
push eax
call fcn.004c02eb
add esp, 0xc
cmp dword [esp + 0x24], eax
jne 0x444698
test edi, edi
jne 0x444630
jmp 0x4446a0
test edi, edi
jne 0x4446a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x4446a0
mov dword [esp + 0x10], 0x1e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 8
ret 0xc

Function at 0x4446c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push 0x10000
xor edi, edi
push 8
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
jne 0x4446f6
lea eax, [edi + 0xe]
pop edi
pop esi
pop ebp
add esp, 8
ret 8
mov dword [esp + 0xc], edi
mov edi, dword [sym.imp.KERNEL32.dll_BackupWrite]
mov eax, dword [esp + 0x1c]
push 0x10000
push esi
push eax
call fcn.004c0765
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x444751
xor ecx, ecx
test eax, eax
jbe 0x44472f
xor byte [ecx + esi], 0x67
inc ecx
cmp ecx, eax
jb 0x444722
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0
lea edx, [esp + 0x24]
push edx
push eax
push esi
push ebp
call edi
test eax, eax
je 0x44475b
cmp dword [esp + 0x18], 0x10000
jae 0x444700
jmp 0x444765
mov dword [esp + 0xc], 0x1e
jmp 0x444765
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
add esp, 8
ret 8
Function at 0x444870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
lea eax, [edx + 0x10]
lea edi, [edx + 4]
mov ecx, 0x108
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x4448ab
mov ecx, 0x104
nop
cmp word [eax], 0
je 0x4448a7
add eax, 2
sub ecx, 1
jne 0x444890
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x4448b6
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
push ebx
lea ebx, [edx + 0x218]
test ebx, ebx
je 0x4448e4
mov ecx, 0x104
mov eax, ebx
cmp word [eax], 0
je 0x4448e0
add eax, 2
sub ecx, 1
jne 0x4448c8
pop ebx
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x4448f0
pop ebx
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
test byte [ebp + 4], 1
je 0x444914
call fcn.004457d0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x444914
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
pop esi
pop ebp
ret 4
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret 4

Function at 0x444920
Capabilities:
Delete file
Delete registry key

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ebp, eax
and eax, 0x100
push edi
xor edi, edi
and ebp, 0xfffffcff
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0xf023f
test byte [esi + 8], 1
mov ebx, eax
jne 0x4449a4
lea eax, [esp + 0x10]
push eax
push ebx
push edi
lea ecx, [esi + 0x10]
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x444988
push 2
push eax
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x218]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyExW]
mov edi, eax
test edi, edi
jne 0x444988
or dword [esi + 8], 1
jmp 0x444995
lea ecx, [esi + 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4449a4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [esi + 8], 2
jne 0x444a16
test edi, edi
jne 0x444a16
lea edx, [esp + 0x10]
push edx
push ebx
push edi
lea eax, [esi + 0x10]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444a09
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x4449ef
mov edx, dword [esp + 0x10]
or dword [esi + 8], 2
push edx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov edx, dword [esp + 0x10]
push edx
mov esi, 0x15e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
mov eax, 0x15e
pop ebx
pop ecx
ret 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x444af0
Capabilities:
Delete file

Disassembly:
add ecx, 0x218
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
ret
Function at 0x444c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
lea edi, [ebp + 0x18]
mov ecx, 0x108
mov esi, edx
lea eax, [ebp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x434], 0
test eax, eax
je 0x444cbb
mov ecx, 0x104
lea ecx, [ecx]
cmp word [eax], 0
je 0x444cb7
add eax, 2
sub ecx, 1
jne 0x444ca0
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 8
test ecx, ecx
jne 0x444cc6
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 8
push ebx
lea ebx, [ebp + 0x22c]
test ebx, ebx
je 0x444e02
mov ecx, 0x104
mov eax, ebx
lea esp, [esp]
cmp word [eax], 0
je 0x444cf8
add eax, 2
sub ecx, 1
jne 0x444ce0
pop ebx
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 8
test ecx, ecx
je 0x444e02
test byte [edx + 4], 1
je 0x444d39
call fcn.004457d0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x444d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push ebp
call fcn.004451d0
test eax, eax
jne 0x444e29
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [edx + 0x41c]
test eax, eax
je 0x444d7e
mov ecx, 0x100
xor edx, edx
lea ebx, [ebx]
cmp word [eax], dx
je 0x444d5f
add eax, 2
sub ecx, 1
jne 0x444d50
jmp 0x444d63
test ecx, ecx
jne 0x444d75
mov edx, 0x80070057
xor eax, eax
mov esi, edx
test edx, edx
jl 0x444d83
lea ebp, [eax + eax]
jmp 0x444d85
mov eax, 0x100
sub eax, ecx
jmp 0x444d6a
mov esi, 0x80070057
xor ebp, ebp
test esi, esi
jl 0x444e02
add ebp, 2
push ebp
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
test eax, eax
je 0x444e27
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x41c]
mov ecx, ebp
shr ecx, 1
je 0x444e02
cmp ecx, 0x7fffffff
ja 0x444e02
mov edi, SysReAllocString
xor ebx, ebx
sub edi, ecx
mov edx, ecx
sub esi, eax
lea ecx, [edi + edx]
test ecx, ecx
je 0x444ded
movzx ecx, word [esi + eax]
test cx, cx
je 0x444ded
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x444dd0
jmp 0x444df1
test edx, edx
jne 0x444df9
sub eax, 2
mov ebx, 0x8007007a
xor edx, edx
mov word [eax], dx
test ebx, ebx
jge 0x444e0e
pop ebx
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
pop ebx
pop edi
mov dword [eax + 8], ebp
pop esi
mov dword [eax + 0x434], ecx
xor eax, eax
pop ebp
ret 8
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x444e80
Capabilities:
Delete file
Delete registry value

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
mov ebp, eax
and eax, 0x100
push edi
xor edi, edi
and ebp, 0xfffffcff
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0xf023f
test byte [esi + 0x1c], 1
mov dword [esp + 0x10], eax
jne 0x444f4c
lea ecx, [esp + 0xc]
push ecx
push eax
push edi
lea edx, [esi + 0x24]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x444f30
mov eax, dword [esp + 0xc]
call fcn.004450e0
mov edi, eax
test edi, edi
jne 0x444f30
push ebx
push eax
push 0x80
push 2
push eax
push 1
push 0x40000000
lea eax, [esi + 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x444f2b
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 8]
lea eax, [ecx + edx + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
push ebx
call fcn.00443830
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x444f24
or dword [esi + 0x1c], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
test edi, edi
je 0x444f3d
lea edx, [esi + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x444f4c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [esi + 0x1c], 2
jne 0x444fc8
test edi, edi
jne 0x444fc8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
push edi
lea edx, [esi + 0x24]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444fba
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x444f9f
mov edx, dword [esp + 0xc]
or dword [esi + 0x1c], 2
push edx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret 4
mov edx, dword [esp + 0xc]
push edx
mov esi, 0x15e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 8
ret 4
pop edi
pop esi
mov eax, 0x15e
pop ebp
add esp, 8
ret 4
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret 4