joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444037
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4cfc3a
call fcn.004cc470
sub esp, 0x220
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0xc], esi
jne 0x444067
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x206
lea eax, [ebp - 0x22a]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x22c], si
call fcn.00495180
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
call fcn.00495089
pop ecx
lea ecx, [ebp - 0x22c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.00401400
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00432935
push 0x2e
lea esi, [ebp - 0x14]
call fcn.00432841
cmp eax, 0xffffffff
je 0x444119
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.004327b5
mov edi, esi
mov byte [ebp - 4], 1
call fcn.004013bf
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [ebp + 8]
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x14]
fstp qword [ebp - 0x24]
push eax
push edi
lea ecx, [ebp + 8]
call fcn.00444211
test eax, eax
jne 0x444168
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x444054
mov ebx, dword [ebp + 8]
push 0x4ea710
push ebx
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x444185
lea eax, [ebx - 0x10]
jmp 0x444153
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x44414d
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x44414d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4441d3
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x444056
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 1]
push edi
call fcn.0041c2de
test eax, eax
je 0x4441f0
push ebx
push dword [ebp + 0xc]
push eax
call fcn.004979b0
add esp, 0xc
mov eax, edi
call fcn.0041943c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x44420c
fld qword [ebp - 0x24]
fstp qword [eax]
xor esi, esi
inc esi
jmp 0x4441b6
Function at 0x44ae35
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.00495180
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x44afb6
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x44afe6
push 0x98
call fcn.0046222d
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x44afd9
call fcn.0044ae35
mov eax, ebx
jmp 0x44afdb
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x44afe6
xor eax, eax
jmp 0x44b05c
push ebp
push 0x4ead98
push dword [esp + 0x14]
call fcn.00499eb5
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x44b001
xor eax, eax
jmp 0x44b05b
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x44b015
push ebx
call fcn.0049391c
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049a164
add esp, 0x10
cmp eax, esi
je 0x44b046
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.0044ae6d
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0049a164
add esp, 0x10
test eax, eax
jne 0x44b028
push ebp
call fcn.0049a1f1
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0044af04
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x44b061
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00495180
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0044b0c3
push dword [ebp + 8]
mov eax, esi
call fcn.0044b159
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44bdf8
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x44be10
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x44be00
ret 8
Function at 0x44df43
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x44dfde
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.KAV7NEEDREBOOT
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x44df85
cmp dword [ebp - 8], 2
jne 0x44dfdc
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040146d
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004011f9
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x44dfc4
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x44dfd4
push eax
call fcn.00495089
pop ecx
mov edx, esi
call fcn.004011d8
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x44dfe5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x44e00a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44e0cb
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.00495180
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44e07a
lea eax, [ebp - 0x20c]
push str.explorer.exe
push eax
call fcn.004978f4
test eax, eax
pop ecx
pop ecx
je 0x44e06e
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44e044
jmp 0x44e083
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x44e083
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x44e0a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44e0ca
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44e0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x44e1b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x44e1c2
or eax, 0xffffffff
leave
ret
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00495180
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44e205
cmp dword [ebp - 0x110], 5
jne 0x44e205
cmp dword [ebp - 0x10c], 0
je 0x44e212
push esi
call fcn.0044e0ce
test eax, eax
pop ecx
jne 0x44e212
leave
ret
push esi
call fcn.0044dfe5
pop ecx
leave
ret
Function at 0x44e21b
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x44e2db
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 2
push dword [ebp + 8]
call esi
test eax, eax
jne 0x44e281
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44e2da
push edi
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 2
push dword [ebp + 8]
call esi
test eax, eax
je 0x44e2ce
cmp dword [edi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x44e2ce
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44e2ca
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add esi, 8
cmp eax, dword [edi]
jb 0x44e2ac
jmp 0x44e2ce
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x44e2d9
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp - 8], ebx
pop ebx
je 0x44e2ea
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 1]
leave
ret

Function at 0x44e2ef
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push 1
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x44e35d
push 0x110
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.00495180
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44e357
cmp dword [ebp - 0x118], 6
jne 0x44e357
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44e392
mov dword [esi], edi
xor eax, eax
jmp 0x44e392
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], edi
push ebx
mov ebx, 0x490
jbe 0x44e389
lea edx, [ecx + 8]
cmp dword [edx], edi
je 0x44e37f
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x44e370
jmp 0x44e389
imul eax, eax, 0xc
mov eax, dword [eax + ecx]
mov dword [esi], eax
xor ebx, ebx
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
pop ebx
pop edi
leave
ret
Function at 0x44e854
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4d0a94
call fcn.004cc470
sub esp, 0x10
mov eax, dword [0x50dc24]
push ebx
push esi
mov esi, 0x50dc24
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x50dc24]
mov ecx, esi
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov eax, dword [0x50dc24]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.0044e7cf
test eax, eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x44e923
lea eax, [ebp - 0x14]
push eax
call fcn.0044e830
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004013bf
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x44e923
push str.binTimwp.exe
lea eax, [ebp - 0x10]
push eax
call fcn.00432697
mov edi, dword [ebp - 0x10]
push ebx
push edi
call fcn.00499b76
test eax, eax
pop ecx
pop ecx
jne 0x44e923
cmp dword [ebp + 8], ebx
je 0x44e923
push 1
push ebx
push dword [ebp + 8]
push edi
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
cmp ecx, ebx
mov dword [ebp - 0x10], ecx
jne 0x44e93d
push 1
push ebx
push ebx
push dword [ebp + 0xc]
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [edi - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44ec74
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x44ecb5
xor al, al
jmp 0x44ecc9
lea ecx, [ebp - 4]
push ecx
push edi
mov dword [ebp - 4], ebx
call eax
test eax, eax
je 0x44ecb1
cmp dword [ebp - 4], ebx
setne al
push 0x118
mov byte [esi + 0x20], al
lea eax, [ebp - 0x14c]
push ebx
push eax
mov dword [esi + 0x24], ebx
mov dword [ebp - 0x150], 0x11c
call fcn.00495180
add esp, 0xc
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x34], ebx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x14c]
cmp eax, 5
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x144]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jne 0x44ed45
cmp ecx, ebx
jle 0x44ed67
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x44ed67
push 6
pop edx
cmp eax, edx
jne 0x44ed63
sub ecx, ebx
je 0x44ed5b
dec ecx
jne 0x44ed67
mov dword [esi], 4
jmp 0x44ed67
mov dword [esi], 3
jmp 0x44ed67
jle 0x44ed67
mov dword [esi], edx
movzx eax, word [ebp - 0x3c]
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x3a]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x44ed80
cmp eax, 6
jne 0x44edb1
lea esi, [ebp - 8]
lea edi, [ebp - 0x10]
lea ebx, [ebp - 4]
call fcn.0044eeac
test eax, eax
mov esi, dword [ebp + 8]
jne 0x44edaf
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
call fcn.0044ef41
mov dword [esi], eax
xor ebx, ebx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x44edd8
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x44edde
lea ecx, [ebp - 0x34]
push ecx
call eax
movzx eax, word [ebp - 0x34]
cmp eax, ebx
je 0x44ee10
cmp eax, 6
je 0x44ee07
cmp eax, 9
je 0x44edfe
cmp eax, 0xc
jne 0x44ee13
mov dword [esi + 0x18], 4
jmp 0x44ee13
mov dword [esi + 0x18], 1
jmp 0x44ee13
mov dword [esi + 0x18], 2
jmp 0x44ee13
mov dword [esi + 0x18], ebx
mov eax, dword [ebp - 0x20]
mov ebx, esi
mov dword [esi + 0x1c], eax
call fcn.0044f025
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.0044f0b9
test eax, eax
jne 0x44ee35
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x44f0b9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
cmp dword [ebp + 8], ebx
push 4
pop esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
mov eax, 0x20019
jne 0x44f0e2
push 0x57
pop edi
jmp 0x44f159
cmp dword [ecx + 0x18], ebx
je 0x44f0ec
mov eax, 0x20119
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x44f14b
cmp dword [ebp - 4], ebx
jne 0x44f111
push 6
jmp 0x44f0df
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x4eb12c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x44f14b
cmp dword [ebp - 8], esi
jne 0x44f148
cmp dword [ebp - 0xc], esi
jne 0x44f148
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor edi, edi
jmp 0x44f14b
push 0xd
pop edi
cmp dword [ebp - 4], ebx
je 0x44f159
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44f9eb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
mov esi, eax
cmp dword [esi + 0x14], 0x104
push edi
jb 0x44fa08
xor al, al
jmp 0x44fa96
and word [ebp - 0x230], 0
push 0x208
lea eax, [ebp - 0x22e]
push 0
push eax
call fcn.00495180
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x44fa31
mov esi, dword [esi + 4]
jmp 0x44fa34
add esi, 4
push esi
lea eax, [ebp - 0x230]
push 0x105
push eax
call fcn.0049510c
and dword [ebp - 0x20], 0
add esp, 0xc
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0xe], 0
jne 0x44fa01
test eax, eax
je 0x44fa93
cmp eax, 2
je 0x44fa93
cmp eax, 0x402
je 0x44fa93
xor eax, eax
jmp 0x44fa96
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x44fcd9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ce379
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
push esi
push edi
mov esi, ecx
jne 0x44fd1a
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x44fd42
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x44fd42
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x44fd06
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x44fd4e
or eax, 0xffffffff
jmp 0x44fd06
cmp dword [esi + 0x3c], edi
jne 0x44fd62
push eax
push ebx
call fcn.0044f9b1
test al, al
pop ecx
pop ecx
je 0x44fd49
jmp 0x44fd3e
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.0045039d
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], edi
call fcn.004503c3
mov ecx, eax
call fcn.00450781
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x44fe72
cmp eax, 1
jg 0x44fe9a
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x44fe07
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0049b4be
add esp, 0x10
cmp edi, eax
jne 0x44feb1
lea eax, [esp + 0x10]
cmp dword [esp + 0x1c], eax
mov byte [esi + 0x41], 1
jne 0x44fec8
test edi, edi
ja 0x44fe35
cmp dword [esp + 0x58], 0x20
jae 0x44feb1
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.0044aaba
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x44fdb5
jmp 0x44feb1
cmp eax, 3
jne 0x44feb1
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.0044f9b1
test al, al
pop ecx
pop ecx
jne 0x44fec8
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00418e98
mov eax, esi
jmp 0x44fd06
mov esi, dword [ebp + 8]
jmp 0x44feb4
Function at 0x4504ae
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4cdd60
call fcn.004cc470
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x4505be
cmp byte [esi + 0x41], 0
je 0x4505be
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4504e8
xor al, al
jmp 0x4505c0
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.0045039d
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
mov edi, dword [ebp - 0x40]
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
add edi, ebx
push edi
push dword [ebp - 0x14]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x450558
dec eax
je 0x45055c
dec eax
dec eax
je 0x4505ba
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00418e98
mov al, bl
jmp 0x4505c0
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x45059c
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.004503c3
mov ecx, eax
call fcn.00450781
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0049b4be
add esp, 0x10
cmp edi, eax
jne 0x450546
cmp byte [esi + 0x41], 0
je 0x4505ba
test edi, edi
jne 0x4504f6
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.0044aaba
jmp 0x4504f6
mov bl, 1
jmp 0x450548
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret