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

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.IDMan.CIDMLinkTransmitter
push 0x80000000
call esi
test eax, eax
je 0x4264b1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.CLSID
push edx
call esi
test eax, eax
je 0x4264e2
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
mov edi, str.AC746233_E9D3_49CD_862F_068F7B7CCCA4
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
push ecx
push str.AC746233_E9D3_49CD_862F_068F7B7CCCA4
push 1
push eax
push eax
mov eax, dword [esp + 0x28]
push eax
call ebx
test eax, eax
je 0x426518
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.CLSIDAC746233_E9D3_49CD_862F_068F7B7CCCA4
push 0x80000000
call esi
test eax, eax
je 0x42655d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
mov edi, str.IDMan.CIDMLinkTransmitter
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push str.IDMan.CIDMLinkTransmitter
push 1
push eax
push eax
push ecx
call ebx
test eax, eax
je 0x42658d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.LocalServer32
push eax
call esi
test eax, eax
je 0x4265be
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
lea ecx, [esp + 0x18]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4265e1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x28]
push eax
call ebx
test eax, eax
je 0x426610
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10c
ret
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10c
ret
Function at 0x4342e0
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 [0x5ba8bc]
push 0
push 0
push str.LastReferer
push ecx
mov dword [esp + 0x24], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [0x5ba8bc]
push str.LastReferer
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x43432f
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 0x434345
pop edi
pop esi
ret 4
push 6
push str.http:_
push esi
call fcn.0051e650
add esp, 0xc
test eax, eax
je 0x434374
push 7
push str.https:_
push esi
call fcn.0051e650
add esp, 0xc
test eax, eax
je 0x434374
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x434400
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cb80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov edx, dword [0x5ba8bc]
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push str.LastCheckQU
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4344c6
push ecx
mov ecx, dword [ebp - 0x14]
mov eax, esp
mov dword [ebp - 0x20], esp
push 0
mov dword [eax], ecx
call fcn.0051dc52
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.00434510
lea edx, [ebp - 0x24]
mov ecx, eax
push edx
call fcn.00434520
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
lea edx, [ebp - 0x14]
push edx
call fcn.0051dc52
mov ecx, dword [0x5ba8bc]
add esp, 4
lea eax, [ebp - 0x14]
push 4
push eax
push 0
push 0
push str.LastCheckQU
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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 0x434aa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5ba8bc]
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 0x434ad5
xor al, al
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret
Function at 0x436b30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5ba8bc]
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 0x436b65
mov al, 1
add esp, 8
ret
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret

Function at 0x4372e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cf30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push esi
push edi
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
push 0x101
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x43734d
push 1
push str.Cannot_find_Winsock_v1.1_or_later__r_n
lea ecx, [esi + 0xc44]
call fcn.004593e0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x144]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edx, [edi + 0x20]
lea eax, [edi + 0x42c]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x7c], edx
mov edx, dword [ebp + 0x10]
lea ecx, [edi + 0x64c]
mov dword [esi + 0x9c], ecx
push edx
mov ecx, esi
mov dword [esi + 0x6c], eax
call fcn.004dde60
mov ebx, eax
cmp ebx, 0x7563
jne 0x437391
mov ebx, 0x756a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
test esi, esi
jl 0x4373b9
jg 0x4373ad
test eax, eax
jbe 0x4373b9
mov dword [edi + 0x410], eax
mov dword [edi + 0x414], esi
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x439a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d120
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, 0x5ba7b8
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004815d0
test ax, ax
je 0x439b5f
mov edx, dword [0x5ba8bc]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.LastCheckLNG
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x439b2e
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.0051dc52
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.00434510
mov ecx, eax
call fcn.00434520
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 0x43b150
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov edx, dword [0x5ba8bc]
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 0x43b240
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.C:Program_FilesSpyHunterSpyHunter.exe
call ebx
cmp eax, 0xffffffff
je 0x43b1aa
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 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43b240
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 0x43b235
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 0x43b235
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 0x43b250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x54d4b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5b5ecc]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push str.idmmbc.dll
push esi
push edi
lea ecx, [esp + 0x1c]
push 0x59879c
push ecx
mov dword [esp + 0x30], ebp
call fcn.0053091a
mov edx, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x14
push edx
call ebx
cmp eax, 0xffffffff
jne 0x43b2b1
mov ebp, 1
push str.idmmkb.dll
push esi
push edi
lea eax, [esp + 0x1c]
push 0x59879c
push eax
call fcn.0053091a
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x43b2d7
inc ebp
push str.Uninstall.exe
push esi
push edi
lea edx, [esp + 0x1c]
push 0x59879c
push edx
call fcn.0053091a
mov eax, dword [esp + 0x24]
add esp, 0x14
push eax
call ebx
cmp eax, 0xffffffff
jne 0x43b2fd
inc ebp
push 0x599514
push esi
push edi
lea ecx, [esp + 0x1c]
push 0x59879c
push ecx
call fcn.0053091a
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call ebx
cmp eax, 0xffffffff
jne 0x43b323
inc ebp
push str.IDMIECC.dll
push esi
push edi
lea eax, [esp + 0x1c]
push 0x59879c
push eax
call fcn.0053091a
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x43b349
inc ebp
push str.IDMGetAll.dll
push esi
push edi
lea edx, [esp + 0x1c]
push 0x59879c
push edx
call fcn.0053091a
mov eax, dword [esp + 0x24]
add esp, 0x14
push eax
call ebx
cmp eax, 0xffffffff
jne 0x43b36f
inc ebp
push str.IEExt.htm
push esi
push edi
lea ecx, [esp + 0x1c]
push 0x59879c
push ecx
call fcn.0053091a
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call ebx
cmp eax, 0xffffffff
jne 0x43b395
inc ebp
push str.IEGetAll.htm
push esi
push edi
lea eax, [esp + 0x1c]
push 0x59879c
push eax
call fcn.0053091a
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x43b3bb
inc ebp
push str.IDMGrHlp.exe
push esi
push edi
lea edx, [esp + 0x1c]
push 0x59879c
push edx
call fcn.0053091a
mov eax, dword [esp + 0x24]
add esp, 0x14
push eax
call ebx
cmp eax, 0xffffffff
jne 0x43b3e1
inc ebp
push str.idmmzcc.xpi
push esi
push edi
lea ecx, [esp + 0x1c]
push 0x59879c
push ecx
call fcn.0053091a
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call ebx
cmp eax, 0xffffffff
jne 0x43b407
inc ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x14]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x43b430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x54d596
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x95c
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x980]
mov ecx, dword [esp + 0x97c]
mov edx, dword [esp + 0x978]
push edi
push ecx
push edx
lea eax, [esp + 0x18]
xor ebx, ebx
push 0x59879c
push eax
mov dword [esp + 0x984], ebx
call fcn.0053091a
mov ecx, dword [esp + 0x20]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43b4ba
lea ecx, [esp + 0xc]
mov dword [esp + 0x970], 0xffffffff
call fcn.00537b04
mov eax, 1
jmp 0x43b69a
push ebx
lea ecx, [esp + 0x14]
call fcn.00422180
push str._data_v4_
lea ecx, [esp + 0x88]
mov byte [esp + 0x974], 1
call fcn.00537c8d
push edi
lea ecx, [esp + 0x84]
call fcn.00537c8d
lea edx, [esp + 0xc]
lea ecx, [esp + 0x74]
push edx
call fcn.00537c3d
mov eax, dword [esi + 0x144]
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
mov dword [esp + 0x6c], eax
call fcn.00533ae5
cmp eax, 1
jne 0x43b5dd
lea ecx, [esp + 0xc8]
mov byte [esp + 0x970], 9
call fcn.004f5e70
lea ecx, [esp + 0x8c]
mov byte [esp + 0x970], 8
call fcn.0053f83e
lea ecx, [esp + 0x88]
mov byte [esp + 0x970], 7
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x970], 6
call fcn.00537b04
lea ecx, [esp + 0x80]
mov byte [esp + 0x970], 5
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x970], 4
call fcn.00537b04
lea ecx, [esp + 0x74]
mov byte [esp + 0x970], 3
call fcn.00537b04
lea ecx, [esp + 0x70]
mov byte [esp + 0x970], 2
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x970], bl
call fcn.00533726
lea ecx, [esp + 0xc]
mov dword [esp + 0x970], 0xffffffff
call fcn.00537b04
mov eax, 1
jmp 0x43b69a
lea ecx, [esp + 0xc8]
mov byte [esp + 0x970], 0x11
call fcn.004f5e70
lea ecx, [esp + 0x8c]
mov byte [esp + 0x970], 0x10
call fcn.0053f83e
lea ecx, [esp + 0x88]
mov byte [esp + 0x970], 0xf
call fcn.00537b04
lea ecx, [esp + 0x84]
mov byte [esp + 0x970], 0xe
call fcn.00537b04
lea ecx, [esp + 0x80]
mov byte [esp + 0x970], 0xd
call fcn.00537b04
lea ecx, [esp + 0x7c]
mov byte [esp + 0x970], 0xc
call fcn.00537b04
lea ecx, [esp + 0x74]
mov byte [esp + 0x970], 0xb
call fcn.00537b04
lea ecx, [esp + 0x70]
mov byte [esp + 0x970], 0xa
call fcn.00537b04
lea ecx, [esp + 0x10]
mov byte [esp + 0x970], bl
call fcn.00533726
lea ecx, [esp + 0xc]
mov dword [esp + 0x970], 0xffffffff
call fcn.00537b04
xor eax, eax
mov ecx, dword [esp + 0x968]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x968
ret 0xc
Function at 0x43ef30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e0d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov edx, dword [0x5ba8bc]
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 0x43ef95
cmp dword [ebp - 0x14], 1
je 0x43f003
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.004473c0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.00533ae5
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.00537b04
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0053f9c6
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0053f876
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.00533726
jmp 0x43f034
mov eax, dword [0x5ba8bc]
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 0x43f034
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x43f034
mov esi, 3
jmp 0x43f034
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 0x43f0c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x1bc]
mov dword [ebp - 4], 0
shl ecx, 4
mov edx, dword [eax + 4]
mov esi, dword [edx + ecx]
mov eax, dword [esi + 0x644]
cmp eax, 1
je 0x43f18d
cmp eax, 5
je 0x43f18d
cmp eax, 4
je 0x43f18d
cmp eax, 3
jne 0x43f145
mov eax, dword [esi + 0x54]
test eax, eax
je 0x43f145
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43f145
mov ecx, esi
call fcn.004f8990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
mov ecx, esi
call fcn.004f9050
mov eax, dword [edi + 0x1c]
mov ecx, esi
push eax
call fcn.004f9120
push esi
call fcn.00451730
mov ecx, dword [edi + 0x144]
add esp, 4
mov dword [esi], ecx
mov ecx, esi
push 1
call fcn.004f9600
mov ecx, esi
call fcn.004f96f0
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 [0x5bad40]
mov eax, dword [0x5bad44]
push 0
push edx
push eax
mov ecx, edi
call fcn.00535af8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440da0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov edx, dword [0x5ba8bc]
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 0x440f3f
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x440f1a
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x440f1a
cmp byte [esi + 0xe4e], bl
jne 0x440f1a
cmp byte [esi + 0x1f7], bl
je 0x440e39
push 0x16
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x1f7], bl
mov edx, dword [esi + 0x490]
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 + 0x474]
push eax
call fcn.0053a93d
mov edx, dword [esi + 0x450]
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x434]
push eax
call fcn.0053a93d
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x440f3f
cmp eax, dword [ebp - 0x40]
jl 0x440f3f
cmp ecx, dword [ebp - 0x38]
jg 0x440f3f
mov ecx, dword [0x5ba8bc]
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 0x440f3f
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 [0x5bacb0]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5bacb4]
push ecx
mov ecx, dword [esi + 0x450]
push ebx
push edx
push eax
push ecx
call fcn.00450ea0
add esp, 0x14
mov dword [esi + 0xd50], 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 + 0x1f7], bl
jne 0x440f3f
mov edx, dword [esi + 0x1c]
push ebx
push 0x1f4
push 0x16
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x440f3f
mov byte [esi + 0x1f7], 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 0x441860
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 0x5ba440
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x441995
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 0x4418d0
mov dword [esi + 8], 0
jmp 0x4418d7
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 0x441902
mov dword [esi + 0xc], 0xc8
jmp 0x441909
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xc]
shl eax, 0x14
cdq
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], edx
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 0x441941
mov dword [esi + 0x10], 5
jmp 0x441948
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 0x441983
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 0x4419a0
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 0x5ba440
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x441a8a
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