joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004470
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edaf9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1012d034]
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 - 0x48], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 1
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp + 0xc]
push eax
call fcn.10001a70
xor eax, eax
mov dword [ebp - 0x4c], 1
push 0xffffffffffffffff
push eax
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], 7
push eax
mov dword [ebp - 0x34], 0
call fcn.10001a70
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1003ad30
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x30], 8
jb 0x10004538
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x10004607
mov ebx, dword [ebp - 0x48]
add ebx, 4
cmp dword [ebx + 0x14], 8
jb 0x1000454e
mov ebx, dword [ebx]
call fcn.100b8740
push eax
push ebx
lea eax, [ebp - 0x2c]
push 0x100f9670
push eax
call fcn.10039f20
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp + 0xc]
push 0
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp + 0x20], 8
push ecx
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor eax, eax
mov dword [ebp - 0x30], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push eax
call fcn.10001a70
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.1003ad30
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 3
setne bl
cmp dword [ebp - 0x30], 8
jb 0x100045e2
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x100045f9
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x100045f9
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001a70
cmp dword [ebp - 0x18], 8
jb 0x10004607
push dword [ebp - 0x2c]
call edi
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x10004615
push dword [ebp + 0xc]
call edi
add esp, 4
mov eax, esi
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.100ebd7b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10004640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edb30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], 7
push eax
mov dword [ebp - 0x20], 0
call fcn.10001a70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1003ad30
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x1c], 8
jb 0x100046d2
push dword [ebp - 0x30]
call edi
add esp, 4
test bl, bl
jne 0x10004707
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x100f9688
push 1
push 0x9c
push 0x100f96d0
push 0x100f96b4
call fcn.100e1770
add esp, 0x18
xor esi, esi
jmp 0x100047c8
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.10001a70
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.10004470
mov ebx, eax
add esi, 0x1c
cmp esi, ebx
je 0x10004767
cmp dword [esi + 0x14], 8
jb 0x1000474c
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.10001910
cmp dword [ebp - 0x1c], 8
jb 0x10004775
push dword [ebp - 0x30]
call edi
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x10004786
mov eax, dword [esi]
jmp 0x10004788
mov eax, esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.100b5c40
add esp, 8
test eax, eax
je 0x100047c5
cmp dword [esi + 0x14], 8
jb 0x100047a1
mov esi, dword [esi]
push eax
push esi
push 0x100f9720
push 1
push 0xa5
push 0x100f9780
push str.CChrome::Open
call fcn.100e1770
add esp, 0x1c
xor esi, esi
jmp 0x100047c8
mov esi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 8
jb 0x100047d6
push dword [ebp + 8]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10006680
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x100066a1
mov ecx, dword [eax]
jmp 0x100066a3
mov ecx, eax
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x100066db
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 8]
call fcn.100080d0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 8
Function at 0x10006710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edd38
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1012d034]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
xor eax, eax
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push eax
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x50], 7
push eax
mov dword [ebp - 0x54], 0
call fcn.10001a70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.1003ad30
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne bl
cmp dword [ebp - 0x50], 8
jb 0x100067c9
push dword [ebp - 0x64]
call esi
add esp, 4
test bl, bl
jne 0x100067f0
push str.ERR:json_file_not_exist_
push 1
push 0x321
push 0x100fa114
push 0x100fa13c
call fcn.100e13e0
add esp, 0x14
jmp 0x100068df
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov ecx, esp
lea ebx, [ebp - 0x18]
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.10001a70
mov ecx, ebx
call fcn.100b6c30
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10006867
movdqu xmm0, xmmword [ebp - 0x30]
sub esp, 0x18
mov eax, esp
push str.ERR:_file_is_empty___s
push 1
push 0x328
movdqu xmmword [eax], xmm0
push 0x100fa198
movq xmm0, qword [ebp - 0x20]
push 0x100fa1e8
movq qword [eax + 0x10], xmm0
call fcn.100e1770
add esp, 0x2c
jmp 0x100068df
push ecx
mov ecx, eax
call fcn.100ba3b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100068a8
mov edx, str.os_crypt
mov ecx, ebx
call fcn.100bb1b0
test eax, eax
je 0x100068a8
mov edx, str.encrypted_key
mov ecx, eax
call fcn.100bb1b0
test eax, eax
je 0x100068a8
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100068a8
push eax
lea ecx, [ebp - 0x48]
call fcn.10006980
mov ecx, ebx
call fcn.100b9a20
cmp dword [ebp - 0x38], 0
jne 0x100068d3
push str.ERR:not_find_encrypted_key
push 1
push 0x343
push str..._srcMoniterHelper_browserChrome.cpp
push str.CChrome::GetEncodedKeyFromLocalStateFile
call fcn.100e13e0
add esp, 0x14
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.10007960
cmp dword [ebp - 0x1c], 8
jb 0x100068f8
push dword [ebp - 0x30]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], ax
jb 0x10006916
push dword [ebp - 0x48]
call esi
add esp, 4
mov eax, edi
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.100ebd7b
mov esp, ebp
pop ebp
ret 4
Function at 0x10008240
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edec7
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [ebp - 0x238], edi
call fcn.10003960
mov dword [ebp - 4], 0
lea esi, [edi + 0x80]
mov dword [edi], vtable.COperaDev.0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], eax
mov word [edx], ax
cmp word [ebp - 0x218], ax
jne 0x10008312
xor ecx, ecx
jmp 0x1000832f
lea ecx, [ebp - 0x218]
lea ebx, [ecx + 2]
jmp 0x10008320
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008320
sub ecx, ebx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.10001e10
lea ecx, [ebp - 0x230]
call fcn.1003af20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x250]
push 0x100fa2c8
push eax
call fcn.10039f20
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x24
mov dword [ebp - 0x234], eax
cmp esi, eax
je 0x100083b0
cmp dword [esi + 0x14], 8
jb 0x10008395
push dword [esi]
call ebx
mov eax, dword [ebp - 0x234]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.10001910
cmp dword [ebp - 0x23c], 8
jb 0x100083c4
push dword [ebp - 0x250]
call ebx
add esp, 4
push 0x14
push 0
push 0x100fa2e0
mov ecx, esi
call fcn.10006d30
cmp eax, 0xffffffff
je 0x100083f4
mov ecx, edi
mov byte [edi + 0x71], 1
call fcn.100085d0
push 0
push 0x100fa30c
mov ecx, esi
call fcn.10001e10
jmp 0x10008401
push esi
lea ecx, [edi + 0x74]
mov byte [edi + 0x71], 0
call fcn.10006ae0
cmp dword [ebp - 0x21c], 8
jb 0x10008415
push dword [ebp - 0x230]
call ebx
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x10009420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee058
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1012d034]
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 ebx, ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10009496
mov ecx, ebx
call fcn.100095e0
test al, al
jne 0x100094c6
push str.init_ntdll_fail_
push 3
push 0x6e
push 0x100faea8
push 0x100faf00
call fcn.100e1770
add esp, 0x14
xor bl, bl
cmp dword [ebp + 0x20], 8
jb 0x100094a6
push dword [ebp + 0xc]
call edi
add esp, 4
mov al, bl
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.100ebd7b
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, ebx
call fcn.1000a4c0
test al, al
jne 0x100094e6
push str.Get_process_id_fail_
push 3
push 0x75
push 0x100fafa8
push str.CEdgeHelper::GetHistoryData
jmp 0x1000948e
xor esi, esi
jmp 0x100094f0
push dword [esi + 0x100fc230]
lea ecx, [ebp - 0x4c]
call fcn.10001f10
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x10]
call fcn.1000c020
cmp dword [ebp - 0x38], 8
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jb 0x10009521
push dword [ebp - 0x4c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp + 0xc]
push eax
call fcn.10001a70
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
push dword [ebp - 0x34]
call fcn.10009c80
test al, al
jne 0x1000958d
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 8
jb 0x1000957a
push dword [ebp - 0x2c]
call edi
add esp, 4
add esi, 4
cmp esi, 0x10
jb 0x100094f0
mov bl, 1
jmp 0x10009498
sub esp, 0x18
mov dword [ebx + 0x18], 0
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.10001a70
push dword [ebp + 8]
mov ecx, ebx
call fcn.1000a670
cmp dword [ebp - 0x18], 8
jb 0x100095d0
push dword [ebp - 0x2c]
call edi
add esp, 4
mov bl, 1
jmp 0x10009498
Function at 0x1000a4c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee17b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a53a
push 0x228
lea eax, [ebp - 0x23c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1000a541
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1000a654
add ebx, 0x10
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [ebp - 0x21c], ax
je 0x1000a582
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000a573
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x260]
call fcn.10001e10
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.1000c360
mov esi, eax
cmp esi, dword [ebx]
je 0x1000a5d7
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x1000a5be
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x250]
lea ecx, [ebp - 0x260]
push 0
call fcn.100032d0
test eax, eax
jns 0x1000a60d
lea eax, [ebp - 0x260]
push ecx
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push eax
push ecx
mov ecx, ebx
call fcn.1000cd20
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.1000cd60
mov esi, dword [ebp - 0x244]
mov eax, dword [ebp - 0x238]
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24c], 8
jb 0x1000a635
push dword [ebp - 0x260]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000a544
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret
Function at 0x1000bd30
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmovae eax, dword [ebp + 8]
push 0
push 1
push 0x80000000
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x1000bdb5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
inc eax
push eax
mov dword [ebp - 0x18], eax
call fcn.100e0c76
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000bde9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x1000bdc9
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp - 0x18]
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
sub esp, 8
mov dword [esi + 0x34], 3
lea eax, [esi + 4]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000bea0
mov eax, dword [ebp - 0x18]
push 0
push 0x80
push 3
mov dword [esi], eax
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push 0
push 0x40000000
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000be74
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
push ebx
call edi
jmp 0x1000bdb5
push 0
lea eax, [ebp - 0x14]
push eax
push 0x29c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call edi
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov bl, 1
jmp 0x1000bdb7
Function at 0x1000bea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor edx, edx
xor bl, bl
push esi
mov esi, 0x1ffc
mov dword [ebp - 4], edx
cmp dword [ebp + 8], edx
jne 0x1000bec2
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000beb7
mov bh, al
and bh, 3
push edi
mov edi, 0x89abcdef
mov byte [ebp + 0xf], bh
jbe 0x1000bf2c
mov bh, 4
sub bh, byte [ebp + 0xf]
je 0x1000bf24
xor edx, edx
mov bl, 1
cmp bh, 4
jb 0x1000bef2
movzx edx, byte [eax + 3]
mov bl, 2
shl edx, 8
cmp bh, 3
jb 0x1000bf02
movzx ecx, byte [eax + 2]
or edx, ecx
shl edx, 8
inc bl
cmp bh, 2
jb 0x1000bf12
movzx ecx, byte [eax + 1]
or edx, ecx
shl edx, 8
inc bl
movzx ecx, byte [eax]
or edx, ecx
movzx ecx, bl
add eax, ecx
xor edi, edx
sub bh, bl
jne 0x1000bee0
xor edx, edx
mov bh, byte [ebp + 0xf]
movzx ecx, bl
sub esi, ecx
cmp esi, 4
jbe 0x1000bf46
lea ecx, [esi - 5]
shr ecx, 2
inc ecx
xor edx, dword [eax]
sub esi, 4
add eax, 4
dec ecx
jne 0x1000bf38
mov dword [ebp - 4], edx
test bh, bh
je 0x1000bf71
movzx ecx, bh
and ecx, 0x80000003
jns 0x1000bf5a
dec ecx
or ecx, 0xfffffffc
inc ecx
mov bl, 4
shl cl, 3
sub bl, bh
shl edx, cl
shl bl, 3
mov cl, bl
mov ebx, dword [ebp - 4]
shr ebx, cl
xor edi, edx
jmp 0x1000bf74
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebp + 0xf]
xor edi, ebx
and ecx, 0x80000003
jns 0x1000bf87
dec ecx
or ecx, 0xfffffffc
inc ecx
mov bl, 4
sub bl, cl
cmp bl, 4
je 0x1000bfbb
movzx edx, byte [eax]
shl edx, 8
cmp bl, 2
jb 0x1000bfa1
movzx ecx, byte [eax + 1]
or edx, ecx
shl edx, 8
cmp bl, 3
jb 0x1000bfaf
movzx ecx, byte [eax + 2]
or edx, ecx
movzx ecx, bl
shl edx, 8
add eax, ecx
sub esi, ecx
xor edi, edx
test esi, esi
je 0x1000c004
nop
xor edx, edx
mov bl, 1
cmp esi, 4
jb 0x1000bfd2
movzx edx, byte [eax + 3]
mov bl, 2
shl edx, 8
cmp esi, 3
jb 0x1000bfe3
movzx ecx, byte [eax + 2]
or edx, ecx
shl edx, 8
add bl, 1
cmp esi, 2
jb 0x1000bff4
movzx ecx, byte [eax + 1]
or edx, ecx
shl edx, 8
add bl, 1
movzx ecx, byte [eax]
or edx, ecx
movzx ecx, bl
add eax, ecx
xor edi, edx
sub esi, ecx
jne 0x1000bfc0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000dbe0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee426
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CFirefox.0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [ebp - 0x21c], esi
mov word [esi + 4], cx
mov dword [ebp - 4], ecx
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ecx
mov word [esi + 0x1c], cx
lea edi, [esi + 0x34]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ecx
mov word [edi], ax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
push 0x206
mov byte [ebp - 4], 3
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x1000dc9d
xor ecx, ecx
jmp 0x1000dcb5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000dca6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.10001e10
push 0x14
push 0
push 0x100fc240
mov ecx, edi
call fcn.10006d30
cmp eax, 0xffffffff
je 0x1000dcf4
mov ecx, esi
mov byte [esi + 0x4c], 1
call fcn.1000dfc0
push 0
push 0x100fc26c
mov ecx, edi
call fcn.10001e10
jmp 0x1000dd01
push edi
lea ecx, [esi + 0x50]
mov byte [esi + 0x4c], 0
call fcn.10006ae0
mov eax, dword [0x10132504]
test al, 1
jne 0x1000dd2c
or eax, 1
mov dword [0x10132504], eax
mov byte [ebp - 4], 4
call fcn.100134d0
push 0x100f6ad0
call fcn.100ebe7b
add esp, 4
mov byte [ebp - 4], 3
cmp dword [0x10132564], 8
mov edx, 0x10132550
cmovae edx, dword [0x10132550]
cmp word [edx], 0
jne 0x1000dd49
xor ecx, ecx
jmp 0x1000dd5f
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000dd50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 4]
call fcn.10001e10
push 0
push 0x100fc270
lea ecx, [esi + 0x1c]
call fcn.10001e10
mov dword [esi + 0x5c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret