joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472d80
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583fe6
push eax
mov dword fs:[0], esp
sub esp, 0x228
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 0x63e040
push ebx
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x472e17
lea ecx, [esp + 0x20]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::Save__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x240], ebx
call fcn.0046f830
lea ecx, [esp + 0x20]
mov dword [esp + 0x238], 0xffffffff
call fcn.0046f820
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret
mov eax, dword [esi + 8]
mov dword [esp + 8], ebx
cmp eax, ebx
mov dword [esp + 0xc], ebx
jle 0x472f8c
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 0x472e5a
mov ecx, dword [esp + 0x1c]
add edx, 4
push edx
call fcn.0056a239
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 0x63e040
push 0
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x472ed1
lea ecx, [esp + 0x130]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_subkey_during_CIDMFoldersTree::Save__._r_n
lea ecx, [esp + 0x138]
mov dword [esp + 0x248], 1
call fcn.0046f830
lea ecx, [esp + 0x130]
mov dword [esp + 0x240], 0xffffffff
call fcn.0046f820
jmp 0x472f64
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
add ecx, ebx
push 4
push ecx
push 4
push 0
push 0x61c88c
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]
mov ecx, dword [eax + ebx + 0x10]
lea eax, [eax + ebx + 0x10]
test ecx, ecx
jne 0x472f18
lea ecx, [eax + 4]
mov edi, dword [eax]
test edi, edi
jne 0x472f21
lea edi, [eax + 4]
push ecx
call fcn.0054e46e
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push edi
push 0
push 0
push str.pathW
push edx
call ebp
mov eax, dword [esi + 4]
lea edx, [esp + 0x20]
xor ecx, ecx
push 4
mov cl, byte [eax + ebx + 0x1c]
mov eax, dword [esp + 0x14]
push edx
push 4
push 0
push str.rememberLastPath
push eax
mov dword [esp + 0x38], ecx
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x472e32
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebp
je 0x472f8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x230]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret
Function at 0x4732d0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x584045
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
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 0x63e040
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x47335f
lea ecx, [esp + 0x20]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteItem__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], 0
call fcn.0046f830
lea ecx, [esp + 0x20]
mov dword [esp + 0x130], 0xffffffff
call fcn.0046f820
jmp 0x4734a3
mov ecx, dword [ebx + 8]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x14], esi
jle 0x4734a3
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x138]
cmp dword [eax], edx
je 0x47338f
inc esi
add eax, 0x20
cmp esi, ecx
jl 0x47337a
mov dword [esp + 0x14], esi
jmp 0x4734a3
test esi, esi
mov dword [esp + 0x14], esi
jl 0x4734a3
mov edx, dword [ebx + 4]
push ebp
mov ebp, esi
or ecx, 0xffffffff
shl ebp, 5
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 0x4733c7
mov eax, dword [ebx + 4]
mov ecx, edx
lea eax, [eax + ebp + 4]
push eax
call fcn.0056a239
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 edi, dword [ebx + 8]
sub edi, esi
mov esi, dword [ebx + 4]
add esi, ebp
dec edi
mov dword [esp + 0x14], esi
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x134], 3
call fcn.00401070
lea ecx, [esi + 0xc]
mov byte [esp + 0x134], 2
call fcn.0056a100
lea ecx, [esi + 8]
mov byte [esp + 0x134], 1
call fcn.0056a100
lea ecx, [esi + 4]
mov dword [esp + 0x134], 0xffffffff
call fcn.0056a100
add esi, 0x20
mov eax, ebx
dec ebx
mov dword [esp + 0x14], esi
test eax, eax
jne 0x4733eb
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x473464
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
shl edi, 5
inc ecx
push edi
shl ecx, 5
add ecx, eax
add eax, ebp
push ecx
push eax
call fcn.0054ee90
add esp, 0xc
mov eax, dword [esi + 8]
pop ebp
dec eax
mov dword [esi + 8], eax
jne 0x473491
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push 0
push 0x61c998
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.00472d80
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4
Function at 0x473530
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58405b
push eax
mov dword fs:[0], esp
sub esp, 0x114
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x128]
mov dword [ecx + 0x18], esi
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4735be
lea ecx, [esp + 0x10]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::SetVisiblity__._r_n
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0
call fcn.0046f830
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.0046f820
jmp 0x4735e8
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 + 0x118]
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret 4

Function at 0x473600
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58407b
push eax
mov dword fs:[0], esp
sub esp, 0x118
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
xor ebx, ebx
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x63e040
push ebx
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x473695
lea ecx, [esp + 0x14]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::CheckQAU__._r_n
lea ecx, [esp + 0x1c]
mov dword [esp + 0x12c], ebx
call fcn.0046f830
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call fcn.0046f820
xor al, al
pop ebx
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
add esp, 0x124
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 0x4736c6
cmp dword [esp + 8], 0xa
jne 0x4736c6
mov bl, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x11c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x4736f0
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58409b
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov byte [ecx + 0x14], 0
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x47378a
lea ecx, [esp + 8]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteQAU__._r_n
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0
call fcn.0046f830
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call fcn.0046f820
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
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 + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x477080
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58483b
push eax
mov dword fs:[0], esp
sub esp, 0x110
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 0x63e040
push edi
push str.SoftwareDownloadManagerListSettings
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x477117
lea ecx, [esp + 0x10]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], edi
call fcn.0046f830
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.0046f820
pop edi
pop esi
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
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 0x47713c
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 0x477125
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.00564a55
test eax, eax
je 0x477285
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 + 0x120]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x478060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5848b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x639ad4]
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 dword [esp + 0x28], eax
mov word [esp + 0x24], ax
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push edi
mov dword [esp + 0x3c], eax
call fcn.0056a289
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x20]
push eax
call fcn.00402b60
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
call fcn.0056a289
mov dl, byte [esp + 0x4c]
mov ecx, dword [esi + 0x5c]
mov byte [esp + 0x2c], dl
call fcn.004734c0
mov ebx, dword [esi + 0x5c]
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
mov ecx, ebx
mov ebp, dword [ebx + 8]
lea eax, [ebp + 1]
push eax
call fcn.0042a280
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
mov ebp, dword [ebx + 4]
shl ecx, 5
add ecx, ebp
call fcn.0042a400
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.00564726
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.005646d8
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.00564726
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.005646d8
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.00564726
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.005646d8
mov ecx, dword [esi + 0x5c]
call fcn.00472d80
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 3
call fcn.00401070
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.0056a100
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
Function at 0x4786a0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x584940
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 + 0x53c]
test eax, eax
jne 0x47876c
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x478830
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x53c], eax
je 0x478710
mov eax, dword [esi + 0x544]
test eax, eax
jne 0x47876c
push 1
push 0
call edi
mov eax, dword [esi + 0x544]
test eax, eax
je 0x4786fe
jmp 0x47876c
mov ecx, dword [0x639ad4]
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.00562ecb
mov ecx, dword [0x63e600]
add esp, 0xc
test ecx, ecx
je 0x478751
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.0046f830
lea ecx, [esp + 0xc]
mov dword [esi + 0x544], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.0056a100
mov eax, dword [esi + 0x540]
test eax, eax
jne 0x47880f
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x478a40
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x540], eax
je 0x4787b3
mov eax, dword [esi + 0x548]
test eax, eax
jne 0x47880f
push 1
push 0
call edi
mov eax, dword [esi + 0x548]
test eax, eax
je 0x4787a1
jmp 0x47880f
mov edx, dword [0x639ad4]
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.00562ecb
mov ecx, dword [0x63e600]
add esp, 0xc
test ecx, ecx
je 0x4787f4
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.0046f830
lea ecx, [esp + 0x10]
mov dword [esi + 0x548], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.0056a100
mov eax, dword [esi + 0x544]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x479990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5849d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push esi
push edi
lea eax, [ebp - 0x134]
mov dword [ebp - 0x10], esp
push 0x104
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x479a1c
lea ecx, [ebp - 0x434]
lea edx, [ebp - 0x334]
push ecx
lea eax, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x134]
push ecx
push edx
call fcn.0054ea7c
add esp, 0x14
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x134]
push eax
push ecx
push str._s_sempty.html
push edx
call fcn.0054ea2a
add esp, 0x10
jmp 0x479a35
push str.C:Program_FilesInternet_Download_Managerempty.html
lea eax, [ebp - 0x134]
push 0x615e9c
push eax
call fcn.0054ea2a
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x479ae0
lea edx, [ebp - 0x134]
push 0x61c394
push edx
call fcn.0054f48f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x479a99
mov ecx, 7
mov esi, str._HTML__BODY____BODY___HTML_
lea edi, [ebp - 0x30]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.0054f325
push ebx
call fcn.0054f2a8
add esp, 0x14
jmp 0x479ae0
mov ecx, dword [0x639ad4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.005508e7
mov edx, dword [eax]
lea eax, [ebp - 0x14]
push edx
push str.Gr_CreateEHTML:fopen_failed__errno_ld_n
push eax
call fcn.00562ecb
mov ecx, dword [0x63e600]
add esp, 0xc
test ecx, ecx
je 0x479ad4
mov edx, dword [ebp - 0x14]
push 1
push edx
call fcn.0046f830
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x134]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483750
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x585410
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 0x63e040
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
mov dword [esi + 0x4b0], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x483805
mov edx, dword [0x639ad4]
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.00562ecb
mov ecx, dword [0x63e600]
add esp, 0xc
test ecx, ecx
je 0x4837e4
mov edx, dword [esp + 4]
push 1
push edx
call fcn.0046f830
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0056a100
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 0x48383c
mov eax, dword [esp + 0x14]
inc eax
mov dword [esi + 0x4b0], eax
jmp 0x48388d
cmp eax, 2
je 0x48388d
mov ecx, dword [0x639ad4]
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.00562ecb
mov ecx, dword [0x63e600]
add esp, 0xc
test ecx, ecx
je 0x48387c
mov eax, dword [esp + 8]
push 1
push eax
call fcn.0046f830
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x61cf04]
mov ecx, dword [esi + 0x4b0]
cmp eax, ecx
jl 0x4838ae
inc eax
mov dword [esi + 0x4b0], eax
mov edx, dword [esi + 0x4b0]
mov dword [0x61cf04], edx
mov eax, dword [esi + 0x4b0]
push eax
call fcn.00488130
mov ecx, dword [0x63e618]
add esp, 4
test ecx, ecx
je 0x4838df
mov edx, dword [esi + 0x4b0]
push edx
call fcn.00471000
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4838f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x585428
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 0x63e040
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48399b
mov edx, dword [0x639ad4]
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.00562ecb
mov ecx, dword [0x63e600]
add esp, 0xc
test ecx, ecx
je 0x48397a
mov edx, dword [esp + 8]
push 1
push edx
call fcn.0046f830
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0056a100
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 0x4839d1
cmp eax, dword [esp + 4]
jle 0x4839d5
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 0x486070
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5856cb
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 0x4861a8
cmp ecx, dword [esi + 0xb0]
jge 0x4861a8
xor ebx, ebx
cmp edx, dword [esi + 0x528]
jge 0x486125
mov eax, dword [esi + 0x524]
lea edi, [edx*8]
add eax, edi
cmp ecx, dword [eax]
jne 0x486186
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x528]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x524]
sub eax, edx
mov ebx, 1
dec eax
add ecx, edi
mov edi, ebx
dec ebx
test edi, edi
je 0x4860f6
add ecx, 8
jmp 0x4860ea
test eax, eax
je 0x486115
mov ecx, dword [esi + 0x524]
shl eax, 3
push eax
lea eax, [ecx + edx*8 + 8]
lea ecx, [ecx + edx*8]
push eax
push ecx
call fcn.0054ee90
add esp, 0xc
mov eax, dword [esi + 0x528]
mov ebx, dword [ebp + 8]
dec eax
mov dword [esi + 0x528], eax
test ebx, ebx
je 0x4861a8
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 + 0x1e]
mov byte [ebp - 4], 1
test al, al
je 0x486156
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebx + 0x10]
call fcn.0056a100
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0
call fcn.0056a100
push ebx
call fcn.005664c5
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 0x4860af
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4