joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fdf0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55aec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x5c2a74]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x5c7498]
lea edx, [ebp - 0x14]
push ecx
push str._sGrabberProjects_
push edx
mov byte [ebp - 4], 1
call fcn.0053afda
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45ff57
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, 2
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x5c
call fcn.00542693
mov esi, eax
cmp esi, 0xffffffff
je 0x45ff57
lea ecx, [ebp - 0x18]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.0053abba
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x18]
sete bl
call fcn.005421be
test bl, bl
je 0x45fe5d
lea edx, [ebp - 0x1c]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.0053abba
mov eax, dword [eax]
push 0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x1c]
sete bl
call fcn.005421be
test bl, bl
je 0x45fe5d
mov al, byte [ebp + 8]
test al, al
je 0x45ff33
mov eax, dword [0x5c2a74]
mov dword [ebp + 8], eax
push 0
lea ecx, [ebp - 0x18]
push 0
push ecx
push 0x400
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5c8004]
push edx
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.0053afda
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005421be
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005421be
mov eax, 0x7546
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push edx
add eax, 8
push 0x5a3e24
push eax
call fcn.0053afda
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005421be
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4602d0
Capabilities:
Delete file

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor eax, eax
push edi
mov edx, dword [esi + 0x14]
test edx, edx
jle 0x460342
mov ebx, dword [esi + 0x10]
mov ebp, dword [esp + 0x14]
mov ecx, ebx
mov edi, dword [ecx]
cmp dword [edi + 0x2c], ebp
je 0x4602fe
inc eax
add ecx, 4
cmp eax, edx
jl 0x4602e8
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov dword [ebx + eax*4], 0
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
sub ecx, eax
dec ecx
lea ebx, [edx + eax*4]
je 0x460325
shl ecx, 2
lea edx, [edx + eax*4 + 4]
push ecx
push edx
push ebx
call fcn.00527c60
add esp, 0xc
mov edx, dword [esi + 0x14]
dec edx
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
je 0x460342
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x460350
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x55af08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5c2a74]
mov dword [esp], eax
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
push edx
push eax
lea ecx, [esp + 8]
push str._sproject_ld.gsd
push ecx
mov dword [esp + 0x1c], 0
call fcn.0053afda
mov edx, dword [esp + 0x10]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4615a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55b156
push eax
mov dword fs:[0], esp
sub esp, 0x220
lea eax, [esp + 8]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
push eax
xor edi, edi
push ecx
push edi
push 0xf003f
push edi
push 0x5c6ff0
push edi
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x461637
lea ecx, [esp + 0x18]
call fcn.0045eaa0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::Save__._r_n
lea ecx, [esp + 0x20]
mov dword [esp + 0x238], edi
call fcn.0045eb80
lea ecx, [esp + 0x18]
mov dword [esp + 0x230], 0xffffffff
call fcn.0045eb70
pop edi
pop esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
mov eax, dword [esi + 8]
push ebp
xor ebp, ebp
cmp eax, edi
mov dword [esp + 0xc], edi
jle 0x461759
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
mov eax, dword [edx + edi + 4]
lea edx, [esp + 0x14]
push edx
push 0
push 0xf003f
push 0
push 0x5c6ff0
push 0
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4616c4
lea ecx, [esp + 0x128]
call fcn.0045eaa0
push 1
push str.Cannot_open__create__registry_subkey_during_CIDMFoldersTree::Save__._r_n
lea ecx, [esp + 0x130]
mov dword [esp + 0x240], 1
call fcn.0045eb80
lea ecx, [esp + 0x128]
mov dword [esp + 0x238], 0xffffffff
call fcn.0045eb70
jmp 0x46173a
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
add ecx, edi
push 4
push ecx
push 4
push 0
push 0x5aa4f4
push edx
call ebx
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + edi + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push str.mask
push edx
call ebx
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + edi + 8]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push str.path
push edx
call ebx
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
xor ecx, ecx
push 4
mov cl, byte [eax + edi + 0x10]
mov eax, dword [esp + 0x14]
push edx
push 4
push 0
push str.rememberLastPath
push eax
mov dword [esp + 0x34], ecx
call ebx
mov eax, dword [esi + 8]
inc ebp
add edi, 0x14
cmp ebp, eax
jl 0x461650
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x461759
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 + 0x22c]
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x461a20
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55b187
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x5c6ff0
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x461ab0
lea ecx, [esp + 0x24]
call fcn.0045eaa0
push 1
push str.Cannot_open__create__registry_key_during_CIDMFoldersTree::DeleteItem__._r_n
lea ecx, [esp + 0x2c]
mov dword [esp + 0x13c], 0
call fcn.0045eb80
lea ecx, [esp + 0x24]
mov dword [esp + 0x134], 0xffffffff
call fcn.0045eb70
jmp 0x461bbe
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
jle 0x461bbe
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x13c]
mov eax, edx
cmp dword [eax], ebx
je 0x461ada
inc edi
add eax, 0x14
cmp edi, ecx
jl 0x461ac9
jmp 0x461bbe
test edi, edi
jl 0x461bbe
lea ebp, [edi + edi*4]
shl ebp, 2
mov eax, dword [edx + ebp + 4]
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, dword [esi + 8]
mov esi, dword [esi + 4]
sub ebx, edi
mov dword [esp + 0x1c], 0
dec ebx
add esi, ebp
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc]
mov dword [esp + 0x134], 2
call fcn.005421be
lea ecx, [esi + 8]
mov byte [esp + 0x134], 1
call fcn.005421be
lea ecx, [esi + 4]
mov dword [esp + 0x134], 0xffffffff
call fcn.005421be
mov eax, dword [esp + 0x1c]
add esi, 0x14
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
jne 0x461b0f
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x461b80
mov eax, dword [esi + 4]
lea edx, [ebx + ebx*4]
shl edx, 2
lea ecx, [edi + edi*4 + 5]
push edx
lea edx, [eax + ecx*4]
add eax, ebp
push edx
push eax
call fcn.00527c60
add esp, 0xc
mov eax, dword [esi + 8]
dec eax
mov dword [esi + 8], eax
jne 0x461bac
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push 0x5aa5f8
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.004615a0
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4
Function at 0x461c50
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55b1ab
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 0x5c6ff0
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x461cde
lea ecx, [esp + 0x10]
call fcn.0045eaa0
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.0045eb80
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.0045eb70
jmp 0x461d08
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 0x461d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55b1cb
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 0x5c6ff0
push ebx
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x461db5
lea ecx, [esp + 0x14]
call fcn.0045eaa0
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.0045eb80
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call fcn.0045eb70
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 0x461de6
cmp dword [esp + 8], 0xa
jne 0x461de6
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 0x461e10
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55b1eb
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 0x5c6ff0
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x461eaa
lea ecx, [esp + 8]
call fcn.0045eaa0
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.0045eb80
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call fcn.0045eb70
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 0x464e90
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55b94b
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 0x5c6ff0
push edi
push str.SoftwareDownloadManagerListSettings
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x464f27
lea ecx, [esp + 0x10]
call fcn.0045eaa0
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], edi
call fcn.0045eb80
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.0045eb70
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 0x464f4c
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 0x464f35
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.0053cb64
test eax, eax
je 0x465095
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 0x466460
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55ba40
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 + 0x524]
test eax, eax
jne 0x46652c
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x4665f0
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x524], eax
je 0x4664d0
mov eax, dword [esi + 0x52c]
test eax, eax
jne 0x46652c
push 1
push 0
call edi
mov eax, dword [esi + 0x52c]
test eax, eax
je 0x4664be
jmp 0x46652c
mov ecx, dword [0x5c2a74]
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.0053afda
mov ecx, dword [0x5c7560]
add esp, 0xc
test ecx, ecx
je 0x466511
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.0045eb80
lea ecx, [esp + 0xc]
mov dword [esi + 0x52c], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.005421be
mov eax, dword [esi + 0x528]
test eax, eax
jne 0x4665cf
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x466800
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x528], eax
je 0x466573
mov eax, dword [esi + 0x530]
test eax, eax
jne 0x4665cf
push 1
push 0
call edi
mov eax, dword [esi + 0x530]
test eax, eax
je 0x466561
jmp 0x4665cf
mov edx, dword [0x5c2a74]
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.0053afda
mov ecx, dword [0x5c7560]
add esp, 0xc
test ecx, ecx
je 0x4665b4
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.0045eb80
lea ecx, [esp + 0x10]
mov dword [esi + 0x530], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.005421be
mov eax, dword [esi + 0x52c]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x467750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bad8
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 0x4677dc
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.0052776a
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.00527718
add esp, 0x10
jmp 0x4677f5
push str.C:Program_FilesInternet_Download_Managerempty.html
lea eax, [ebp - 0x134]
push 0x5a3e24
push eax
call fcn.00527718
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4678a0
lea edx, [ebp - 0x134]
push 0x5aa02c
push edx
call fcn.0052825f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x467859
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.005280f5
push ebx
call fcn.00528078
add esp, 0x14
jmp 0x4678a0
mov ecx, dword [0x5c2a74]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.00529287
mov edx, dword [eax]
lea eax, [ebp - 0x14]
push edx
push str.Gr_CreateEHTML:fopen_failed__errno_ld_n
push eax
call fcn.0053afda
mov ecx, dword [0x5c7560]
add esp, 0xc
test ecx, ecx
je 0x467894
mov edx, dword [ebp - 0x14]
push 1
push edx
call fcn.0045eb80
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005421be
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x134]
push eax
push 0x5a3e24
push ecx
call fcn.0053afda
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 0x46a9a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bfc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x310
mov dl, byte [ecx + 0x2a1]
push ebx
push esi
push edi
xor eax, eax
or ebx, 0xffffffff
test dl, dl
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov dword [ebp - 0x18], ebx
jne 0x46aa0f
mov edx, dword [ebp + 8]
cmp edx, eax
je 0x46aa0f
mov ecx, dword [0x5c7378]
cmp eax, dword [ecx + 8]
jge 0x46aa0f
mov ebx, dword [ecx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [ebx + esi]
cmp dword [esi + 0x420], edx
jne 0x46aa90
mov ebx, eax
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x11c]
lea edx, [ebp - 0x21c]
push ecx
mov eax, dword [esi]
push edx
lea ecx, [ebp - 0x31c]
lea edx, [ebp + 8]
push ecx
push edx
push eax
call fcn.0052776a
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x2a1]
test cl, cl
jne 0x46aa99
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46aa65
mov eax, dword [esi]
mov ecx, dword [0x5c7378]
push ebx
push eax
call fcn.00447a70
cmp eax, 0xffffffff
jle 0x46aa99
lea ecx, [ebp - 0x11c]
lea edx, [ebp - 0x21c]
push ecx
push edi
lea eax, [ebp - 0x31c]
push edx
lea ecx, [ebp + 8]
push eax
push ecx
push str._s_s_s__d_s
push esi
call fcn.0053afda
add esp, 0x1c
inc edi
jmp 0x46aa43
mov ebx, dword [ebp - 0x18]
inc eax
jmp 0x46a9f1
mov eax, dword [esi]
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [edx + 8]
call fcn.0051d0e0
test al, al
je 0x46ab17
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x46ab17
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x46aac7
mov dword [ebp - 0x14], eax
mov al, byte [ebp + 0x14]
test al, al
jne 0x46ab17
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x21c]
push eax
push edi
lea edx, [ebp - 0x31c]
push ecx
lea eax, [ebp + 8]
push edx
push eax
push str._s_s_s__d_s
push esi
call fcn.0053afda
add esp, 0x1c
inc edi
jmp 0x46aa36
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46f780
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55c2b0
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 0x5c6ff0
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
mov dword [esi + 0x498], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x46f835
mov edx, dword [0x5c2a74]
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.0053afda
mov ecx, dword [0x5c7560]
add esp, 0xc
test ecx, ecx
je 0x46f814
mov edx, dword [esp + 4]
push 1
push edx
call fcn.0045eb80
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.005421be
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 0x46f86c
mov eax, dword [esp + 0x14]
inc eax
mov dword [esi + 0x498], eax
jmp 0x46f8bd
cmp eax, 2
je 0x46f8bd
mov ecx, dword [0x5c2a74]
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.0053afda
mov ecx, dword [0x5c7560]
add esp, 0xc
test ecx, ecx
je 0x46f8ac
mov eax, dword [esp + 8]
push 1
push eax
call fcn.0045eb80
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x5aab64]
mov ecx, dword [esi + 0x498]
cmp eax, ecx
jl 0x46f8de
inc eax
mov dword [esi + 0x498], eax
mov edx, dword [esi + 0x498]
mov dword [0x5aab64], edx
mov eax, dword [esi + 0x498]
push eax
call fcn.00473c80
mov ecx, dword [0x5c7570]
add esp, 4
test ecx, ecx
je 0x46f90f
mov edx, dword [esi + 0x498]
push edx
call fcn.00460350
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret