joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50b4e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [0x557c54], 0x2ca5
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x557c54], 0x261f
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x50b582
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x50b633
jmp 0x50b66a
mov eax, dword [ebp - 0x1c]
mov dword [0x557c58], 0x6af
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x50b5bb
jmp 0x50b66a
mov dword [0x557c54], 0x17cf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x50b520
jmp 0x50b66a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x50b543
mov dword [0x557c54], 0x6eb
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jl 0x50b582
jmp 0x50b543
mov dword [0x557c54], 0x1f57
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x6f
jne 0x50b66a
mov eax, dword [0x557c58]
add eax, 0xffffec0d
mov dword [0x557c54], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x61
jne 0x50b66a
mov dword [0x557c58], 0x681
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x2a], dx
mov ax, word [ebp - 0x2a]
cmp ax, 0x64
je 0x50b564
jmp 0x50b66a
mov dword [0x557c54], 0x23a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x2b], dl
mov eax, 0x5b7
mov ecx, 1
mov dl, byte [ebp - 0x2b]
test dl, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jne 0x50b679
jmp 0x50b66a
mov eax, 0x1567
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jmp 0x50b679
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x557c54], ecx
add esp, 0x34
pop ebp
ret
Function at 0x10002c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], eax
push edi
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xc], edx
jb 0x10002c6e
mov edi, dword [ebx]
jmp 0x10002c70
mov edi, ebx
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x10002c94
mov edx, eax
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10002c80
mov edx, dword [ebp - 0xc]
mov edi, dword [edx + 0x14]
mov ecx, edi
and ecx, esi
cmp dword [edx + 0x18], ecx
ja 0x10002ca9
shr edi, 1
or eax, 0xffffffff
sub eax, edi
add ecx, eax
mov esi, dword [edx + 8]
shl ecx, 3
mov dword [ebp - 8], ecx
mov esi, dword [ecx + esi]
add ecx, dword [edx + 8]
mov eax, dword [edx]
cmp dword [ecx], eax
je 0x10002cc3
mov eax, dword [ecx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x10002d60
cmp dword [ebx + 0x14], 8
lea ecx, [esi + 8]
jb 0x10002cd8
mov eax, dword [ebx]
jmp 0x10002cda
mov eax, ebx
push dword [ebx + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.100035e0
test eax, eax
je 0x10002cf6
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x10002cb5
mov edi, esi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 8]
mov edi, edi
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
mov eax, dword [edx]
cmp dword [ecx + edi], eax
je 0x10002d13
mov eax, dword [ecx + edi + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x10002d3e
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x10002d25
mov eax, dword [eax]
push ecx
push eax
push dword [ebx + 0x10]
mov ecx, ebx
push 0
call fcn.100035e0
test eax, eax
jne 0x10002d3b
mov esi, dword [esi]
jmp 0x10002d00
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x10002d60
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx]
pop edi
pop esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101176fb
mov esp, ebp
pop ebp
ret 8
Function at 0x10003360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x1000338e
mov esi, dword [edi]
jmp 0x10003390
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x100033b4
mov edi, eax
lea ecx, [ecx]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100033a0
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x100033c9
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp - 8], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
cmp esi, eax
je 0x10003415
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10003415
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x100033f4
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.100035e0
test eax, eax
je 0x10003413
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
cmp esi, dword [ecx + eax]
jne 0x100033e3
jmp 0x10003415
mov esi, dword [esi]
mov eax, dword [ebx]
push edi
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push dword [eax + 4]
push eax
call fcn.10003830
mov edx, eax
mov ecx, 0x3fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jae 0x10003442
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x1000347c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10003495
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x100034ba
cmp eax, esi
jne 0x1000349d
mov dword [ecx], edi
jmp 0x100034ba
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100034ba
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [edx + eax + 4]
mov edx, dword [edx + 4]
mov dword [ecx + eax + 4], edx
mov ecx, ebx
call fcn.10003520
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100036a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x100036ce
mov esi, dword [edi]
jmp 0x100036d0
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x100036f4
mov edi, eax
lea ecx, [ecx]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100036e0
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x10003709
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp - 8], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
cmp esi, eax
je 0x10003755
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10003755
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jb 0x10003734
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.100035e0
test eax, eax
je 0x10003753
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
cmp esi, dword [ecx + eax]
jne 0x10003723
jmp 0x10003755
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x1000377f
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10003798
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x100037bd
cmp eax, esi
jne 0x100037a0
mov dword [ecx], edi
jmp 0x100037bd
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100037bd
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [edx + eax + 4]
mov edx, dword [edx + 4]
mov dword [ecx + eax + 4], edx
mov ecx, ebx
call fcn.10003520
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
call fcn.101176fb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003c80
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101192e2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10165034]
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 esi, ecx
mov dword [esi], vtable.CChrome.0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [ebp - 0x220], esi
mov word [esi + 4], cx
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ecx
mov word [esi + 0x1c], ax
lea edi, [esi + 0x34]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esi + 0x60], 7
mov dword [esi + 0x5c], eax
mov word [esi + 0x4c], cx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov al, byte [ebp + 8]
mov byte [esi + 0x70], al
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ecx
xor eax, eax
mov byte [ebp - 4], 5
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x10003d5c
xor ecx, ecx
jmp 0x10003d74
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003d65
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.10002100
push 0x14
push 0
push 0x101275d8
mov ecx, edi
call fcn.10007090
cmp eax, 0xffffffff
je 0x10003db3
mov ecx, esi
mov byte [esi + 0x71], 1
call fcn.100043f0
push 0
push 0x10127604
mov ecx, edi
call fcn.10002100
jmp 0x10003dc0
push edi
lea ecx, [esi + 0x74]
mov byte [esi + 0x71], 0
call fcn.10006e40
push 0
push 0x10127608
lea ecx, [esi + 0x4c]
call fcn.10002100
mov eax, dword [0x1016b50c]
test al, 1
jne 0x10003dfa
or eax, 1
mov dword [0x1016b50c], eax
mov byte [ebp - 4], 6
call fcn.10015e80
push 0x101246b0
call fcn.101177fb
add esp, 4
mov byte [ebp - 4], 5
cmp dword [0x1016b56c], 8
mov edx, 0x1016b558
cmovae edx, dword [0x1016b558]
cmp word [edx], 0
jne 0x10003e17
xor eax, eax
jmp 0x10003e2f
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003e20
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 4]
call fcn.10002100
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.101176fb
mov esp, ebp
pop ebp
ret 4
Function at 0x10003ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119331
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10165034]
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 dword [ebp - 4], 0
lea edi, [ecx + 0x34]
mov dword [ebp - 0x30], 0
cmp dword [edi + 0x14], 8
jb 0x10003f06
mov eax, dword [edi]
jmp 0x10003f08
mov eax, edi
mov esi, dword [ebp + 8]
push eax
push str._sGoogleChromeUser_DataDefaultLocal_State
push esi
call fcn.1004df00
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.10001d60
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.1004eda0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne al
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x11], al
jb 0x10003f8c
push dword [ebp - 0x2c]
call ebx
mov al, byte [ebp - 0x11]
add esp, 4
test al, al
jne 0x10003fe6
cmp dword [edi + 0x14], 8
jb 0x10003f98
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x2c]
push str._sGoogleChromeUser_DataLocal_State
push eax
call fcn.1004df00
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x10003fd8
cmp dword [esi + 0x14], 8
jb 0x10003fbd
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.10001be0
cmp dword [ebp - 0x18], 8
jb 0x10003fe6
push dword [ebp - 0x2c]
call ebx
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.101176fb
mov esp, ebp
pop ebp
ret 4
Function at 0x10004790
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101194b9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10165034]
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.10001d60
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.10001d60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1004eda0
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 0x10004858
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x10004927
mov ebx, dword [ebp - 0x48]
add ebx, 4
cmp dword [ebx + 0x14], 8
jb 0x1000486e
mov ebx, dword [ebx]
call fcn.100ce040
push eax
push ebx
lea eax, [ebp - 0x2c]
push 0x101278b0
push eax
call fcn.1004df00
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.10001d60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.1004eda0
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 0x10004902
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x10004919
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x10004919
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001d60
cmp dword [ebp - 0x18], 8
jb 0x10004927
push dword [ebp - 0x2c]
call edi
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x10004935
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.101176fb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10004960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101194f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10165034]
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.10001d60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1004eda0
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 0x100049f2
push dword [ebp - 0x30]
call edi
add esp, 4
test bl, bl
jne 0x10004a27
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x101278c8
push 1
push 0x9c
push 0x10127910
push 0x101278f4
call fcn.1010dc80
add esp, 0x18
xor esi, esi
jmp 0x10004ae8
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.10001d60
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.10004790
mov ebx, eax
add esi, 0x1c
cmp esi, ebx
je 0x10004a87
cmp dword [esi + 0x14], 8
jb 0x10004a6c
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.10001be0
cmp dword [ebp - 0x1c], 8
jb 0x10004a95
push dword [ebp - 0x30]
call edi
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x10004aa6
mov eax, dword [esi]
jmp 0x10004aa8
mov eax, esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.100c9bc0
add esp, 8
test eax, eax
je 0x10004ae5
cmp dword [esi + 0x14], 8
jb 0x10004ac1
mov esi, dword [esi]
push eax
push esi
push 0x10127960
push 1
push 0xa5
push 0x101279c0
push str.CChrome::Open
call fcn.1010dc80
add esp, 0x1c
xor esi, esi
jmp 0x10004ae8
mov esi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 8
jb 0x10004af6
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.101176fb
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100069a0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10165034]
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 0x100069c1
mov ecx, dword [eax]
jmp 0x100069c3
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 0x100069fb
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 8]
call fcn.10008550
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.101176fb
mov esp, ebp
pop ebp
ret 8
Function at 0x10006a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101196f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10165034]
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.10001d60
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.1004eda0
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 0x10006ae9
push dword [ebp - 0x64]
call esi
add esp, 4
test bl, bl
jne 0x10006b10
push str.ERR:json_file_not_exist_
push 1
push 0x321
push 0x10128354
push 0x1012837c
call fcn.1010d8f0
add esp, 0x14
jmp 0x10006c03
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.10001d60
mov ecx, ebx
call fcn.100cabb0
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10006b87
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 0x101283d8
movq xmm0, qword [ebp - 0x20]
push 0x10128428
movq qword [eax + 0x10], xmm0
call fcn.1010dc80
add esp, 0x2c
jmp 0x10006c03
push eax
call fcn.100d3c50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10006bca
push str.os_crypt
push ebx
call fcn.100d5140
add esp, 8
test eax, eax
je 0x10006bca
push str.encrypted_key
push eax
call fcn.100d5140
add esp, 8
test eax, eax
je 0x10006bca
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10006bca
push eax
lea ecx, [ebp - 0x48]
call fcn.10006cd0
push ebx
call fcn.100d2a40
add esp, 4
cmp dword [ebp - 0x38], 0
jne 0x10006bf7
push str.ERR:not_find_encrypted_key
push 1
push 0x343
push str..._srcMoniterHelper_browserChrome.cpp
push str.CChrome::GetEncodedKeyFromLocalStateFile
call fcn.1010d8f0
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.10007d60
cmp dword [ebp - 0x1c], 8
jb 0x10006c1c
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 0x10006c3a
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.101176fb
mov esp, ebp
pop ebp
ret 4