joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421af5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421b59
cmp dword [ebp + 0xc], 1
je 0x421b31
cmp dword [ebp + 0xc], 2
je 0x421b31
push 0xd
pop eax
jmp 0x421b59
mov eax, dword [ebp - 4]
test edi, edi
je 0x421b53
test eax, eax
je 0x421b4e
test al, 1
jne 0x421b2c
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x421b53
jmp 0x421b2c
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x42d96b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba4ea
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x42d9a4
mov eax, dword [eax + 4]
jmp 0x42d9a7
add eax, 4
push eax
lea esi, [esp + 0x30]
call fcn.00433287
and dword [esp + 0x48], 0
push 3
pop eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], 0xe
mov byte [esp + 0x48], 1
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x48], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x110]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push edx
push edx
lea edx, [esp + 0x28]
push edx
mov edx, esi
push edx
push eax
call dword [ecx + 0xd0]
test eax, eax
setge bl
mov byte [esp + 0x48], 1
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0xc]
push eax
call esi
mov byte [esp + 0x48], 0
lea eax, [esp + 0x1c]
push eax
call esi
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call esi
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42da41
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c27dc
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
push eax
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, eax
lea ecx, [esp + 8]
call fcn.00433515
pop ecx
and dword [esp + 0x30], 0
lea eax, [esp + 4]
push eax
push esi
call fcn.0042d96b
or dword [esp + 0x30], 0xffffffff
push 0
push 1
lea ecx, [esp + 0xc]
call fcn.00401800
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0049c07b
mov esp, ebp
pop ebp
ret 4
Function at 0x4337c5
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
mov esi, eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
call fcn.0041261a
cmp dword [esi], 0
je 0x4337f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4337f2
mov byte [esi + 8], 1
pop esi
ret 4

Function at 0x4372a6
Capabilities:
Get disk information

Disassembly:
push 0x2c
mov eax, 0x4c83d6
call fcn.004a1297
push edi
call fcn.00405837
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.00401886
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.0043733c
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004040d2
push eax
push dword [ebp - 0x34]
call esi
cmp eax, ebx
jne 0x437312
mov byte [ebp - 0x2d], bl
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401800
mov al, byte [ebp - 0x2d]
call fcn.004a131a
ret
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004040d2
mov ebx, edi
mov ecx, eax
call fcn.00449310
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
pop ecx
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
seta byte [ebp - 0x2d]
xor ebx, ebx
jmp 0x4372fa

Function at 0x438381
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x4b94d8
call fcn.004a122e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
xor ebx, ebx
cmp eax, ebx
je 0x4383a0
mov dword [ecx], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
jne 0x4383d2
or dword [ebp - 4], eax
push eax
jmp 0x438450
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 1
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.0043870c
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x43843a
cmp dword [ebp - 0x10], ebx
je 0x43843a
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push edi
call fcn.00438463
mov byte [ebp + 0xb], al
mov byte [ebp - 4], bl
push edi
call fcn.0049c876
pop ecx
mov dword [ebp + 0xc], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x438435
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], ebx
mov al, byte [ebp + 0xb]
jmp 0x43845b
mov byte [ebp - 4], bl
push edi
call fcn.0049c876
pop ecx
mov dword [ebp + 0xc], ebx
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x438459
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], ebx
xor al, al
call fcn.004a1306
ret 8
Function at 0x43917b
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push 0x54
mov eax, 0x4c5202
call fcn.004a122e
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x439314
cmp dword [eax - 0xc], ebx
jge 0x4391a8
push 0x80070057
call fcn.00405c3a
cmp byte [eax], bl
je 0x439314
lea ecx, [ebp - 0x10]
call fcn.0040932c
mov byte [ebp - 4], 1
push 0x4d8d6c
lea eax, [ebp - 0x18]
push eax
call fcn.00405d14
mov byte [ebp - 4], 2
lea edi, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0044ff20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004058a3
push str..bat
mov eax, edi
push eax
call fcn.00439083
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 3
cmp edi, 0xffffffff
jne 0x43922e
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], ebx
jmp 0x439309
lea eax, [ebp - 0x18]
push eax
call fcn.00439cea
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.00439d11
mov byte [ebp - 4], 5
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_nrd___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
cmp byte [esi + 5], bl
jne 0x43925a
mov eax, str._echo_off__r_nATTRIB__r___s___r_n:try__r_ndel___s___r_nif_exist___s__goto_try_r_nATTRIB__r___s___r_ndel___s___cls
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push dword [esi]
push dword [esi]
push dword [esi]
push eax
lea eax, [ebp - 0x18]
call fcn.0043a0b9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
add esp, 0x18
push ebx
lea edx, [ebp - 0x1c]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
call fcn.00439d53
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
call fcn.00439d53
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x4392b2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], ebx
cmp byte [esi + 4], bl
jne 0x4392cb
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push 0x4d42b4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x439309
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.0049cb00
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], 0x500
mov dword [ebp - 0x54], str.runas
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004058a3
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00439d53
call fcn.004a1306
ret 4
Function at 0x43b0a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x43b0b6
push 0xd
pop eax
jmp 0x43b0e9
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43b0bd
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x43db78
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 0x50]
movzx eax, ax
push str.kernel32.dll
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.IsWow64Process
push ebx
call esi
mov edi, eax
test edi, edi
je 0x43dbdc
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x43dbdc
cmp dword [ebp - 8], 0
je 0x43dbdc
push str.GetNativeSystemInfo
push ebx
call esi
test eax, eax
je 0x43dbdc
lea ecx, [ebp - 0x2c]
push ecx
call eax
jmp 0x43dbe6
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [ebp - 0x2c]
movzx eax, cx
test eax, eax
je 0x43dc16
cmp eax, 6
je 0x43dc0f
cmp eax, 9
jne 0x43dc1c
cmp word [ebp - 4], ax
je 0x43dc08
cmp word [ebp - 4], 0
jne 0x43dc1c
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
cmp word [ebp - 4], 6
jmp 0x43dc06
cmp word [ebp - 4], cx
je 0x43dc08
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x2797
mov eax, esp
push 0
mov dword [eax], 0x2796
call fcn.0041105e
add esp, 0x10
xor al, al
jmp 0x43dc0a
Function at 0x447bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb413
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x501344]
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.std::locale::_Locimp.0
mov dword [esp + 0x14], 1
push esi
call fcn.0049b14f
add esp, 4
mov byte [esp + 0x14], 0
cmp dword [esi + 0x30], 0x10
jb 0x447c16
mov eax, dword [esi + 0x1c]
push eax
call fcn.0049c070
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4480f0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
call fcn.0049c107
mov ecx, dword [esp + 0x14]
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0x10]
push 0
push esi
push 0x448140
push 0
push 0
mov dword [esi], eax
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x448130
push esi
call fcn.0049c070
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x44aa20
Capabilities:
Delete file

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, eax
mov ebx, dword [esi + 0xc]
push edi
cmp ebx, dword [esi + 0x10]
jbe 0x44aa36
call fcn.0049c5c2
mov ebp, dword [esi + 0x10]
mov edi, dword [esi]
cmp dword [esi + 0xc], ebp
jbe 0x44aa45
call fcn.0049c5c2
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x44aa50
test edi, edi
je 0x44aa5a
cmp edi, dword [esp + 0x10]
je 0x44aa5f
call fcn.0049c5c2
cmp ebx, ebp
je 0x44aaac
test edi, edi
jne 0x44aaa4
call fcn.0049c5c2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44aa78
call fcn.0049c5c2
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x44aa83
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x44aaa8
call fcn.0049c5c2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44aa9f
call fcn.0049c5c2
add ebx, 0x1c
jmp 0x44aa50
mov eax, dword [edi]
jmp 0x44aa6e
mov eax, dword [edi]
jmp 0x44aa95
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x44aab9
call fcn.0049c5c2
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x44aac8
call fcn.0049c5c2
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044ae20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x44aae0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
mov ebx, dword [esi + 0x28]
add esi, 0x18
push edi
cmp dword [esi + 0xc], ebx
jbe 0x44aaf9
call fcn.0049c5c2
mov edi, dword [esi]
mov ebp, ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], ebx
cmp ebx, dword [esi + 0x10]
jbe 0x44ab0e
call fcn.0049c5c2
mov eax, dword [esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x44ab1e
cmp edi, dword [esp + 0x18]
je 0x44ab23
call fcn.0049c5c2
cmp ebp, ebx
je 0x44ab96
mov dword [esp + 0x24], ebp
test edi, edi
jne 0x44ab63
call fcn.0049c5c2
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x44ab40
call fcn.0049c5c2
lea ebx, [ebp - 0x1c]
test edi, edi
jne 0x44ab67
call fcn.0049c5c2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x44ab58
call fcn.0049c5c2
cmp dword [ebx + 0x18], 8
jb 0x44ab6b
mov eax, dword [ebx + 4]
jmp 0x44ab6e
mov eax, dword [edi]
jmp 0x44ab36
mov eax, dword [edi]
jmp 0x44ab4e
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test edi, edi
jne 0x44ab92
call fcn.0049c5c2
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x44ab8a
call fcn.0049c5c2
mov ebp, ebx
mov ebx, dword [esp + 0x14]
jmp 0x44ab14
mov eax, dword [edi]
jmp 0x44ab80
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x44aba3
call fcn.0049c5c2
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x44abb2
call fcn.0049c5c2
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0044ae20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x44bdd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bf73c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
push 1
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.0044cdb0
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 1
jne 0x44be25
call fcn.0049c5c2
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edx
push ebx
call esi
inc eax
lea ecx, [esp + 0x14]
call fcn.0044cf20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x44be5a
call fcn.0049c5c2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push ecx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub ecx, edx
sar ecx, 1
cmp eax, ecx
jbe 0x44be8e
push edi
call fcn.0044b6a0
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], bl
lea eax, [esp + 0x14]
push eax
jmp 0x44bf10
cmp ecx, ebx
ja 0x44be9b
call fcn.0049c5c2
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov esi, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
call fcn.0049c5d2
add esp, 4
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00402126
mov byte [esp + 0x54], 2
push edi
lea ecx, [esp + 0x30]
call fcn.0044b770
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
jb 0x44bef4
mov edx, dword [esp + 0x30]
push edx
call fcn.0049c070
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x14]
push ecx
call fcn.0044dae0
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x44bf30
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c21e3
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x38], edi
mov esi, ecx
mov dword [esp + 0x18], ebx
call fcn.0044bdd0
add esp, 4
mov dword [esp + 0x26c], 1
mov ebp, 8
cmp dword [esi + 0x18], ebp
jb 0x44bf9d
mov esi, dword [esi + 4]
jmp 0x44bfa0
add esi, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x44bfae
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp byte [esp + 0x274], bl
je 0x44bfd0
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x54]
xor eax, eax
mov esi, 7
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.0049c5d2
add esp, 4
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x20]
call fcn.00402126
mov byte [esp + 0x26c], 2
push edi
lea ecx, [esp + 0x1c]
call fcn.0044b770
mov dword [esp + 0x14], 1
mov byte [esp + 0x26c], 1
cmp dword [esp + 0x30], ebp
jb 0x44c035
mov eax, dword [esp + 0x1c]
push eax
call fcn.0049c070
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov dword [esp + 0x26c], ebx
cmp dword [esp + 0x50], ebp
jb 0x44c05e
mov edx, dword [esp + 0x3c]
push edx
call fcn.0049c070
add esp, 4
xor eax, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov eax, edi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.0049c07b
add esp, 0x260
ret
Function at 0x44d540
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0x2bc], eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4011
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4d9844
call edi
push 0x4011
push 0x2b4
lea ecx, [esp + 0x14]
push ecx
push 0x10
push 0x4d984c
mov dword [esi], eax
call edi
mov edx, dword [esp + 0x10]
push 0x4013
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4d984c
mov dword [esi + 4], edx
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push 0x11
push 0
mov dword [esi + 8], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x44d61d
mov ecx, dword [esp + 4]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov dword [esi + 0xc], edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x44d624
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, esi
pop edi
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.0049c07b
add esp, 0x2c0
ret
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x2c0]
pop edi
xor ecx, esp
mov eax, esi
call fcn.0049c07b
add esp, 0x2c0
ret

Function at 0x44e330
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
mov ebx, ecx
call fcn.0044e4e0
mov eax, 8
cmp dword [edi + 0x18], eax
jb 0x44e34d
mov edi, dword [edi + 4]
jmp 0x44e350
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x44e35a
mov ebx, dword [ebx + 4]
jmp 0x44e35d
add ebx, 4
test edi, edi
je 0x44e37c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 2
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret
Function at 0x44e380
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c2113
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x44e49e
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x44e3ce
mov ecx, dword [esi]
jmp 0x44e3d0
mov ecx, esi
lea edx, [esp + 0x14]
push edx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x44e49e
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x44e402
cmp eax, 2
jne 0x44e49e
mov eax, dword [esp + 0x14]
shr eax, 1
mov dword [esp + 0x1c], eax
cmp eax, ebx
jbe 0x44e49e
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0044cdb0
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 1
jne 0x44e438
call fcn.0049c5c2
cmp dword [edi + 0x18], 8
jb 0x44e442
mov eax, dword [esi]
jmp 0x44e444
mov eax, esi
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00421af5
cmp eax, ebx
jne 0x44e490
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 1
jne 0x44e46c
call fcn.0049c5c2
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.004021b7
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], bl
lea edx, [esp + 0x20]
push edx
call fcn.0044dae0
jmp 0x44e4ba
mov byte [esp + 0x40], bl
lea eax, [esp + 0x20]
push eax
call fcn.0044dae0
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
xor ecx, ecx
mov word [ebp + 4], cx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], 1
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
Function at 0x44f430
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c4da8
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x104
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44f49f
mov edx, dword [0x503d84]
mov eax, dword [edx + 0xc]
mov ecx, 0x503d84
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x44f51a
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x44f4b2
mov ecx, 0x5c
mov word [esp + eax*2 + 0x10], cx
inc eax
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
mov eax, dword [0x503d84]
mov edx, dword [eax + 0xc]
mov ecx, 0x503d84
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x224], 2
lea eax, [esp + 0x10]
test eax, 0xffff0000
jne 0x44f500
mov ecx, eax
movzx edi, cx
push edi
call fcn.004058eb
add esp, 4
test eax, eax
je 0x44f51a
push edi
push eax
mov eax, esi
call fcn.00405a39
jmp 0x44f51a
lea edx, [esp + 0x10]
push edx
call fcn.0049c5d2
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00405c74
mov dword [esp + 0x224], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0049c07b
add esp, 0x220
ret