joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4823a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5b5720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
mov word [esp + 0x10], bx
mov esi, dword [ecx + 8]
mov dword [esp + 0x84], ebx
cmp esi, ebx
jne 0x4823db
lea esi, [ecx + 0xc]
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x3c]
push 0xa
push eax
push ecx
call fcn.0057ff82
mov edx, str._sproject_s.gsd
add esp, 0xc
test edx, edx
mov edi, eax
je 0x48253b
cmp esi, ebx
je 0x48253b
cmp edi, ebx
je 0x48253b
push ebp
push ebx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x40], bx
call fcn.004028d0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
call fcn.00401fb0
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
call fcn.00401fb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], 3
call fcn.00401070
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.00401fa0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.00401fa0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x482508
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x1c]
call fcn.00401fa0
push eax
lea ecx, [esp + 0x2c]
call fcn.00401fa0
push eax
lea ecx, [esp + 0x3c]
call fcn.00401fa0
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.00401070
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 1
call fcn.00401070
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.00401070
pop ebp
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
pop ebx
jne 0x48254a
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp]
mov dword [esp + 0x78], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
Function at 0x482de0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b58a0
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 0x482e91
cmp dword [ebp - 0xa4], 2
jne 0x482e91
push str.shell32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x482e91
push str.SHGetFolderPathA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x482e86
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 0x482e80
mov ebx, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x482eab
lea edx, [ebp - 0x1b8]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x482f2f
lea eax, [ebp - 0x1b8]
push 0x656394
push eax
call fcn.0057ea00
add esp, 8
test eax, eax
je 0x482f2f
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 0x482f2f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
add edx, 4
push 0x656390
push edx
call fcn.00593b08
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 0x4843c0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b5a56
push eax
mov dword fs:[0], esp
sub esp, 0x430
lea eax, [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
push ebx
push 0xf003f
push ebx
push 0x679a18
push ebx
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x484457
lea ecx, [esp + 0x20]
call fcn.00480870
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::Save__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x448], ebx
call fcn.00480980
lea ecx, [esp + 0x20]
mov dword [esp + 0x440], 0xffffffff
call fcn.00480970
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
add esp, 0x43c
ret
mov eax, dword [esi + 8]
mov dword [esp + 8], ebx
cmp eax, ebx
mov dword [esp + 0xc], ebx
jle 0x4845be
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov edx, dword [esi + 4]
or ecx, 0xffffffff
add edx, ebx
mov edi, dword [edx + 8]
lea eax, [edx + 8]
mov dword [esp + 0x1c], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x48449a
mov ecx, dword [esp + 0x1c]
add edx, 4
push edx
call fcn.0059ae76
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [eax + ebx + 8]
push edx
push 0
push 0xf003f
push 0
push 0x679a18
push 0
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x484511
lea ecx, [esp + 0x234]
call fcn.00480870
push 1
push str.Cannot_open__create__registry_subkey_during_CIDMFoldersTree::Save__._r_n
lea ecx, [esp + 0x23c]
mov dword [esp + 0x450], 1
call fcn.00480980
lea ecx, [esp + 0x234]
mov dword [esp + 0x448], 0xffffffff
call fcn.00480970
jmp 0x484596
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
add ecx, ebx
push 4
push ecx
push 4
push 0
push 0x656438
push edx
call ebp
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push str.mask
push edx
call ebp
mov eax, dword [esi + 4]
lea edi, [eax + ebx]
mov eax, dword [eax + ebx + 0x10]
push eax
call fcn.0057e90a
mov edx, dword [edi + 0x10]
add esp, 4
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.pathW
push eax
call ebp
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
xor edx, edx
push 4
mov dl, byte [ecx + ebx + 0x14]
mov ecx, dword [esp + 0x14]
push eax
push 4
push 0
push str.rememberLastPath
push ecx
mov dword [esp + 0x38], edx
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0x18
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x484472
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebp
je 0x4845be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x438]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret
Function at 0x4848f0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b5aa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a18
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48497f
lea ecx, [esp + 0x20]
call fcn.00480870
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteItem__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x23c], 0
call fcn.00480980
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00480970
jmp 0x484ac0
mov ecx, dword [esi + 8]
xor ebx, ebx
test ecx, ecx
jle 0x484ac0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x23c]
cmp dword [eax], edx
je 0x4849a7
inc ebx
add eax, 0x18
cmp ebx, ecx
jl 0x484996
jmp 0x484ac0
test ebx, ebx
jl 0x484ac0
mov edx, dword [esi + 4]
push ebp
lea ebp, [ebx + ebx*2]
or ecx, 0xffffffff
shl ebp, 3
xor eax, eax
mov edi, dword [edx + ebp + 8]
lea edx, [edx + ebp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4849dc
mov eax, dword [esi + 4]
mov ecx, edx
lea eax, [eax + ebp + 4]
push eax
call fcn.0059ae76
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + ebp + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, dword [esi + 8]
mov esi, dword [esi + 4]
sub edi, ebx
mov dword [esp + 0x1c], 0
dec edi
add esi, ebp
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x238], 2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esi + 0xc]
call fcn.0059ad3d
lea ecx, [esi + 8]
mov byte [esp + 0x238], 1
call fcn.0059ad3d
lea ecx, [esi + 4]
mov dword [esp + 0x238], 0xffffffff
call fcn.0059ad3d
mov eax, dword [esp + 0x1c]
add esi, 0x18
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
jne 0x484a06
mov esi, dword [esp + 0x18]
test edi, edi
je 0x484a81
mov eax, dword [esi + 4]
lea edx, [edi + edi*2]
shl edx, 3
lea ecx, [ebx + ebx*2 + 3]
push edx
lea edx, [eax + ecx*8]
add eax, ebp
push edx
push eax
call fcn.0057f970
add esp, 0xc
mov eax, dword [esi + 8]
pop ebp
dec eax
mov dword [esi + 8], eax
jne 0x484aae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x656550
push ecx
mov dword [esp + 0x24], 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.004843c0
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 4
Function at 0x484b50
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b5acb
push eax
mov dword fs:[0], esp
sub esp, 0x218
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x22c]
mov dword [ecx + 0x18], esi
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a18
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x484bde
lea ecx, [esp + 0x10]
call fcn.00480870
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::SetVisiblity__._r_n
lea ecx, [esp + 0x18]
mov dword [esp + 0x22c], 0
call fcn.00480980
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call fcn.00480970
jmp 0x484c08
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 + 0x21c]
pop esi
mov dword fs:[0], ecx
add esp, 0x224
ret 4

Function at 0x484c20
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b5aeb
push eax
mov dword fs:[0], esp
sub esp, 0x21c
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
xor ebx, ebx
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x679a18
push ebx
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x484cb5
lea ecx, [esp + 0x14]
call fcn.00480870
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::CheckQAU__._r_n
lea ecx, [esp + 0x1c]
mov dword [esp + 0x230], ebx
call fcn.00480980
lea ecx, [esp + 0x14]
mov dword [esp + 0x228], 0xffffffff
call fcn.00480970
xor al, al
pop ebx
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
add esp, 0x228
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 0x484ce6
cmp dword [esp + 8], 0xa
jne 0x484ce6
mov bl, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret
Function at 0x484d10
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b5b0b
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov byte [ecx + 0x14], 0
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x679a18
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x484daa
lea ecx, [esp + 8]
call fcn.00480870
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteQAU__._r_n
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0
call fcn.00480980
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480970
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
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 + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
ret
Function at 0x488e80
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b628b
push eax
mov dword fs:[0], esp
sub esp, 0x214
lea eax, [esp + 4]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
push eax
xor edi, edi
push ecx
push edi
push 0xf003f
push edi
push 0x679a18
push edi
push str.SoftwareDownloadManagerListSettings
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x488f17
lea ecx, [esp + 0x10]
call fcn.00480870
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x18]
mov dword [esp + 0x22c], edi
call fcn.00480980
lea ecx, [esp + 0x10]
mov dword [esp + 0x224], 0xffffffff
call fcn.00480970
pop edi
pop esi
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
ret
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [esi + 0xe0]
mov eax, dword [ebx + 4]
test eax, eax
je 0x488f3c
mov edx, dword [esi + 0x1c]
push 0
push edi
push 0x101d
push edx
call ebp
mov dword [ebx], eax
inc edi
add ebx, 8
cmp edi, 0xb
jl 0x488f25
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0xe0]
push 8
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push str.FileName
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xe8]
push 8
push ecx
push 0
push 0
push str.DateAdded
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0xf0]
push 8
push eax
push 0
push 0
push str.Queue
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 0xf8]
push 8
push edx
push 0
push 0
push str.Size
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x100]
push 8
push ecx
push 0
push 0
push str.Status
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x108]
push 8
push eax
push 0
push 0
push str.Timeleft
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x110]
push 8
push edx
push 0
push 0
push str.TransferRate
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x118]
push 8
push ecx
push 0
push 0
push str.LastTry
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x120]
push 8
push eax
push 0
push 0
push str.Description
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x128]
push 8
push edx
push 0
push 0
push str.SaveTo
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x130]
push 8
push ecx
push 0
push 0
push str.Referer
push edx
call edi
lea ebx, [esi + 0x138]
push 0xb
push ebx
mov ecx, esi
call fcn.00595692
test eax, eax
je 0x489085
mov eax, dword [esp + 0x10]
push 0x2c
push ebx
push 0
push 0
push str.Order
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x224]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret
Function at 0x489e60
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5b62f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6754cc]
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebp
xor eax, eax
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push edi
mov dword [esp + 0x34], eax
call fcn.0059aec6
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
call fcn.0059aec6
mov al, byte [esp + 0x44]
mov ecx, dword [esi + 0x5c]
mov byte [esp + 0x24], al
call fcn.00484ae0
mov ebx, dword [esi + 0x5c]
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
mov ebp, dword [ebx + 8]
lea ecx, [ebp + 1]
push ecx
mov ecx, ebx
call fcn.00431e10
mov ecx, dword [ebx + 4]
lea eax, [ebp + ebp*2]
lea edx, [esp + 0x10]
push edx
lea ecx, [ecx + eax*8]
call fcn.00431f90
mov eax, dword [esi + 0x40]
push 0xffff0003
push eax
push 0
push 0
push 0
push 5
push 4
push edi
push 0x23
mov ecx, esi
call fcn.00595366
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
call fcn.00595318
mov eax, dword [esi + 0x44]
push 0xffff0003
push eax
push 0
push 0
push 0
push 9
push 8
push edi
push 0x23
mov ecx, esi
call fcn.00595366
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
call fcn.00595318
mov eax, dword [esi + 0x3c]
push 0xffff0003
push eax
push 0
push 0
push 0
push 1
push 0
push edi
push 0x23
mov ecx, esi
call fcn.00595366
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push 0
push 0
push 0
push 0
push 0
push 4
push eax
call fcn.00595318
mov ecx, dword [esi + 0x5c]
call fcn.004843c0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], 2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x1c]
call fcn.0059ad3d
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0059ad3d
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
Function at 0x48a790
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b63a0
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 + 0x55c]
test eax, eax
jne 0x48a85c
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x48a920
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x55c], eax
je 0x48a800
mov eax, dword [esi + 0x564]
test eax, eax
jne 0x48a85c
push 1
push 0
call edi
mov eax, dword [esi + 0x564]
test eax, eax
je 0x48a7ee
jmp 0x48a85c
mov ecx, dword [0x6754cc]
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.00593b08
mov ecx, dword [0x67a138]
add esp, 0xc
test ecx, ecx
je 0x48a841
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.00480980
lea ecx, [esp + 0xc]
mov dword [esi + 0x564], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.0059ad3d
mov eax, dword [esi + 0x560]
test eax, eax
jne 0x48a8ff
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x48ab30
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x560], eax
je 0x48a8a3
mov eax, dword [esi + 0x568]
test eax, eax
jne 0x48a8ff
push 1
push 0
call edi
mov eax, dword [esi + 0x568]
test eax, eax
je 0x48a891
jmp 0x48a8ff
mov edx, dword [0x6754cc]
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.00593b08
mov ecx, dword [0x67a138]
add esp, 0xc
test ecx, ecx
je 0x48a8e4
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.00480980
lea ecx, [esp + 0x10]
mov dword [esi + 0x568], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.0059ad3d
mov eax, dword [esi + 0x564]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4972d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b71c0
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 0x679a18
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
mov dword [esi + 0x4c8], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x497385
mov edx, dword [0x6754cc]
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.00593b08
mov ecx, dword [0x67a138]
add esp, 0xc
test ecx, ecx
je 0x497364
mov edx, dword [esp + 4]
push 1
push edx
call fcn.00480980
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0059ad3d
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 0x4973bc
mov eax, dword [esp + 0x14]
inc eax
mov dword [esi + 0x4c8], eax
jmp 0x49740d
cmp eax, 2
je 0x49740d
mov ecx, dword [0x6754cc]
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.00593b08
mov ecx, dword [0x67a138]
add esp, 0xc
test ecx, ecx
je 0x4973fc
mov eax, dword [esp + 8]
push 1
push eax
call fcn.00480980
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x656abc]
mov ecx, dword [esi + 0x4c8]
cmp eax, ecx
jl 0x49742e
inc eax
mov dword [esi + 0x4c8], eax
mov edx, dword [esi + 0x4c8]
mov dword [0x656abc], edx
mov eax, dword [esi + 0x4c8]
push eax
call fcn.0049c510
mov ecx, dword [0x67a154]
add esp, 4
test ecx, ecx
je 0x49745f
mov edx, dword [esi + 0x4c8]
push edx
call fcn.004823a0
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret