joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4461f0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 8]
lea eax, [esp + 8]
push edi
push eax
push esi
mov dword [esi], 0
mov ecx, dword [0x6614e8]
push 0
push 0
push str.LastReferer
push ecx
mov dword [esp + 0x24], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [0x6614e8]
push str.LastReferer
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x44623f
pop edi
xor eax, eax
pop esi
ret 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jae 0x446255
pop edi
pop esi
ret 4
push 6
push str.http:_
push esi
call fcn.0056cc60
add esp, 0xc
test eax, eax
je 0x446284
push 7
push str.https:_
push esi
call fcn.0056cc60
add esp, 0xc
test eax, eax
je 0x446284
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x446320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cbd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov edx, dword [0x6614e8]
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.LastCheckQU
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4463fd
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, esp
mov dword [ebp - 0x20], esp
push 0
mov dword [eax], ecx
call fcn.0056c001
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.00446420
lea edx, [ebp - 0x24]
mov ecx, eax
push edx
call fcn.00446430
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
cmp edx, 7
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446d90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6614e8]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ShowDropTarget
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x446dc5
xor al, al
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x446e70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59cc7b
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov ecx, 0x661430
push ebx
push ebp
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x134]
lea eax, [edi + 1]
push eax
push esi
call fcn.00420a70
mov ebp, dword [esp + 0x140]
test eax, eax
je 0x446ec6
mov ebx, dword [esp + 0x13c]
mov byte [ebx], 1
jmp 0x446f90
mov ecx, dword [0x65ca8c]
mov dword [esp + 0x10], ecx
push esi
lea edx, [esp + 0x14]
push str.MIMEDatabaseContent_Type_s
push edx
mov dword [esp + 0x134], 0
call fcn.0057f8fb
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [esp + 0x13c]
test eax, eax
jne 0x446f7c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push str.Extension
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x446f71
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.00573ec0
add esp, 8
test eax, eax
jne 0x446f53
mov byte [ebx], 1
jmp 0x446f71
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x1d]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
mov byte [ebp], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], 0xffffffff
call fcn.00586b33
cmp byte [ebx], 0
jne 0x446fb6
cmp byte [ebp], 0
jne 0x446fb6
mov eax, dword [esp + 0x138]
mov ecx, 0x661430
push eax
push esi
call fcn.00420c20
test eax, eax
je 0x446fb6
mov byte [ebp], 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0x14
Function at 0x44b660
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6614e8]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.StartDlgShowing
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44b695
mov al, 1
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x44e200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x1c], ecx
push edi
mov ecx, 0x6613d0
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004a6080
test ax, ax
je 0x44e2ef
mov edx, dword [0x6614e8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.LastCheckLNG3
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44e2be
push ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], esp
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.0056c001
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.00446420
mov ecx, eax
call fcn.00446430
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
cmp edx, 0xe
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fcc0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov edx, dword [0x6614e8]
push ebx
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.SPChecked
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
je 0x44fdb0
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.C:Program_FilesSpyHunterSpyHunter.exe
call ebx
cmp eax, 0xffffffff
je 0x44fd1a
pop esi
mov eax, 1
pop ebx
add esp, 0x214
ret
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallEE5B8E34_973C_4FBE_AC83_99F064009FC7
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44fdb0
lea ecx, [esp + 8]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.InstallLocation
push eax
mov dword [esp + 0x20], 0x208
call esi
test eax, eax
jne 0x44fda5
push ebp
push edi
mov edi, str.SpyHunter.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
pop edi
cmp eax, 0xffffffff
pop ebp
je 0x44fda5
pop esi
mov eax, 1
pop ebx
add esp, 0x214
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
add esp, 0x214
ret
Function at 0x453e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e0c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov edx, dword [0x6614e8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
mov esi, 3
mov ebx, 4
push str.RememberDuplLinksA
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x453eb5
cmp dword [ebp - 0x14], 1
je 0x453f23
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00460360
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.00582ac6
mov ecx, dword [ebp - 0x20]
dec eax
neg eax
sbb eax, eax
not eax
and eax, ecx
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00586b33
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0058e953
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0058e803
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.00582707
jmp 0x453f54
mov eax, dword [0x6614e8]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0
push 0
push str.DuplLinksA
push eax
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x453f54
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x453f54
mov esi, 3
jmp 0x453f54
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x455d50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e4e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov edx, dword [0x6614e8]
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push str.bShBTtFQCI
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x455eef
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x455eca
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x455eca
cmp byte [esi + 0xe8e], bl
jne 0x455eca
cmp byte [esi + 0x1fb], bl
je 0x455de9
push 0x16
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x1fb], bl
mov edx, dword [esi + 0x4c8]
lea ecx, [ebp - 0x30]
push ecx
push 2
push 0x1207
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x4ac]
push eax
call fcn.005898ca
mov edx, dword [esi + 0x488]
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x46c]
push eax
call fcn.005898ca
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x455eef
cmp eax, dword [ebp - 0x40]
jl 0x455eef
cmp ecx, dword [ebp - 0x38]
jg 0x455eef
mov ecx, dword [0x6614e8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bShBTtFQCI
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x455eef
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add edx, 0xfffffffc
add eax, 0xfffffffc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov edx, dword [0x661b28]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x661b2c]
push ecx
mov ecx, dword [esi + 0x488]
push ebx
push edx
push eax
push ecx
call fcn.0046c310
add esp, 0x14
mov dword [esi + 0xd90], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x1fb], bl
jne 0x455eef
mov edx, dword [esi + 0x1c]
push ebx
push 0x1f4
push 0x16
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x455eef
mov byte [esi + 0x1fb], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457530
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xd8c]
mov eax, 0x84f5
cmp ecx, 2
jne 0x457571
mov eax, 0x84f6
jmp 0x45757b
cmp ecx, 3
jne 0x45757b
mov eax, 0x84f7
push 0
push eax
mov eax, dword [esi + 0x190]
push 0x84f7
push 0x84f5
push eax
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [0x6614e8]
mov ecx, dword [esi + 0xd8c]
lea edx, [ebp - 0x14]
push 4
push edx
push 4
push 0
push str.TrayIcon
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0xd8c]
cmp eax, 3
je 0x45760f
cmp eax, 2
jne 0x4575dd
call fcn.00590d5c
call fcn.00590d5c
mov eax, dword [eax + 0xc]
push 0x15a
jmp 0x4575ef
call fcn.00590d5c
call fcn.00590d5c
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi + 0x1c]
push 0x6370c0
push eax
push 0x2712
push 0
push ecx
call fcn.0046cf90
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x660ff8
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x458470
mov ecx, dword [esp + 0xc]
push ebx
lea edx, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
mov ebx, 4
push str.isLimitEnabled
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x4583a0
mov dword [esi + 8], 0
jmp 0x4583a7
mov edx, dword [esp + 0x10]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.m_MBytes
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x4583d2
mov dword [esi + 0xc], 0xc8
jmp 0x4583d9
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.0056d280
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.m_hours
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x45841c
mov dword [esi + 0x10], 5
jmp 0x458423
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.showLimitExceededWarning
push ecx
mov dword [esp + 0x24], ebx
call edi
pop edi
pop ebx
test eax, eax
je 0x45845e
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov dword [esi + 0x14], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
Function at 0x458480
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x660ff8
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45856a
mov ecx, dword [esp + 4]
push ebx
push edi
mov edi, dword [esi + 8]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
test edi, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push 0
push str.isLimitEnabled
setne dl
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
lea ebx, [esi + 0xc]
push 4
push ebx
push 4
push 0
push str.m_MBytes
push edx
call edi
mov ecx, dword [ebx]
mov eax, 0x51eb851f
shl ecx, 0x14
imul ecx
sar edx, 5
mov eax, edx
lea ecx, [esi + 0x10]
shr eax, 0x1f
add edx, eax
push 4
push ecx
push 4
lea eax, [edx + edx*2]
push 0
shl eax, 4
add eax, edx
push str.m_hours
shl eax, 1
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x20]
push edx
call edi
mov ebx, dword [esi + 0x14]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
xor eax, eax
push ecx
test ebx, ebx
push 4
push 0
setne al
push str.showLimitExceededWarning
push edx
mov dword [esp + 0x28], eax
call edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x459050
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x59ea80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, ecx
push esi
push 0x660ff8
lea ecx, [esp + 0xc]
call fcn.00586ba1
mov esi, dword [ebp + 4]
mov dword [esp + 0x2c], 0
test esi, esi
je 0x4590bf
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x18]
push 0xa
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.005705dd
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.00586ea9
test esi, esi
je 0x4590bf
push 0x20
lea ecx, [esp + 0xc]
call fcn.00586ed0
jmp 0x459089
mov ecx, dword [0x65ca8c]
mov dword [esp + 0xc], ecx
mov edx, dword [0x6614c8]
lea eax, [esp + 0xc]
push edx
push str._sScheduler
push eax
mov byte [esp + 0x38], 1
call fcn.0057f8fb
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x459104
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00586b33
mov eax, dword [0x65ca8c]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
mov edx, dword [0x6614c8]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sSchedulerq__ld.dt
push eax
mov byte [esp + 0x3c], 2
call fcn.0057f8fb
mov ecx, dword [esp + 0x20]
push 0x63ca14
push ecx
call fcn.0056bf3f
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4591ba
call fcn.0056d327
mov edx, dword [0x65ca8c]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
push esi
lea ecx, [esp + 0x10]
push esi
push ecx
push 0x400
push eax
push esi
push 0x1100
mov byte [esp + 0x48], 3
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x661da0]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0057f8fb
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.00586b33
jmp 0x4591df
mov edx, dword [esp + 8]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.0056bdd5
push esi
call fcn.0056bd58
add esp, 0x14
pop edi
cmp dword [ebp + 0x64], 1
jne 0x4591f1
mov ecx, dword [esp + 8]
push ecx
mov ecx, ebp
call fcn.00459230
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00586b33
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00586b33
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x459230
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push esi
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x660ff8
push 0
push str.SoftwareDownloadManagerQueue
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x459295
mov esi, dword [esp + 4]
test esi, esi
je 0x459295
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push str.Queue
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret 4

Function at 0x4592a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x50]
mov ebp, dword [esi + 8]
cmp eax, ebx
mov byte [esp + 0x20], bl
jne 0x4592ed
mov eax, dword [esi + 0x18]
push 0x14
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.005819f4
mov ecx, dword [esi + 0x18]
add eax, 4
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x14]
jl 0x4592ed
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x4592df
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebp
mov dword [eax], 0
mov ebp, dword [esi + 0xc]
inc ebp
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebp
mov ebp, ecx
mov dword [ebp], edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45932c
mov dword [ecx], eax
jmp 0x45932f
mov dword [esi + 4], eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00459050
push edi
mov ecx, esi
call fcn.00459670
test eax, eax
je 0x45934e
mov ecx, dword [esi + 0x64]
mov dword [eax + 0x404], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0056b4da
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x24]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x660ff8
push 0
push edx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4593bc
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.queueID
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x661604]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4593e9
mov edx, dword [0x661604]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x661608]
push eax
call ebx
test eax, eax
je 0x459409
mov ecx, dword [0x661608]
push edi
push 0x139a
push 0x111
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4