joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0d40
Capabilities:
Get storage device properties

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fd6a6
push eax
mov eax, 0x32e0
mov dword fs:[0], esp
call fcn.005c4f90
mov eax, dword [0x6ca27c]
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x32fc]
lea edx, [esp + 0x10]
push ecx
push str..PhysicalDrive_d
push edx
mov dword [esp + 0x3300], ebp
call fcn.005d9fbb
mov eax, dword [esp + 0x1c]
add esp, 0xc
push ebp
push ebp
push 3
push ebp
push 3
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a0dc1
lea ecx, [esp + 0x10]
mov dword [esp + 0x32f4], eax
call fcn.005e118c
xor eax, eax
jmp 0x4a0f68
xor ecx, ecx
push edi
mov dword [esp + 0x18], ecx
xor eax, eax
mov dword [esp + 0x1c], ecx
lea edi, [esp + 0xbe0]
mov dword [esp + 0x20], ecx
mov ecx, 0x9c4
lea edx, [esp + 0x24]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0xbe8]
push 0x2710
push eax
lea ecx, [esp + 0x28]
push 0xc
push ecx
push 0x2d1400
push ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a0f4a
mov eax, dword [esp + 0xbf0]
lea edx, [esp + 0x410]
push edx
push 0
lea ecx, [esp + 0xbe8]
push eax
push ecx
mov ecx, esi
call fcn.004a1000
mov eax, dword [esp + 0xbf4]
lea edx, [esp + 0x7f8]
push edx
push 0
lea ecx, [esp + 0xbe8]
push eax
push ecx
mov ecx, esi
call fcn.004a1000
mov eax, dword [esp + 0xbf8]
lea edx, [esp + 0x28]
push edx
push 1
lea ecx, [esp + 0xbe8]
push eax
push ecx
mov ecx, esi
call fcn.004a1000
movsx edx, byte [esp + 0x28]
push edx
call fcn.005c5249
add esp, 4
test eax, eax
jne 0x4a0ea2
movsx eax, byte [esp + 0x3b]
push eax
call fcn.005c5249
add esp, 4
test eax, eax
je 0x4a0f4a
mov ecx, dword [0x6ca27c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x410]
lea eax, [esp + 0x10]
push edx
push 0x69ffbc
push eax
mov byte [esp + 0x3304], 1
call fcn.005d9fbb
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x6ce7c8
push 0x69feec
call fcn.005d99de
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x30
jbe 0x4a0f00
push eax
push 0x30
lea ecx, [esp + 0x18]
call fcn.005e15f8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x7f8]
push ecx
push edx
add esi, 4
push eax
push str._s__s__s
push esi
call fcn.005d9fbb
add esp, 0x14
mov ecx, esi
push 0x6ce7c8
push 0x69feec
call fcn.005d99de
lea ecx, [esp + 0x10]
mov ebp, 1
mov byte [esp + 0x32f8], 0
call fcn.005e118c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov dword [esp + 0x32f8], 0xffffffff
call fcn.005e118c
mov eax, ebp
pop edi
mov ecx, dword [esp + 0x32ec]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x32ec
ret 4
Function at 0x4a1170
Capabilities:
Get common file path

Disassembly:
sub esp, 0x198
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4a11fc
cmp dword [esp + 0x20], 2
jne 0x4a11fc
push str.shell32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4a11fc
push str.SHGetFolderPathA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4a11f1
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0xa4]
push ecx
push ebx
push ebx
push 5
push ebx
call edi
test eax, eax
jne 0x4a11eb
mov ebx, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x4a121e
lea edx, [esp + 0xa4]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x4a121e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret
lea eax, [esp + 0xa4]
push 0x6a1770
push eax
call fcn.005c4c40
add esp, 8
test eax, eax
jne 0x4a1242
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret
lea ecx, [esp + 0xa4]
mov byte [eax], 0
push ecx
mov ecx, ebp
call fcn.004a0990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret
Function at 0x4a12b0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd6b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x300
push ebx
push esi
mov dword [ebp - 0x18], ecx
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [ebp - 0xb4]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xb4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4a1361
cmp dword [ebp - 0xa4], 2
jne 0x4a1361
push str.shell32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4a1361
push str.SHGetFolderPathA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4a1356
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x1b8]
push ecx
push ebx
push ebx
push 5
push ebx
call esi
test eax, eax
jne 0x4a1350
mov ebx, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x4a137b
lea edx, [ebp - 0x1b8]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4a13ff
lea eax, [ebp - 0x1b8]
push 0x6a1770
push eax
call fcn.005c4c40
add esp, 8
test eax, eax
je 0x4a13ff
add eax, 2
lea ecx, [ebp - 0x208]
push 0x50
lea edx, [ebp - 0x20]
mov byte [eax], 0
push ecx
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x30c]
push 0x104
lea eax, [ebp - 0x1b8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4a13ff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
add edx, 4
push 0x6a6bdc
push edx
call fcn.005d9fbb
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a34a0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fd963
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
mov ebx, ecx
push esi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WS2_32.dll_accept
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4a352f
lea ecx, [esp + 0x20]
call fcn.0049e3c0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteItem__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x240], 0
call fcn.0049e4e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x238], 0xffffffff
call fcn.0049e4d0
jmp 0x4a369a
mov ecx, dword [ebx + 8]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x18], esi
jle 0x4a369a
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x240]
cmp dword [eax], edx
je 0x4a355f
inc esi
add eax, 0x1c
cmp esi, ecx
jl 0x4a354a
mov dword [esp + 0x18], esi
jmp 0x4a369a
test esi, esi
mov dword [esp + 0x18], esi
jl 0x4a369a
mov edx, dword [ebx + 4]
push ebp
lea ebp, [esi*8]
or ecx, 0xffffffff
sub ebp, esi
xor eax, eax
shl ebp, 2
mov edi, dword [edx + ebp + 8]
lea edx, [edx + ebp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4a359e
mov eax, dword [ebx + 4]
mov ecx, edx
lea eax, [eax + ebp + 4]
push eax
call fcn.005e12c5
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + ebp + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x18]
sub ebx, esi
mov esi, dword [eax + 4]
dec ebx
add esi, ebp
xor edi, edi
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esp + 0x23c], 4
call fcn.005e118c
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esi + 0xc]
mov byte [esp + 0x23c], 2
call fcn.005e118c
lea ecx, [esi + 8]
mov byte [esp + 0x23c], 1
call fcn.005e118c
lea ecx, [esi + 4]
mov dword [esp + 0x23c], 0xffffffff
call fcn.005e118c
add esi, 0x1c
mov edx, edi
dec edi
mov dword [esp + 0x14], esi
test edx, edx
jne 0x4a35c6
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x4a365b
mov edx, dword [esp + 0x1c]
lea ecx, [ebx*8]
sub ecx, ebx
mov eax, dword [esi + 4]
shl ecx, 2
push ecx
lea ecx, [edx + 1]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [eax + edx*4]
add eax, ebp
push ecx
push eax
call fcn.005c5be0
add esp, 0xc
mov eax, dword [esi + 8]
pop ebp
dec eax
mov dword [esi + 8], eax
jne 0x4a3688
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push 0
push 0x6a801c
push eax
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.004a2a10
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 4
Function at 0x4a3740
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fd97b
push eax
mov dword fs:[0], esp
sub esp, 0x21c
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x230]
mov dword [ecx + 0x18], esi
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4a37ce
lea ecx, [esp + 0x10]
call fcn.0049e3c0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::SetVisiblity__._r_n
lea ecx, [esp + 0x18]
mov dword [esp + 0x230], 0
call fcn.0049e4e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call fcn.0049e4d0
jmp 0x4a37f8
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.Visiblity
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
pop esi
mov dword fs:[0], ecx
add esp, 0x228
ret 4

