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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10184f40]
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 0x10175af8
push eax
mov dword [ebp - 4], 0
push dword [0x1018adf8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x1007b5c4
push edi
push dword [0x1018adf8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1007b5c4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1007b5bd
push edi
push dword [0x1018adf8]
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 0x1007b5a3
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.101102e0
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 0x1007b6c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10184f40]
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.1011a970
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 0x1007b72f
xor ecx, ecx
jmp 0x1007b74f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b740
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10073cf0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1007b770
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10184f40]
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.1011a970
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 0x1007b7df
xor ecx, ecx
jmp 0x1007b7ff
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b7f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10073cf0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1007dcd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10184f40]
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 0x1007dd23
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 0x1007ddd2
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 0x1007ddc2
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.100804c0
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 0x1007dd61
lea ecx, [esp + 0x44]
call fcn.10080c80
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.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1007e160
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10184f40]
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 0x1007e1ac
mov eax, dword [esi]
jmp 0x1007e1ae
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007e1ba
xor ecx, ecx
jmp 0x1007e1c9
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e1c0
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f630
lea ecx, [ebp - 0x44]
call fcn.10079b30
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007e1ec
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10079ec0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007e20f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.1007eb00
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007f2b0
cmp dword [eax + 0x14], 8
jb 0x1007e23f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007e25b
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1006f8c0
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.1006e8a0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007e292
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.1006f8c0
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 0x1007e2bb
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d640
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.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1007e2e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10184f40]
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 0x1007e32c
mov eax, dword [esi]
jmp 0x1007e32e
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007e33a
xor ecx, ecx
jmp 0x1007e349
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e340
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f630
lea ecx, [ebp - 0x44]
call fcn.10079b30
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007e36c
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10079ec0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007e38f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.1007f020
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007f2b0
cmp dword [eax + 0x14], 8
jb 0x1007e3bf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007e3db
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1006f8c0
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.1006e8a0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007e412
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.1006f8c0
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 0x1007e43b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d640
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.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1007e460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10184f40]
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 0x1007e4ac
mov eax, dword [esi]
jmp 0x1007e4ae
mov eax, esi
mov byte [eax], 0
cmp byte [edi], 0
jne 0x1007e4ba
xor ecx, ecx
jmp 0x1007e4c9
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e4c0
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.1006f630
lea ecx, [ebp - 0x44]
call fcn.10079b30
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1007e4ec
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10079ec0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1007e50f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.1007ed90
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1007f2b0
cmp dword [eax + 0x14], 8
jb 0x1007e53f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1007e55b
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1006f8c0
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.1006e8a0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov esi, eax
cmp ecx, 8
jb 0x1007e592
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.1006f8c0
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 0x1007e5bb
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1006d640
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.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1007f2b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f406
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x10184f40]
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
mov dword [ebp - 0x234], ebx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], 0
push 0
push eax
call fcn.1011a970
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - method.Sc_Convert.virtual_0], vtable.Sc_Convert.0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1007f35b
mov eax, dword [ecx]
jmp 0x1007f35d
mov eax, ecx
push 0x6a
push str.E45A9FAEA8DEEE2AD76BC9C4C4DEEE2AD76BC9C4C4C8F53DCA26E8F9ECFCDA04FC63CAF9EDF1F204E4359AA8DAF2E933D567DEF3EB
mov byte [eax], 0
call fcn.1006f630
lea ecx, [ebp - 0x230]
call fcn.1010cef0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1007f386
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x240]
call fcn.1007b170
mov edx, eax
mov esi, eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1007f396
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1007f3b0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x1007f3eb
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.1006d640
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x218], ax
jne 0x1007f40b
xor ecx, ecx
jmp 0x1007f423
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f414
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.10073cf0
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x1007f447
push 1
push eax
call fcn.101165c4
add esp, 8
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x1007f45c
push 2
push eax
call fcn.101165c4
add esp, 8
mov eax, ebx
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.10116580
mov esp, ebp
pop ebp
ret
Function at 0x10080360
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x278
mov eax, dword [0x10184f40]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
push edi
push 0x32
lea eax, [esp + 0x24c]
mov dword [esp + 0x10], 0
mov edi, ecx
mov esi, edx
push 0
push eax
mov dword [esp + 0x14], edi
call fcn.1011a970
push esi
lea eax, [esp + 0x258]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [esp + 0x248]
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008040d
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x1016fa9a
mov byte [edi], 0
call fcn.1006f630
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.10116580
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [esp + 0x14]
mov dword [esp + 0x240], 0
push 0
push eax
mov dword [esp + 0x24c], 0
mov dword [esp + 0x250], 0x380
call fcn.1011a970
add esp, 0xc
mov dword [esp + 8], 0
lea eax, [esp + 8]
push 0
push eax
push 0x228
lea eax, [esp + 0x1c]
push eax
push 0xc
lea eax, [esp + 0x250]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
test eax, eax
jne 0x10080483
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1016fa9a
jmp 0x1008049e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
cmp eax, 0x228
lea eax, [esp + eax + 0x10]
jb 0x1008049d
mov eax, 0x1016fa9a
push eax
mov ecx, edi
call fcn.1006f360
mov ecx, dword [esp + 0x27c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.10116580
mov esp, ebp
pop ebp
ret
Function at 0x10089c50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140b58
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10184f40]
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 0x1c
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x34], vtable.Sc_Convert.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10089cc3
mov eax, dword [ecx]
jmp 0x10089cc5
mov eax, ecx
push 0x50
push str.E45AF8FDF6FEE336CC5AF0C9C9DFF437CF75C9EAC4C1D32BDD748CDCF9E9E704E442C9FEF9E8EA2C
mov byte [eax], 0
call fcn.1006f630
lea ecx, [ebp - 0x28]
call fcn.1010cef0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x10089ceb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.1007b170
mov edx, eax
mov esi, eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10089d00
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10089d10
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10089d42
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006d640
mov ecx, ebx
call fcn.1007a6e0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10089d66
mov eax, dword [ecx]
jmp 0x10089d68
mov eax, ecx
push 0x16
push str.E45AEEF7F7F6EB39CA6DDF
mov byte [eax], 0
call fcn.1006f630
lea ecx, [ebp - 0x28]
call fcn.1010cef0
add esp, 0x18
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10089d8e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.1007b170
mov edx, eax
mov esi, eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10089da0
sub edx, esi
add ebx, 0xfffffffe
mov ax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x10089db0
mov eax, dword [ebp - 0x14]
mov ecx, edx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, 0x10
jb 0x10089de1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006d640
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10089df3
push 1
push eax
call fcn.101165c4
add esp, 8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10089e05
push 2
push eax
call fcn.101165c4
add esp, 8
mov eax, 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.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1008a180
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x10184f40]
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.1011a970
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1011a970
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.1011a970
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 0x1008a2b2
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008a224
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 0x1008a2b2
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1008a2b2
lea eax, [ebp - 0x624]
mov edx, esi
push eax
lea ecx, [ebp - 0x414]
call fcn.1008b480
add esp, 4
test eax, eax
je 0x1008a2b2
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10116580
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1008a2d0
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10184f40]
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 0x1008a310
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 0x1008a370
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 0x1008a3cf
and ecx, 0x1f
rol edx, cl
jmp 0x1008a3d6
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 0x1008a3a0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10116580
mov esp, ebp
pop ebp
ret
Function at 0x1008ac00
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 0x1008ac10
sub edx, ecx
xor eax, eax
sar edx, 1
xor esi, esi
lea ebx, [edx + edx]
test ebx, ebx
jle 0x1008ac48
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 + 0x10170a88]
cmp esi, ebx
jl 0x1008ac30
pop edi
pop esi
not eax
pop ebx
ret