joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495200
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x260]
sub esp, 0x260
push 0xffffffffffffffff
push 0x643313
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x74d890]
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 [0x752c1c]
cmp esi, ebx
jne 0x495271
mov esi, 0x752c20
push ebx
push 0xa
lea ecx, [ebp + 0x21c]
push ecx
mov edx, dword [edi + 0x84]
push edx
call fcn.00618532
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 0x4952ac
lea eax, [ebp + 0x214]
push 0x679b18
push eax
call fcn.0061849d
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x495387
push ebx
call fcn.0061cd07
push eax
call fcn.0061aaca
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.005e9aa7
add esp, 0xc
mov edi, eax
test edi, edi
je 0x49537b
push ebx
push esi
push 1
push edi
call fcn.0061a7b8
add esp, 0x10
cmp eax, esi
jne 0x495372
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 0x495310
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x495310
sub eax, edx
je 0x495372
jmp 0x495320
test esi, esi
je 0x495372
lea ecx, [ebp - 0x20]
push ecx
push 0x66e5fc
push esi
call fcn.006171be
add esp, 0xc
cmp eax, 1
jne 0x495358
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.00494590
push 0x20
push esi
call fcn.00616db0
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x495372
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x495320
push edi
call fcn.005e9ab2
add esp, 4
push ebx
call fcn.00618177
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x84]
cmp eax, 2
jg 0x495399
mov dword [edi + 0x78], 4
cmp eax, 1
jne 0x4953ab
cmp byte [ebp - 0x11], 0
jne 0x4953ab
mov ecx, edi
call fcn.00494d40
cmp dword [edi + 0x84], 2
jne 0x4953b8
mov byte [edi + 0x28], 0
mov ecx, edi
call fcn.00494180
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x210]
call fcn.00401210
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.006157d3
add ebp, 0x260
mov esp, ebp
pop ebp
ret
Function at 0x498a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643690
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.004989d0
test eax, eax
je 0x498c13
cmp dword [esi + 0x10], 0
je 0x498c13
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 0x498c13
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 [0x752b9c], 0
je 0x498b63
push 0x167
jmp 0x498b68
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 0x498c40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
mov dword [esi + 0x24c], eax
test eax, eax
je 0x498c7d
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
call fcn.004976b0
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00498a80
pop edi
pop esi
ret 0xc

Function at 0x498e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x752bcc]
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 0x498e49
cmp dword [esp + 4], eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x498e80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6436e0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x74d890]
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.00619860
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.006197b0
mov esi, eax
and esi, 0x800003ff
jns 0x498f04
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.006197b0
and eax, 0x800003ff
jns 0x498f34
dec eax
or eax, 0xfffffc00
inc eax
mov dword [ebp - 0x24], eax
push 0
push 0x40000000
push edi
push ebx
call fcn.006197b0
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 0x498f67
mov edx, 0x2c
mov word [ebp - 0x1c], dx
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x498ff8
cmp ecx, 0x3e7
jg 0x498ff8
test ecx, ecx
jne 0x498fd5
cmp esi, 0x3e7
jg 0x498fd5
test esi, esi
je 0x498fb7
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov ecx, dword [0x754088]
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 0x499022
mov ecx, dword [0x75408c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push str._d___s
mov eax, dword [ebp - 0x20]
push eax
call fcn.006186ab
add esp, 0x10
jmp 0x49902a
mov eax, esi
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x754084]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
jmp 0x499019
mov eax, ecx
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x754080]
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.006186ab
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.006157d3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x499100
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x753230]
test ecx, ecx
je 0x49914a
mov eax, dword [esi + 0x20]
push eax
call fcn.005425b0
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49914a
mov eax, dword [esi + 0x74]
test eax, eax
je 0x499132
mov byte [eax + 0xaed], 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 0x499b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643860
mov eax, dword fs:[0]
push eax
sub esp, 8
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
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0xbf8], bl
je 0x499c4e
cmp byte [esi + 0x81], bl
je 0x499c4e
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.005ea813
lea eax, [esi + 0x7c0]
push eax
mov ecx, edi
call fcn.00600244
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.005fff6e
push eax
mov ecx, edi
call fcn.005ffa01
cmp eax, ebx
jl 0x499c30
push eax
mov ecx, edi
call fcn.005ff9d5
push 1
mov ecx, edi
call fcn.005fff6e
mov ecx, eax
call fcn.00423c60
push ebx
push 0x2000000
push ebx
mov ecx, edi
call fcn.005ea813
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideSLTabOnDwnlDlg
mov eax, dword [0x752bcc]
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 0x499ca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643880
mov eax, dword fs:[0]
push eax
sub esp, 8
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
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi + 0xbf8], bl
je 0x499d54
cmp byte [edi + 0x82], bl
je 0x499d54
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.005ea813
lea eax, [edi + 0x5f8]
push eax
mov ecx, esi
call fcn.00600244
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.005fff6e
push eax
mov ecx, esi
call fcn.005ffa01
cmp eax, ebx
jl 0x499d36
push eax
mov ecx, esi
call fcn.005ff9d5
push 1
mov ecx, esi
call fcn.005fff6e
mov ecx, eax
call fcn.00423c60
push ebx
push 0x2000000
push ebx
mov ecx, esi
call fcn.005ea813
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideCTabOnDwnlDlg
mov eax, dword [0x752bcc]
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 0x49d890
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643d1b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x74d890]
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 [0x752bcc]
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.006157d3
mov esp, ebp
pop ebp
ret 4

Function at 0x49df23
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.005eb78c
push 0x66d
mov ecx, esi
mov dword [esi + 0xd8], esi
mov dword [esi + 0xdc], 0x66d
call fcn.005ea6d5
mov eax, dword [eax + 0x20]
push esi
mov dword [esi + 0xd4], eax
call fcn.004583e0
add esp, 4
cmp dword [0x752d08], 0
je 0x49dfce
push 0x12a
push esi
mov ecx, 0x752cc8
call fcn.004deca0
mov ecx, dword [0x754328]
push ecx
push 0x66a
mov ecx, esi
call fcn.005ea6d5
mov edx, dword [eax + 0x20]
push edx
call fcn.00423d60
mov eax, dword [0x75432c]
add esp, 8
push eax
push 0x66b
mov ecx, esi
call fcn.005ea6d5
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00423d60
mov edx, dword [0x754330]
add esp, 8
push edx
push 0x66c
mov ecx, esi
call fcn.005ea6d5
mov eax, dword [eax + 0x20]
push eax
call fcn.00423d60
add esp, 8
mov ecx, dword [esi + 0xc8]
push ecx
lea ecx, [esi + 0x74]
call fcn.005ea83f
mov ecx, dword [0x752bcc]
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 0x49e013
mov edx, dword [esp + 8]
mov dword [esi + 0xcc], edx
mov eax, dword [esi + 0xcc]
sub eax, 1
mov ecx, 0x66c
je 0x49e034
sub eax, 1
je 0x49e02d
sub eax, 1
jmp 0x49e039
mov ecx, 0x66b
jmp 0x49e039
mov ecx, 0x66a
push ecx
mov ecx, esi
call fcn.005ea6d5
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 0x4a0860
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.005f6114
mov ebp, eax
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x4a08bf
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 0x4a08bf
cmp dword [esp + 0x4c], 2
je 0x4a08e7
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.005f6157
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x4a0c00
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x644330
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
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 0x4a0dc8
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.005f6610
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x18]
mov eax, ecx
lea ebx, [eax + 1]
jmp 0x4a0d10
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a0d10
sub eax, ebx
je 0x4a0d85
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 0x4a0d85
cmp dword [esi + 0x140], 0
je 0x4a0d85
push edi
lea ecx, [esi + 0x88]
call fcn.005f5c7d
mov dword [esp + 0x20], eax
test eax, eax
je 0x4a0d73
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 0x4a0d85
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 0x4a0dad
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 0x4a0cc4
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 0x4a0de3
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 0x4a0e23
push eax
call fcn.004a0c00
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 0x4a0e61
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.004a0c00
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 0x4a0e99
mov eax, dword [esp + 8]
push eax
mov ecx, esi
call fcn.004a0c00
mov ecx, dword [esp + 8]
push ecx
call edi
cmp byte [esi + 0x144], 0
je 0x4a0edf
mov edx, dword [esi + 0xe0]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x752bcc]
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.0062afa9
pop edi
pop esi
add esp, 8
ret
Function at 0x4a2a90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x94
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
push 0x40
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edi
call fcn.00615eb0
mov ecx, dword [str.S_1_16_8192]
mov eax, dword [0x67e2ec]
mov edx, dword [0x67e2e8]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x67e2f0]
mov dword [esp + 0x8c], eax
mov eax, dword [0x67e2f8]
add esp, 0xc
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [0x67e2f4]
mov dword [esp + 0x8c], eax
xor eax, eax
push ecx
push 0x8b
xor ebp, ebp
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
cmp esi, edi
je 0x4a2c1c
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 1
push 2
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, eax
cmp esi, edi
je 0x4a2c1c
push str.Advapi32.dll
call fcn.00447330
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x4a2c1c
push str.ConvertStringSidToSidW
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4a2c1c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x7c]
push edx
call eax
mov esi, eax
cmp esi, edi
je 0x4a2c1c
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ecx, dword [esp + 0x10]
add eax, 8
push eax
lea eax, [esp + 0x20]
push eax
push 0x19
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, eax
cmp esi, edi
je 0x4a2c1c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x4a2c2d
push eax
call ebx
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4a2c38
push eax
call ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4a2c4e
push eax
call ebx
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4a2c59
push eax
call ebx
cmp ebp, edi
je 0x4a2c64
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0xa0]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006157d3
add esp, 0x94
ret