joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455e50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
lea ecx, [esi + 0x3e8]
call fcn.005d08a3
push edi
lea ecx, [esi + 0x43c]
call fcn.005d08a3
mov eax, dword [esi + 0x35c]
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
lea ecx, [esi + 0x490]
call fcn.005d08a3
push edi
lea ecx, [esi + 0x500]
call fcn.005d08a3
xor ecx, ecx
test edi, edi
setne cl
push ecx
lea ecx, [esi + 0x7f8]
call fcn.004b49d0
cmp dword [esi + 0x810], 0
mov edi, dword [esi + 0x1188]
je 0x455ebd
neg edi
mov eax, dword [esi + 0x5e8]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.005d87a5
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
sub edx, ecx
push 1
push edx
mov edx, dword [esp + 0x18]
sub edx, eax
add edx, edi
push edx
push ecx
sub eax, edi
push eax
lea ecx, [esi + 0x5c8]
call fcn.005d0863
cmp dword [esi + 0x810], 0
mov eax, 0x710640
jne 0x455f17
mov eax, 0x710644
mov eax, dword [eax]
mov ecx, dword [esi + 0x1f8]
push eax
push 0x8039
push 0
push 0x8039
push ecx
call fcn.00454bf0
add esp, 0x14
cmp dword [esi + 0x810], 0
jne 0x455f6e
cmp dword [esp + 0x20], 0
je 0x455f6e
mov edx, dword [esi + 0x554]
mov eax, dword [esi + 0x520]
push edx
push 9
push 0x110b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x28c]
push ecx
mov ecx, esi
call fcn.00450ab0
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x45c8c0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x61a638
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [0x704d14], 0
je 0x45c907
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00402a50
add esp, 0xc
mov dword [esp + 0x14], 0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402550
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x464310
Capabilities:
Access peb ldr_data
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x623070
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
xor esi, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], ax
mov dword [esp + 0x38], ebx
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x46436d
mov eax, 0x70f650
push ebx
push eax
push str._sidmfc.dat
lea ecx, [esp + 0x20]
call fcn.00402190
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], cx
mov byte [esp + 0x38], 1
mov eax, dword [0x70f66c]
cmp eax, ebx
jne 0x46439f
mov eax, 0x70f670
push ebx
push eax
push str._sidmfc.dat
lea ecx, [esp + 0x2c]
call fcn.00402190
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4643bb
lea eax, [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004640e0
add esp, 8
test eax, eax
je 0x4643f5
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4643d9
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.004640e0
add esp, 8
test eax, eax
je 0x464436
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0xc]
jle 0x464436
mov esi, 1
cmp dword [esp + 0x40], ebx
je 0x464436
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x46440c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp eax, ebx
jne 0x464421
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x46442d
lea eax, [esp + 0x24]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x20]
call fcn.004011f0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004011f0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005f85e7
add esp, 0x30
ret
Function at 0x466d10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6232bb
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x140]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x144]
mov ebx, dword [esp + 0x148]
mov ebp, dword [esp + 0x14c]
lea ecx, [edi + 1]
push ecx
push esi
mov ecx, 0x70f6a8
mov dword [esp + 0x20], eax
call fcn.004318f0
test eax, eax
je 0x466d8d
mov byte [ebx], 1
jmp 0x466e6f
lea ecx, [esp + 0x14]
call fcn.004024e0
mov dword [esp + 0x134], 0
push esi
lea edx, [esp + 0x18]
push str.MIMEDatabaseContent_Type_s
push edx
call fcn.00402f60
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x466e38
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0
push str.Extension
push ecx
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x466e2d
lea edx, [esp + 0x24]
push edx
push edi
call fcn.005fa111
add esp, 8
test eax, eax
jne 0x466e12
mov byte [ebx], 1
jmp 0x466e2d
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x25]
push eax
push 0x64edec
push ecx
call fcn.00402f60
add esp, 0xc
mov byte [ebp], 1
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
cmp byte [ebx], 0
jne 0x466e6f
cmp byte [ebp], 0
jne 0x466e6f
mov eax, dword [esp + 0x18]
push eax
push esi
mov ecx, 0x70f6a8
call fcn.0042f230
test eax, eax
je 0x466e6f
mov byte [ebp], 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.005f85e7
add esp, 0x124
ret 0x14
Function at 0x472000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6241e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00453330
add esp, 4
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x4720db
call fcn.004024e0
mov byte [ebp - 4], 1
push 0x6555e8
mov ecx, dword [0x710f9c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00402f60
push 0x11001
push 0x64ed18
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00469b60
add esp, 0x1c
cmp eax, 1
jne 0x4720b9
mov dword [ebp - 0x18], 2
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push ebx
push str.bVP9Ch
mov eax, dword [0x70f604]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.https:__www.internetdownloadmanager.com_support_mkvvp9codec.html
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004a5000
add esp, 8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402550
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], 1
push 4
push ecx
push 4
push ebx
push str.bVP9Ch
mov edx, dword [0x70f604]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c960
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
xor bl, bl
cmp dword [0x704d18], 0
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
jne 0x47c9e5
cmp dword [0x710040], 0
jne 0x47ca0d
mov edx, dword [0x70f604]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push str.nExpDt
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47c9e5
cmp dword [esp + 0x14], eax
jbe 0x47c9e5
push ebp
push eax
call fcn.005fbc53
cdq
mov ecx, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov ebp, edx
cdq
push 0
sub eax, ecx
push 0x15180
sbb edx, ebp
push edx
push eax
call fcn.005fc580
add eax, 0x1d
pop ebp
cmp eax, 0x26
ja 0x47c9e5
mov bl, 1
cmp dword [0x710040], 0
jne 0x47ca0d
cmp dword [0x704d18], 0
jne 0x47ca0d
test bl, bl
jne 0x47ca0d
push str._fillregform.html_d
push edi
call fcn.005f9c10
add esp, 8
test eax, eax
je 0x47ca47
push edi
push 0x64edec
push 0x70f648
call fcn.00402f60
mov eax, dword [0x710040]
add esp, 0xc
test eax, eax
je 0x47ca40
push 0
push 0
push 0x2b45
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, esi
call fcn.0047c300
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x48b130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x625788
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48b286
mov ebx, 4
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.isLimitEnabled
mov ecx, dword [ebp - 0x1c]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.m_MBytes
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
test eax, eax
je 0x48b1fd
mov dword [esi + 0xc], 0xc8
jmp 0x48b203
mov edx, dword [ebp - 0x14]
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0xc]
cdq
push 0
push 0x100000
push edx
push eax
call fcn.005fd4d0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push str.m_hours
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
je 0x48b242
mov dword [esi + 0x10], 5
jmp 0x48b248
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push str.showLimitExceededWarning
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
je 0x48b26f
mov dword [esi + 0x14], 1
jmp 0x48b275
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x48b2e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48b3cc
mov ecx, dword [esp + 4]
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edx, edx
cmp dword [esi + 8], edx
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.isLimitEnabled
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
push 4
lea ebx, [esi + 0xc]
push ebx
push 4
push 0
push str.m_MBytes
push edx
call edi
mov eax, dword [ebx]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.005fd4d0
push 0
push 0x64
push edx
push eax
call fcn.005fc580
push 0
push 0x62
push edx
push eax
call fcn.005fd4d0
mov ecx, dword [esp + 0xc]
push 4
mov dword [esi + 0x18], eax
lea eax, [esi + 0x10]
push eax
push 4
push 0
push str.m_hours
push ecx
mov dword [esi + 0x1c], edx
call edi
mov ecx, dword [esp + 0xc]
xor edx, edx
cmp dword [esi + 0x14], edx
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.showLimitExceededWarning
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x48c080
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareDownloadManagerQueue
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c0ed
push edi
mov edi, dword [esp + 4]
test edi, edi
je 0x48c0ec
mov edx, dword [esp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48c0c4
sub eax, esi
inc eax
push eax
push edx
push 1
push 0
push str.Queue
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
add esp, 8
ret 4

Function at 0x48c460
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6259c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov word [esp + 8], ax
mov dword [esp + 0x1c], eax
mov eax, dword [0x70f64c]
test eax, eax
jne 0x48c4b7
mov eax, 0x70f650
push 0
push eax
push str._sScheduler
lea ecx, [esp + 0x10]
call fcn.00402190
mov eax, dword [esp + 4]
test eax, eax
jne 0x48c4d4
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48c4f5
mov eax, dword [esp + 4]
test eax, eax
jne 0x48c4ec
lea eax, [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 4]
call fcn.004011f0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005f85e7
add esp, 0x1c
ret
Function at 0x48cd80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x44
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], bl
call fcn.0048c960
mov ecx, esi
call fcn.0048cb20
push edi
mov ecx, esi
call fcn.0048c310
cmp eax, ebx
je 0x48cdce
mov ecx, dword [esi + 0x84]
mov dword [eax + 0x4c4], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.005fb4cb
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0xf003f
push ebx
push 0x64f8bc
push ebx
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48ce3b
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x84]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push str.queueID
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x70fbec]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x48ce68
mov edx, dword [0x70fbec]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x70fbf0]
push eax
call ebx
test eax, eax
je 0x48ce88
mov ecx, dword [0x70fbf0]
push edi
push 0x139a
push 0x111
push ecx
call esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0x44
ret 4
Function at 0x48cea0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x68
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
xor ebp, ebp
cmp esi, ebp
je 0x48ced0
cmp dword [esi + 8], ebx
je 0x48cf91
mov esi, dword [esi]
cmp esi, ebp
jne 0x48cec1
cmp dword [esp + 0x80], ebp
je 0x48cf7c
push ebx
call fcn.0048c310
cmp eax, ebp
je 0x48ceed
mov dword [eax + 0x4c4], ebp
push ebx
lea ecx, [esp + 0x50]
push str.SoftwareDownloadManager_ld
push ecx
call fcn.005fb4cb
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push 0xf003f
push ebp
push 0x64f8bc
push ebp
lea ecx, [esp + 0x68]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48cf54
mov eax, dword [esp + 0x18]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebp
push str.queueID
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x70fbf0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48cf7c
mov eax, dword [0x70fbf0]
push ebx
push 0x139b
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0x68
ret 8
mov eax, dword [0x70fbec]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48cfb9
mov ecx, dword [0x70fbec]
push ebx
push 0x1397
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov ecx, edi
call fcn.004ffb30
mov ecx, edi
call fcn.0048cb20
push ebx
mov ecx, edi
call fcn.0048c310
cmp eax, ebp
je 0x48cfda
mov dword [eax + 0x4c4], ebp
push ebx
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.005fb4cb
add esp, 0xc
cmp dword [esp + 0x80], ebp
je 0x48d04d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push 0x64f8bc
push ebp
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48cf54
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebp
push str.queueID
push ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
jmp 0x48cf4e
lea eax, [esp + 0x14]
push eax
push 0xf003f
push ebp
lea ecx, [esp + 0x30]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48cf54
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebp
push str.queueID
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
jmp 0x48cf4d
Function at 0x48d5d0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x260]
sub esp, 0x260
push 0xffffffffffffffff
push 0x625b33
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], bl
mov dword [ebp + 0x210], ebx
mov dword [ebp + 0x218], ebx
xor eax, eax
mov word [ebp + 0x214], ax
mov byte [ebp - 4], 1
mov esi, dword [0x70f64c]
cmp esi, ebx
jne 0x48d641
mov esi, 0x70f650
push ebx
push 0xa
lea ecx, [ebp + 0x21c]
push ecx
mov edx, dword [edi + 0x84]
push edx
call fcn.005fb352
add esp, 0xc
push eax
push esi
push str._sSchedulerq__s.dt
lea ecx, [ebp + 0x210]
call fcn.00402300
mov eax, dword [ebp + 0x210]
cmp eax, ebx
jne 0x48d67c
lea eax, [ebp + 0x214]
push 0x65a7e0
push eax
call fcn.005fb2bd
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x48d757
push ebx
call fcn.005ffb44
push eax
call fcn.005fdb1a
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.005cfaa6
add esp, 0xc
mov edi, eax
test edi, edi
je 0x48d74b
push ebx
push esi
push 1
push edi
call fcn.005fd808
add esp, 0x10
cmp eax, esi
jne 0x48d742
mov byte [ebp - 0x11], 1
mov byte [edi + esi], 0
mov esi, edi
mov dword [ebp - 0x1c], esi
mov eax, edi
lea edx, [eax + 1]
jmp 0x48d6e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48d6e0
sub eax, edx
je 0x48d742
jmp 0x48d6f0
test esi, esi
je 0x48d742
lea ecx, [ebp - 0x20]
push ecx
push 0x64f53c
push esi
call fcn.005f9f5e
add esp, 0xc
cmp eax, 1
jne 0x48d728
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0048c960
push 0x20
push esi
call fcn.005f9b50
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x48d742
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x48d6f0
push edi
call fcn.005cfa9b
add esp, 4
push ebx
call fcn.005faf97
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x84]
cmp eax, 2
jg 0x48d769
mov dword [edi + 0x78], 4
cmp eax, 1
jne 0x48d77b
cmp byte [ebp - 0x11], 0
jne 0x48d77b
mov ecx, edi
call fcn.0048d110
cmp dword [edi + 0x84], 2
jne 0x48d788
mov byte [edi + 0x28], 0
mov ecx, edi
call fcn.0048c550
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x210]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x25c]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x260
mov esp, ebp
pop ebp
ret