joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6124f859
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x61254090], 0
mov eax, dword [0x61253ebc]
mov dword [ebp - 4], eax
je 0x6124f9ec
push ebx
push esi
push edi
call fcn.6124df7c
push eax
call fcn.6124f385
push 0x612418f8
mov esi, 0x612418c0
push esi
call fcn.6124d6b7
push esi
push esi
mov esi, 0x80000001
push esi
call fcn.6124eaba
lea eax, [ebp - 0x20c]
push eax
mov ebx, 0xf003f
push ebx
push 0
mov edi, 0x61241948
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6124f961
lea eax, [ebp - 0x208]
push eax
push ebx
push 0
push 0x612419a8
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6124f955
and word [ebp - 0x204], ax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push str.ctfmon.exe
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6124f949
push dword [ebp - 0x210]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x214]
push 0
push str.ctfmon.exe
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
call fcn.6124eaba
push 0x61241aa4
mov edi, 0x61241a84
push edi
call fcn.6124d6b7
push edi
push edi
push esi
call fcn.6124eaba
push 0x61241b10
mov edi, 0x61241ad8
push edi
call fcn.6124d6b7
push edi
push edi
push esi
call fcn.6124eaba
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x208]
push eax
xor edi, edi
push edi
push ebx
push edi
push edi
push edi
mov ebx, 0x61241b88
push ebx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x6124f9e3
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ebx, 0x61241b58
push ebx
call fcn.6124d6b7
push ebx
push ebx
push esi
call fcn.6124eaba
mov dword [0x61254090], edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.6124ff04
leave
ret
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10002140
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de332
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10115034]
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 0x1000221c
xor ecx, ecx
jmp 0x10002234
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002225
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.10001df0
push 0x14
push 0
push 0x100e80bc
mov ecx, edi
call fcn.10005890
cmp eax, 0xffffffff
je 0x10002273
mov ecx, esi
mov byte [esi + 0x71], 1
call fcn.100028b0
push 0
push 0x100e813c
mov ecx, edi
call fcn.10001df0
jmp 0x10002280
push edi
lea ecx, [esi + 0x74]
mov byte [esi + 0x71], 0
call fcn.10005640
push 0
push 0x100e8140
lea ecx, [esi + 0x4c]
call fcn.10001df0
mov eax, dword [0x10119bf0]
test al, 1
jne 0x100022ba
or eax, 1
mov dword [0x10119bf0], eax
mov byte [ebp - 4], 6
call fcn.10011310
push 0x100e61a0
call fcn.100dc9fb
add esp, 4
mov byte [ebp - 4], 5
cmp dword [0x10119c54], 8
mov edx, 0x10119c40
cmovae edx, dword [0x10119c40]
cmp word [edx], 0
jne 0x100022d7
xor eax, eax
jmp 0x100022ef
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100022e0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 4]
call fcn.10001df0
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.100dc8fb
mov esp, ebp
pop ebp
ret 4
Function at 0x10002380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de381
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10115034]
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 0x100023c6
mov eax, dword [edi]
jmp 0x100023c8
mov eax, edi
mov esi, dword [ebp + 8]
push eax
push str._sGoogleChromeUser_DataDefaultLocal_State
push esi
call fcn.1002e5f0
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.10001a60
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.1002f390
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 0x1000244c
push dword [ebp - 0x2c]
call ebx
mov al, byte [ebp - 0x11]
add esp, 4
test al, al
jne 0x100024a6
cmp dword [edi + 0x14], 8
jb 0x10002458
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x2c]
push str._sGoogleChromeUser_DataLocal_State
push eax
call fcn.1002e5f0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x10002498
cmp dword [esi + 0x14], 8
jb 0x1000247d
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.10001900
cmp dword [ebp - 0x18], 8
jb 0x100024a6
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.100dc8fb
mov esp, ebp
pop ebp
ret 4
Function at 0x10002c50
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de509
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10115034]
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.10001a60
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.10001a60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.1002f390
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 0x10002d18
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x10002de7
mov ebx, dword [ebp - 0x48]
add ebx, 4
cmp dword [ebx + 0x14], 8
jb 0x10002d2e
mov ebx, dword [ebx]
call fcn.100ac9b0
push eax
push ebx
lea eax, [ebp - 0x2c]
push 0x100e83e8
push eax
call fcn.1002e5f0
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.10001a60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.1002f390
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 0x10002dc2
push dword [ebp - 0x44]
call edi
add esp, 4
test bl, bl
je 0x10002dd9
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x10002dd9
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001a60
cmp dword [ebp - 0x18], 8
jb 0x10002de7
push dword [ebp - 0x2c]
call edi
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x10002df5
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.100dc8fb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10002e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de540
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10115034]
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.10001a60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1002f390
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 0x10002eb2
push dword [ebp - 0x30]
call edi
add esp, 4
test bl, bl
jne 0x10002ee7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x100e8400
push 1
push 0x9c
push 0x100e8448
push 0x100e842c
call fcn.100d1600
add esp, 0x18
xor esi, esi
jmp 0x10002fa8
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.10001a60
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.10002c50
mov ebx, eax
add esi, 0x1c
cmp esi, ebx
je 0x10002f47
cmp dword [esi + 0x14], 8
jb 0x10002f2c
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.10001900
cmp dword [ebp - 0x1c], 8
jb 0x10002f55
push dword [ebp - 0x30]
call edi
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x10002f66
mov eax, dword [esi]
jmp 0x10002f68
mov eax, esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.100aa2c0
add esp, 8
test eax, eax
je 0x10002fa5
cmp dword [esi + 0x14], 8
jb 0x10002f81
mov esi, dword [esi]
push eax
push esi
push 0x100e8498
push 1
push 0xa5
push 0x100e84f8
push str.CChrome::Open
call fcn.100d1600
add esp, 0x1c
xor esi, esi
jmp 0x10002fa8
mov esi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 8
jb 0x10002fb6
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.100dc8fb
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100051e0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10115034]
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 0x10005201
mov ecx, dword [eax]
jmp 0x10005203
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 0x1000523b
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 8]
call fcn.10006eb0
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.100dc8fb
mov esp, ebp
pop ebp
ret 8
Function at 0x10005270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de788
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10115034]
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 + 0x18]
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.10001a60
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.1002f390
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 0x10005329
push dword [ebp - 0x64]
call esi
add esp, 4
test bl, bl
jne 0x10005350
push str.ERR:json_file_not_exist_
push 1
push 0x2e9
push 0x100e8eec
push 0x100e8f14
call fcn.100d1270
add esp, 0x14
jmp 0x1000543f
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.10001a60
mov ecx, ebx
call fcn.100ab2b0
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100053c7
movdqu xmm0, xmmword [ebp - 0x30]
sub esp, 0x18
mov eax, esp
push str.ERR:_file_is_empty___s
push 1
push 0x2f0
movdqu xmmword [eax], xmm0
push 0x100e8f70
movq xmm0, qword [ebp - 0x20]
push 0x100e8fc0
movq qword [eax + 0x10], xmm0
call fcn.100d1600
add esp, 0x2c
jmp 0x1000543f
push ecx
mov ecx, eax
call fcn.100ae630
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10005408
mov edx, str.os_crypt
mov ecx, ebx
call fcn.100af410
test eax, eax
je 0x10005408
mov edx, str.encrypted_key
mov ecx, eax
call fcn.100af410
test eax, eax
je 0x10005408
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10005408
push eax
lea ecx, [ebp - 0x48]
call fcn.100054e0
mov ecx, ebx
call fcn.100adc90
cmp dword [ebp - 0x38], 0
jne 0x10005433
push str.ERR:not_find_encrypted_key
push 1
push 0x30b
push str..._srcMoniterHelper_browserChrome.cpp
push str.CChrome::GetEncodedKeyFromLocalStateFile
call fcn.100d1270
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.100066e0
cmp dword [ebp - 0x1c], 8
jb 0x10005458
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 0x10005476
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.100dc8fb
mov esp, ebp
pop ebp
ret 4
Function at 0x10007aa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10115034]
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 0x10007b16
mov ecx, ebx
call fcn.10007c60
test al, al
jne 0x10007b46
push str.init_ntdll_fail_
push 3
push 0x6e
push 0x100e9ae0
push 0x100e9a7c
call fcn.100d1600
add esp, 0x14
xor bl, bl
cmp dword [ebp + 0x20], 8
jb 0x10007b26
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.100dc8fb
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, ebx
call fcn.10008b40
test al, al
jne 0x10007b66
push str.Get_process_id_fail_
push 3
push 0x75
push 0x100e9b38
push str.CEdgeHelper::GetHistoryData
jmp 0x10007b0e
xor esi, esi
jmp 0x10007b70
push dword [esi + 0x100eae00]
lea ecx, [ebp - 0x4c]
call fcn.10001ef0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x10]
call fcn.1000a6a0
cmp dword [ebp - 0x38], 8
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jb 0x10007ba1
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.10001a60
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
push dword [ebp - 0x34]
call fcn.10008300
test al, al
jne 0x10007c0d
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 8
jb 0x10007bfa
push dword [ebp - 0x2c]
call edi
add esp, 4
add esi, 4
cmp esi, 0x10
jb 0x10007b70
mov bl, 1
jmp 0x10007b18
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.10001a60
push dword [ebp + 8]
mov ecx, ebx
call fcn.10008cf0
cmp dword [ebp - 0x18], 8
jb 0x10007c50
push dword [ebp - 0x2c]
call edi
add esp, 4
mov bl, 1
jmp 0x10007b18
Function at 0x10008b40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100deaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10115034]
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 0x10008bba
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 0x10008bc1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10008cd4
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 0x10008c02
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008bf3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x260]
call fcn.10001df0
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.1000aa10
mov esi, eax
cmp esi, dword [ebx]
je 0x10008c57
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x10008c3e
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x250]
lea ecx, [ebp - 0x260]
push 0
call fcn.100063b0
test eax, eax
jns 0x10008c8d
lea eax, [ebp - 0x260]
push ecx
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push eax
push ecx
mov ecx, ebx
call fcn.1000b3d0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.1000b410
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 0x10008cb5
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 0x10008bc4
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.100dc8fb
mov esp, ebp
pop ebp
ret
Function at 0x1000a3b0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dec38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10115034]
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 0x1000a435
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.100d0ba0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000a469
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x1000a449
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.100dc8fb
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.1000a520
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 0x1000a4f4
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
push ebx
call edi
jmp 0x1000a435
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 0x1000a437