joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3cfd
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6447b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6fc418
push 0
push str.SoftwareDownloadManagerFoldersTree
push 0x80000001
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c3d70
lea ecx, [esp + 0x24]
call fcn.004be6a0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteItem__._r_n
lea ecx, [esp + 0x2c]
mov dword [esp + 0x244], 0
call fcn.004be7c0
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.004be7b0
jmp 0x4c3edf
mov ecx, dword [esi + 8]
xor ebx, ebx
test ecx, ecx
jle 0x4c3edf
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x244]
mov eax, edx
cmp dword [eax], edi
je 0x4c3d9a
inc ebx
add eax, 0x2c
cmp ebx, ecx
jl 0x4c3d89
jmp 0x4c3edf
test ebx, ebx
jl 0x4c3edf
lea eax, [ebx + ebx*4]
lea ebp, [ebx + eax*2]
shl ebp, 2
mov dword [esp + 0x14], ebp
mov eax, dword [edx + ebp + 0x10]
test eax, eax
jne 0x4c3dbb
lea eax, [edx + ebp + 0x14]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
jne 0x4c3de4
mov ecx, dword [esi + 4]
lea eax, [ecx + ebp]
mov ecx, dword [ecx + ebp + 4]
test ecx, ecx
jne 0x4c3dd9
lea ecx, [eax + 8]
add eax, 0x10
push ecx
mov ecx, eax
call fcn.00401f20
mov edx, dword [esi + 4]
mov eax, dword [edx + ebp + 0x10]
lea ecx, [edx + ebp + 0x10]
test eax, eax
jne 0x4c3df6
lea eax, [ecx + 4]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, dword [esi + 8]
mov esi, dword [esi + 4]
sub edi, ebx
add esi, ebp
dec edi
mov dword [esp + 0x1c], esi
xor ebp, ebp
lea ecx, [esi + 0x28]
mov dword [esp + 0x23c], 4
call fcn.00622d8a
mov ecx, dword [esi + 0x20]
push ecx
call dword [0x6fc1e0]
lea ecx, [esi + 0x1c]
mov byte [esp + 0x23c], 2
call fcn.00622d8a
lea ecx, [esi + 0x10]
mov byte [esp + 0x23c], 1
call fcn.00401070
lea ecx, [esi + 4]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00401070
add esi, 0x2c
mov edx, ebp
dec ebp
mov dword [esp + 0x1c], esi
test edx, edx
jne 0x4c3e13
mov esi, dword [esp + 0x18]
test edi, edi
je 0x4c3ea1
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
lea edx, [edi + ecx*2]
lea ecx, [ebx + ebx*4 + 5]
shl edx, 2
push edx
lea edx, [ebx + ecx*2 + 1]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x18]
add eax, edx
push ecx
push eax
call fcn.0060ac20
add esp, 0xc
mov eax, dword [esi + 8]
dec eax
mov dword [esi + 8], eax
jne 0x4c3ecd
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push 0x6d2188
push ecx
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.004c31e0
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 4
Function at 0x4c3f80
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6447cb
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 0x6fc418
push 0
push str.SoftwareDownloadManagerFoldersTree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c400e
lea ecx, [esp + 0x10]
call fcn.004be6a0
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.004be7c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call fcn.004be7b0
jmp 0x4c4038
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 0x4c4050
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6447eb
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 0x6fc418
push ebx
push str.SoftwareDownloadManagerFoldersTree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c40e5
lea ecx, [esp + 0x14]
call fcn.004be6a0
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.004be7c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x22c], 0xffffffff
call fcn.004be7b0
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 0x4c4116
cmp dword [esp + 8], 0xa
jne 0x4c4116
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 0x4c4140
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64480b
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 0x6fc418
push 0
push str.SoftwareDownloadManagerFoldersTree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c41da
lea ecx, [esp + 8]
call fcn.004be6a0
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.004be7c0
lea ecx, [esp + 8]
mov dword [esp + 0x220], 0xffffffff
call fcn.004be7b0
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 0x4c9070
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x34
mov edx, ecx
push edi
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 4]
mov edx, dword [edx + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 4]
xor eax, eax
push ecx
push eax
push 0x1132
push edx
mov dword [esp + 0x1c], 0x23
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
add esp, 0x34
ret 0x14
Function at 0x4ca640
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x645078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x65d760
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], 0
test eax, eax
je 0x4ca69a
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x4ca67c
lea eax, [esi + 0x30]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4ca69a
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x4ca693
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x2c]
call fcn.00401070
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004ca780
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4caab0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x645131
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
mov eax, dword [0x6fca48]
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
push edi
mov dword [esp + 0x34], esi
jne 0x4caae5
mov eax, 0x6fca4c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402850
add esp, 8
mov ecx, dword [esp + 0x10]
push ebx
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
call fcn.004027e0
mov eax, dword [0x6fca48]
mov byte [esp + 0xb8], 1
cmp eax, ebx
jne 0x4cab2c
mov eax, 0x6fca4c
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x4cab38
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0060a1a4
add esp, 8
test eax, eax
jne 0x4cab58
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x10]
push edx
add esi, 4
push eax
jmp 0x4cab6a
mov ecx, dword [esp + 0xc0]
mov edx, dword [0x6fca40]
push ecx
add esi, 4
push edx
push str._sp_proxy_ld.pac
push esi
call fcn.0061fae1
mov edi, dword [esp + 0xd4]
add esp, 0x10
cmp edi, ebx
je 0x4cacac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
mov dword [esp + 0x24], ecx
jl 0x4cabeb
mov esi, dword [esi]
push ebx
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], bx
call fcn.004027e0
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x4cabc0
lea eax, [esp + 0x2c]
push ebx
push ebx
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4cac16
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 1
call fcn.00401070
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], bl
call fcn.00401070
lea ecx, [esp + 0x10]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00622d8a
xor eax, eax
jmp 0x4cacd5
mov ecx, 0x1e
mov esi, str.Array.prototype.indexOf__function_v_s___for__var_is0__i_this.length__i__if__this_i_v__return_i__return__1____n
lea edi, [esp + 0x38]
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
push ebx
push eax
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], ebx
repne scasb al, byte es:[edi]
not ecx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
dec ecx
push ecx
lea ecx, [esp + 0x44]
push ecx
push ebp
call edi
mov esi, eax
cmp esi, ebx
je 0x4cac71
cmp dword [esp + 0x14], ebx
je 0x4cac71
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc4]
lea edx, [esp + 0x14]
push ebx
push edx
push eax
push ecx
push ebp
call edi
mov esi, eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4cabda
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp edx, eax
jne 0x4cabda
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 1
mov dword [eax + 0x1c], 1
call fcn.00401070
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], bl
call fcn.00401070
lea ecx, [esp + 0x10]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00622d8a
mov eax, 1
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 8
Function at 0x4cafb0
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 0x6fc418
push 0
push str.SoftwareDownloadManagerProxyPac
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4cb039
mov edx, dword [esi + 0xc]
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 0x6d2748
push edx
call edi
mov ecx, dword [esi + 0x10]
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 0x4cb140
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6451b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6f7b78]
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.0061fae1
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 0x6fc418
push esi
push edx
push 0x80000001
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 0x4cb1f9
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 0x6d278c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push ebx
push str.EncPassword
push eax
call fcn.005d0db0
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.004cb230
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4cb670
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6451f8
push eax
mov eax, dword [0x6fcf28]
mov dword fs:[0], esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
mov ebp, ecx
je 0x4cb6c7
mov eax, dword [0x6fcf44]
cmp eax, ebx
jne 0x4cb6a5
mov eax, 0x6fcf48
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4cb6c7
mov eax, dword [0x6fcf44]
cmp eax, ebx
jne 0x4cb6c0
mov eax, 0x6fcf48
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x24]
push esi
push edi
push eax
mov ecx, 0x6fcf18
call fcn.004cb900
mov esi, dword [ebp + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], bx
call fcn.00401070
cmp esi, ebx
je 0x4cb740
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4cb740
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push ebx
call edi
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4cb740
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4cb740
mov edx, dword [esp + 0x18]
push edx
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call edi
mov dword [esp + 0x18], eax
mov ecx, dword [0x6fcf44]
pop edi
cmp ecx, ebx
mov dword [esp + 0x20], ebx
pop esi
jne 0x4cb755
mov ecx, 0x6fcf48
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x4cb761
lea eax, [esp + 0xc]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp + 8]
push eax
push 0x6c910c
push 0x6fcf20
call fcn.0061fae1
add esp, 0xc
lea ecx, [esp + 8]
mov dword [0x6fcf28], 1
mov dword [esp + 0x1c], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x14]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4cb7b0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
mov eax, dword [0x6fcf28]
sub esp, 0xc
test eax, eax
push ebp
push esi
mov ebp, ecx
je 0x4cb8eb
mov esi, dword [0x6fcf20]
mov eax, dword [ebp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4cb7f1
test cl, cl
je 0x4cb7ed
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4cb7f1
add eax, 2
add esi, 2
test cl, cl
jne 0x4cb7cd
xor eax, eax
jmp 0x4cb7f6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4cb8eb
mov eax, dword [0x6fcf44]
test eax, eax
jne 0x4cb80c
mov eax, 0x6fcf48
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4cb8eb
mov eax, dword [0x6fcf44]
test eax, eax
jne 0x4cb82b
mov eax, 0x6fcf48
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cb8eb
mov esi, dword [ebp + 4]
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov word [esp + 0x10], 0
call fcn.00401070
test esi, esi
je 0x4cb8b0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4cb8b0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push eax
call edi
test eax, eax
mov dword [esp + 0x14], eax
je 0x4cb8b0
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x4cb8ba
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, eax
jne 0x4cb8be
lea ecx, [esp + 0x10]
mov eax, dword [0x6fcf44]
pop edi
test eax, eax
jne 0x4cb8cd
mov eax, 0x6fcf48
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4cb8e2
mov dword [ebp + 0x1c], 1
lea ecx, [esp + 8]
call fcn.00401070
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4cbe60
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x645270
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 0x4cbf2c
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x4cbff0
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x544], eax
je 0x4cbed0
mov eax, dword [esi + 0x54c]
test eax, eax
jne 0x4cbf2c
push 1
push 0
call edi
mov eax, dword [esi + 0x54c]
test eax, eax
je 0x4cbebe
jmp 0x4cbf2c
mov ecx, dword [0x6f7b78]
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.0061fae1
mov ecx, dword [0x6fcc14]
add esp, 0xc
test ecx, ecx
je 0x4cbf11
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.004be7c0
lea ecx, [esp + 0xc]
mov dword [esi + 0x54c], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00622d8a
mov eax, dword [esi + 0x548]
test eax, eax
jne 0x4cbfcf
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x4cc200
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x548], eax
je 0x4cbf73
mov eax, dword [esi + 0x550]
test eax, eax
jne 0x4cbfcf
push 1
push 0
call edi
mov eax, dword [esi + 0x550]
test eax, eax
je 0x4cbf61
jmp 0x4cbfcf
mov edx, dword [0x6f7b78]
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.0061fae1
mov ecx, dword [0x6fcc14]
add esp, 0xc
test ecx, ecx
je 0x4cbfb4
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.004be7c0
lea ecx, [esp + 0x10]
mov dword [esi + 0x550], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00622d8a
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 0x4d8f00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x645ff0
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 0x6fc418
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
mov dword [esi + 0x4b0], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4d8fb5
mov edx, dword [0x6f7b78]
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.0061fae1
mov ecx, dword [0x6fcc14]
add esp, 0xc
test ecx, ecx
je 0x4d8f94
mov edx, dword [esp + 4]
push 1
push edx
call fcn.004be7c0
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.00622d8a
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 0x4d8fec
mov eax, dword [esp + 0x14]
inc eax
mov dword [esi + 0x4b0], eax
jmp 0x4d903d
cmp eax, 2
je 0x4d903d
mov ecx, dword [0x6f7b78]
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.0061fae1
mov ecx, dword [0x6fcc14]
add esp, 0xc
test ecx, ecx
je 0x4d902c
mov eax, dword [esp + 8]
push 1
push eax
call fcn.004be7c0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6d281c]
mov ecx, dword [esi + 0x4b0]
cmp eax, ecx
jl 0x4d905e
inc eax
mov dword [esi + 0x4b0], eax
mov edx, dword [esi + 0x4b0]
mov dword [0x6d281c], edx
mov eax, dword [esi + 0x4b0]
push eax
call fcn.004de4a0
mov ecx, dword [0x6fcc38]
add esp, 4
test ecx, ecx
je 0x4d908f
mov edx, dword [esi + 0x4b0]
push edx
call fcn.004c03e0
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4d90a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x646008
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 0x6fc418
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4d914b
mov edx, dword [0x6f7b78]
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.0061fae1
mov ecx, dword [0x6fcc14]
add esp, 0xc
test ecx, ecx
je 0x4d912a
mov edx, dword [esp + 8]
push 1
push edx
call fcn.004be7c0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00622d8a
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 0x4d9181
cmp eax, dword [esp + 4]
jle 0x4d9185
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