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

Disassembly:
push 0xffffffffffffffff
push 0x636cc1
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x4ac], eax
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4d0]
xor ebx, ebx
xor eax, eax
xor edi, edi
mov dword [esi], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], ax
mov dword [esp + 0x4c8], ebx
mov eax, dword [0x74ea7c]
cmp eax, ebx
jne 0x41961b
mov eax, 0x74ea80
push ebx
push str.IDMGCExt.crx
push eax
push 0x66add0
lea ecx, [esp + 0x30]
call fcn.00402320
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x4c8], 1
push str.ngpampappnmepgilojfohadhhmbhlaek
lea ecx, [esp + 0x14]
push str.SOFTWAREGoogleChromeExtensions_s
push ecx
call fcn.00402f80
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4197c1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xb0]
push edx
push ebx
push ebx
push 0x66ed90
push eax
mov dword [esi], 1
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4197b6
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4196bc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.0061874a
add esp, 8
test eax, eax
jne 0x4197b6
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push 0x66ed88
push ecx
mov dword [esp + 0x2c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4197b6
mov edx, dword [0x74ebd4]
lea ecx, [esp + 0x2c]
jmp 0x419710
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x419730
cmp al, bl
je 0x41972c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x419730
add ecx, 2
add edx, 2
cmp al, bl
jne 0x419710
xor eax, eax
jmp 0x419735
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x419740
mov edi, 1
jmp 0x4197b6
lea ecx, [esp + 0x1c]
call fcn.00402500
mov byte [esp + 0x4c8], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41975d
lea eax, [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00419420
add esp, 8
test eax, eax
je 0x4197a5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x419797
cmp dl, bl
je 0x419793
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x419797
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x419777
xor eax, eax
jmp 0x41979c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4197a5
mov edi, 1
mov byte [esp + 0x4c8], 1
lea ecx, [esp + 0x1c]
call fcn.00402570
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x4c8], bl
lea ecx, [esp + 0x10]
call fcn.00402570
mov dword [esp + 0x4c8], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004011f0
mov eax, edi
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4ac]
xor ecx, esp
call fcn.00613241
add esp, 0x4bc
ret 4
Function at 0x41a650
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x636e06
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSet_serviceskltdi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a871
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.ImagePath
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41a871
lea ecx, [esp + 8]
call fcn.00402500
mov dword [esp + 0x274], 0
push 2
lea ecx, [esp + 0x65]
push 0x66ee84
push ecx
call fcn.0061a99c
add esp, 0xc
test eax, eax
jne 0x41a717
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0xc]
call fcn.00545860
jmp 0x41a7b9
push 4
lea eax, [esp + 0x64]
push 0x66ee7c
push eax
call fcn.0061499b
add esp, 0xc
test eax, eax
jne 0x41a73f
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0xc]
call fcn.00545860
jmp 0x41a7b9
lea edx, [esp + 0x60]
push str.system32_
push edx
call fcn.006148e0
mov esi, eax
add esp, 8
test esi, esi
je 0x41a85d
push 0x104
lea eax, [esp + 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x41a85d
lea eax, [esp + 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a780
sub eax, edx
cmp byte [esp + eax + 0x163], 0x5c
mov eax, 0x66b96c
je 0x41a79d
mov eax, 0x66ee6c
push esi
push eax
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x14]
push 0x66ee64
push edx
call fcn.00402f80
add esp, 0x14
mov eax, dword [esp + 8]
push str.kltdi.sys
push eax
call fcn.006148e0
add esp, 8
test eax, eax
je 0x41a85d
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406fc0
mov byte [esp + 0x274], 1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41a7f5
lea eax, [esp + 0x18]
push 0x40
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004110f0
add esp, 0xc
test eax, eax
je 0x41a84c
push 8
lea eax, [esp + 0x24]
push str.1.2.0.13
push eax
call fcn.0061499b
add esp, 0xc
test eax, eax
jne 0x41a84c
mov byte [esp + 0x274], al
lea ecx, [esp + 0x14]
call fcn.004011f0
mov dword [esp + 0x274], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
mov eax, 1
jmp 0x41a873
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x14]
call fcn.004011f0
mov dword [esp + 0x274], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
xor eax, eax
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00613241
add esp, 0x270
ret
Function at 0x41ac60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x636ec8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edx, dword [0x74ea0c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push str.bShPmnExtMsg
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41acba
cmp dword [esp + 8], 1
je 0x41ad6e
lea ecx, [esp + 4]
call fcn.00402500
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
push 0
lea eax, [esp + 8]
push eax
push ecx
call fcn.00416180
add esp, 0xc
test eax, eax
jne 0x41acf3
push 1
push 0x66f09c
lea ecx, [esp + 0xc]
call fcn.00402960
mov edx, dword [esp + 4]
push 3
push 0x66f098
push edx
call fcn.0061499b
add esp, 0xc
test eax, eax
jne 0x41ad5d
mov ecx, dword [0x74ea0c]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.bShPmnExtMsg
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x7500f0]
mov eax, dword [0x750538]
push 0
push edx
push eax
push 0
call fcn.0046db70
add esp, 0x10
push str.https:__www.internetdownloadmanager.com_support_palemoon28addon.html
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004ac020
add esp, 8
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 4]
call fcn.00402570
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret
Function at 0x41b0f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x636f81
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, dword [esp + 0x23c]
mov esi, dword [esp + 0x238]
xor eax, eax
cmp edi, 1
mov ebp, ecx
jle 0x41b2ba
cmp dword [esi + 8], eax
je 0x41b2ba
cmp dword [esi + 0x10], eax
je 0x41b2ba
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x230], 0
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, ebp
call fcn.00417860
test eax, eax
jne 0x41b18a
push str.this
lea ecx, [esp + 0x18]
call fcn.00545860
mov eax, dword [0x74ea7c]
mov edi, 1
mov dword [esp + 0x18], edi
test eax, eax
jne 0x41b1a1
mov eax, 0x74ea80
push str.idmmzcc.xpi
push eax
lea ecx, [esp + 0x24]
push 0x66e020
push ecx
call fcn.0040fc20
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b237
cmp dword [esp + 0x240], 0
je 0x41b21c
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x230], 1
mov eax, dword [0x7503a8]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x1c]
push 0x30
push 0x66ad78
push edx
push 0
call fcn.0046db70
add esp, 0x1c
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x10]
call fcn.00402570
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
xor eax, eax
jmp 0x41b2ba
cmp dword [esp + 0x240], 0
je 0x41b295
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x230], 2
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x750130]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00402f80
mov ecx, dword [0x7500f0]
mov edx, dword [esp + 0x20]
push 0x40
push ecx
push edx
push 0
call fcn.0046db70
add esp, 0x20
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x10]
call fcn.00402570
mov eax, dword [esi]
push eax
mov ecx, ebp
call fcn.004127e0
mov dword [esi + 0x10], edi
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00613241
add esp, 0x224
ret 0xc
Function at 0x41b560
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x636ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
lea ecx, [esp + 0x14]
call fcn.00402500
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x4c]
mov eax, str.llbjbkhnmlidjebalopleeepgdfgcpec
cmp ebp, ebx
jne 0x41b5bb
mov eax, str.ngpampappnmepgilojfohadhhmbhlaek
push eax
push edi
lea eax, [esp + 0x1c]
push 0x66dc08
push eax
call fcn.00402f80
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push esi
call fcn.0041b3a0
add esp, 0x20
test eax, eax
jne 0x41b600
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
xor eax, eax
jmp 0x41b72b
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], cx
mov byte [esp + 0x38], 1
mov ecx, str.IDMEdgeExt.crx
cmp ebp, ebx
jne 0x41b624
mov ecx, str.IDMGCExt.crx
mov eax, dword [0x74ea7c]
cmp eax, ebx
jne 0x41b632
mov eax, 0x74ea80
push ebx
push ecx
push eax
push 0x66add0
lea ecx, [esp + 0x30]
call fcn.00402320
mov edx, dword [esp + 0x20]
mov eax, edx
cmp edx, ebx
jne 0x41b651
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b654
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41b66d
lea ecx, [esp + 0x24]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push ecx
push 1
push ebx
push 0x66ed90
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41b68d
lea edi, [eax + 1]
lea ecx, [esp + 0x1c]
call fcn.00402500
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41b6a7
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00419420
add esp, 8
test eax, eax
je 0x41b6c8
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x74ebd4
call fcn.00405920
mov edx, dword [0x74ebd4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b6d3
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push 1
push ebx
push 0x66ed88
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x1c]
call fcn.00402570
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x20]
call fcn.004011f0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00613241
add esp, 0x28
ret
Function at 0x41b750
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x635d88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x3c]
push edx
push ecx
push eax
call fcn.0041b3a0
add esp, 0x10
test eax, eax
je 0x41b847
xor edi, edi
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov word [esp + 0x14], ax
mov dword [esp + 0x28], edi
mov eax, dword [0x74ea7c]
cmp eax, edi
jne 0x41b7c7
mov eax, 0x74ea80
push edi
push str.IDMMsgHost.json
push eax
push 0x66add0
lea ecx, [esp + 0x20]
call fcn.00402320
mov edx, dword [esp + 0x10]
mov eax, edx
cmp edx, edi
jne 0x41b7ea
lea eax, [esp + 0x14]
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41b7f0
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x41b809
lea ecx, [esp + 0x14]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push edx
push ecx
push 1
push edi
push 0x66bc68
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41b829
lea edi, [eax + 1]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004011f0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00613241
add esp, 0x20
ret
Function at 0x41b870
Capabilities:
Delete registry key

Disassembly:
push ecx
push 0
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call fcn.0041a240
add esp, 0xc
test eax, eax
je 0x41b908
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41b8cd
mov ecx, dword [esp + 0xc]
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebx
call fcn.00446dd0
test eax, eax
je 0x41b905
lea eax, [esp + 0xc]
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call esi
test eax, eax
jne 0x41b905
mov ecx, dword [esp + 0xc]
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebx
pop edi
pop esi
pop ebx
push 1
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call fcn.0041a240
add esp, 0xc
test eax, eax
je 0x41b936
push str.SOFTWAREMicrosoftEdgeNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.00412ca0
add esp, 8
test eax, eax
jne 0x41b98d
push 1
push 0
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call fcn.0041b560
push 0
push str.SOFTWAREMicrosoftEdgeNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.0041b750
add esp, 0x1c
call fcn.00446dd0
test eax, eax
je 0x41b98d
push 1
push 1
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call fcn.0041b560
push 0
push str.SOFTWAREMicrosoftEdgeNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.0041b750
add esp, 0x1c
cmp word [0x74eb44], 0x2a
jne 0x41ba20
push 0
push str.SoftwareCocCocBrowserExtensions
push 0x80000001
call fcn.0041a240
add esp, 0xc
test eax, eax
je 0x41b9c9
push str.SOFTWARECocCocBrowserNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.00412ca0
add esp, 8
test eax, eax
jne 0x41ba20
push 0
push 0
push str.SoftwareCocCocBrowserExtensions
push 0x80000001
call fcn.0041b560
push 0
push str.SOFTWARECocCocBrowserNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.0041b750
add esp, 0x1c
call fcn.00446dd0
test eax, eax
je 0x41ba20
push 0
push 1
push str.SoftwareCocCocBrowserExtensions
push 0x80000001
call fcn.0041b560
push 0
push str.SOFTWARECocCocBrowserNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.0041b750
add esp, 0x1c
pop ecx
ret
Function at 0x421160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
lea ebx, [ecx + 8]
push esi
push ebp
mov ecx, ebx
call fcn.005da350
test eax, eax
je 0x4211f4
cmp byte [esp + 0x1c], 0
je 0x421188
cmp byte [esi + 0x30], 0
jne 0x4211f4
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4211be
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421196
sub eax, edi
pop edi
je 0x4211b6
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4211f4
push edx
mov ecx, esi
call fcn.004210e0
test eax, eax
jmp 0x4211c4
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jmp 0x4211c4
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
sete al
test al, al
je 0x4211f4
mov eax, dword [esi + 4]
test eax, eax
jne 0x4211d5
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4211ec
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
push ebp
mov ecx, ebx
call fcn.0042f8e0
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x421550
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x637594
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004027f0
xor eax, eax
mov dword [esp + 0x18], eax
lea ecx, [esi + 4]
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov word [ecx + 4], ax
mov edx, dword [edi + 4]
push edx
call fcn.004017f0
mov byte [esp + 0x18], 1
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.004027f0
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
call fcn.004027f0
mov byte [esp + 0x18], 3
lea edx, [edi + 0x18]
push edx
lea ecx, [esi + 0x18]
call fcn.004027f0
mov byte [esp + 0x18], 4
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov cl, byte [edi + 0x30]
mov byte [esi + 0x30], cl
mov dl, byte [edi + 0x31]
mov byte [esi + 0x31], dl
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4219f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x637688
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov esi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.00421200
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x1c]
push ecx
add esi, 8
push ebp
mov ecx, esi
call fcn.005da350
test eax, eax
je 0x421b27
cmp byte [esp + 0x78], 0
je 0x421a73
cmp byte [esp + 0x4c], 0
jne 0x421b27
test edi, edi
je 0x421ab1
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421a80
sub eax, edx
je 0x421aa7
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x421b27
push edi
lea ecx, [esp + 0x20]
call fcn.004210e0
test eax, eax
jmp 0x421ab9
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jmp 0x421ab9
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
sete al
test al, al
je 0x421b27
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x421acc
lea eax, [esp + 0x24]
push 0
push eax
push 0x66ae98
mov ecx, ebx
call fcn.004021b0
mov eax, dword [ebx]
test eax, eax
jne 0x421ae4
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x421b1f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push 0x66ae98
push eax
call fcn.00402f80
add esp, 0xc
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00421280
mov eax, 1
jmp 0x421b3a
push ebp
mov ecx, esi
call fcn.0042f8e0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00421280
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00613241
add esp, 0x50
ret 0x14

Function at 0x423940
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
mov esi, ecx
call fcn.004ecde0
mov ecx, esi
mov dword [eax], 0
call fcn.00422e00
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerConfigTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4239c4
lea ecx, [esp + 8]
push ecx
call fcn.006169e1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
add esp, 4
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push 0x66b96c
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
add esi, 0x28
push edi
mov ecx, esi
call fcn.004ec2a0
test eax, eax
je 0x4239f4
cmp dword [esp + 0xc], 0
jne 0x4239f4
push edi
mov ecx, esi
call fcn.004ecde0
mov ecx, esi
mov dword [eax], 1
call fcn.00422e00
pop edi
pop esi
add esp, 8
ret 4