joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446e80
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x394], eax
push ebx
mov ebx, dword [ebp + 0x3a4]
push esi
push edi
mov edi, dword [ebp + 0x3a0]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
call fcn.0044486e
mov esi, eax
test esi, esi
jne 0x446ec5
xor eax, eax
jmp 0x446fcd
test ebx, ebx
je 0x446ebe
test edi, edi
je 0x446ebe
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x446ebe
push ebx
call edi
test eax, eax
jne 0x446ee7
inc eax
jmp 0x446fcd
and dword [ebp - 0x78], 0
xor eax, eax
mov ebx, 0x1fe
push ebx
push eax
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push eax
call fcn.004701a0
mov eax, dword [esi]
add esp, 0xc
mov edi, 0x100
push edi
lea ecx, [ebp + 0x194]
push ecx
push dword [ebp - 0x74]
push esi
call dword [eax + 0x60]
xor eax, eax
push ebx
mov word [ebp - 0x6c], ax
xor ebx, ebx
lea eax, [ebp - 0x6a]
push ebx
push eax
call fcn.004701a0
mov eax, dword [esi]
add esp, 0xc
push edi
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x70]
push esi
call dword [eax + 0x60]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00446a3c
pop ecx
pop ecx
test eax, eax
jg 0x446fad
mov edi, dword [ebp - 0x74]
mov eax, dword [esi]
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push edi
push esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], ebx
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x80]
push edi
mov esi, eax
call fcn.00444ed6
cmp esi, ebx
je 0x446f86
cmp dword [ebp - 0x70], ebx
jne 0x446f8a
cmp eax, ebx
je 0x446f9e
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_version_is_lower_or_equal_than_local_and_check_sign_successfully__DO_NOT_Copy_back__PE_file.
call fcn.00404d3e
jmp 0x446fc8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_check_sign_failed__PE_file__and_Copy_back.
jmp 0x446fbc
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s_version_is_higher_than_local__PE_file__and_Copy_back..
call fcn.00404d3e
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x394]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x398
leave
ret 8
Function at 0x4476eb
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push ebp
sub esp, 0xa7c
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0xa7c], eax
push 0x10
mov eax, 0x4abbcd
call fcn.004711ef
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xa88]
mov edi, dword [ebp + 0xa8c]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], edi
cmp eax, ebx
je 0x447902
cmp edi, ebx
je 0x447902
cmp word [eax], bx
je 0x447902
cmp word [edi], bx
je 0x447902
push edi
call fcn.00470c3e
mov esi, 0x104
cmp eax, esi
pop ecx
jge 0x447902
push dword [ebp - 0x10]
call fcn.00470c3e
cmp eax, esi
pop ecx
jge 0x447902
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x447782
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4477b1
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4477b1
mov ecx, dword [ebp - 0x18]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00446a80
push 3
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040290e
push 0x410
lea eax, [ebp + 0x464]
push ebx
push eax
call fcn.004701a0
xor eax, eax
push 0x206
mov word [ebp + 0x874], ax
lea eax, [ebp + 0x876]
push ebx
push eax
call fcn.004701a0
add esp, 0x18
push 0x4ce208
push dword [ebp - 0x10]
lea eax, [ebp + 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x460], ebx
lea eax, [ebp + 0x464]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.0043a089
cmp eax, ebx
je 0x4478f2
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp]
call fcn.0043a04c
lea ecx, [ebp]
test eax, eax
je 0x447848
call fcn.00439f80
mov dword [ebp - 0x14], eax
jmp 0x4478e9
lea eax, [ebp - 0x18]
push eax
call fcn.0043c30f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0043c1f3
push 0x10
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00439f64
test eax, eax
je 0x447899
lea ecx, [ebp]
call fcn.00439f80
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0040290e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040290e
jmp 0x4478e9
push edi
lea eax, [ebp + 0x874]
push eax
call esi
push dword [ebp - 0x10]
lea eax, [ebp + 0x874]
push eax
call esi
mov edi, dword [ebp - 0x18]
push ebx
push ebx
push ebx
lea eax, [ebp + 0x874]
push eax
push edi
call fcn.00445b90
add esp, 0x14
lea ecx, [ebp]
call fcn.00439f80
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0040290e
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.0040290e
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jne 0x44782c
lea ecx, [ebp]
call fcn.00439fa7
lea ecx, [ebp]
call fcn.00439fa7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa7c]
xor ecx, ebp
call fcn.0047021a
add ebp, 0xa80
leave
ret 8
Function at 0x44a61b
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00471870
push 0xffffffffffffffff
push 0x4abfce
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x1014]
mov eax, dword [ebp + 0x101c]
mov esi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
test edi, edi
je 0x44a7a8
cmp dword [ebp + 0x1018], 0
je 0x44a684
xor eax, eax
jmp 0x44a7ab
mov ebx, 0x800
push ebx
lea eax, [ebp]
push 0
push eax
call fcn.004701a0
mov eax, dword [esi + 0xc]
add esp, 0xc
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp]
push eax
call edi
push ebx
xor ebx, ebx
lea eax, [ebp + 0x800]
push ebx
push eax
call fcn.004701a0
mov eax, dword [esi + 0x10]
add esp, 0xc
push dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x800]
push eax
call edi
mov ecx, dword [0x4f17c0]
cmp ecx, ebx
je 0x44a6f7
call fcn.0045b9ee
neg eax
sbb eax, eax
inc eax
je 0x44a711
cmp dword [esi + 8], ebx
je 0x44a6f7
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [esi + 0x18]
push edx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
mov ecx, esi
call fcn.00449f7d
jmp 0x44a67d
cmp dword [esi + 0x220], ebx
je 0x44a7d0
push ebx
push ebx
push 4
push ebx
push 7
push closesocket
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x44a7d0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [esi + 0x228]
jne 0x44a775
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x22c]
je 0x44a7d0
push dword [ebp - 0x14]
push str._s_lengths_error
call fcn.00404d3e
pop ecx
pop ecx
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
push str.move_file__s____s__check_filesize_error_
call fcn.00404d3e
add esp, 0xc
push 0xffffd8ef
mov ecx, esi
call fcn.0044a217
push 2
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x1004
leave
ret 0x14
lea ecx, [ebp - 0x24]
call fcn.004314e7
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.0040285e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040285e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040285e
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x2dc]
call fcn.00449888
lea ecx, [ebp - 0x24]
call fcn.00445893
jmp 0x44a67d
Function at 0x44ab48
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0044a835
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.0045dcf4
mov ecx, edi
call fcn.0045ba6e
mov ecx, eax
call fcn.0043054e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ab81
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x10]
mov ecx, esi
call fcn.0044a957
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x44ab93
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x44ac08
and dword [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 0x32
add dword [ebp - 0x10], 0x32
sub eax, dword [ebp - 0x10]
pop edi
js 0x44abea
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
js 0x44abea
push 0
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x44ac08
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
leave
ret 4

Function at 0x44ae5a
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
mov dword [eax], 1
call fcn.0045b9ee
test eax, eax
jne 0x44aeb3
push ebx
push edi
xor edi, edi
push edi
push edi
push 0xa9
call fcn.00402e62
mov ecx, eax
call fcn.00402ef3
push edi
push edi
push esi
push 0x44ae44
push edi
push edi
call fcn.00470d59
mov ebx, eax
add esp, 0x18
cmp ebx, edi
je 0x44aea8
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
jmp 0x44aec7
push 0
push dword [esp + 0x10]
push 0x1817
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
pop esi
ret 0x10
Function at 0x44c463
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x44c48b
xor eax, eax
inc eax
jmp 0x44c4f2
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4cd5ec
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44c4eb
push str.Utils360MedalWall.dll
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call fcn.004021b7
mov dword [esi], eax
xor eax, eax
cmp dword [esi], eax
setne al
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.0047021a
add ebp, 0x194
leave
ret
Function at 0x44d100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x44d1b1
cmp dword [ebp + 0xc], edi
je 0x44d1b1
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x44d1b1
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x44d1b1
lea eax, [ebp + 8]
push eax
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x44d171
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4cdf90
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x44d1ac
cmp ebx, edi
jle 0x44d1a3
cmp esi, edi
je 0x44d19d
push dword [esi + 4]
call fcn.00470c3e
pop ecx
add eax, eax
push eax
push dword [esi + 4]
push 1
push edi
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x44d19d
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x44d175
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x44d1b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44d1b8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x44d258
cmp dword [ebp + 0xc], edi
je 0x44d258
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x44d258
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
jle 0x44d258
lea eax, [ebp + 8]
push eax
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x44d221
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x2001f
push edi
push 0x4cdf90
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x44d253
cmp ebx, edi
jle 0x44d24a
cmp esi, edi
je 0x44d244
push 4
lea eax, [esi + 4]
push eax
push 4
push edi
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x44d244
mov dword [ebp - 4], edi
add esi, 8
dec ebx
jne 0x44d225
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x44d25a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d25f
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004701a0
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44d298
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x44d2a2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
push esi
push 4
pop ecx
cmp ecx, eax
mov ecx, dword [ebp + 8]
push 0x40
mov dword [ecx], eax
lea eax, [ebp - 0x64]
sbb esi, esi
push 0
push eax
inc esi
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x44d2f1
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
mov dword [eax + 4], ecx
cmp ecx, 1
jb 0x44d2f9
ja 0x44d2f1
test edx, edx
jbe 0x44d2f9
test esi, esi
jne 0x44d2f9
xor eax, eax
jmp 0x44d2fc
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x44d32c
Capabilities:
Print debug messages

Disassembly:
push 0x2c
mov eax, 0x4ac2a9
call fcn.004711ef
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
jne 0x44d350
push 0x57
pop eax
jmp 0x44d437
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
mov edi, eax
cmp edi, esi
je 0x44d37f
push str.GetSecurityInfo_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x44d41b
push 0x20
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.004701a0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
push 0x14
push dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00473020
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov edi, eax
cmp edi, esi
je 0x44d3ce
push str.SetEntriesInAcl_Error
jmp 0x44d374
push esi
push dword [ebp - 0x10]
push esi
push esi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov edi, eax
cmp edi, esi
je 0x44d41b
push 0x4f39f8
lea ecx, [ebp + 8]
call fcn.004028e9
push edi
lea eax, [ebp + 8]
push 0x4b9848
push eax
mov dword [ebp - 4], esi
call fcn.00403ac2
mov ebx, dword [ebp + 8]
push ebx
call fcn.00404d3e
add esp, 0x10
lea ecx, [ebx - 0x10]
call fcn.0040290e
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x44d42b
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 0x10], esi
je 0x44d435
push dword [ebp - 0x10]
call ebx
mov eax, edi
call fcn.004712c7
ret 0x18
Function at 0x44d653
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0x2000000
push 3
push ebx
push 3
push 0x60000
push eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x44d6a5
push str.CreateFile_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x44d79f
push str.full
push esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 1
call fcn.00470456
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfff2feaa
pop ecx
add esi, 0x1f01ff
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x44d6f9
mov ecx, dword [ebp - 0x18]
push 3
push 1
push esi
push edi
push 1
push dword [ebp - 0x14]
call fcn.0044d43f
mov edi, eax
jmp 0x44d781
push 0x14
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004701a0
push str.Everyone
push edi
call fcn.00470456
add esp, 0x14
test eax, eax
jne 0x44d74e
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edi, eax
cmp edi, ebx
jne 0x44d73c
push str.AllocateAndInitializeSid_fail
jmp 0x44d77b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], eax
jmp 0x44d75a
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x18]
push 3
push 1
push esi
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp - 0x14]
call fcn.0044d32c
mov edi, eax
cmp edi, ebx
je 0x44d781
push str.Failed_to_add_ACE_to_object
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x44d798
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
cmp edi, ebx
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret 0x10
Function at 0x44d7b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
lea ebp, [esp - 0x2a4]
sub esp, 0x324
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x2a0], eax
push ebx
mov ebx, dword [ebp + 0x2ac]
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0x114
call fcn.00403cef
pop ecx
test eax, eax
je 0x44d8ba
xor edi, edi
cmp dword [ebp - 0x78], 6
jne 0x44d7fe
cmp dword [ebp - 0x74], 4
je 0x44d811
cmp dword [ebp - 0x78], 0xa
jne 0x44d8ba
cmp dword [ebp - 0x74], edi
jne 0x44d8ba
push 0x208
lea eax, [ebp + 0x98]
push edi
push eax
call fcn.004701a0
add esp, 0xc
push edi
push 0x26
lea eax, [ebp + 0x98]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x98]
push eax
call fcn.00470c3e
push eax
lea eax, [ebp + 0x98]
push ebx
push eax
call fcn.00472a9e
add esp, 0x10
test eax, eax
je 0x44d8ba
lea eax, [ebp + 0x98]
push 0x20
push eax
call fcn.0046fe80
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x44d899
push str.__x86_
push esi
call fcn.00470456
pop ecx
pop ecx
test eax, eax
jne 0x44d899
lea eax, [ebp + 0x98]
sub esi, eax
sar esi, 1
dec esi
push esi
push ebx
push eax
call fcn.00472a9e
add esp, 0xc
test eax, eax
je 0x44d8ba
push str.add_ac
call fcn.00404d3e
pop ecx
mov ecx, dword [ebp - 0x80]
push edi
push str.nofull
push str.ALL_APPLICATION_PACKAGES
push ebx
call fcn.0044d653
jmp 0x44d8bc
xor eax, eax
mov ecx, dword [ebp + 0x2a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x2a4
leave
ret 4

Function at 0x44ee0a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x44ee17
lea esi, [ecx - 0x34]
jmp 0x44ee19
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x44ee4d
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x44ee3e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44ee53
cmp dword [ebp + 0xc], 0
jne 0x44ee4d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x44ee68
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x34]
call fcn.0044e928
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x44fb44
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x4ac46e
call fcn.00471258
mov esi, ecx
push 0x4f39f8
lea ecx, [ebp - 0x28]
call fcn.004028e9
lea eax, [esi + 4]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
test edx, 0xfffffff8
jne 0x44fb89
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
lea eax, [ebp - 0x24]
push eax
jmp 0x44fba3
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.0044f9b4
test eax, eax
je 0x44fbba
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push 7
push str.PendingFileRenameOperations
push 0x4b9c10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040290e
xor eax, eax
inc eax
call fcn.004712db
ret

Function at 0x45048e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4af18f
call fcn.004711ef
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0x80000
xor ebx, ebx
push 0x4f39f8
lea ecx, [ebp - 0x10]
call fcn.004028e9
push dword [ebp - 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00415e37
mov esi, eax
test esi, esi
je 0x450524
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push 0x4b9c10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040b353
test edi, edi
je 0x450533
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp edi, 0xea
jne 0x45052a
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.0040290e
inc ebx
cmp ebx, 0xa
jl 0x4504ad
jmp 0x450551
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
xor eax, eax
jmp 0x450554
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 4]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
push esi
call fcn.0045013f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
xor eax, eax
inc eax
call fcn.004712c7
ret 4