joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007aef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138518
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1017cf40]
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 0x1016ea80
push eax
mov dword [ebp - 4], 0
push dword [0x10182df8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x1007afc4
push edi
push dword [0x10182df8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1007afc4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1007afbd
push edi
push dword [0x10182df8]
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 0x1007afa3
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.10108f20
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 0x1007b0c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138558
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1017cf40]
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 0x1007b10c
mov eax, dword [esi]
jmp 0x1007b10e
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007b11a
xor ecx, ecx
jmp 0x1007b129
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007b120
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f560
lea ecx, [ebp - 0x44]
call fcn.10079670
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007b14c
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10079a00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007b16f
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.1007b540
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007b8b0
cmp dword [eax + 0x14], 8
jb 0x1007b19f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007b1bb
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.1006e810
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007b1f2
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 0x1007b21b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d5b0
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.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x1007b240
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138558
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1017cf40]
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 0x1007b28c
mov eax, dword [esi]
jmp 0x1007b28e
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007b29a
xor ecx, ecx
jmp 0x1007b2a9
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007b2a0
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f560
lea ecx, [ebp - 0x44]
call fcn.10079670
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007b2cc
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10079a00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007b2ef
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.1007b7a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007b8b0
cmp dword [eax + 0x14], 8
jb 0x1007b31f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007b33b
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.1006e810
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007b372
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 0x1007b39b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d5b0
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.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x1007b3c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138558
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1017cf40]
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 0x1007b40c
mov eax, dword [esi]
jmp 0x1007b40e
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007b41a
xor ecx, ecx
jmp 0x1007b429
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007b420
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f560
lea ecx, [ebp - 0x44]
call fcn.10079670
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007b44c
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10079a00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007b46f
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.1007b670
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007b8b0
cmp dword [eax + 0x14], 8
jb 0x1007b49f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007b4bb
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.1006e810
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007b4f2
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 0x1007b51b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d5b0
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.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x1007b540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1017cf40]
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.101135a0
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 0x1007b5a0
mov ecx, 0x12
mov esi, str.360ChromeChromeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
call fcn.1007a220
lea ecx, [ebp - 0x210]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1007b5d0
mov eax, dword [str.Bookmarks]
mov dword [ecx], eax
mov eax, dword [0x10168d04]
mov dword [ecx + 4], eax
mov eax, dword [0x10168d08]
mov dword [ecx + 8], eax
mov eax, dword [0x10168d0c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10168d10]
mov dword [ecx + 0x10], eax
mov ax, word [0x10168d14]
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 0x1007b62d
xor ecx, ecx
jmp 0x1007b645
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b636
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x1007b670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1017cf40]
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.101135a0
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 0x1007b6d0
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.1007a220
lea ecx, [ebp - 0x210]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1007b700
mov eax, dword [str.Bookmarks]
mov dword [ecx], eax
mov eax, dword [0x10168d04]
mov dword [ecx + 4], eax
mov eax, dword [0x10168d08]
mov dword [ecx + 8], eax
mov eax, dword [0x10168d0c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10168d10]
mov dword [ecx + 0x10], eax
mov ax, word [0x10168d14]
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 0x1007b75d
xor ecx, ecx
jmp 0x1007b775
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b766
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret

Function at 0x1007b7a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1017cf40]
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.101135a0
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 0x1007b800
mov ecx, 0x12
mov esi, str.360ChromeChromeUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
call fcn.1007a220
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007b830
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 0x1007b868
xor ecx, ecx
jmp 0x1007b880
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b871
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x1007b8b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1017cf40]
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.101135a0
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 0x1007b910
push esi
mov ecx, 0x18
mov esi, str.360ChromeChromeUser_DataDefault360Bookmarks
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 0x1007b94c
xor ecx, ecx
jmp 0x1007b964
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b955
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.10073a90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x10084700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10139206
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x1017cf40]
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 - 0x250], edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.101135a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10084770
mov ecx, 0x12
mov esi, 0x101703c0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x21c]
movsw word es:[edi], word [esi]
call fcn.1007a220
lea ecx, [ebp - 0x21c]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100847a0
mov eax, dword [str.Bookmarks]
sub esp, 0x18
mov dword [ecx], eax
mov edx, esp
mov eax, dword [0x10168d04]
mov dword [ecx + 4], eax
mov eax, dword [0x10168d08]
mov dword [ecx + 8], eax
mov eax, dword [0x10168d0c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10168d10]
mov dword [ecx + 0x10], eax
mov ax, word [0x10168d14]
mov word [ecx + 0x14], ax
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100847fa
mov eax, dword [edx]
jmp 0x100847fc
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x10084808
xor ecx, ecx
jmp 0x10084819
mov ecx, ebx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10084810
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.1006f560
lea ecx, [ebp - 0x234]
call fcn.10079670
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1008483f
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.10079a00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x1008486e
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x220], 7
cmp dword [ebp - 0x238], 0x10
lea edx, [ebp - 0x24c]
push ecx
push dword [ebp - 0x250]
cmovae edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.1006e810
add esp, 8
test eax, eax
jne 0x100848bc
xor esi, esi
jmp 0x100848c9
lea ecx, [ebp - 0x21c]
call fcn.10084530
mov esi, eax
mov ecx, dword [ebp - 0x238]
cmp ecx, 0x10
jb 0x100848e7
inc ecx
push ecx
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call fcn.1006d5b0
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.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x10084910
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x624], 0x100
push 0
push eax
mov esi, ecx
call fcn.101135a0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.101135a0
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.101135a0
xor eax, eax
mov dword [ebp - 0x620], 0x100
add esp, 0x24
mov word [esi], ax
lea eax, [ebp - 0x620]
mov dword [ebp - 0x62c], 0x100
mov dword [ebp - 0x628], 0x100
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10084a42
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100849b4
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x10084a42
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x10084a42
lea eax, [ebp - 0x624]
mov edx, esi
push eax
lea ecx, [ebp - 0x414]
call fcn.10085c10
add esp, 4
test eax, eax
je 0x10084a42
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x10084a60
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1017cf40]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x110], 0
push edi
mov edi, 2
lea esi, [ebp - 0x100]
add edx, edi
mov dword [ebx], 0xc
nop dword [eax + eax]
movzx ecx, byte [edx + 1]
lea edx, [edx + 8]
movzx eax, byte [edx - 8]
lea esi, [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 5]
mov dword [esi - 0xc], ecx
movzx ecx, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl eax, 0x18
or eax, ecx
mov dword [esi - 8], eax
sub edi, 1
jne 0x10084aa0
mov dword [ebx + 4], 0xb7e15163
mov ecx, 1
nop dword [eax + eax]
mov eax, dword [ebx + ecx*4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4 + 4], eax
inc ecx
cmp ecx, 0x1a
jl 0x10084b00
xor edi, edi
mov dword [ebp - 0x10c], 0x4e
xor edx, edx
xor esi, esi
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
add esi, edx
lea eax, [ebp + eax*4 - 0x104]
add esi, dword [ebx + edi*4 + 4]
rol esi, 3
mov dword [ebp - 0x108], eax
mov eax, dword [eax]
add eax, esi
mov dword [ebx + edi*4 + 4], esi
lea ecx, [esi + edx]
add edx, eax
and ecx, 0x1f
je 0x10084b5f
and ecx, 0x1f
rol edx, cl
jmp 0x10084b66
neg ecx
and ecx, 0x1f
ror edx, cl
mov ecx, dword [ebp - 0x108]
inc edi
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x108], 0
mov dword [ecx], edx
xor ecx, ecx
cmp edi, 0x1a
cmovge edi, ecx
mov ecx, dword [ebp - 0x10c]
dec ecx
cmp eax, 4
mov dword [ebp - 0x10c], ecx
cmovge eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
test ecx, ecx
jne 0x10084b30
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret
Function at 0x10085390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100853a0
sub edx, ecx
xor eax, eax
sar edx, 1
xor esi, esi
lea ebx, [edx + edx]
test ebx, ebx
jle 0x100853d8
nop word [eax + eax]
movzx edx, byte [esi + edi]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10169a38]
cmp esi, ebx
jl 0x100853c0
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x10085d40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf013f
push 0
push str.SOFTWAREPoliciesMicrosoftMicrosoftEdge
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10085d91
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.SOFTWAREPoliciesMicrosoftMicrosoftEdge
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10085dba
mov eax, dword [ebp - 4]
test eax, eax
je 0x10085dba
push 4
push dword [ebp + 0xc]
push 4
push 0
push str.PreventFirstRunPage
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
je 0x10085dc0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10085dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
mov esi, ecx
mov edi, edx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10085e10
lea eax, [ebp - 4]
push eax
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10085e36
mov eax, dword [ebp - 4]
test eax, eax
je 0x10085e36
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
je 0x10085e3e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret