joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4194a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x643bc0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x208], 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
mov ebx, dword [ebp + 0x214]
cmp ebx, 0x34
mov ecx, str.idmmzcc3.xpi
jg 0x4194f8
mov ecx, str.idmmzcc2.xpi
mov eax, dword [0x75dc58]
test eax, eax
jne 0x419506
mov eax, 0x75dc5c
push ecx
push eax
push 0x67c1a4
lea eax, [ebp]
push eax
call fcn.0040fbb0
add esp, 0x10
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4195d9
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x419602
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareMozilla
push 0x80000001
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call esi
test eax, eax
jne 0x4195d9
mov ecx, dword [ebp - 0x14]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareMozillaFirefox
push 0x80000001
call esi
test eax, eax
jne 0x4195d9
mov eax, dword [ebp - 0x14]
push eax
call edi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call esi
test eax, eax
je 0x419608
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004185e0
add esp, 4
test eax, eax
je 0x419622
mov edx, dword [ebp - 0x14]
push edx
call edi
mov eax, 1
jmp 0x4195db
cmp ebx, 0x34
jle 0x41962f
push 0x35
mov eax, dword [ebp - 0x14]
push eax
jmp 0x419642
cmp ebx, 0x1a
jle 0x41963c
push 0x1b
mov ecx, dword [ebp - 0x14]
push ecx
jmp 0x419642
push 8
mov edx, dword [ebp - 0x14]
push edx
call fcn.00412700
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call edi
mov eax, esi
jmp 0x4195db
Function at 0x4198c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x643c11
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x4ac], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
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 [0x75dc58]
cmp eax, ebx
jne 0x41992b
mov eax, 0x75dc5c
push ebx
push str.IDMGCExt.crx
push eax
push 0x678de0
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.00402f70
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 0x419ad1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xb0]
push edx
push ebx
push ebx
push 0x67cf80
push eax
mov dword [esi], 1
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419ac6
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4199cc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.0062567a
add esp, 8
test eax, eax
jne 0x419ac6
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push 0x67cf78
push ecx
mov dword [esp + 0x2c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419ac6
mov edx, dword [0x75ddb0]
lea ecx, [esp + 0x2c]
jmp 0x419a20
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x419a40
cmp al, bl
je 0x419a3c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x419a40
add ecx, 2
add edx, 2
cmp al, bl
jne 0x419a20
xor eax, eax
jmp 0x419a45
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x419a50
mov edi, 1
jmp 0x419ac6
lea ecx, [esp + 0x1c]
call fcn.00402500
mov byte [esp + 0x4c8], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x419a6d
lea eax, [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00419730
add esp, 8
test eax, eax
je 0x419ab5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x419aa7
cmp dl, bl
je 0x419aa3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x419aa7
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x419a87
xor eax, eax
jmp 0x419aac
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x419ab5
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.00401210
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.0062016f
add esp, 0x4bc
ret 4
Function at 0x41a960
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x643d56
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
mov eax, dword [0x758898]
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 0x41ab81
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 0x41ab81
lea ecx, [esp + 8]
call fcn.00402500
mov dword [esp + 0x274], 0
push 2
lea ecx, [esp + 0x65]
push 0x67d050
push ecx
call fcn.006278af
add esp, 0xc
test eax, eax
jne 0x41aa27
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0xc]
call fcn.0054f250
jmp 0x41aac9
push 4
lea eax, [esp + 0x64]
push 0x67d048
push eax
call fcn.006218cb
add esp, 0xc
test eax, eax
jne 0x41aa4f
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0xc]
call fcn.0054f250
jmp 0x41aac9
lea edx, [esp + 0x60]
push str.system32_
push edx
call fcn.00621810
mov esi, eax
add esp, 8
test esi, esi
je 0x41ab6d
push 0x104
lea eax, [esp + 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x41ab6d
lea eax, [esp + 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41aa90
sub eax, edx
cmp byte [esp + eax + 0x163], 0x5c
mov eax, 0x67997c
je 0x41aaad
mov eax, 0x67d038
push esi
push eax
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x14]
push 0x67d030
push edx
call fcn.00402f70
add esp, 0x14
mov eax, dword [esp + 8]
push str.kltdi.sys
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x41ab6d
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 0x41ab05
lea eax, [esp + 0x18]
push 0x40
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004110e0
add esp, 0xc
test eax, eax
je 0x41ab5c
push 8
lea eax, [esp + 0x24]
push str.1.2.0.13
push eax
call fcn.006218cb
add esp, 0xc
test eax, eax
jne 0x41ab5c
mov byte [esp + 0x274], al
lea ecx, [esp + 0x14]
call fcn.00401210
mov dword [esp + 0x274], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
mov eax, 1
jmp 0x41ab83
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x14]
call fcn.00401210
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.0062016f
add esp, 0x270
ret
Function at 0x41af70
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643e18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edx, dword [0x75dbe4]
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 0x41afca
cmp dword [esp + 8], 1
je 0x41b07e
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.00415fe0
add esp, 0xc
test eax, eax
jne 0x41b003
push 1
push 0x67d26c
lea ecx, [esp + 0xc]
call fcn.00402960
mov edx, dword [esp + 4]
push 3
push 0x67d268
push edx
call fcn.006218cb
add esp, 0xc
test eax, eax
jne 0x41b06d
mov ecx, dword [0x75dbe4]
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 [0x75f308]
mov eax, dword [0x75f750]
push 0
push edx
push eax
push 0
call fcn.004734a0
add esp, 0x10
push str.https:__www.internetdownloadmanager.com_support_palemoon28addon.html
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004b3f90
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 0x41b400
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x643ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
push esi
push edi
mov eax, dword [0x758898]
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 0x41b5ca
cmp dword [esi + 8], eax
je 0x41b5ca
cmp dword [esi + 0x10], eax
je 0x41b5ca
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.00417800
test eax, eax
jne 0x41b49a
push str.this
lea ecx, [esp + 0x18]
call fcn.0054f250
mov eax, dword [0x75dc58]
mov edi, 1
mov dword [esp + 0x18], edi
test eax, eax
jne 0x41b4b1
mov eax, 0x75dc5c
push str.idmmzcc.xpi
push eax
lea ecx, [esp + 0x24]
push 0x67c1a4
push ecx
call fcn.0040fbb0
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b547
cmp dword [esp + 0x240], 0
je 0x41b52c
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x230], 1
mov eax, dword [0x75f5c0]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x1c]
push 0x30
push 0x678d88
push edx
push 0
call fcn.004734a0
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 0x41b5ca
cmp dword [esp + 0x240], 0
je 0x41b5a5
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 [0x75f348]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00402f70
mov ecx, dword [0x75f308]
mov edx, dword [esp + 0x20]
push 0x40
push ecx
push edx
push 0
call fcn.004734a0
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.00412a00
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.0062016f
add esp, 0x224
ret 0xc
Function at 0x41b870
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643f48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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 0x41b8cb
mov eax, str.ngpampappnmepgilojfohadhhmbhlaek
push eax
push edi
lea eax, [esp + 0x1c]
push 0x67bc94
push eax
call fcn.00402f70
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push esi
call fcn.0041b6b0
add esp, 0x20
test eax, eax
jne 0x41b910
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
xor eax, eax
jmp 0x41ba3b
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 0x41b934
mov ecx, str.IDMGCExt.crx
mov eax, dword [0x75dc58]
cmp eax, ebx
jne 0x41b942
mov eax, 0x75dc5c
push ebx
push ecx
push eax
push 0x678de0
lea ecx, [esp + 0x30]
call fcn.00402320
mov edx, dword [esp + 0x20]
mov eax, edx
cmp edx, ebx
jne 0x41b961
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b964
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41b97d
lea ecx, [esp + 0x24]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push ecx
push 1
push ebx
push 0x67cf80
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41b99d
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 0x41b9b7
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00419730
add esp, 8
test eax, eax
je 0x41b9d8
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x75ddb0
call fcn.00405930
mov edx, dword [0x75ddb0]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b9e3
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push 1
push ebx
push 0x67cf78
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.00401210
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.0062016f
add esp, 0x28
ret
Function at 0x41ba60
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x652078
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x758898]
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.0041b6b0
add esp, 0x10
test eax, eax
je 0x41bb57
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 [0x75dc58]
cmp eax, edi
jne 0x41bad7
mov eax, 0x75dc5c
push edi
push str.IDMMsgHost.json
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402320
mov edx, dword [esp + 0x10]
mov eax, edx
cmp edx, edi
jne 0x41bafa
lea eax, [esp + 0x14]
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41bb00
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x41bb19
lea ecx, [esp + 0x14]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push edx
push ecx
push 1
push edi
push 0x679c78
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41bb39
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.00401210
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.0062016f
add esp, 0x20
ret
Function at 0x41bb80
Capabilities:
Delete registry key

Disassembly:
push ecx
push 0
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call fcn.0041a550
add esp, 0xc
test eax, eax
jne 0x41bba2
call fcn.00416b30
test eax, eax
je 0x41bbda
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41bbda
mov ecx, dword [esp]
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call fcn.0041a550
add esp, 0xc
test eax, eax
je 0x41bc08
push str.SOFTWAREMicrosoftEdgeNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.00412ec0
add esp, 8
test eax, eax
jne 0x41bc2f
push 1
push 0
push str.SOFTWAREMicrosoftEdgeExtensions
push 0x80000001
call fcn.0041b870
push 0
push str.SOFTWAREMicrosoftEdgeNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.0041ba60
add esp, 0x1c
cmp word [0x75dd2c], 0x2a
jne 0x41bc8e
push 0
push str.SoftwareCocCocBrowserExtensions
push 0x80000001
call fcn.0041a550
add esp, 0xc
test eax, eax
je 0x41bc67
push str.SOFTWARECocCocBrowserNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.00412ec0
add esp, 8
test eax, eax
jne 0x41bc8e
push 0
push 0
push str.SoftwareCocCocBrowserExtensions
push 0x80000001
call fcn.0041b870
push 0
push str.SOFTWARECocCocBrowserNativeMessagingHostscom.tonec.idm
push 0x80000001
call fcn.0041ba60
add esp, 0x1c
pop ecx
ret
Function at 0x4214c0
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.005e70c0
test eax, eax
je 0x421554
cmp byte [esp + 0x1c], 0
je 0x4214e8
cmp byte [esi + 0x30], 0
jne 0x421554
mov edx, dword [esp + 0x14]
test edx, edx
je 0x42151e
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4214f6
sub eax, edi
pop edi
je 0x421516
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x421554
push edx
mov ecx, esi
call fcn.00421440
test eax, eax
jmp 0x421524
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jmp 0x421524
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
sete al
test al, al
je 0x421554
mov eax, dword [esi + 4]
test eax, eax
jne 0x421535
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42154c
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
push ebp
mov ecx, ebx
call fcn.00499730
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x6444e4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x758898]
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.004027c0
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.004027c0
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
call fcn.004027c0
mov byte [esp + 0x18], 3
lea edx, [edi + 0x18]
push edx
lea ecx, [esi + 0x18]
call fcn.004027c0
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 0x421d50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6445d8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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.00421560
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x1c]
push ecx
add esi, 8
push ebp
mov ecx, esi
call fcn.005e70c0
test eax, eax
je 0x421e87
cmp byte [esp + 0x78], 0
je 0x421dd3
cmp byte [esp + 0x4c], 0
jne 0x421e87
test edi, edi
je 0x421e11
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421de0
sub eax, edx
je 0x421e07
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x421e87
push edi
lea ecx, [esp + 0x20]
call fcn.00421440
test eax, eax
jmp 0x421e19
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jmp 0x421e19
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
sete al
test al, al
je 0x421e87
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x421e2c
lea eax, [esp + 0x24]
push 0
push eax
push 0x678ea8
mov ecx, ebx
call fcn.004021b0
mov eax, dword [ebx]
test eax, eax
jne 0x421e44
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x421e7f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push 0x678ea8
push eax
call fcn.00402f70
add esp, 0xc
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004215e0
mov eax, 1
jmp 0x421e9a
push ebp
mov ecx, esi
call fcn.00499730
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004215e0
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.0062016f
add esp, 0x50
ret 0x14

Function at 0x423e80
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
mov esi, ecx
call fcn.00423b90
mov ecx, esi
mov dword [eax], 0
call fcn.004222a0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerConfigTime
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x423f04
lea ecx, [esp + 8]
push ecx
call fcn.00623911
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 0x67997c
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.004236c0
test eax, eax
je 0x423f34
cmp dword [esp + 0xc], 0
jne 0x423f34
push edi
mov ecx, esi
call fcn.00423b90
mov ecx, esi
mov dword [eax], 1
call fcn.004222a0
pop edi
pop esi
add esp, 8
ret 4