joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10077040
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20000000
push 0
push 0
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x10077080
push 0x34
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x10077092
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x100770fe
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x100770fe
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
cmp eax, 1
jne 0x100770dc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 1
je 0x100770fe
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
cmp eax, 1
je 0x100770c1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.101149a0
mov esp, ebp
pop ebp
ret

Function at 0x10077120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
push ecx
mov dword [ebp - 8], 0
call fcn.10121050
push 0x44
mov esi, eax
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.10118ce0
add esp, 0x10
mov dword [ebp - 0x7c], 0x44
xor eax, eax
mov dword [ebp - 0x50], 1
mov word [ebp - 0x4c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
test eax, eax
jne 0x10077199
call fcn.1011cd46
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1011cd46
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 4
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
nop dword [eax]
push 0x64
push dword [ebp - 0x18]
call edi
push 1
push 0
push 0
mov esi, eax
lea eax, [ebp - 0x34]
push 0
push eax
call ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp esi, 0x102
je 0x100771b0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 8], 0
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10077470
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x80
push 3
push 0
push 7
mov esi, edx
push 0x80000000
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100774e4
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.10118ce0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push str.CreateFileW_faild:_d
push eax
call fcn.10076250
add esp, 0xc
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x100774d2
push ebx
push 4
mov dword [esi], eax
inc eax
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [esi]
mov ebx, eax
inc ecx
push ecx
push 0
push ebx
call fcn.10118ce0
add esp, 0xc
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push 0
push eax
push dword [esi]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007754b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push 0x1000
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
mov dword [esi], 0
xor ecx, ebp
pop esi
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x10077e20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013d138
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10182f40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
movzx eax, word [ebp + 0xc]
push 0x1016e5fc
push eax
mov dword [ebp - 4], 0
push dword [0x10188cc0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10077ef4
push edi
push dword [0x10188cc0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10077ef4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10077eed
push edi
push dword [0x10188cc0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
sub esp, 0x28
mov dword [ebp - 0x18], 0
mov ecx, esp
mov edx, eax
mov eax, method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
mov dword [ecx + 0x24], 0
test eax, eax
je 0x10077ed3
mov dword [ecx], vtable.std::_Func_impl_int____cdecl___wchar_t_const___unsigned_long_int___class_std::allocator_int___int__wchar_t_const___unsigned_long_int_.0
mov dword [ecx + 4], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
mov dword [ecx + 0x24], ecx
sub esp, 0x28
mov eax, esp
push ecx
push dword [ebp + 8]
mov ecx, ebx
mov dword [eax + 0x24], 0
call fcn.1010e700
add esp, 0x58
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10077ff0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x1007805f
xor ecx, ecx
jmp 0x1007807f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10078070
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x100780a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x24
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x1007810f
xor ecx, ecx
jmp 0x1007812f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10078120
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1007a600
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10182f40]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], 0x67452301
mov edx, ecx
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov esi, edx
mov dword [esp + 0x1c], 0x10325476
movups xmm0, xmmword [esp + 0x10]
mov dword [esp + 0x28], edx
lea ecx, [esi + 2]
movups xmmword [esp + 0x4c], xmm0
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1007a653
sub esi, ecx
sar esi, 1
mov eax, esi
mov dword [esp + 0x2c], esi
shl eax, 4
mov dword [esp + 0x44], eax
mov eax, esi
shr eax, 0x1c
and eax, 7
mov dword [esp + 0x48], eax
test esi, 0x7fffffff
je 0x1007a702
xor ecx, ecx
neg esi
add esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
mov al, byte [edx]
mov byte [esp + ecx + 0x5c], al
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0x40
jne 0x1007a6f2
movups xmm0, xmmword [esp + 0x5c]
lea edx, [esp + 0xac]
lea ecx, [esp + 0x4c]
movups xmmword [esp + 0xac], xmm0
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [esp + 0xbc], xmm0
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [esp + 0xcc], xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [esp + 0xdc], xmm0
call fcn.1007c5c0
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x28]
inc edx
add dword [esp + 0x34], 1
mov dword [esp + 0x28], edx
jne 0x1007a691
lea ecx, [esp + 0x44]
call fcn.1007cd80
mov ecx, dword [esp + 0xa4]
mov eax, edi
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0xa8]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x9c]
mov dword [edi], ecx
mov ecx, dword [esp + 0xa0]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1007aa90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013d498
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10182f40]
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, edx
mov edi, ecx
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x1007aadc
mov eax, dword [esi]
jmp 0x1007aade
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007aaea
xor ecx, ecx
jmp 0x1007aaf9
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007aaf0
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f560
lea ecx, [ebp - 0x44]
call fcn.10076270
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007ab1c
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10076600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007ab3f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.1007b130
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007b4a0
cmp dword [eax + 0x14], 8
jb 0x1007ab6f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007ab8b
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1006f7f0
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
push ecx
push ebx
call fcn.1006e7d0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007abc2
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
cmp eax, 0x10
jb 0x1007abeb
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d540
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.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1007ac10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013d498
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10182f40]
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, edx
mov edi, ecx
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x1007ac5c
mov eax, dword [esi]
jmp 0x1007ac5e
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007ac6a
xor ecx, ecx
jmp 0x1007ac79
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ac70
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f560
lea ecx, [ebp - 0x44]
call fcn.10076270
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007ac9c
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10076600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007acbf
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.1007b390
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007b4a0
cmp dword [eax + 0x14], 8
jb 0x1007acef
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007ad0b
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1006f7f0
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
push ecx
push ebx
call fcn.1006e7d0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007ad42
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
cmp eax, 0x10
jb 0x1007ad6b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d540
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.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1007ad90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013d498
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10182f40]
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, edx
mov edi, ecx
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x1007addc
mov eax, dword [esi]
jmp 0x1007adde
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007adea
xor ecx, ecx
jmp 0x1007adf9
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007adf0
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f560
lea ecx, [ebp - 0x44]
call fcn.10076270
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007ae1c
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10076600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007ae3f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.1007b260
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007b4a0
cmp dword [eax + 0x14], 8
jb 0x1007ae6f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007ae8b
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1006f7f0
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
push ecx
push ebx
call fcn.1006e7d0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007aec2
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
cmp eax, 0x10
jb 0x1007aeeb
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d540
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.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1007af10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007af70
push esi
mov ecx, 0x12
mov esi, str.360ChromeChromeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20c]
call fcn.10076eb0
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007afa0
mov ecx, 6
mov esi, str.Preferences
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
pop esi
cmp word [ebp - 0x20c], ax
jne 0x1007afdb
xor ecx, ecx
jmp 0x1007aff3
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007afe4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.101149a0
mov esp, ebp
pop ebp
ret

Function at 0x1007b020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007b080
push esi
mov ecx, 0x12
mov esi, str.360ChromeXChromeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20c]
movsw word es:[edi], word [esi]
call fcn.10076eb0
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007b0b0
mov ecx, 6
mov esi, str.Preferences
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
pop esi
cmp word [ebp - 0x20c], ax
jne 0x1007b0eb
xor ecx, ecx
jmp 0x1007b103
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b0f4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1007b130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x214], ebx
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007b190
mov ecx, 0x12
mov esi, str.360ChromeChromeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
call fcn.10076eb0
lea ecx, [ebp - 0x210]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1007b1c0
mov eax, dword [str.Bookmarks]
mov dword [ecx], eax
mov eax, dword [0x1016dc34]
mov dword [ecx + 4], eax
mov eax, dword [0x1016dc38]
mov dword [ecx + 8], eax
mov eax, dword [0x1016dc3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1016dc40]
mov dword [ecx + 0x10], eax
mov ax, word [0x1016dc44]
mov word [ecx + 0x14], ax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x210], ax
jne 0x1007b21d
xor ecx, ecx
jmp 0x1007b235
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b226
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1007b260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x214], ebx
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007b2c0
mov ecx, 0x12
mov esi, str.360ChromeXChromeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
movsw word es:[edi], word [esi]
call fcn.10076eb0
lea ecx, [ebp - 0x210]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1007b2f0
mov eax, dword [str.Bookmarks]
mov dword [ecx], eax
mov eax, dword [0x1016dc34]
mov dword [ecx + 4], eax
mov eax, dword [0x1016dc38]
mov dword [ecx + 8], eax
mov eax, dword [0x1016dc3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1016dc40]
mov dword [ecx + 0x10], eax
mov ax, word [0x1016dc44]
mov word [ecx + 0x14], ax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x210], ax
jne 0x1007b34d
xor ecx, ecx
jmp 0x1007b365
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b356
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101149a0
mov esp, ebp
pop ebp
ret

Function at 0x1007b390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x214], ebx
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007b3f0
mov ecx, 0x12
mov esi, str.360ChromeChromeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
call fcn.10076eb0
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007b420
mov ecx, 7
mov esi, str.360Bookmarks
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x210], ax
jne 0x1007b458
xor ecx, ecx
jmp 0x1007b470
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b461
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101149a0
mov esp, ebp
pop ebp
ret