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

Disassembly:
push ebp
lea ebp, [esp - 0x146c]
mov eax, 0x146c
call fcn.00616f00
push 0xffffffffffffffff
push 0x63e848
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp + 0x1468], 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 [0x754190]
push ecx
lea ecx, [ebp]
call fcn.00510bc0
mov byte [ebp - 4], 1
lea edx, [esi + 0x240]
mov dword [ebp + 0xc8], edx
mov dword [ebp + 0xb0], 0x753268
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 + 0x1438], edx
lea ecx, [ebp]
call fcn.005fffa1
mov dword [0x753664], 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 [0x752bcc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x458900
cmp byte [esi + 0x283], bl
jne 0x4588db
cmp dword [ebp - 0x14], ebx
je 0x458900
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 0x458900
cmp dword [ebp - 0x14], ebx
jne 0x458900
mov ecx, dword [esi + 0x23c]
push ecx
mov ecx, esi
call fcn.00450b50
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.0050fbd0
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 + 0x1468]
xor ecx, ebp
call fcn.006157d3
add ebp, 0x146c
mov esp, ebp
pop ebp
ret
Function at 0x458ef0
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.005ea90a
push edi
lea ecx, [esi + 0x444]
call fcn.005ea90a
mov eax, dword [esi + 0x364]
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
lea ecx, [esi + 0x498]
call fcn.005ea90a
push edi
lea ecx, [esi + 0x508]
call fcn.005ea90a
xor ecx, ecx
test edi, edi
setne cl
push ecx
lea ecx, [esi + 0x81c]
call fcn.004bcf90
cmp dword [esi + 0x834], 0
mov edi, dword [esi + 0x11ac]
je 0x458f5d
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.005f28ea
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.005ea8ca
cmp dword [esi + 0x834], 0
mov eax, 0x753ce8
jne 0x458fb7
mov eax, 0x753cec
mov eax, dword [eax]
mov ecx, dword [esi + 0x200]
push eax
push 0x8039
push 0
push 0x8039
push ecx
call fcn.00458400
add esp, 0x14
cmp dword [esi + 0x834], 0
jne 0x45900e
cmp dword [esp + 0x20], 0
je 0x45900e
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.004532c0
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4602a0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6390b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [0x747d18], 0
je 0x4602e7
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 0x462010
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x63ff1b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
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, 0x752c78
mov dword [esp + 0x20], eax
call fcn.00432da0
test eax, eax
je 0x46208d
mov byte [ebx], 1
jmp 0x46216f
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 0x462138
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 0x46212d
lea edx, [esp + 0x24]
push edx
push edi
call fcn.006172ee
add esp, 8
test eax, eax
jne 0x462112
mov byte [ebx], 1
jmp 0x46212d
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x25]
push eax
push 0x66dea8
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 0x46216f
cmp byte [ebp], 0
jne 0x46216f
mov eax, dword [esp + 0x18]
push eax
push esi
mov ecx, 0x752c78
call fcn.00430490
test eax, eax
je 0x46216f
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.006157d3
add esp, 0x124
ret 0x14
Function at 0x468f70
Capabilities:
Access peb ldr_data
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6407d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x74d890]
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 [0x752c1c]
cmp eax, ebx
jne 0x468fcd
mov eax, 0x752c20
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 [0x752c3c]
cmp eax, ebx
jne 0x468fff
mov eax, 0x752c40
push ebx
push eax
push str._sidmfc.dat
lea ecx, [esp + 0x2c]
call fcn.004021b0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x46901b
lea eax, [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00468d40
add esp, 8
test eax, eax
je 0x469055
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x469039
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.00468d40
add esp, 8
test eax, eax
je 0x469096
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0xc]
jle 0x469096
mov esi, 1
cmp dword [esp + 0x40], ebx
je 0x469096
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x46906c
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 0x469081
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x46908d
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.006157d3
add esp, 0x30
ret
Function at 0x476a40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641878
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x74d890]
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.00455ca0
add esp, 4
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x476b1b
call fcn.00402500
mov byte [ebp - 4], 1
push 0x674738
mov ecx, dword [0x754644]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
push 0x11001
push 0x66dd88
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f2a0
add esp, 0x1c
cmp eax, 1
jne 0x476af9
mov dword [ebp - 0x18], 2
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push ebx
push str.bVP9Ch
mov eax, dword [0x752bcc]
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.004ad5f0
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 [0x752bcc]
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 0x4826c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x468
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x464], eax
mov edx, dword [0x752c30]
test edx, edx
jne 0x4826e3
mov edx, 0x752c34
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 0x4826f0
call fcn.00481c10
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x6775f8
push 0
mov esi, 5
call edi
test eax, eax
je 0x48273f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x48273e
push 0x1f4
call ebx
push 0x6775f8
push 0
dec esi
call edi
test eax, eax
jne 0x482725
pop ebx
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00615eb0
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.006157d3
add esp, 0x468
ret

Function at 0x4827a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
xor bl, bl
cmp dword [0x747d1c], 0
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
jne 0x482825
cmp dword [0x7536a8], 0
jne 0x48284d
mov edx, dword [0x752bcc]
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 0x482825
cmp dword [esp + 0x14], eax
jbe 0x482825
push ebp
push eax
call fcn.00618f71
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.006197b0
add eax, 0x1d
pop ebp
cmp eax, 0x26
ja 0x482825
mov bl, 1
cmp dword [0x7536a8], 0
jne 0x48284d
cmp dword [0x747d1c], 0
jne 0x48284d
test bl, bl
jne 0x48284d
push str._fillregform.html_d
push edi
call fcn.00616e70
add esp, 8
test eax, eax
je 0x482887
push edi
push 0x66dea8
push 0x752c18
call fcn.00402f70
mov eax, dword [0x7536a8]
add esp, 0xc
test eax, eax
je 0x482880
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.00482050
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x492d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x642f68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x74d890]
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 0x66e97c
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x492e56
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 0x492dcd
mov dword [esi + 0xc], 0xc8
jmp 0x492dd3
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.0061a480
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 0x492e12
mov dword [esi + 0x10], 5
jmp 0x492e18
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 0x492e3f
mov dword [esi + 0x14], 1
jmp 0x492e45
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.006157d3
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x492eb0
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 0x66e97c
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x492f9c
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.0061a480
push 0
push 0x64
push edx
push eax
call fcn.006197b0
push 0
push 0x62
push edx
push eax
call fcn.0061a480
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 0x493c70
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 0x66e97c
push 0
push str.SoftwareDownloadManagerQueue
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x493cdd
push edi
mov edi, dword [esp + 4]
test edi, edi
je 0x493cdc
mov edx, dword [esp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493cb4
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 0x494090
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6431a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x74d890]
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 [0x752c1c]
test eax, eax
jne 0x4940e7
mov eax, 0x752c20
push 0
push eax
push str._sScheduler
lea ecx, [esp + 0x10]
call fcn.004021b0
mov eax, dword [esp + 4]
test eax, eax
jne 0x494104
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x494125
mov eax, dword [esp + 4]
test eax, eax
jne 0x49411c
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.006157d3
add esp, 0x1c
ret
Function at 0x4949b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x44
mov eax, dword [0x74d890]
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.00494590
mov ecx, esi
call fcn.00494750
push edi
mov ecx, esi
call fcn.00493f00
cmp eax, ebx
je 0x4949fe
mov ecx, dword [esi + 0x84]
mov dword [eax + 0x4ec], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.006186ab
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0xf003f
push ebx
push 0x66e97c
push ebx
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x494a6b
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 [0x753244]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x494a98
mov edx, dword [0x753244]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x753250]
push eax
call ebx
test eax, eax
je 0x494ab8
mov ecx, dword [0x753250]
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.006157d3
add esp, 0x44
ret 4
Function at 0x494ad0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x68
mov eax, dword [0x74d890]
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 0x494b00
cmp dword [esi + 8], ebx
je 0x494bc1
mov esi, dword [esi]
cmp esi, ebp
jne 0x494af1
cmp dword [esp + 0x80], ebp
je 0x494bac
push ebx
call fcn.00493f00
cmp eax, ebp
je 0x494b1d
mov dword [eax + 0x4ec], ebp
push ebx
lea ecx, [esp + 0x50]
push str.SoftwareDownloadManager_ld
push ecx
call fcn.006186ab
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push 0xf003f
push ebp
push 0x66e97c
push ebp
lea ecx, [esp + 0x68]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x494b84
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 [0x753250]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x494bac
mov eax, dword [0x753250]
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.006157d3
add esp, 0x68
ret 8
mov eax, dword [0x753244]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x494be9
mov ecx, dword [0x753244]
push ebx
push 0x1397
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov ecx, edi
call fcn.00493fe0
mov ecx, edi
call fcn.00494750
push ebx
mov ecx, edi
call fcn.00493f00
cmp eax, ebp
je 0x494c0a
mov dword [eax + 0x4ec], ebp
push ebx
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.006186ab
add esp, 0xc
cmp dword [esp + 0x80], ebp
je 0x494c7d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push 0x66e97c
push ebp
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x494b84
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 0x494b7e
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 0x494b84
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 0x494b7d