joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443af0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5db960
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x6eb480]
push eax
mov eax, 0x6eb488
call fcn.004b7db0
mov ecx, dword [0x6eb4e8]
push ecx
mov eax, 0x6eb4f0
call fcn.004b7db0
mov edx, dword [0x6eb550]
push edx
mov eax, 0x6eb558
call fcn.004b7db0
mov eax, dword [0x6eb5b8]
push eax
mov eax, 0x6eb5c0
call fcn.004b7db0
mov ecx, dword [0x6eb620]
push ecx
mov eax, 0x6eb628
call fcn.004b7db0
mov edx, dword [0x6eb688]
push edx
mov eax, 0x6eb690
call fcn.004b7db0
mov eax, dword [0x6eb6f0]
push eax
mov eax, 0x6eb6f8
call fcn.004b7db0
mov ecx, dword [0x6eb758]
push ecx
mov eax, 0x6eb760
call fcn.004b7db0
mov edx, dword [0x6eb7c0]
push edx
mov eax, 0x6eb7c8
call fcn.004b7db0
mov eax, dword [0x6eb828]
push eax
mov eax, 0x6eb830
call fcn.004b7db0
mov ecx, dword [0x6eb890]
push ecx
mov eax, 0x6eb898
call fcn.004b7db0
mov edx, dword [0x6eb8f8]
push edx
mov eax, 0x6eb900
call fcn.004b7db0
mov eax, dword [0x6eb960]
push eax
mov eax, 0x6eb968
call fcn.004b7db0
xor ebx, ebx
cmp dword [0x6eba10], ebx
je 0x443c12
cmp dword [0x6eba14], ebx
je 0x443c12
mov ecx, 0x6eba10
mov edx, 0x6eb9d0
call fcn.004c1210
jmp 0x443c23
mov ecx, dword [0x6eb9c8]
push ecx
mov ecx, 0x6eb9d0
call fcn.004c10f0
cmp dword [0x6eba60], ebx
je 0x443c44
cmp dword [0x6eba64], ebx
je 0x443c44
mov ecx, 0x6eba60
mov edx, 0x6eba20
call fcn.004c1210
jmp 0x443c55
mov edx, dword [0x6eba18]
push edx
mov ecx, 0x6eba20
call fcn.004c10f0
cmp dword [0x6ebab0], ebx
je 0x443c76
cmp dword [0x6ebab4], ebx
je 0x443c76
mov ecx, 0x6ebab0
mov edx, 0x6eba70
call fcn.004c1210
jmp 0x443c86
mov eax, dword [0x6eba68]
push eax
mov ecx, 0x6eba70
call fcn.004c10f0
call fcn.00442c30
call fcn.00443530
lea ecx, [esp + 0x1c]
push 0x4e46
push ecx
call fcn.0049d3e0
mov dword [esp + 0x30], ebx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00495ad0
add esp, 0x10
mov ebp, eax
mov byte [esp + 0x28], 1
mov eax, dword [0x6eaea4]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x443cd0
xor edi, edi
call fcn.0043b870
mov eax, dword [ebp]
inc dword [eax + 8]
mov dword [0x6eaea4], eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x443d07
xor edi, edi
call fcn.0043b870
mov eax, dword [esp + 0x18]
push eax
call fcn.0059392f
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x443d37
xor edi, edi
call fcn.0043b870
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0059392f
add esp, 4
mov dword [esp + 0x1c], ebx
push ebx
push ebx
push 0x6eb480
push 0x445110
push ebx
push ebx
call fcn.005957cb
mov dword [0x6ebbc4], eax
add esp, 0x18
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4451c0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x5dded0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x445202
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4
Function at 0x448d10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d60f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0x6ebf5c
push 0x6ebf5c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov dword [ebp - 4], edi
mov bl, 1
mov byte [ebp - 4], bl
lea eax, [ebp - 0x14]
push eax
call fcn.004491b0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6ebf40], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0040b950
mov eax, dword [0x6ebf40]
cmp eax, edi
je 0x448de7
push 0x69ab40
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x6ebf48], eax
push str.uninstall
mov ecx, dword [0x6ebf40]
push ecx
call esi
mov dword [0x6ebf4c], eax
push str.createMyClass
mov edx, dword [0x6ebf40]
push edx
call esi
mov dword [0x6ebf44], eax
push str.close
mov eax, dword [0x6ebf40]
push eax
call esi
mov dword [0x6ebf50], eax
push str.setParams
mov ecx, dword [0x6ebf40]
push ecx
call esi
mov dword [0x6ebf54], eax
mov dword [ebp - 4], edi
mov dword [ebp - 4], 0xffffffff
push 0x6ebf5c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x449520
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf330
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x15], 0
mov dword [ebp - 4], 0
push str.SELECT_filepath_FROM_pcdb_WHERE_filepath____COLLATE_NOCASE_
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x6eae58]
call fcn.004a86e0
mov ebx, 1
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push eax
push ebx
lea eax, [ebp - 0x20]
call fcn.004a8580
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004a8370
mov byte [ebp - 4], 2
cmp byte [ebp - 0x2c], 0
jne 0x44959b
mov byte [ebp - 0x15], bl
mov byte [ebp - 4], bl
lea esi, [ebp - 0x34]
call fcn.004a7e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004a8140
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 4

Function at 0x449860
Capabilities:
Enumerate processes

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x234]
push edi
mov byte [esi + 0x230], 0
cmp eax, 0xffffffff
je 0x44989f
cmp byte [esi], 0
jne 0x44988a
lea ecx, [esi + 4]
push ecx
push eax
mov byte [esi], 1
call sub.KERNEL32.dll_Process32FirstW
jmp 0x449894
lea edx, [esi + 4]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x44989f
mov byte [esi + 0x230], 1
add esi, 4
mov ecx, 0x8c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, ebx
pop esi
ret
Function at 0x449990
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 0x4499b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop ecx
ret
cmp dword [esp + 4], edi
je 0x4499be
mov eax, 0x1e
pop ebx
pop ecx
ret
xor eax, eax
test edi, edi
jbe 0x4499cd
xor byte [eax + esi], 0x67
inc eax
cmp eax, edi
jb 0x4499c4
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x4499e0
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 0x449a07
pop esi
pop ebp
lea eax, [ebx + 0xe]
pop ebx
pop ecx
ret
test ebp, ebp
jbe 0x449a23
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 0x449a14
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 0x449a45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x449a50
cmp dword [esp + 0xc], ebp
je 0x449a50
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 0x449bc0
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 0x449bfb
mov ecx, 0x104
nop
cmp word [eax], 0
je 0x449bf7
add eax, 2
sub ecx, 1
jne 0x449be0
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x449c06
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
push ebx
lea ebx, [edx + 0x21c]
test ebx, ebx
je 0x449c34
mov ecx, 0x104
mov eax, ebx
cmp word [eax], 0
je 0x449c30
add eax, 2
sub ecx, 1
jne 0x449c18
pop ebx
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x449c40
pop ebx
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
test byte [ebp + 4], 1
je 0x449c64
call fcn.0044b850
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x449c64
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 0x44a2a0
Capabilities:
Delete file

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

Function at 0x44a5f0
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 0x44a629
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 0x44a688
xor eax, eax
test ecx, ecx
jbe 0x44a66d
lea ebx, [ebx]
xor byte [eax + esi], 0x67
inc eax
cmp eax, ecx
jb 0x44a660
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push esi
push eax
call fcn.004eed80
add esp, 0xc
cmp dword [esp + 0x24], eax
jne 0x44a698
test edi, edi
jne 0x44a630
jmp 0x44a6a0
test edi, edi
jne 0x44a6a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x44a6a0
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 0x44a6c0
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 0x44a6f6
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.004ee990
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x44a751
xor ecx, ecx
test eax, eax
jbe 0x44a72f
xor byte [ecx + esi], 0x67
inc ecx
cmp ecx, eax
jb 0x44a722
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 0x44a75b
cmp dword [esp + 0x18], 0x10000
jae 0x44a700
jmp 0x44a765
mov dword [esp + 0xc], 0x1e
jmp 0x44a765
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 0x44a870
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 0x44a8ab
mov ecx, 0x104
nop
cmp word [eax], 0
je 0x44a8a7
add eax, 2
sub ecx, 1
jne 0x44a890
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x44a8b6
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
push ebx
lea ebx, [edx + 0x218]
test ebx, ebx
je 0x44a8e4
mov ecx, 0x104
mov eax, ebx
cmp word [eax], 0
je 0x44a8e0
add eax, 2
sub ecx, 1
jne 0x44a8c8
pop ebx
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 4
test ecx, ecx
jne 0x44a8f0
pop ebx
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 4
test byte [ebp + 4], 1
je 0x44a914
call fcn.0044b850
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44a914
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 0x44a970
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 0x44a9f4
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 0x44a9d8
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 0x44a9d8
or dword [esi + 8], 1
jmp 0x44a9e5
lea ecx, [esi + 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44a9f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [esi + 8], 2
jne 0x44aa66
test edi, edi
jne 0x44aa66
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 0x44aa59
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x44aa3f
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 0x44ab40
Capabilities:
Delete file

Disassembly:
add ecx, 0x218
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
ret
Function at 0x44acd0
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 0x44ad1b
mov ecx, 0x104
lea ecx, [ecx]
cmp word [eax], 0
je 0x44ad17
add eax, 2
sub ecx, 1
jne 0x44ad00
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 8
test ecx, ecx
jne 0x44ad26
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 8
push ebx
lea ebx, [ebp + 0x22c]
test ebx, ebx
je 0x44ae62
mov ecx, 0x104
mov eax, ebx
lea esp, [esp]
cmp word [eax], 0
je 0x44ad58
add eax, 2
sub ecx, 1
jne 0x44ad40
pop ebx
pop edi
pop esi
lea eax, [ecx + 0x57]
pop ebp
ret 8
test ecx, ecx
je 0x44ae62
test byte [edx + 4], 1
je 0x44ad99
call fcn.0044b850
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44ad84
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push ebp
call fcn.0044b230
test eax, eax
jne 0x44ae89
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [edx + 0x41c]
test eax, eax
je 0x44adde
mov ecx, 0x100
xor edx, edx
lea ebx, [ebx]
cmp word [eax], dx
je 0x44adbf
add eax, 2
sub ecx, 1
jne 0x44adb0
jmp 0x44adc3
test ecx, ecx
jne 0x44add5
mov edx, 0x80070057
xor eax, eax
mov esi, edx
test edx, edx
jl 0x44ade3
lea ebp, [eax + eax]
jmp 0x44ade5
mov eax, 0x100
sub eax, ecx
jmp 0x44adca
mov esi, 0x80070057
xor ebp, ebp
test esi, esi
jl 0x44ae62
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 0x44ae87
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x41c]
mov ecx, ebp
shr ecx, 1
je 0x44ae62
cmp ecx, 0x7fffffff
ja 0x44ae62
mov edi, SysReAllocString
xor ebx, ebx
sub edi, ecx
mov edx, ecx
sub esi, eax
lea ecx, [edi + edx]
test ecx, ecx
je 0x44ae4d
movzx ecx, word [esi + eax]
test cx, cx
je 0x44ae4d
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x44ae30
jmp 0x44ae51
test edx, edx
jne 0x44ae59
sub eax, 2
mov ebx, 0x8007007a
xor edx, edx
mov word [eax], dx
test ebx, ebx
jge 0x44ae6e
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 0x44aee0
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 0x44afac
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 0x44af90
mov eax, dword [esp + 0xc]
call fcn.0044b140
mov edi, eax
test edi, edi
jne 0x44af90
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 0x44af8b
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.004499e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x44af84
or dword [esi + 0x1c], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
test edi, edi
je 0x44af9d
lea edx, [esi + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44afac
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [esi + 0x1c], 2
jne 0x44b028
test edi, edi
jne 0x44b028
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 0x44b01a
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 0x44afff
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
Function at 0x44b040
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test al, 1
je 0x44b103
test al, 2
je 0x44b103
mov eax, dword [esi + 0x20]
mov ecx, eax
and eax, 0x100
and ecx, 0xfffffcff
neg eax
push edi
sbb eax, eax
and eax, 0xffffff00
lea edx, [esp + 8]
push edx
add eax, 0xf023f
push eax
push 0
lea eax, [esi + 0x24]
push eax
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x44b0ea
cmp byte [esp + 0x14], al
je 0x44b0c7
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44b0c7
lea edi, [eax + 0x50]
jmp 0x44b0ea
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jne 0x44b0ea
mov eax, dword [esp + 8]
test eax, eax
je 0x44b0f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 0xc
xor eax, eax
pop esi
add esp, 8
ret 0xc

Function at 0x44b110
Capabilities:
Delete file

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

Function at 0x44b140
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esi + 4]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea eax, [esp + 8]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push ebx
mov dword [esp + 0x20], 0
call ebp
test eax, eax
jne 0x44b1aa
mov eax, dword [esi + 8]
mov ecx, dword [esp + 8]
push edi
lea edx, [ecx + eax + 4]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x44b1b0
lea ebx, [eax + 0xe]
test edi, edi
je 0x44b1a7
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
lea edx, [edi + ecx + 4]
mov ecx, dword [esi + 4]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push ecx
push ebx
call ebp
mov ebx, eax
test ebx, ebx
jne 0x44b193
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], eax
mov dword [edi + edx], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
push edi
call fcn.005986a0
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x18]
lea ecx, [edi + eax + 4]
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], ecx
test eax, eax
je 0x44b216
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 4], edi
mov dword [esi + 0x434], edi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret