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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649070
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, 0x84f5
mov ecx, dword [esi + 0x17e0]
cmp ecx, 2
jne 0x45931b
mov eax, 0x84f6
jmp 0x459325
cmp ecx, 3
jne 0x459325
mov eax, 0x84f7
push 0
push eax
push 0x84f7
push 0x84f5
mov eax, dword [esi + 0x200]
push eax
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov ecx, dword [esi + 0x17e0]
mov dword [ebp - 0x14], ecx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.TrayIcon
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x17e0]
cmp eax, 3
je 0x4593b3
cmp eax, 2
jne 0x45937f
call fcn.005fcb9c
push 0x15a
jmp 0x459389
call fcn.005fcb9c
push 0x80
mov eax, dword [eax + 4]
mov ecx, eax
call fcn.00401610
push 0x678d88
push eax
push 0x2712
push 0
mov ecx, dword [esi + 0x20]
push ecx
call fcn.004b3720
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
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 0x459590
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x44
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x40], eax
mov edx, dword [0x75dbe4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push str.LstCheck
push edx
mov dword [esp + 0x34], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x459698
lea eax, [esp + 0x30]
push eax
call fcn.00624a8a
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push str._ld__ld__ld
push ecx
call fcn.00621b5e
add esp, 0x18
cmp eax, 3
jne 0x459698
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push str._ld__ld__ld
push edx
call fcn.00621b5e
add esp, 0x14
cmp eax, 3
jne 0x459698
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov eax, dword [esp + 4]
sub eax, dword [esp + 8]
imul ecx, ecx, 0x16d
mov edx, eax
shl edx, 4
sub edx, eax
lea eax, [ecx + edx*2]
sub eax, dword [esp + 0xc]
add eax, dword [esp + 0x14]
cmp eax, 0xa
jg 0x459659
test eax, eax
jge 0x459698
mov ax, word [0x67a8a0]
mov cl, byte [0x67a8a2]
mov word [esp], ax
lea eax, [esp]
mov byte [esp + 2], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459673
sub eax, edx
inc eax
push eax
mov eax, dword [0x75dbe4]
lea edx, [esp + 4]
push edx
push 1
push 0
push str.CheckUpdtVM
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x40]
xor ecx, esp
mov eax, 1
call fcn.0062016f
add esp, 0x44
ret
Function at 0x459f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x649126
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [eax], vtable.CMainDlgSearchSettings.0
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov word [eax + 8], dx
mov dword [esp + 0x10], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov word [eax + 0x14], dx
mov edx, 1
mov byte [esp + 0x10], dl
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x45c130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64dd88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov word [esp + 0x10], cx
mov dword [esp + 0x24], esi
mov edx, dword [0x75dd28]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00401980
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x45c19a
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401210
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0062016f
add esp, 0x1c
ret

Function at 0x45c440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x13fc]
mov eax, 0x13fc
call fcn.006218a0
push 0xffffffffffffffff
push 0x649358
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x13f8], 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 - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push ebx
push ebx
push ebx
mov eax, dword [esi + 0x78]
push eax
mov ecx, dword [0x75f1e8]
push ecx
lea ecx, [ebp]
call fcn.00518050
mov byte [ebp - 4], 1
lea edx, [esi + 0x240]
mov dword [ebp + 0xc8], edx
mov dword [ebp + 0xb0], 0x75e2ac
lea eax, [esi + 0x810]
mov dword [ebp + 0xac], eax
mov ecx, dword [esi + 0x198]
mov dword [ebp + 0xc4], ecx
lea edx, [esi + 0x1a0]
mov dword [ebp + 0xbc], edx
lea eax, [esi + 0x838]
mov dword [ebp + 0xb8], eax
lea ecx, [esi + 0x81c]
mov dword [ebp + 0xb4], ecx
mov edx, dword [esi + 0x20]
mov dword [ebp + 0x13c8], edx
lea ecx, [ebp]
call fcn.0060a8a0
mov dword [0x75e6b8], ebx
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
push ebx
push str.MonitorUrlClipboard
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45c580
cmp byte [esi + 0x283], bl
jne 0x45c55b
cmp dword [ebp - 0x14], ebx
je 0x45c580
mov byte [esi + 0x283], 1
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetClipboardViewer]
mov dword [esi + 0x23c], eax
jmp 0x45c580
cmp dword [ebp - 0x14], ebx
jne 0x45c580
mov ecx, dword [esi + 0x23c]
push ecx
mov ecx, esi
call fcn.00454740
mov dword [esi + 0x23c], ebx
mov byte [esi + 0x283], bl
mov dword [esi + 0x284], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.005170a0
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 + 0x13f8]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x13fc
mov esp, ebp
pop ebp
ret
Function at 0x45cb20
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 + 0x3f0]
call fcn.005f52ac
push edi
lea ecx, [esi + 0x444]
call fcn.005f52ac
mov eax, dword [esi + 0x364]
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
lea ecx, [esi + 0x498]
call fcn.005f52ac
push edi
lea ecx, [esi + 0x508]
call fcn.005f52ac
xor ecx, ecx
test edi, edi
setne cl
push ecx
lea ecx, [esi + 0x81c]
call fcn.004c4650
cmp dword [esi + 0x834], 0
mov edi, dword [esi + 0x11ac]
je 0x45cb8d
neg edi
mov eax, dword [esi + 0x5f0]
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.005fd290
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 + 0x5d0]
call fcn.005f526c
cmp dword [esi + 0x834], 0
mov eax, 0x75ed40
jne 0x45cbe7
mov eax, 0x75ed44
mov eax, dword [eax]
mov ecx, dword [esi + 0x200]
push eax
push 0x8039
push 0
push 0x8039
push ecx
call fcn.0045c130
add esp, 0x14
cmp dword [esi + 0x834], 0
jne 0x45cc3e
cmp dword [esp + 0x20], 0
je 0x45cc3e
mov edx, dword [esi + 0x55c]
mov eax, dword [esi + 0x528]
push edx
push 9
push 0x110b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x294]
push ecx
mov ecx, esi
call fcn.00456eb0
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4641c0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x659ce8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [0x752d28], 0
je 0x464207
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.00402a70
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.00402570
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x466880
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x64aafb
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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, 0x75dca0
mov dword [esp + 0x20], eax
call fcn.004338c0
test eax, eax
je 0x4668fd
mov byte [ebx], 1
jmp 0x4669df
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x134], 0
push esi
lea edx, [esp + 0x18]
push str.MIMEDatabaseContent_Type_s
push edx
call fcn.00402f70
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 0x4669a8
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 0x46699d
lea edx, [esp + 0x24]
push edx
push edi
call fcn.00621c8e
add esp, 8
test eax, eax
jne 0x466982
mov byte [ebx], 1
jmp 0x46699d
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x25]
push eax
push 0x678ea8
push ecx
call fcn.00402f70
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.00402570
cmp byte [ebx], 0
jne 0x4669df
cmp byte [ebp], 0
jne 0x4669df
mov eax, dword [esp + 0x18]
push eax
push esi
mov ecx, 0x75dca0
call fcn.00430f90
test eax, eax
je 0x4669df
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.0062016f
add esp, 0x124
ret 0x14
Function at 0x46d960
Capabilities:
Access peb ldr_data
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x64b3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x758898]
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 [0x75dc38]
cmp eax, ebx
jne 0x46d9bd
mov eax, 0x75dc3c
push ebx
push eax
push str._sidmfc.dat
lea ecx, [esp + 0x20]
call fcn.004021b0
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 [0x75dc58]
cmp eax, ebx
jne 0x46d9ef
mov eax, 0x75dc5c
push ebx
push eax
push str._sidmfc.dat
lea ecx, [esp + 0x2c]
call fcn.004021b0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x46da0b
lea eax, [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.0046d730
add esp, 8
test eax, eax
je 0x46da45
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x46da29
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.0046d730
add esp, 8
test eax, eax
je 0x46da86
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0xc]
jle 0x46da86
mov esi, 1
cmp dword [esp + 0x40], ebx
je 0x46da86
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x46da5c
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 0x46da71
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x46da7d
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.00401210
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401210
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.0062016f
add esp, 0x30
ret
Function at 0x47ad80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c438
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
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.004598d0
add esp, 4
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x47ae5b
call fcn.00402500
mov byte [ebp - 4], 1
push 0x67fa00
mov ecx, dword [0x75f69c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
push 0x11001
push 0x678d88
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004734a0
add esp, 0x1c
cmp eax, 1
jne 0x47ae39
mov dword [ebp - 0x18], 2
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push ebx
push str.bVP9Ch
mov eax, dword [0x75dbe4]
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.004b3f90
add esp, 8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
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 [0x75dbe4]
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 0x488070
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x468
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x464], eax
mov edx, dword [0x75dc4c]
test edx, edx
jne 0x488093
mov edx, 0x75dc50
push esi
push edi
lea esi, [esp + 0x5c]
lea esp, [esp]
movzx eax, word [edx]
mov word [esi], ax
add edx, 2
add esi, 2
test ax, ax
jne 0x4880a0
call fcn.004875c0
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x6828c8
push 0
mov esi, 5
call edi
test eax, eax
je 0x4880ef
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x4880ee
push 0x1f4
call ebx
push 0x6828c8
push 0
dec esi
call edi
test eax, eax
jne 0x4880d5
pop ebx
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00620850
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x7c]
push eax
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
xor ecx, esp
call fcn.0062016f
add esp, 0x468
ret

Function at 0x488150
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
xor bl, bl
cmp dword [0x752d2c], 0
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
jne 0x4881d5
cmp dword [0x75e6fc], 0
jne 0x4881fd
mov edx, dword [0x75dbe4]
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 0x4881d5
cmp dword [esp + 0x14], eax
jbe 0x4881d5
push ebp
push eax
call fcn.00623911
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.00624150
add eax, 0x1d
pop ebp
cmp eax, 0x26
ja 0x4881d5
mov bl, 1
cmp dword [0x75e6fc], 0
jne 0x4881fd
cmp dword [0x752d2c], 0
jne 0x4881fd
test bl, bl
jne 0x4881fd
push str._fillregform.html_d
push edi
call fcn.00621810
add esp, 8
test eax, eax
je 0x488237
push edi
push 0x678ea8
push 0x75dc34
call fcn.00402f70
mov eax, dword [0x75e6fc]
add esp, 0xc
test eax, eax
je 0x488230
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.00487a00
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x49a4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x64ddb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
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 0x67997c
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49a5f6
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 0x49a56d
mov dword [esi + 0xc], 0xc8
jmp 0x49a573
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.00624ab0
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 0x49a5b2
mov dword [esi + 0x10], 5
jmp 0x49a5b8
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 0x49a5df
mov dword [esi + 0x14], 1
jmp 0x49a5e5
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.0062016f
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x49a650
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 0x67997c
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49a73c
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.00624ab0
push 0
push 0x64
push edx
push eax
call fcn.00624150
push 0
push 0x62
push edx
push eax
call fcn.00624ab0
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 0x49b410
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 0x67997c
push 0
push str.SoftwareDownloadManagerQueue
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49b47d
push edi
mov edi, dword [esp + 4]
test edi, edi
je 0x49b47c
mov edx, dword [esp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49b454
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 0x49b850
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x64dff8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x758898]
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 [0x75dc38]
test eax, eax
jne 0x49b8a7
mov eax, 0x75dc3c
push 0
push eax
push str._sScheduler
lea ecx, [esp + 0x10]
call fcn.004021b0
mov eax, dword [esp + 4]
test eax, eax
jne 0x49b8c4
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49b8e5
mov eax, dword [esp + 4]
test eax, eax
jne 0x49b8dc
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.00401210
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0062016f
add esp, 0x1c
ret