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

Disassembly:
sub esp, 0x44
mov eax, dword [0x7496c8]
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.00493250
mov ecx, esi
call fcn.00493410
push edi
mov ecx, esi
call fcn.00492bc0
cmp eax, ebx
je 0x4936be
mov ecx, dword [esi + 0x84]
mov dword [eax + 0x4e4], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0061611b
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0xf003f
push ebx
push 0x66b96c
push ebx
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49372b
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 [0x74f084]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x493758
mov edx, dword [0x74f084]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x74f090]
push eax
call ebx
test eax, eax
je 0x493778
mov ecx, dword [0x74f090]
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.00613241
add esp, 0x44
ret 4
Function at 0x493790
Capabilities:
Set registry value

Disassembly:
sub esp, 0x68
mov eax, dword [0x7496c8]
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 0x4937c0
cmp dword [esi + 8], ebx
je 0x493881
mov esi, dword [esi]
cmp esi, ebp
jne 0x4937b1
cmp dword [esp + 0x80], ebp
je 0x49386c
push ebx
call fcn.00492bc0
cmp eax, ebp
je 0x4937dd
mov dword [eax + 0x4e4], ebp
push ebx
lea ecx, [esp + 0x50]
push str.SoftwareDownloadManager_ld
push ecx
call fcn.0061611b
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push 0xf003f
push ebp
push 0x66b96c
push ebp
lea ecx, [esp + 0x68]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x493844
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 [0x74f090]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49386c
mov eax, dword [0x74f090]
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.00613241
add esp, 0x68
ret 8
mov eax, dword [0x74f084]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4938a9
mov ecx, dword [0x74f084]
push ebx
push 0x1397
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov ecx, edi
call fcn.00492ca0
mov ecx, edi
call fcn.00493410
push ebx
mov ecx, edi
call fcn.00492bc0
cmp eax, ebp
je 0x4938ca
mov dword [eax + 0x4e4], ebp
push ebx
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0061611b
add esp, 0xc
cmp dword [esp + 0x80], ebp
je 0x49393d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push 0x66b96c
push ebp
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x493844
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 0x49383e
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 0x493844
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 0x49383d
Function at 0x493ec0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x260]
sub esp, 0x260
push 0xffffffffffffffff
push 0x640af3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x7496c8]
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 [0x74ea5c]
cmp esi, ebx
jne 0x493f31
mov esi, 0x74ea60
push ebx
push 0xa
lea ecx, [ebp + 0x21c]
push ecx
mov edx, dword [edi + 0x84]
push edx
call fcn.00615fa2
add esp, 0xc
push eax
push esi
push str._sSchedulerq__s.dt
lea ecx, [ebp + 0x210]
call fcn.00402320
mov eax, dword [ebp + 0x210]
cmp eax, ebx
jne 0x493f6c
lea eax, [ebp + 0x214]
push 0x676aec
push eax
call fcn.00615f0d
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x494047
push ebx
call fcn.0061a794
push eax
call fcn.0061853a
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.005e76b2
add esp, 0xc
mov edi, eax
test edi, edi
je 0x49403b
push ebx
push esi
push 1
push edi
call fcn.00618228
add esp, 0x10
cmp eax, esi
jne 0x494032
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 0x493fd0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493fd0
sub eax, edx
je 0x494032
jmp 0x493fe0
test esi, esi
je 0x494032
lea ecx, [ebp - 0x20]
push ecx
push 0x66b5ec
push esi
call fcn.00614c2e
add esp, 0xc
cmp eax, 1
jne 0x494018
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.00493250
push 0x20
push esi
call fcn.00614820
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x494032
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x493fe0
push edi
call fcn.005e76a7
add esp, 4
push ebx
call fcn.00615be7
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x84]
cmp eax, 2
jg 0x494059
mov dword [edi + 0x78], 4
cmp eax, 1
jne 0x49406b
cmp byte [ebp - 0x11], 0
jne 0x49406b
mov ecx, edi
call fcn.00493a00
cmp dword [edi + 0x84], 2
jne 0x494078
mov byte [edi + 0x28], 0
mov ecx, edi
call fcn.00492e40
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.00613241
add ebp, 0x260
mov esp, ebp
pop ebp
ret
Function at 0x497740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640e70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
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
call fcn.00497690
test eax, eax
je 0x4978d3
cmp dword [esi + 0x10], 0
je 0x4978d3
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
push 0
push 0
push 0
mov eax, dword [esi + 0x10]
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x50010000
push str.IDM_DwnlProgress_Window
push str.IDM_DownloadProgressComponent_class
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 8], eax
test eax, eax
je 0x4978d3
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push 0
push 0x110
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0
call edi
mov edi, eax
push 0x2040
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
cmp dword [0x74e9dc], 0
je 0x497823
push 0x167
jmp 0x497828
push 0x168
push edi
call ebx
mov dword [esi + 0x238], eax
push 0x2040
push 0
push 0
push 0
push 0x16a
push edi
call ebx
mov dword [esi + 0x23c], eax
push 0x2040
push 0
push 0
push 0
push 0x169
push edi
call ebx
mov dword [esi + 0x240], eax
push 0x2040
push 0
push 0
push 0
push 0x166
push edi
call ebx
mov dword [esi + 0x244], eax
lea eax, [ebp - 0x28]
push eax
push 0x18
mov ecx, dword [esi + 0x240]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x2c], ecx
mov eax, dword [esi + 0x18]
push 8
push ecx
mov edx, dword [esi + 0x20]
sub edx, eax
push edx
mov ecx, dword [esi + 0x1c]
push ecx
push eax
push 0
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x10]
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_SetParent]
push 5
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
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 0x497900
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
mov dword [esi + 0x24c], eax
test eax, eax
je 0x49793d
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
call fcn.00496370
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00497740
pop edi
pop esi
ret 0xc

Function at 0x497ad0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x74ea0c]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.dPrDtVis
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x497b09
cmp dword [esp + 4], eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x497b40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0
push 0x400
mov edi, dword [ebp + 0xc]
push edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.006172d0
mov dword [ebp - 0x28], eax
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
push 0
push 0x400
push eax
push ecx
call fcn.00617220
mov esi, eax
and esi, 0x800003ff
jns 0x497bc4
dec esi
or esi, 0xfffffc00
inc esi
mov eax, esi
shl eax, 0xa
cdq
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
sub ecx, dword [ebp - 0x1c]
sbb eax, dword [ebp - 0x18]
push 0
push 0x100000
push eax
push ecx
call fcn.00617220
and eax, 0x800003ff
jns 0x497bf4
dec eax
or eax, 0xfffffc00
inc eax
mov dword [ebp - 0x24], eax
push 0
push 0x40000000
push edi
push ebx
call fcn.00617220
mov edi, eax
push 8
lea ecx, [ebp - 0x1c]
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x497c27
mov edx, 0x2c
mov word [ebp - 0x1c], dx
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x497cb8
cmp ecx, 0x3e7
jg 0x497cb8
test ecx, ecx
jne 0x497c95
cmp esi, 0x3e7
jg 0x497c95
test esi, esi
je 0x497c77
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov ecx, dword [0x74fec8]
push ecx
push eax
lea edx, [ebp - 0x1c]
push edx
push esi
push str._d_s_03d___s
mov eax, dword [ebp - 0x20]
push eax
jmp 0x497ce2
mov ecx, dword [0x74fecc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push str._d___s
mov eax, dword [ebp - 0x20]
push eax
call fcn.0061611b
add esp, 0x10
jmp 0x497cea
mov eax, esi
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x74fec4]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
jmp 0x497cd9
mov eax, ecx
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x74fec0]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str._d_s_03d___s
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0061611b
add esp, 0x18
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 - 0x14]
xor ecx, ebp
call fcn.00613241
mov esp, ebp
pop ebp
ret 0xc

Function at 0x497dc0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x74f070]
test ecx, ecx
je 0x497e0a
mov eax, dword [esi + 0x20]
push eax
call fcn.005411e0
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x497e0a
mov eax, dword [esi + 0x74]
test eax, eax
je 0x497df2
mov byte [eax + 0xae5], 1
mov edx, dword [esi + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push eax
call edi
pop edi
pop esi
ret
Function at 0x498870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641040
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0xbf8], bl
je 0x49892e
cmp byte [esi + 0x81], bl
je 0x49892e
mov byte [esi + 0x8a4], 1
mov byte [esi + 0x81], bl
mov dword [esi + 0x564], ebx
lea edi, [esi + 0x414]
push ebx
push ebx
push 0x2000000
mov ecx, edi
call fcn.005e8435
lea eax, [esi + 0x7c0]
push eax
mov ecx, edi
call fcn.005fdcb2
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.005fd9dc
push eax
mov ecx, edi
call fcn.005fd46f
cmp eax, ebx
jl 0x498910
push eax
mov ecx, edi
call fcn.005fd443
push 1
mov ecx, edi
call fcn.005fd9dc
mov ecx, eax
call fcn.00423f60
push ebx
push 0x2000000
push ebx
mov ecx, edi
call fcn.005e8435
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideSLTabOnDwnlDlg
mov eax, dword [0x74ea0c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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 0x498980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641060
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi + 0xbf8], bl
je 0x498a34
cmp byte [edi + 0x82], bl
je 0x498a34
mov byte [edi + 0x6dc], 1
mov byte [edi + 0x82], bl
lea esi, [edi + 0x414]
push ebx
push ebx
push 0x2000000
mov ecx, esi
call fcn.005e8435
lea eax, [edi + 0x5f8]
push eax
mov ecx, esi
call fcn.005fdcb2
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.005fd9dc
push eax
mov ecx, esi
call fcn.005fd46f
cmp eax, ebx
jl 0x498a16
push eax
mov ecx, esi
call fcn.005fd443
push 1
mov ecx, esi
call fcn.005fd9dc
mov ecx, eax
call fcn.00423f60
push ebx
push 0x2000000
push ebx
mov ecx, esi
call fcn.005e8435
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideCTabOnDwnlDlg
mov eax, dword [0x74ea0c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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 0x49c560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6414fb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor eax, eax
cmp byte [ebp + 8], al
setne al
mov dword [ebp - 0x228], eax
push 4
lea ecx, [ebp - 0x228]
push ecx
push 4
push 0
push str.ShowDropTarget
mov edx, dword [0x74ea0c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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 - 0x14]
xor ecx, ebp
call fcn.00613241
mov esp, ebp
pop ebp
ret 4

Function at 0x49cbf3
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.005e93b2
push 0x66d
mov ecx, esi
mov dword [esi + 0xd8], esi
mov dword [esi + 0xdc], 0x66d
call fcn.005e82f7
mov eax, dword [eax + 0x20]
push esi
mov dword [esi + 0xd4], eax
call fcn.00457720
add esp, 4
cmp dword [0x74eb48], 0
je 0x49cc9e
push 0x12a
push esi
mov ecx, 0x74eb08
call fcn.004ddac0
mov ecx, dword [0x750168]
push ecx
push 0x66a
mov ecx, esi
call fcn.005e82f7
mov edx, dword [eax + 0x20]
push edx
call fcn.00424060
mov eax, dword [0x75016c]
add esp, 8
push eax
push 0x66b
mov ecx, esi
call fcn.005e82f7
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00424060
mov edx, dword [0x750170]
add esp, 8
push edx
push 0x66c
mov ecx, esi
call fcn.005e82f7
mov eax, dword [eax + 0x20]
push eax
call fcn.00424060
add esp, 8
mov ecx, dword [esi + 0xc8]
push ecx
lea ecx, [esi + 0x74]
call fcn.005e8461
mov ecx, dword [0x74ea0c]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.DuplLinksA
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49cce3
mov edx, dword [esp + 8]
mov dword [esi + 0xcc], edx
mov eax, dword [esi + 0xcc]
sub eax, 1
mov ecx, 0x66c
je 0x49cd04
sub eax, 1
je 0x49ccfd
sub eax, 1
jmp 0x49cd09
mov ecx, 0x66b
jmp 0x49cd09
mov ecx, 0x66a
push ecx
mov ecx, esi
call fcn.005e82f7
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x49f530
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, ecx
push ebx
push eax
lea edi, [esi + 0x88]
push 1
mov ecx, edi
call fcn.005f3d2e
mov ebp, eax
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x49f58f
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push ebx
push eax
mov dword [esp + 0x60], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49f58f
cmp dword [esp + 0x4c], 2
je 0x49f5b7
mov ecx, dword [esi + 0xa8]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x102b
push ecx
mov dword [esp + 0x30], 0xf000
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ecx, edi
call fcn.005f3d71
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x49f8d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x641b00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
mov ecx, dword [esi + 0x110]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
cmp edi, dword [esi + 0x13c]
push 0
sete al
push 0
push 0xf0
push ecx
mov dword [esp + 0x2c], eax
call ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0x18]
push edx
push 4
neg eax
push 0
sbb eax, eax
push str.PanelView
add eax, 2
push edi
mov dword [esp + 0x2c], eax
call ebx
mov eax, dword [esi + 0x100]
push 0
push 0
push 0xf0
push eax
call ebp
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
neg eax
push 0
sbb eax, eax
push str.DonlCaptWP
add eax, 2
push edi
mov dword [esp + 0x2c], eax
call ebx
mov edx, dword [esi + 0xa8]
push 0
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
mov edi, eax
test edi, edi
jl 0x49fa98
mov eax, dword [esi + 0xa8]
push 0xf000
push edi
push 0x102c
push eax
call ebp
shr eax, 0xc
dec eax
neg eax
push 0
sbb eax, eax
push edi
lea ecx, [esp + 0x20]
add eax, 2
push ecx
lea ecx, [esi + 0x88]
mov dword [esp + 0x20], eax
call fcn.005f422a
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x18]
mov eax, ecx
lea ebx, [eax + 1]
jmp 0x49f9e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x49f9e0
sub eax, ebx
je 0x49fa55
mov eax, dword [esp + 0x38]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push ecx
push eax
call ebx
cmp dword [esp + 0x1c], 0
je 0x49fa55
cmp dword [esi + 0x140], 0
je 0x49fa55
push edi
lea ecx, [esi + 0x88]
call fcn.005f3882
mov dword [esp + 0x20], eax
test eax, eax
je 0x49fa43
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x140]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push edx
push eax
call ebx
jmp 0x49fa55
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x140]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49fa7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xa8]
push 0
push edi
push 0x100c
push ecx
call ebp
mov edi, eax
test edi, edi
jge 0x49f994
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x49fab3
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x13c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x49faf3
push eax
call fcn.0049f8d0
mov eax, dword [esi + 0x13c]
push eax
call edi
mov ecx, dword [esi + 0x140]
push ecx
call edi
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManagerIDMBIFirefoxDwnlPanel
push 0x80000001
call ebp
test eax, eax
jne 0x49fb31
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.0049f8d0
mov ecx, dword [esp + 0xc]
push ecx
call edi
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManagerIDMBIIEXPLOREDwnlPanel
push 0x80000001
call ebp
pop ebp
test eax, eax
jne 0x49fb69
mov eax, dword [esp + 8]
push eax
mov ecx, esi
call fcn.0049f8d0
mov ecx, dword [esp + 8]
push ecx
call edi
cmp byte [esi + 0x144], 0
je 0x49fbaf
mov edx, dword [esi + 0xe0]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x74ea0c]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.CatchSecureRTMP
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
call fcn.005f3511
pop edi
pop esi
add esp, 8
ret