joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416b00
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643a88
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x758898]
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 esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x4c], 2
jne 0x416b5d
push ebx
call fcn.004112e0
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.0062023e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call fcn.004101d0
cmp dword [ebp - 0x24], ebx
jne 0x416c74
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov byte [ebp - 4], 1
mov eax, dword [0x75dc58]
cmp eax, ebx
jne 0x416b8d
mov eax, 0x75dc5c
push ebx
push str.Uninstall.exe
push eax
push 0x678de0
lea ecx, [ebp - 0x20]
call fcn.00402330
push 0x3c
push ebx
lea edx, [ebp - 0x60]
push edx
call fcn.00620920
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x54], str.open
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x416bcf
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], str._instdriv
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x416bf9
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416c69
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x416c0f
lea eax, [ebp - 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.00416340
test al, al
je 0x416c69
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x416c63
push 0xffffffffffffffff
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ecx, esi
call fcn.004112e0
mov dword [0x75da00], 1
jmp 0x416c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x416b41
Function at 0x416f60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
mov esi, ecx
call ebx
test eax, eax
jne 0x416fc2
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push eax
push 0xf003f
push eax
push 0x67997c
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call ebx
test eax, eax
je 0x416fe9
cmp eax, 5
je 0x41711b
push eax
push str.Err__ld_CBIr::IntIE__s7_n
mov ecx, esi
call fcn.00416c90
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0062023e
add esp, 0x20
ret
mov eax, dword [str.IDM_Helper]
mov dx, word [0x67caf8]
mov ecx, dword [0x67caf4]
mov dword [esp + 0x18], eax
mov al, byte [0x67cafa]
mov byte [esp + 0x22], al
lea eax, [esp + 0x18]
mov word [esp + 0x20], dx
mov dword [esp + 0x1c], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417018
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
sub eax, edx
mov edx, dword [esp + 0xc]
inc eax
push eax
lea ecx, [esp + 0x20]
push ecx
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x2c], 1
call esi
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call edi
call fcn.00447810
test eax, eax
je 0x41711a
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0xf013f
push 0
push 0x67997c
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
call ebx
test eax, eax
jne 0x41711a
push eax
lea edx, [esp + 0x10]
push edx
push eax
push 0xf013f
push eax
push 0x67997c
push eax
mov eax, dword [esp + 0x2c]
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push eax
call ebx
test eax, eax
jne 0x41711a
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4170d0
sub eax, edx
mov edx, dword [esp + 0xc]
inc eax
push eax
lea ecx, [esp + 0x20]
push ecx
push 1
push 0
push 0
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x30], 1
call esi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call edi
pop edi
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
xor ecx, esp
call fcn.0062023e
add esp, 0x20
ret
Function at 0x418c70
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov dword [esi + 0x34], edi
cmp dword [0x75dbc0], 0
jne 0x418cff
lea eax, [esp + 0xc]
push eax
call fcn.004105d0
add esp, 4
test eax, eax
jne 0x418cd0
cmp dword [0x75dbac], eax
je 0x418cc7
mov eax, dword [esi + 0x48]
cmp byte [eax + 0x4f], 0
jne 0x418cc7
cmp byte [eax + 0x51], 0
jne 0x418cc7
mov ecx, esi
call fcn.00417450
cmp dword [esp + 0xc], 5
je 0x418cc7
cmp dword [esi + 0x68], 1
jne 0x418cc7
mov ecx, dword [esi + 0x48]
mov byte [ecx + 0x54], 1
mov ecx, esi
call fcn.00416f60
jmp 0x418cff
mov eax, dword [esi + 0x48]
cmp byte [eax + 0x4f], 0
jne 0x418cff
cmp byte [eax + 0x51], 0
jne 0x418cff
mov ecx, esi
call fcn.00417450
cmp eax, 1
jne 0x418cff
push 0
push 0
push 0
push 0
push 0
push 0x411380
call fcn.005ffc0d
cmp dword [esp + 0x10], 0
je 0x418dbb
cmp dword [esi + 0x1c], 0
jne 0x418dbb
mov eax, dword [0x75dbe4]
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push str.IDMBIIEXPLORE
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418d68
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push eax
push 0x67b074
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8
mov edx, dword [0x75dbe4]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.IDMBIIEXPLORE
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x418dbb
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push 0x67b074
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x418dd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x643c80
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 0x418e28
mov ecx, str.idmmzcc2.xpi
mov eax, dword [0x75dc58]
test eax, eax
jne 0x418e36
mov eax, 0x75dc5c
push ecx
push eax
push 0x67c1a4
lea eax, [ebp]
push eax
call fcn.0040f8d0
add esp, 0x10
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418f09
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 0x418f32
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 0x418f09
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 0x418f09
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 0x418f38
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.0062023e
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00417f10
add esp, 4
test eax, eax
je 0x418f52
mov edx, dword [ebp - 0x14]
push edx
call edi
mov eax, 1
jmp 0x418f0b
cmp ebx, 0x34
jle 0x418f5f
push 0x35
mov eax, dword [ebp - 0x14]
push eax
jmp 0x418f72
cmp ebx, 0x1a
jle 0x418f6c
push 0x1b
mov ecx, dword [ebp - 0x14]
push ecx
jmp 0x418f72
push 8
mov edx, dword [ebp - 0x14]
push edx
call fcn.00412240
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call edi
mov eax, esi
jmp 0x418f0b
Function at 0x419200
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x643cd1
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 0x41926b
mov eax, 0x75dc5c
push ebx
push str.IDMGCExt.crx
push eax
push 0x678de0
lea ecx, [esp + 0x30]
call fcn.00402330
lea ecx, [esp + 0x10]
call fcn.00402510
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 0x419411
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 0x419406
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41930c
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.0062574a
add esp, 8
test eax, eax
jne 0x419406
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 0x419406
mov edx, dword [0x75ddb0]
lea ecx, [esp + 0x2c]
jmp 0x419360
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x419380
cmp al, bl
je 0x41937c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x419380
add ecx, 2
add edx, 2
cmp al, bl
jne 0x419360
xor eax, eax
jmp 0x419385
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x419390
mov edi, 1
jmp 0x419406
lea ecx, [esp + 0x1c]
call fcn.00402510
mov byte [esp + 0x4c8], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4193ad
lea eax, [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00419070
add esp, 8
test eax, eax
je 0x4193f5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4193e7
cmp dl, bl
je 0x4193e3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4193e7
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4193c7
xor eax, eax
jmp 0x4193ec
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4193f5
mov edi, 1
mov byte [esp + 0x4c8], 1
lea ecx, [esp + 0x1c]
call fcn.00402580
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.00402580
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.0062023e
add esp, 0x4bc
ret 4
Function at 0x41a2a0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x643e16
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 0x41a4c1
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 0x41a4c1
lea ecx, [esp + 8]
call fcn.00402510
mov dword [esp + 0x274], 0
push 2
lea ecx, [esp + 0x65]
push 0x67d050
push ecx
call fcn.0062797f
add esp, 0xc
test eax, eax
jne 0x41a367
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0xc]
call fcn.0054f250
jmp 0x41a409
push 4
lea eax, [esp + 0x64]
push 0x67d048
push eax
call fcn.0062199b
add esp, 0xc
test eax, eax
jne 0x41a38f
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0xc]
call fcn.0054f250
jmp 0x41a409
lea edx, [esp + 0x60]
push str.system32_
push edx
call fcn.006218e0
mov esi, eax
add esp, 8
test esi, esi
je 0x41a4ad
push 0x104
lea eax, [esp + 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x41a4ad
lea eax, [esp + 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a3d0
sub eax, edx
cmp byte [esp + eax + 0x163], 0x5c
mov eax, 0x67997c
je 0x41a3ed
mov eax, 0x67d038
push esi
push eax
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x14]
push 0x67d030
push edx
call fcn.00402f80
add esp, 0x14
mov eax, dword [esp + 8]
push str.kltdi.sys
push eax
call fcn.006218e0
add esp, 8
test eax, eax
je 0x41a4ad
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406fb0
mov byte [esp + 0x274], 1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41a445
lea eax, [esp + 0x18]
push 0x40
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00410db0
add esp, 0xc
test eax, eax
je 0x41a49c
push 8
lea eax, [esp + 0x24]
push str.1.2.0.13
push eax
call fcn.0062199b
add esp, 0xc
test eax, eax
jne 0x41a49c
mov byte [esp + 0x274], al
lea ecx, [esp + 0x14]
call fcn.00401210
mov dword [esp + 0x274], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402580
mov eax, 1
jmp 0x41a4c3
mov byte [esp + 0x274], 0
lea ecx, [esp + 0x14]
call fcn.00401210
mov dword [esp + 0x274], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402580
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.0062023e
add esp, 0x270
ret
Function at 0x41a8b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643ed8
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 0x41a90a
cmp dword [esp + 8], 1
je 0x41a9be
lea ecx, [esp + 4]
call fcn.00402510
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
push 0
lea eax, [esp + 8]
push eax
push ecx
call fcn.00415920
add esp, 0xc
test eax, eax
jne 0x41a943
push 1
push 0x67d26c
lea ecx, [esp + 0xc]
call fcn.00402970
mov edx, dword [esp + 4]
push 3
push 0x67d268
push edx
call fcn.0062199b
add esp, 0xc
test eax, eax
jne 0x41a9ad
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.00472fb0
add esp, 0x10
push str.https:__www.internetdownloadmanager.com_support_palemoon28addon.html
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004b3db0
add esp, 8
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 4]
call fcn.00402580
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret
Function at 0x41ad40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x643f91
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 0x41af0a
cmp dword [esi + 8], eax
je 0x41af0a
cmp dword [esi + 0x10], eax
je 0x41af0a
lea ecx, [esp + 0x14]
call fcn.00402510
mov dword [esp + 0x230], 0
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, ebp
call fcn.00417130
test eax, eax
jne 0x41adda
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 0x41adf1
mov eax, 0x75dc5c
push str.idmmzcc.xpi
push eax
lea ecx, [esp + 0x24]
push 0x67c1a4
push ecx
call fcn.0040f8d0
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41ae87
cmp dword [esp + 0x240], 0
je 0x41ae6c
lea ecx, [esp + 0x10]
call fcn.00402510
mov byte [esp + 0x230], 1
mov eax, dword [0x75f5c0]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x1c]
push 0x30
push 0x678d88
push edx
push 0
call fcn.00472fb0
add esp, 0x1c
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x10]
call fcn.00402580
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
xor eax, eax
jmp 0x41af0a
cmp dword [esp + 0x240], 0
je 0x41aee5
lea ecx, [esp + 0x10]
call fcn.00402510
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.00402f80
mov ecx, dword [0x75f308]
mov edx, dword [esp + 0x20]
push 0x40
push ecx
push edx
push 0
call fcn.00472fb0
add esp, 0x20
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x10]
call fcn.00402580
mov eax, dword [esi]
push eax
mov ecx, ebp
call fcn.00412540
mov dword [esi + 0x10], edi
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
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.0062023e
add esp, 0x224
ret 0xc
Function at 0x41b1b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x644008
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.00402510
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x4c]
mov eax, str.llbjbkhnmlidjebalopleeepgdfgcpec
cmp ebp, ebx
jne 0x41b20b
mov eax, str.ngpampappnmepgilojfohadhhmbhlaek
push eax
push edi
lea eax, [esp + 0x1c]
push 0x67bc94
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.0041aff0
add esp, 0x20
test eax, eax
jne 0x41b250
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
xor eax, eax
jmp 0x41b37b
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 0x41b274
mov ecx, str.IDMGCExt.crx
mov eax, dword [0x75dc58]
cmp eax, ebx
jne 0x41b282
mov eax, 0x75dc5c
push ebx
push ecx
push eax
push 0x678de0
lea ecx, [esp + 0x30]
call fcn.00402330
mov edx, dword [esp + 0x20]
mov eax, edx
cmp edx, ebx
jne 0x41b2a1
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41b2a4
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41b2bd
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 0x41b2dd
lea edi, [eax + 1]
lea ecx, [esp + 0x1c]
call fcn.00402510
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41b2f7
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00419070
add esp, 8
test eax, eax
je 0x41b318
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x75ddb0
call fcn.00405920
mov edx, dword [0x75ddb0]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b323
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.00402580
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x20]
call fcn.00401210
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
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.0062023e
add esp, 0x28
ret
Function at 0x41b3a0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x642db8
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.0041aff0
add esp, 0x10
test eax, eax
je 0x41b497
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 0x41b417
mov eax, 0x75dc5c
push edi
push str.IDMMsgHost.json
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402330
mov edx, dword [esp + 0x10]
mov eax, edx
cmp edx, edi
jne 0x41b43a
lea eax, [esp + 0x14]
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41b440
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x41b459
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 0x41b479
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.0062023e
add esp, 0x20
ret