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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x550a4b
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 0x5ba440
push edi
push str.SoftwareDownloadManagerListSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45f787
lea ecx, [esp + 0x10]
call fcn.00459300
push 1
push str.Cannot_open__create__registry_listsettings_subkey._n
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], edi
call fcn.004593e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.004593d0
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 0x45f7ac
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 0x45f795
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 0x59e630
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 0x59dff4
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.005324a4
test eax, eax
je 0x45f8f5
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 0x460cc0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x550b40
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 0x460d8c
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x460e50
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x524], eax
je 0x460d30
mov eax, dword [esi + 0x52c]
test eax, eax
jne 0x460d8c
push 1
push 0
call edi
mov eax, dword [esi + 0x52c]
test eax, eax
je 0x460d1e
jmp 0x460d8c
mov ecx, dword [0x5b5ecc]
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.0053091a
mov ecx, dword [0x5ba970]
add esp, 0xc
test ecx, ecx
je 0x460d71
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.004593e0
lea ecx, [esp + 0xc]
mov dword [esi + 0x52c], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00537b04
mov eax, dword [esi + 0x528]
test eax, eax
jne 0x460e2f
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
push 0x461060
push 0
push 0
call ebp
test eax, eax
mov dword [esi + 0x528], eax
je 0x460dd3
mov eax, dword [esi + 0x530]
test eax, eax
jne 0x460e2f
push 1
push 0
call edi
mov eax, dword [esi + 0x530]
test eax, eax
je 0x460dc1
jmp 0x460e2f
mov edx, dword [0x5b5ecc]
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.0053091a
mov ecx, dword [0x5ba970]
add esp, 0xc
test ecx, ecx
je 0x460e14
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.004593e0
lea ecx, [esp + 0x10]
mov dword [esi + 0x530], 0
mov dword [esp + 0x24], 0xffffffff
call fcn.00537b04
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 0x461fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550bd8
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 0x46203c
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.0051d13a
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.0051d0e8
add esp, 0x10
jmp 0x462055
push str.C:Program_FilesInternet_Download_Managerempty.html
lea eax, [ebp - 0x134]
push 0x597ddc
push eax
call fcn.0051d0e8
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x462100
lea edx, [ebp - 0x134]
push 0x59dd28
push edx
call fcn.0051dc3f
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4620b9
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.0051dad5
push ebx
call fcn.0051da58
add esp, 0x14
jmp 0x462100
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.0051ec14
mov edx, dword [eax]
lea eax, [ebp - 0x14]
push edx
push str.Gr_CreateEHTML:fopen_failed__errno_ld_n
push eax
call fcn.0053091a
mov ecx, dword [0x5ba970]
add esp, 0xc
test ecx, ecx
je 0x4620f4
mov edx, dword [ebp - 0x14]
push 1
push edx
call fcn.004593e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x134]
push eax
push 0x597ddc
push ecx
call fcn.0053091a
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 0x4651a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5510c0
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 0x46520f
mov edx, dword [ebp + 8]
cmp edx, eax
je 0x46520f
mov ecx, dword [0x5ba78c]
cmp eax, dword [ecx + 8]
jge 0x46520f
mov ebx, dword [ecx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [ebx + esi]
cmp dword [esi + 0x408], edx
jne 0x465290
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.0051d13a
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x2a1]
test cl, cl
jne 0x465299
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x465265
mov eax, dword [esi]
mov ecx, dword [0x5ba78c]
push ebx
push eax
call fcn.00443b00
cmp eax, 0xffffffff
jle 0x465299
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.0053091a
add esp, 0x1c
inc edi
jmp 0x465243
mov ebx, dword [ebp - 0x18]
inc eax
jmp 0x4651f1
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.00512b70
test al, al
je 0x465317
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x465317
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4652c7
mov dword [ebp - 0x14], eax
mov al, byte [ebp + 0x14]
test al, al
jne 0x465317
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.0053091a
add esp, 0x1c
inc edi
jmp 0x465236
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 0x469f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x551390
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 0x5ba440
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
mov dword [esi + 0x498], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x469fc5
mov edx, dword [0x5b5ecc]
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.0053091a
mov ecx, dword [0x5ba970]
add esp, 0xc
test ecx, ecx
je 0x469fa4
mov edx, dword [esp + 4]
push 1
push edx
call fcn.004593e0
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.00537b04
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 0x469ffc
mov eax, dword [esp + 0x14]
inc eax
mov dword [esi + 0x498], eax
jmp 0x46a04d
cmp eax, 2
je 0x46a04d
mov ecx, dword [0x5b5ecc]
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.0053091a
mov ecx, dword [0x5ba970]
add esp, 0xc
test ecx, ecx
je 0x46a03c
mov eax, dword [esp + 8]
push 1
push eax
call fcn.004593e0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x59e84c]
mov ecx, dword [esi + 0x498]
cmp eax, ecx
jl 0x46a06e
inc eax
mov dword [esi + 0x498], eax
mov edx, dword [esi + 0x498]
mov dword [0x59e84c], edx
mov eax, dword [esi + 0x498]
push eax
call fcn.0046e3e0
mov ecx, dword [0x5ba980]
add esp, 4
test ecx, ecx
je 0x46a09f
mov edx, dword [esi + 0x498]
push edx
call fcn.0045abb0
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x46a0b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5513a8
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 0x5ba440
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x46a15b
mov edx, dword [0x5b5ecc]
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.0053091a
mov ecx, dword [0x5ba970]
add esp, 0xc
test ecx, ecx
je 0x46a13a
mov edx, dword [esp + 8]
push 1
push edx
call fcn.004593e0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00537b04
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 + 0x498]
jne 0x46a191
cmp eax, dword [esp + 4]
jle 0x46a195
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 0x46e2d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5516db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], ebx
xor esi, esi
cmp esi, dword [edi + 0xb0]
jge 0x46e3ab
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0xb8], 0x5602e8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0xb8]
push ebx
push eax
push esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
call fcn.00510d00
cmp al, bl
je 0x46e37b
cmp byte [ebp - 0x70], bl
je 0x46e37b
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 8], ebx
jle 0x46e37b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], bl
call fcn.0043c730
inc esi
jmp 0x46e2fd
mov edx, dword [edi + 0x414]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46e3c8
push edx
call fcn.0051e9d6
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e9e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x5ba8a4]
lea edx, [ebp - 0x14]
push ecx
push str._sGrabberProjects_
push edx
mov byte [ebp - 4], 1
call fcn.0053091a
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
jne 0x46eb4b
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, 2
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x5c
call fcn.00537fd9
mov esi, eax
cmp esi, 0xffffffff
je 0x46eb42
lea ecx, [ebp - 0x18]
push esi
push ecx
lea ecx, [ebp - 0x14]
call fcn.005304fa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x18]
sete bl
call fcn.00537b04
test bl, bl
je 0x46ea51
lea edx, [ebp - 0x20]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.005304fa
mov eax, dword [eax]
push 0
push eax
call edi
test eax, eax
lea ecx, [ebp - 0x20]
sete bl
call fcn.00537b04
test bl, bl
je 0x46ea51
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x1c]
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 - 0x1c]
mov eax, dword [0x5bb3ac]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.0053091a
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
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
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 0x498]
mov eax, dword [ebp - 0x14]
push edx
lea esi, [edi + 0x4a8]
push eax
push str._sproject_ld.igp
push esi
call fcn.0053091a
add esp, 0x10
mov edi, 1
mov eax, dword [esi]
push eax
call ebx
cmp eax, 0xffffffff
je 0x46eb99
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
inc edi
mov edx, dword [ecx + 0x498]
push edi
push edx
push eax
push str._sproject_ld__d.igp
push esi
call fcn.0053091a
add esp, 0x14
jmp 0x46eb6f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
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
Function at 0x470250
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5518c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x470435
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x498]
push edx
push eax
lea ecx, [ebp - 0x18]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push ecx
mov byte [ebp - 4], 1
call fcn.0053091a
add esp, 0x10
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push eax
push ebx
push 0xf003f
push ebx
push 0x5ba440
push ebx
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4703cb
push ebx
lea edx, [ebp + 8]
push ebx
mov eax, dword [ebp - 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x470373
inc eax
push eax
call fcn.005380a1
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x470373
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x1c]
push edx
push esi
push ebx
push ebx
push str.LogFileName
push eax
mov dword [ebp - 0x1c], ecx
call edi
test eax, eax
jne 0x470338
push esi
call fcn.0051de13
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
push edx
push esi
push ebx
push ebx
push str.LocalPath
push eax
call edi
test eax, eax
jne 0x470367
push 0x59dc78
call fcn.0051f193
push esi
call fcn.0051e9d6
add esp, 8
push esi
call fcn.005380ca
mov edi, dword [ebp + 0xc]
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x470381
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push edx
push str._sChList
push eax
mov byte [ebp - 4], 2
call fcn.0053091a
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
push ecx
push 0x80000001
call esi
mov edx, dword [ebp - 0x18]
push edx
push 0x80000001
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00537b04
mov eax, dword [edi + 0x60]
cmp dword [eax - 8], ebx
je 0x47042a
mov ecx, dword [0x5b5ecc]
mov dword [ebp + 0xc], ecx
mov edx, eax
lea eax, [ebp + 0xc]
push edx
push 0x597ddc
push eax
mov byte [ebp - 4], 3
call fcn.0053091a
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push 0x5c
push ecx
call fcn.0051c7b0
add esp, 8
cmp eax, ebx
je 0x47041e
push 0x59dc78
mov byte [eax], bl
call fcn.0051f193
mov edx, dword [ebp + 0xc]
push edx
call fcn.0051e9d6
add esp, 8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x470470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5518f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4705ec
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
push eax
push ecx
call fcn.00524fd0
add esp, 8
test eax, eax
je 0x47060d
mov eax, dword [edi + 0x64]
push 1
push eax
call fcn.0044a8b0
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
add esp, 8
push 1
push eax
push ecx
call fcn.0044a700
add esp, 0xc
test eax, eax
jne 0x47060d
mov eax, dword [0x5b5ecc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 0x64]
lea edx, [ebp + 0xc]
push ecx
push 0x597ddc
push edx
mov byte [ebp - 4], 1
call fcn.0053091a
mov eax, dword [ebp + 0xc]
add esp, 0xc
push 0x5c
push eax
call fcn.0051c7b0
add esp, 8
test eax, eax
je 0x4705e0
mov byte [eax + 1], 0
mov ecx, dword [ebp + 0xc]
push 1
push ecx
call fcn.0044a970
add esp, 8
test eax, eax
jne 0x4705e0
mov esi, 2
jmp 0x47054e
mov ebx, dword [ebp - 0x14]
inc esi
lea ecx, [ebp + 0xc]
push esi
push 0x5c
call fcn.00537fd9
mov esi, eax
cmp esi, 0xffffffff
je 0x4705ca
lea edx, [ebp - 0x18]
push esi
push edx
lea ecx, [ebp + 0xc]
call fcn.005304fa
mov eax, dword [eax]
push 1
push eax
mov byte [ebp - 4], 2
call fcn.0044a970
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
sete bl
mov byte [ebp - 4], 1
call fcn.00537b04
test bl, bl
je 0x47054b
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp + 0xc]
call fcn.005304fa
mov eax, dword [eax]
push 1
push eax
mov byte [ebp - 4], 3
call fcn.0044aa70
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
sete bl
mov byte [ebp - 4], 1
call fcn.00537b04
test bl, bl
je 0x47054b
mov ebx, dword [ebp - 0x14]
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
push 1
push eax
push ecx
call fcn.0044a700
add esp, 0xc
test eax, eax
jne 0x470601
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.00537b04
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 8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.00537b04
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
cmp eax, dword [ebx + 0x4fc]
jge 0x47062d
mov edx, dword [ebx + 0x4f8]
cmp dword [edx + eax*8], esi
lea edx, [edx + eax*8]
jne 0x47067f
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x470646
mov eax, dword [edi + 0x18]
test eax, eax
je 0x470657
push eax
mov ecx, ebx
call fcn.004706f0
mov ecx, eax
test ecx, ecx
je 0x470657
push 3
mov dword [ecx + 0x1c0], 1
call fcn.004f9050
mov eax, dword [edi + 0x64]
push 0
push 0
push eax
call fcn.004fb960
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
inc eax
jmp 0x470614