Function at 0x4a3810
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fd99b
push eax
mov dword fs:[0], esp
sub esp, 0x220
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
xor ebx, ebx
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x6ce7c8
push ebx
push str.SoftwareDownloadManagerFoldersTree
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4a38a5
lea ecx, [esp + 0x14]
call fcn.0049e3c0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::CheckQAU__._r_n
lea ecx, [esp + 0x1c]
mov dword [esp + 0x234], ebx
call fcn.0049e4e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x22c], 0xffffffff
call fcn.0049e4d0
xor al, al
pop ebx
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push ebx
push ebx
push str.QAUWA
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a38d6
cmp dword [esp + 8], 0xa
jne 0x4a38d6
mov bl, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x224]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x4a3900
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fd9bb
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov byte [ecx + 0x14], 0
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4a399a
lea ecx, [esp + 8]
call fcn.0049e3c0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteQAU__._r_n
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0
call fcn.0049e4e0
lea ecx, [esp + 8]
mov dword [esp + 0x220], 0xffffffff
call fcn.0049e4d0
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
add esp, 0x224
ret
mov edx, dword [esp]
push str.QAUWA
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
add esp, 0x224
ret
Function at 0x4a9e70
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerProxyPac
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4a9ef9
mov edx, dword [esi + 8]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push 0x6a8544
push edx
call edi
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 8]
xor eax, eax
push 4
test ecx, ecx
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.bUse
setne al
push edx
mov dword [esp + 0x24], eax
call edi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4aa000
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fe358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6ca27c]
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push str.SoftwareDownloadManagerProxyPac_s
push edx
mov dword [esp + 0x2c], esi
call fcn.005d9fbb
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push 0xf003f
push esi
push 0x6ce7c8
push esi
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
cmp edx, esi
mov esi, dword [esp + 0x2c]
je 0x4aa0b9
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push eax
push eax
push 0x6a8588
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push ebx
push str.EncPassword
push eax
call fcn.005925b0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov edx, dword [esp + 0x28]
push ebx
push esi
push edx
mov ecx, ebp
call fcn.004aa0f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.005e118c
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4aa850
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fe3b0
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [esi + 0x544]
test eax, eax
jne 0x4aa91c
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x4aa9e0
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x544], eax
je 0x4aa8c0
mov eax, dword [esi + 0x54c]
test eax, eax
jne 0x4aa91c
push 1
push 0
call edi
mov eax, dword [esi + 0x54c]
test eax, eax
je 0x4aa8ae
jmp 0x4aa91c
mov ecx, dword [0x6ca27c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x10]
push str.Gr_GetWW:CrTh_failed__err__ld_n
push edx
call fcn.005d9fbb
mov ecx, dword [0x6cef74]
add esp, 0xc
test ecx, ecx
je 0x4aa901
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.0049e4e0
lea ecx, [esp + 0xc]
mov dword [esi + 0x54c], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.005e118c
mov eax, dword [esi + 0x548]
test eax, eax
jne 0x4aa9bf
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x4aabf0
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x548], eax
je 0x4aa963
mov eax, dword [esi + 0x550]
test eax, eax
jne 0x4aa9bf
push 1
push 0
call edi
mov eax, dword [esi + 0x550]
test eax, eax
je 0x4aa951
jmp 0x4aa9bf
mov edx, dword [0x6ca27c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.Gr_GetWW:CrTh2_failed__err__ld_n
push eax
call fcn.005d9fbb
mov ecx, dword [0x6cef74]
add esp, 0xc
test ecx, ecx
je 0x4aa9a4
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.0049e4e0
lea ecx, [esp + 0x10]
mov dword [esi + 0x550], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.005e118c
mov eax, dword [esi + 0x54c]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4b7430
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ff1e0
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea eax, [esp + 0x14]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
mov dword [esi + 0x4b0], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4b74e5
mov edx, dword [0x6ca27c]
mov dword [esp + 4], edx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 8]
push str.Gr_SetPID:RegCrKey_failed__err_ld_n
push eax
call fcn.005d9fbb
mov ecx, dword [0x6cef74]
add esp, 0xc
test ecx, ecx
je 0x4b74c4
mov edx, dword [esp + 4]
push 1
push edx
call fcn.0049e4e0
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e118c
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.maxProjectID
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b751c
mov eax, dword [esp + 0x14]
inc eax
mov dword [esi + 0x4b0], eax
jmp 0x4b756d
cmp eax, 2
je 0x4b756d
mov ecx, dword [0x6ca27c]
mov dword [esp + 8], ecx
push eax
lea edx, [esp + 0xc]
push str.Gr_SetPID:RegQVE_failed__err_ld_n
push edx
mov dword [esp + 0x30], 1
call fcn.005d9fbb
mov ecx, dword [0x6cef74]
add esp, 0xc
test ecx, ecx
je 0x4b755c
mov eax, dword [esp + 8]
push 1
push eax
call fcn.0049e4e0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e118c
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6a8604]
mov ecx, dword [esi + 0x4b0]
cmp eax, ecx
jl 0x4b758e
inc eax
mov dword [esi + 0x4b0], eax
mov edx, dword [esi + 0x4b0]
mov dword [0x6a8604], edx
mov eax, dword [esi + 0x4b0]
push eax
call fcn.004bc6d0
mov ecx, dword [0x6cef9c]
add esp, 4
test ecx, ecx
je 0x4b75bf
mov edx, dword [esi + 0x4b0]
push edx
call fcn.0049ff50
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4b75d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ff1f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 0x10]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ce7c8
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4b767b
mov edx, dword [0x6ca27c]
mov dword [esp + 8], edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xc]
push str.Gr_SetPID:RegCrKey_failed__err_ld_n
push eax
call fcn.005d9fbb
mov ecx, dword [0x6cef74]
add esp, 0xc
test ecx, ecx
je 0x4b765a
mov edx, dword [esp + 8]
push 1
push edx
call fcn.0049e4e0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.005e118c
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.maxProjectID
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esi + 0x4b0]
jne 0x4b76b1
cmp eax, dword [esp + 4]
jle 0x4b76b5
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push 0
push str.maxProjectID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4ba520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [ebp + 8]
push edi
cmp ecx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edx
jl 0x4ba663
cmp ecx, dword [esi + 0xb0]
jge 0x4ba663
xor ebx, ebx
cmp edx, dword [esi + 0x530]
jge 0x4ba5d5
mov eax, dword [esi + 0x52c]
lea edi, [edx*8]
add eax, edi
cmp ecx, dword [eax]
jne 0x4ba641
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x530]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x52c]
sub eax, edx
mov ebx, 1
dec eax
add ecx, edi
mov edi, ebx
dec ebx
test edi, edi
je 0x4ba5a6
add ecx, 8
jmp 0x4ba59a
test eax, eax
je 0x4ba5c5
mov ecx, dword [esi + 0x52c]
shl eax, 3
push eax
lea eax, [ecx + edx*8 + 8]
lea ecx, [ecx + edx*8]
push eax
push ecx
call fcn.005c5be0
add esp, 0xc
mov eax, dword [esi + 0x530]
mov ebx, dword [ebp + 8]
dec eax
mov dword [esi + 0x530], eax
test ebx, ebx
je 0x4ba663
mov edx, dword [ebx]
push 0
push 0x1442
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 8], ebx
mov al, byte [ebx + 0x26]
mov byte [ebp - 4], 1
test al, al
je 0x4ba611
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4ba60a
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebx + 0x10]
call fcn.00401070
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0
call fcn.005e118c
push ebx
call fcn.005dd5b6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edx
jmp 0x4ba55f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ba680
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff566
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x530]
mov dword [ebp - 0x14], edi
cmp edi, eax
jge 0x4ba74b
mov eax, dword [ebx + 0x52c]
push 0
push 0x1442
push 0x111
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x52c]
mov esi, dword [eax + edi*8 + 4]
test esi, esi
mov dword [ebp - 0x1c], esi
je 0x4ba73e
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 2
test al, al
je 0x4ba708
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4ba701
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.005e118c
push esi
call fcn.005dd5b6
add esp, 4
mov dword [ebp - 4], 0
inc edi
jmp 0x4ba6ab
mov dword [ebp - 4], 0
inc edi
jmp 0x4ba6ab
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x528]
call fcn.004c33c0
mov ecx, ebx
call fcn.004bfc00
mov esi, dword [ebx + 0x53c]
test esi, esi
je 0x4ba7b1
mov dword [ebp - 0x1c], esi
mov al, byte [esi + 0x26]
mov byte [ebp - 4], 4
test al, al
je 0x4ba78a
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4ba783
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x10]
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
call fcn.005e118c
push esi
call fcn.005dd5b6
add esp, 4
mov dword [ebx + 0x53c], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret