joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414850
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x636626
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov edi, dword [esp + 0x290]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], ax
mov dword [esp + 0x288], ebx
push ebx
push edi
push 0x66e5dc
lea ecx, [esp + 0x2c]
call fcn.004021b0
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4148c6
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4148f0
mov dword [esp + 0x288], eax
lea ecx, [esp + 0x20]
call fcn.004011f0
or eax, esi
jmp 0x4149e0
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x2c]
push edx
push esi
call ebp
lea eax, [esp + 0x2c]
push eax
push esi
call ebp
test eax, eax
je 0x4149a5
mov edi, edi
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], cx
mov byte [esp + 0x288], 1
push ebx
lea edx, [esp + 0x5c]
push edx
push edi
push 0x66add0
lea ecx, [esp + 0x24]
call fcn.00402320
test byte [esp + 0x2c], 0x10
mov eax, dword [esp + 0x14]
jne 0x414958
cmp eax, ebx
jne 0x41494f
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x414985
cmp eax, ebx
jne 0x414960
lea eax, [esp + 0x18]
push ebx
push eax
push 0x66e5d8
lea ecx, [esp + 0x20]
call fcn.004021b0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41497c
lea eax, [esp + 0x18]
push eax
call fcn.00414850
add esp, 4
mov byte [esp + 0x288], bl
lea ecx, [esp + 0x14]
call fcn.004011f0
lea eax, [esp + 0x2c]
push eax
push esi
call ebp
test eax, eax
jne 0x414910
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x74ea5c]
cmp eax, ebx
jne 0x4149ba
mov eax, 0x74ea60
push eax
call fcn.00615fe3
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004011f0
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00613241
add esp, 0x278
ret

Function at 0x414a10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [0x74ea7c]
test eax, eax
jne 0x414a32
mov eax, 0x74ea80
push str.IDMGCExt.crx
push eax
lea eax, [esp + 8]
push 0x66e020
push eax
call fcn.0040fc20
add esp, 0x10
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414a8f
mov eax, dword [0x74ea7c]
test eax, eax
jne 0x414a67
mov eax, 0x74ea80
push 0x66e5e0
push eax
lea edx, [esp + 0x210]
push 0x66e020
push edx
call fcn.0040fc20
lea eax, [esp + 0x218]
push eax
call fcn.00414850
add esp, 0x14
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00613241
add esp, 0x414
ret
Function at 0x415700
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6367bb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor eax, eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00415650
test eax, eax
je 0x4157c2
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x415775
lea eax, [ebp - 0x28]
push ebx
push str.NPIDMan1.dll
push eax
push 0x66add0
lea ecx, [ebp - 0x20]
call fcn.00402320
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x415793
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
test eax, eax
jne 0x4157ed
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4157aa
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4157ed
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.004011f0
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 - 0x14]
xor ecx, ebp
call fcn.00613241
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4157f7
lea eax, [ebp - 0x28]
push ebx
push str.NPIDMan2.dll
push eax
push 0x66add0
lea ecx, [ebp - 0x20]
call fcn.00402320
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x415815
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x415832
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x415826
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4157b6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.004011f0
mov eax, 1
jmp 0x4157cf
Function at 0x415ff0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x40], eax
mov al, 2
mov cl, 0xc
push ebx
mov bl, 0x76
mov dl, 0x4b
mov byte [esp + 0xd], cl
mov byte [esp + 0x1d], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x33], cl
mov cl, 0x49
mov byte [esp + 0xf], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], al
mov byte [esp + 0x20], al
mov byte [esp + 0x21], bl
mov bl, 0x47
mov byte [esp + 0x2d], al
mov byte [esp + 0x36], al
mov byte [esp + 0x3b], al
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x50]
mov byte [esp + 0x3d], cl
mov byte [esp + 0x43], cl
mov byte [esp + 8], 0x6f
mov byte [esp + 9], 0x4d
mov byte [esp + 0xa], 0x58
mov byte [esp + 0xb], dl
mov byte [esp + 0xc], 0x4e
mov byte [esp + 0xd], 0x4e
mov byte [esp + 0xe], 0x43
mov byte [esp + 0xf], 0xd
mov byte [esp + 0x10], 0x17
mov byte [esp + 0x12], 0x12
mov byte [esp + 0x14], 0xa
mov byte [esp + 0x15], 0x75
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x4c
mov byte [esp + 0x18], 0x46
mov byte [esp + 0x19], 0x4d
mov byte [esp + 0x1a], 0x55
mov byte [esp + 0x1b], 0x51
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x20], 0x14
mov byte [esp + 0x22], 0x13
mov byte [esp + 0x23], 0x19
mov byte [esp + 0x26], 0x50
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x4c
mov byte [esp + 0x2b], 0x56
mov byte [esp + 0x2c], 0xd
mov byte [esp + 0x2d], 0x15
mov byte [esp + 0x2f], 0x12
mov byte [esp + 0x30], 0x19
mov byte [esp + 0x32], 0x50
mov byte [esp + 0x33], 0x54
mov byte [esp + 0x34], 0x18
mov byte [esp + 0x35], 0x13
mov byte [esp + 0x36], 0x13
mov byte [esp + 0x38], 0x12
mov byte [esp + 0x39], 0xb
mov byte [esp + 0x3b], 0x4e
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x41
mov byte [esp + 0x44], 0x4d
mov byte [esp + 0x45], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416137
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x416150
xor byte [esp + ecx + 8], 0x22
inc ecx
cmp ecx, eax
jl 0x416146
lea eax, [esp + 8]
push eax
push 0x66ae98
push esi
call fcn.00402f80
mov ecx, dword [esp + 0x54]
add esp, 0xc
pop esi
pop ebx
xor ecx, esp
call fcn.00613241
add esp, 0x44
ret
Function at 0x416330
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x63686b
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2b8]
mov eax, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x2b0]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [esp + 0x2b4]
neg esi
sbb esi, esi
lea edx, [esp + 0x1c]
push edx
and esi, 0x100
add esi, 0x20019
push esi
push 0
push eax
push 0x80000002
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], 0
call ebp
test eax, eax
jne 0x416504
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push str.CurrentVersion
push edx
mov dword [esp + 0x30], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4164f9
lea eax, [esp + 0x2c]
push eax
push 0x66ae98
push edi
call fcn.00402f80
mov eax, dword [edi]
push 0x20
push eax
call fcn.00614820
add esp, 0x14
test eax, eax
je 0x41644b
mov byte [eax], 0
mov ecx, dword [edi]
mov eax, ecx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416420
sub eax, ebx
add eax, 0xffffffff
js 0x416530
cmp eax, dword [ecx - 0xc]
jg 0x416530
cmp byte [ecx + eax], 0x2e
jne 0x41644b
push 0
push eax
mov ecx, edi
call fcn.00404070
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x2a4], 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push str._sMain
push edx
call fcn.00402f80
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push esi
push 0
push ecx
push edx
call ebp
test eax, eax
jne 0x4164e5
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x94]
push ecx
push 0
push 0
push str.PathToExe
push edx
mov dword [esp + 0x30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4164da
mov ecx, dword [esp + 0x28]
push eax
lea eax, [esp + 0x94]
push eax
push 0x66ae98
call fcn.004021b0
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2a4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.00613241
add esp, 0x294
ret
push 0x80070057
call fcn.00401090
int3
Function at 0x4169d0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x636958
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 edi, dword [esp + 0x38]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x18]
push eax
push edi
xor esi, esi
push esi
push str.SOFTWAREGoogleChromeExtensions
push 0x80000002
call ebx
test eax, eax
jne 0x416ae6
mov eax, dword [esp + 0x18]
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x416a44
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, 1
jbe 0x416a73
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
jne 0x416ae6
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x30], esi
push str.ngpampappnmepgilojfohadhhmbhlaek
lea edx, [esp + 0x18]
push str.SOFTWAREGoogleChromeExtensions_s
push edx
mov esi, 1
call fcn.00402f80
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push edi
push 0
push ecx
push 0x80000002
call ebx
test eax, eax
jne 0x416abf
mov edx, dword [esp + 0x20]
push edx
xor esi, esi
call ebp
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x416cd0
Capabilities:
Check if file exists
Check os version
Create process on windows
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6369fb
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x416ec8
cmp dword [esp + 0x68], 2
jne 0x416ec8
cmp dword [esp + 0x5c], 6
jb 0x416e4e
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov word [esp + 0x50], cx
mov dword [esp + 0xf8], esi
mov eax, dword [0x74ea7c]
cmp eax, esi
jne 0x416d62
mov eax, 0x74ea80
push esi
push str.Uninstall.exe
push eax
push 0x66add0
lea ecx, [esp + 0x5c]
call fcn.00402320
push 0x3c
lea edx, [esp + 0x10]
push esi
push edx
call fcn.00613900
mov eax, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x18], str.open
cmp eax, esi
je 0x416dad
mov dword [esp + 0x1c], eax
jmp 0x416db5
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], esi
cmp eax, esi
jne 0x416dcd
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416e38
mov eax, dword [esp + 0x4c]
cmp eax, esi
jne 0x416de5
lea eax, [esp + 0x50]
push esi
push eax
mov ecx, ebx
call fcn.00416ba0
test al, al
je 0x416e38
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], str._startdriv
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x416e32
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x416e38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004011f0
jmp 0x416ec8
mov ecx, ebx
call fcn.00410460
push 0x3c
xor esi, esi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00613900
add esp, 0xc
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x18], 0x66adac
mov dword [esp + 0x1c], str.net.exe
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 6
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], str.start_idmtdi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x416ec8
mov edx, dword [esp + 0x44]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.00613241
add esp, 0xf0
ret
Function at 0x417250
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x636ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x24]
push eax
call fcn.00410520
cmp dword [ebp - 0x24], ebx
jne 0x417389
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 [0x74ea7c]
cmp eax, ebx
jne 0x4172b5
mov eax, 0x74ea80
push ebx
push str.Uninstall.exe
push eax
push 0x66add0
lea ecx, [ebp - 0x20]
call fcn.00402320
push 0x3c
push ebx
lea edx, [ebp - 0x60]
push edx
call fcn.00613900
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 0x4172f7
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], 0x66e8d8
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x417321
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41737e
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x417337
lea eax, [ebp - 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.00416ba0
test al, al
je 0x41737e
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x417378
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]
mov dword [0x74e840], 1
jmp 0x41737e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
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 - 0x14]
xor ecx, ebp
call fcn.00613241
mov esp, ebp
pop ebp
ret
Function at 0x417690
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x7496c8]
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 0x66b96c
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
mov esi, ecx
call ebx
test eax, eax
jne 0x4176f2
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push eax
push 0xf003f
push eax
push 0x66b96c
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call ebx
test eax, eax
je 0x417719
cmp eax, 5
je 0x41784b
push eax
push str.Err__ld_CBIr::IntIE__s7_n
mov ecx, esi
call fcn.004173c0
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00613241
add esp, 0x20
ret
mov eax, dword [str.IDM_Helper]
mov dx, word [0x66e974]
mov ecx, dword [0x66e970]
mov dword [esp + 0x18], eax
mov al, byte [0x66e976]
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 0x417748
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.00446dd0
test eax, eax
je 0x41784a
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0xf013f
push 0
push 0x66b96c
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
call ebx
test eax, eax
jne 0x41784a
push eax
lea edx, [esp + 0x10]
push edx
push eax
push 0xf013f
push eax
push 0x66b96c
push eax
mov eax, dword [esp + 0x2c]
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push eax
call ebx
test eax, eax
jne 0x41784a
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417800
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.00613241
add esp, 0x20
ret
Function at 0x419040
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 0xc]
mov esi, ecx
push eax
mov dword [esi + 0x34], edi
call fcn.00410920
add esp, 4
test eax, eax
jne 0x419097
cmp dword [0x74e9dc], eax
je 0x41908e
mov eax, dword [esi + 0x48]
cmp byte [eax + 0x4f], 0
jne 0x41908e
cmp byte [eax + 0x51], 0
jne 0x41908e
cmp dword [esp + 0xc], 5
jne 0x419087
mov ecx, esi
call fcn.00413c60
cmp dword [esi + 0x68], 1
jne 0x41908e
mov ecx, dword [esi + 0x48]
mov byte [ecx + 0x54], 1
mov ecx, esi
call fcn.00417690
jmp 0x4190c6
mov eax, dword [esi + 0x48]
cmp byte [eax + 0x4f], 0
jne 0x4190c6
cmp byte [eax + 0x51], 0
jne 0x4190c6
mov ecx, esi
call fcn.00413c60
cmp eax, 1
jne 0x4190c6
push 0
push 0
push 0
push 0
push 0
push 0x411660
call fcn.005f2e1d
cmp dword [esp + 0x10], 0
je 0x419182
cmp dword [esi + 0x1c], 0
jne 0x419182
mov eax, dword [0x74ea0c]
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 0x41912f
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push eax
push 0x66d06c
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 [0x74ea0c]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.IDMBIIEXPLORE
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x419182
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push 0x66d06c
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 0x419190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x636c70
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x7496c8]
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 0x4191e8
mov ecx, str.idmmzcc2.xpi
mov eax, dword [0x74ea7c]
test eax, eax
jne 0x4191f6
mov eax, 0x74ea80
push ecx
push eax
push 0x66e020
lea eax, [ebp]
push eax
call fcn.0040fc20
add esp, 0x10
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4192c9
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 0x4192f2
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareMozilla
push 0x80000001
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call esi
test eax, eax
jne 0x4192c9
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 0x66b96c
push 0
push str.SoftwareMozillaFirefox
push 0x80000001
call esi
test eax, eax
jne 0x4192c9
mov eax, dword [ebp - 0x14]
push eax
call edi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call esi
test eax, eax
je 0x4192f8
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.00613241
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004182e0
add esp, 4
test eax, eax
je 0x419312
mov edx, dword [ebp - 0x14]
push edx
call edi
mov eax, 1
jmp 0x4192cb
cmp ebx, 0x34
jle 0x41931f
push 0x35
mov eax, dword [ebp - 0x14]
push eax
jmp 0x419332
cmp ebx, 0x1a
jle 0x41932c
push 0x1b
mov ecx, dword [ebp - 0x14]
push ecx
jmp 0x419332
push 8
mov edx, dword [ebp - 0x14]
push edx
call fcn.004124e0
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call edi
mov eax, esi
jmp 0x4192cb