joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4517f9
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4dcfee
call fcn.004b53ae
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x45186e
cmp word [eax], bx
je 0x45186e
lea eax, [ebp - 0x10]
push eax
call fcn.0044e263
pop ecx
mov dword [ebp - 4], ebx
push dword [eax]
mov esi, 0x540448
mov ecx, esi
call fcn.0043f6ae
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d610
cmp edi, ebx
je 0x451853
push dword [ebp + 8]
mov ecx, esi
call fcn.004a6319
test eax, eax
setne al
cmp al, bl
jne 0x451870
push 5
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
jmp 0x451870
xor al, al
call fcn.004b5486
ret

Function at 0x4554c6
Capabilities:
Check if file exists

Disassembly:
push 0x230
mov eax, 0x4dde84
call fcn.004b5417
push 0x50ea8c
lea ecx, [ebp - 0x234]
call fcn.0042b420
and dword [ebp - 4], 0
cmp dword [ebp + 8], 4
jne 0x4554fd
lea eax, [ebp - 0x234]
push eax
call fcn.0045150c
jmp 0x45550f
cmp dword [ebp + 8], 2
jne 0x455510
lea eax, [ebp - 0x234]
push eax
call fcn.00451646
pop ecx
cmp dword [ebp - 0x220], 0
jne 0x455536
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040d590
mov al, bl
call fcn.004b549a
ret
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x45554b
lea eax, [ebp - 0x230]
push str.setdefbrowser.dll
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455519
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046a1ab
add esp, 0xc
test al, al
je 0x455519
cmp dword [ebp - 0x238], 2
jbe 0x4555a0
xor bl, bl
jmp 0x45551b
jne 0x455519
cmp dword [ebp - 0x23c], 0x19
jae 0x455599
jmp 0x455519
Function at 0x4558d5
Capabilities:
Timestomp file

Disassembly:
push 0x5c
mov eax, 0x4ddee4
call fcn.004b53ae
call fcn.0044e2ad
test al, al
je 0x455a37
lea eax, [ebp - 0x18]
push eax
call fcn.0044dfc9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [esp], str.safemonwebprotection_firefox
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0040d610
push str.install.rdf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 3
push esi
push 0x80
push 3
push esi
push 3
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x455a1f
push str..tmp
lea ecx, [ebp - 0x68]
call fcn.0042b420
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
call fcn.0042b420
mov byte [ebp - 4], 5
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0044e620
pop ecx
pop ecx
mov byte [ebp - 4], 4
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040d590
mov byte [ebp - 4], 3
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.0040d590
push str..db
lea ecx, [ebp - 0x4c]
call fcn.0042b420
mov byte [ebp - 4], 6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
call fcn.0042b420
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0044e620
pop ecx
pop ecx
mov byte [ebp - 4], 6
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.0040d590
mov byte [ebp - 4], 3
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040d590
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d610
call fcn.004b5486
ret
Function at 0x458f89
Capabilities:
Get storage device properties

Disassembly:
push 0x48
mov eax, 0x4de3e8
call fcn.004b5417
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
call fcn.00444bb6
lea ecx, [ebp - 0x28]
call fcn.0040c7d0
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push str..PhysicalDrive_u
push eax
call fcn.0040e3f0
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push dword [ebp - 0x28]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x4590ee
push 0xc
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004b47e0
add esp, 0xc
xor eax, eax
push ebx
mov dword [ebp - 0x38], ebx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea eax, [ebp - 0x2c]
push eax
push 8
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
call edi
test eax, eax
je 0x4590d5
mov eax, dword [ebp - 0x34]
push 0x541444
push eax
mov dword [ebp - 0x20], eax
call fcn.004b6290
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4590d5
push dword [ebp - 0x20]
push ebx
push esi
call fcn.004b47e0
add esp, 0xc
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push esi
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], ebx
call edi
test eax, eax
je 0x4590d5
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4590d5
cmp eax, dword [ebp - 0x20]
jae 0x4590d5
add eax, esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00455fee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00447f80
mov ecx, eax
call fcn.00446369
push dword [ebp - 0x20]
lea ecx, [ebp - 0x54]
call fcn.0040c330
mov byte [ebp - 4], 2
push dword [ebp - 0x30]
lea eax, [ebp - 0x54]
push eax
call fcn.00445d0e
pop ecx
pop ecx
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040d2f0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0044209e
cmp dword [ebp - 0x24], ebx
je 0x4590e3
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4590ee
push esi
call fcn.004b5ee1
pop ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], ebx
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d610
mov al, bl
call fcn.004b549a
ret

Function at 0x45910b
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00458dc5
pop ecx
pop ecx
test al, al
jne 0x459125
pop ebp
jmp fcn.00458f89
mov al, 1
pop ebp
ret
Function at 0x45bc89
Capabilities:
Move file

Disassembly:
push 0x214
mov eax, 0x4ded9e
call fcn.004b5417
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov ebx, ecx
call fcn.004b47e0
push dword [esi]
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.004b86a2
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call fcn.0046e3b1
push esi
call fcn.0046e531
pop ecx
pop ecx
test al, al
je 0x45bd00
mov al, 1
call fcn.004b549a
ret 8
push 0x4f8b70
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00445250
and dword [ebp - 4], 0
push edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004451f9
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040d610
lea eax, [ebp - 0x21c]
push eax
call fcn.0046e531
pop ecx
test al, al
jne 0x45bd58
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
jmp 0x45bcf6
mov esi, dword [esi]
push 3
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45bd94
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 4]
call fcn.0045af0d
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
mov al, bl
jmp 0x45bcf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x45bd7e
Function at 0x45c0f2
Capabilities:
Get common file path

Disassembly:
push 0x220
mov eax, 0x4deea5
call fcn.004b5417
mov ebx, dword [ebp + 0xc]
mov esi, ecx
cmp dword [esi + 0x84], 0
je 0x45c25a
lea edi, [esi + 0x44]
mov eax, dword [edi + 0x18]
push edi
push eax
lea ecx, [ebp - 0x22c]
call fcn.004424c1
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x224]
push eax
mov ecx, edi
call fcn.004792bd
mov ecx, eax
call fcn.004833f7
test al, al
je 0x45c165
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00457650
push eax
mov ecx, ebx
call fcn.0045af0d
xor eax, eax
inc eax
jmp 0x45c25c
add esi, 0x64
lea eax, [ebp - 0x224]
push eax
mov ecx, esi
call fcn.00476f02
jmp 0x45c1d2
lea ecx, [ebp - 0x21c]
call fcn.0040c7d0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00478005
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp + 8]
mov ecx, eax
call fcn.00458973
test eax, eax
je 0x45c1b8
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.0045af0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
lea ecx, [ebp - 0x224]
call fcn.0043f98e
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x22c]
call fcn.004424c1
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0043cc0e
test al, al
je 0x45c178
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
test eax, 0xfffffffc
jne 0x45c15d
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45c25a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0044bc85
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.0045af0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
mov eax, esi
jmp 0x45c25c
xor eax, eax
call fcn.004b549a
ret 8
Function at 0x45d8af
Capabilities:
Check if file exists

Disassembly:
push 0x44
mov eax, 0x4df239
call fcn.004b5417
mov eax, dword [ebp + 8]
xor esi, esi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 7
call fcn.0040daa0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0045d689
pop ecx
test al, al
je 0x45d9c5
push dword [0x535300]
lea ecx, [ebp - 0x34]
call fcn.0044bc85
mov byte [ebp - 4], 1
mov edi, 0x4f8b70
push edi
lea ecx, [ebp - 0x34]
call fcn.00444b0f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45d914
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00444b0f
lea ecx, [ebp - 0x30]
call fcn.0040c7d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.PackageRootFolder
call fcn.0044bc85
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.004420c1
mov byte [ebp - 4], 4
push 0x80000001
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00443769
mov byte [ebp - 4], 5
push eax
call fcn.0044b15c
mov ebx, eax
neg ebx
pop ecx
sbb bl, bl
pop ecx
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00443c39
test bl, bl
jne 0x45d9ad
push edi
lea ecx, [ebp - 0x30]
call fcn.00444b0f
push str.MicrosoftEdge.exe
lea ecx, [ebp - 0x30]
call fcn.00444b0f
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d9d8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0040d610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040d590
xor al, al
jmp 0x45da0c
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
call fcn.0040c660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0040d610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040d590
mov al, 1
call fcn.004b549a
ret
Function at 0x45df99
Capabilities:
Check if file exists

Disassembly:
push 0xc0
mov eax, 0x4df3dc
call fcn.004b5417
mov edi, 0x50ea8c
push edi
lea ecx, [ebp - 0x48]
call fcn.0042b420
and dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044632e
mov byte [ebp - 4], 1
lea eax, [ebp - 0x74]
push eax
mov ebx, str.InstallLocation
push ebx
mov esi, 0x4fa388
push esi
push 0x80000002
call fcn.0045db36
lea eax, [ebp - 0x74]
push eax
push ebx
push esi
push 0x80000001
call fcn.0045db36
xor ebx, ebx
add esp, 0x20
cmp dword [ebp - 0x5c], ebx
jne 0x45e085
lea eax, [ebp - 0x48]
push eax
push dword [0x535288]
push dword [0x53525c]
call fcn.00450d3b
add esp, 0xc
cmp dword [ebp - 0x34], ebx
je 0x45e085
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0040c600
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 1
call fcn.00448d5d
add esp, 0x24
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xcc]
call fcn.00448da2
mov byte [ebp - 4], 4
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x74]
call fcn.00456278
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xcc]
call fcn.00444c87
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00444a91
push edi
lea ecx, [ebp - 0x2c]
call fcn.0042b420
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.004424c1
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004424c1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
jmp 0x45e125
lea ecx, [ebp - 0x50]
call fcn.0043f2d2
add eax, 0x1c
push str.launcher.exe
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0044c3ea
add esp, 0xc
mov byte [ebp - 4], 6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d3a0
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.0040d590
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45e112
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e146
lea ecx, [ebp - 0x50]
call fcn.0043cbdb
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
call fcn.004424c1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043cc0e
test al, al
je 0x45e0c4
jmp 0x45e17c
push str.Opera
lea ecx, [ebp - 0x4c]
call fcn.0044bc85
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push 1
push eax
call fcn.0045da12
mov bl, al
neg bl
pop ecx
sbb bl, bl
pop ecx
inc bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.0040d610
test bl, bl
je 0x45e1b2
xor bl, bl
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040d590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00459427
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.0040d590
mov al, bl
call fcn.004b549a
ret
mov bl, 1
jmp 0x45e17e
Function at 0x45e1b6
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x4df41c
call fcn.004b5417
mov esi, dword [ebp + 8]
push esi
push str.Opera.exe
call fcn.00451106
pop ecx
xor ebx, ebx
pop ecx
test al, al
je 0x45e1fe
cmp dword [esi + 0x14], ebx
je 0x45e1fe
cmp dword [esi + 0x18], 8
jb 0x45e1e8
mov esi, dword [esi + 4]
jmp 0x45e1eb
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e1fe
mov al, 1
call fcn.004b549a
ret
lea ecx, [ebp - 0x5c]
call fcn.0044632e
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x5c]
push eax
mov edi, str.InstallLocation
push edi
mov esi, str.Opera
push esi
push 0x80000002
call fcn.0045db36
lea eax, [ebp - 0x5c]
push eax
push edi
push esi
push 0x80000001
call fcn.0045db36
add esp, 0x20
push 0x50ea8c
lea ecx, [ebp - 0x2c]
call fcn.0042b420
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004424c1
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004424c1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
jmp 0x45e2d4
lea ecx, [ebp - 0x40]
call fcn.0043f2d2
add eax, 0x1c
push str.launcher.exe
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0044c3ea
add esp, 0xc
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d3a0
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.0040d590
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45e2c1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e2f8
lea ecx, [ebp - 0x40]
call fcn.0043cbdb
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x38]
call fcn.004424c1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043cc0e
test al, al
je 0x45e279
mov byte [ebp - 0x2d], bl
jmp 0x45e2fc
mov byte [ebp - 0x2d], 1
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040d590
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00459427
mov al, byte [ebp - 0x2d]
jmp 0x45e1f8
Function at 0x45e31e
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x4df41c
call fcn.004b5417
mov esi, dword [ebp + 8]
push esi
push str.firefox.exe
call fcn.00451106
pop ecx
pop ecx
test al, al
jne 0x45e461
lea ecx, [ebp - 0x5c]
call fcn.0044632e
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x5c]
push eax
mov edi, str.InstallLocation
push edi
mov esi, str.Firefox
push esi
push 0x80000002
call fcn.0045db36
lea eax, [ebp - 0x5c]
push eax
push edi
push esi
push 0x80000001
call fcn.0045db36
add esp, 0x20
push 0x50ea8c
lea ecx, [ebp - 0x2c]
call fcn.0042b420
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004424c1
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004424c1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
jmp 0x45e41a
lea ecx, [ebp - 0x40]
call fcn.0043f2d2
add eax, 0x1c
push str._firefox.exe
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0044c3ea
add esp, 0xc
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d3a0
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.0040d590
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45e407
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e43e
lea ecx, [ebp - 0x40]
call fcn.0043cbdb
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x38]
call fcn.004424c1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043cc0e
test al, al
je 0x45e3bf
mov byte [ebp - 0x2d], bl
jmp 0x45e442
mov byte [ebp - 0x2d], 1
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040d590
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00459427
mov al, byte [ebp - 0x2d]
jmp 0x45e47b
cmp dword [esi + 0x18], 8
jb 0x45e46c
mov esi, dword [esi + 4]
jmp 0x45e46f
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
call fcn.004b549a
ret

Function at 0x45f50e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
call fcn.0045f4cf
test al, al
jne 0x45f51c
pop ebp
ret
pop ebp
jmp fcn.0045e1b6
Function at 0x460965
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp ebx, esi
je 0x460ae1
cmp dword [ebp + 0xc], esi
je 0x460ae1
mov edi, dword [ebp + 0x10]
cmp edi, esi
je 0x460ae1
cmp dword [ebp + 0x14], esi
je 0x460ae1
cmp dword [ebp + 0xc], 2
jbe 0x460a35
mov dword [ebp - 8], 4
mov al, byte [ebx]
inc ebx
mov cl, byte [ebx]
sub dword [ebp + 0xc], 3
inc ebx
mov dl, byte [ebx]
inc ebx
mov dword [ebp + 8], ebx
mov bl, al
shr bl, 2
mov byte [ebp - 4], bl
mov bl, cl
and al, 3
shr bl, 4
shl al, 4
add al, bl
and cl, 0xf
mov bl, dl
shr bl, 6
shl cl, 2
add cl, bl
mov ebx, dword [ebp - 8]
and dl, 0x3f
mov byte [ebp - 1], dl
cmp ebx, dword [ebp + 0x14]
ja 0x460a97
movzx edx, byte [ebp - 4]
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], dl
inc esi
movzx eax, al
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], al
inc ebx
inc esi
movzx eax, cl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], al
movzx eax, byte [ebp - 1]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ebx
inc esi
inc ebx
mov byte [esi + edi], al
inc esi
inc ebx
cmp dword [ebp + 0xc], 2
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
ja 0x4609a8
cmp dword [ebp + 0xc], 0
je 0x460ad4
xor al, al
xor cl, cl
cmp dword [ebp + 0xc], 0
mov byte [ebp + 0xa], 0
mov byte [ebp + 9], al
mov byte [ebp + 8], cl
jbe 0x460a69
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push eax
call fcn.004b4be0
mov al, byte [ebp + 9]
mov cl, byte [ebp + 8]
add esp, 0xc
mov bl, cl
mov dl, al
and cl, 3
shr dl, 4
shl cl, 4
add cl, dl
mov dl, byte [ebp + 0xa]
and al, 0xf
shr dl, 6
shl al, 2
add al, dl
lea edx, [esi + 4]
shr bl, 2
cmp edx, dword [ebp + 0x14]
jbe 0x460a9c
mov eax, 0xffffffff
jmp 0x460ae3
or eax, 0xffffffff
jmp 0x460ae3
movzx edx, bl
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], dl
movzx ecx, cl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [esi + edi], cl
inc esi
cmp dword [ebp + 0xc], 1
jne 0x460ac2
mov byte [esi + edi], 0x3d
jmp 0x460ace
movzx eax, al
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0x3d
inc esi
cmp esi, dword [ebp + 0x14]
jae 0x460a90
mov byte [esi + edi], 0
mov eax, esi
jmp 0x460ae3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret