joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006ddf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0x8074b50
nop
xor esi, esi
mov edx, 1
xor ecx, ecx
lea esp, [esp]
mov eax, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
cmp al, byte [ebp + ecx - 0xc]
je 0x1006de43
xor esi, esi
xor ecx, ecx
jmp 0x1006de4e
test ecx, ecx
cmove esi, edx
inc ecx
cmp ecx, 4
je 0x1006de59
inc edx
lea eax, [edx - 1]
cmp eax, 4
jl 0x1006de30
jmp 0x1006de5b
neg esi
test esi, esi
je 0x1006deb4
js 0x1006df5e
cmp byte [edi], 0
je 0x1006de88
cmp byte [edi + 1], 0
je 0x1006de84
push 1
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [edi + 0xc]
jmp 0x1006de8b
xor eax, eax
jmp 0x1006de8b
mov eax, dword [edi + 0x20]
lea ecx, [eax - 5]
mov al, byte [edi]
add ecx, esi
test al, al
je 0x1006deb1
cmp byte [edi + 1], 0
je 0x1006ded4
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1006deb4
mov dword [edi + 0x20], ecx
mov al, byte [edi]
test al, al
je 0x1006dedc
cmp byte [edi + 1], 0
je 0x1006ded4
push 1
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [edi + 0xc]
jmp 0x1006dedf
test al, al
je 0x1006dedc
xor eax, eax
jmp 0x1006dedf
mov eax, dword [edi + 0x20]
add eax, 4
cmp eax, dword [edi + 0x10]
jbe 0x1006deea
or dword [ebx], 2
cmp byte [edi], 0
mov esi, 4
je 0x1006df14
push 0
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 0x10]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1006df0f
mov byte [edi + 8], 1
mov esi, dword [ebp - 8]
jmp 0x1006df3a
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
lea eax, [ecx + 4]
cmp eax, edx
jbe 0x1006df25
mov esi, edx
sub esi, ecx
mov eax, dword [edi + 0x18]
push esi
add eax, ecx
push eax
push dword [ebp - 0x10]
call sub.MSVCR120.dll_memcpy
add esp, 0xc
add dword [edi + 0x20], esi
shr esi, 2
cmp esi, 1
je 0x1006de20
or dword [ebx], 2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x14]
mov ecx, esi
push 0xc
push edi
call sym.HncFoundation.dll_private:_bool___thiscall_CRepairZip::lufcheck_struct_CRepairZip::LUFILE_type___unsigned_int_
test al, al
jne 0x1006df72
or dword [ebx], 2
push edi
push 1
push 0xc
push dword [ebp - 0x18]
mov ecx, esi
call sym.HncFoundation.dll_private:_unsigned_int___thiscall_CRepairZip::lufread_void___unsigned_int__unsigned_int__struct_CRepairZip::LUFILE_type__
cmp eax, 1
jne 0x1006df46
mov ecx, dword [ebp - 4]
mov al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1006e000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x1006e03c
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x1006e035
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x1006e022
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x100f62fc
lea ecx, [ebp - 0xc]
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x100cc07c
lea eax, [ebp - 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x1006f510
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x1048
mov ebx, ecx
mov dword [ebp - 0x10], edx
push 0x100bb968
push ebx
mov dword [ebp - 0xc], ebx
call sub.MSVCR120.dll_memcpy
lea eax, [ebx + 0x1048]
mov dword [ebp - 8], 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movq qword [eax], xmm0
lea edi, [ebx + 0x1000]
add esp, 0xc
mov dword [ebx + 0x1050], 0
mov ebx, dword [ebp + 8]
xor edx, edx
xor ecx, ecx
lea esi, [ecx + 4]
movzx eax, dx
inc edx
shl ecx, 8
movzx eax, byte [eax + ebx]
or ecx, eax
movzx eax, dx
cmp eax, dword [ebp + 0xc]
sbb eax, eax
and edx, eax
dec esi
jne 0x1006f565
xor dword [edi], ecx
add edi, 4
dec dword [ebp - 8]
jne 0x1006f560
mov ebx, dword [ebp - 0xc]
mov edi, 9
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
lea esi, [ebx + 0x1004]
lea ecx, [ecx]
lea eax, [ebp - 8]
mov ecx, ebx
push eax
lea edx, [ebp - 4]
call fcn.1006ff70
mov eax, dword [ebp - 4]
lea esi, [esi + 8]
mov dword [esi - 0xc], eax
add esp, 4
mov eax, dword [ebp - 8]
mov dword [esi - 8], eax
dec edi
jne 0x1006f5a0
mov esi, ebx
mov dword [ebp - 0xc], 4
lea esp, [esp]
mov edi, 0x80
lea eax, [ebp - 8]
mov ecx, ebx
push eax
lea edx, [ebp - 4]
call fcn.1006ff70
mov eax, dword [ebp - 4]
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
add esi, 8
dec edi
jne 0x1006f5d5
dec dword [ebp - 0xc]
jne 0x1006f5d0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006f69d
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x1006f69d
mov eax, 8
cmp edx, eax
cmovb eax, edx
cmp dword [ebp - 0x10], 2
jne 0x1006f639
push eax
mov eax, dword [ebp - 0x14]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add ecx, eax
xor edx, edx
dec eax
xor esi, esi
cmp eax, 7
ja case.default.0x1006f645
jmp dword [eax*4 + 0x1006f6a8]
movzx edx, byte [ecx - 1]
dec ecx
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or edx, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or edx, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x18
or edx, eax
movzx esi, byte [ecx - 1]
dec ecx
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or esi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or esi, eax
movzx eax, byte [ecx - 1]
shl eax, 0x18
or esi, eax
mov dword [ebx + 0x1048], esi
mov dword [ebx + 0x104c], edx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006ff70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x10], eax
lea ebx, [edi + 0x1000]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 4], ecx
xor eax, dword [ebx]
lea ebx, [ebx + 4]
mov ecx, eax
mov dword [ebp - 0xc], eax
movzx esi, al
shr ecx, 8
movzx edx, cl
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
and eax, 0xff
mov eax, dword [edi + eax*4]
add eax, dword [edi + ecx*4 + 0x400]
xor eax, dword [edi + edx*4 + 0x800]
add eax, dword [edi + esi*4 + 0xc00]
xor eax, dword [ebp - 4]
dec dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
jne 0x1006ff97
mov ecx, dword [edi + 0x1044]
xor ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov ecx, dword [edi + 0x1040]
xor ecx, eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10070010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x10], eax
lea ebx, [edi + 0x1044]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 4], ecx
xor eax, dword [ebx]
lea ebx, [ebx - 4]
mov ecx, eax
mov dword [ebp - 0xc], eax
movzx esi, al
shr ecx, 8
movzx edx, cl
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
and eax, 0xff
mov eax, dword [edi + eax*4]
add eax, dword [edi + ecx*4 + 0x400]
xor eax, dword [edi + edx*4 + 0x800]
add eax, dword [edi + esi*4 + 0xc00]
xor eax, dword [ebp - 4]
dec dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
jne 0x10070037
mov ecx, dword [edi + 0x1000]
xor ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov ecx, dword [edi + 0x1004]
xor ecx, eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10070350
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
test edx, edx
je 0x100703db
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100703db
mov eax, dword [ebp + 8]
test eax, eax
je 0x100703d0
cmp eax, dword [ebp + 0x10]
ja 0x100703d0
sub edx, ebx
mov dword [ebp - 4], edx
push esi
mov eax, dword [edi + 0x400]
lea ebx, [ebx + 1]
inc eax
and eax, 0xff
mov edx, dword [edi + eax*4]
lea esi, [edi + eax*4]
add edx, dword [edi + 0x404]
mov dword [edi + 0x400], eax
and edx, 0xff
mov dword [edi + 0x404], edx
mov ecx, dword [esi]
mov eax, dword [edi + edx*4]
mov dword [esi], eax
mov dword [edi + edx*4], ecx
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 4]
and eax, 0xff
mov al, byte [edi + eax*4]
xor al, byte [ecx + ebx - 1]
dec dword [ebp + 8]
mov byte [ebx - 1], al
jne 0x10070375
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 5
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10071cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp word [esi + 0x3c], 0
push edi
lea edi, [esi + 0x3c]
jne 0x10071d77
cmp word [esi + 0x244], 0
lea edx, [esi + 0x244]
jne 0x10071d03
cmp dword [esi + 0x38], 0
mov edx, 0x100c4b40
mov eax, 0x100c5684
cmovne edx, eax
mov eax, dword [0x100fe22c]
mov ecx, eax
push 0
push 0x104
push edi
push edx
push ecx
push 0x100c56ac
inc eax
push 0
mov dword [0x100fe22c], eax
call sym.HncFoundation.dll_HncPathMakeTempEx
test eax, eax
jne 0x10071d3c
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
push 0x100c56a4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push edi
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x10071d2a
push dword [ebp - 8]
push 1
push dword [esi + 0x34]
push dword [esi + 0x28]
call dword [sym.imp.MSVCR120.dll_fwrite]
push dword [ebp - 8]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100944ae
mov esp, ebp
pop ebp
ret

Function at 0x10073e60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x600c
call fcn.10099130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
push 0x20
push 0x8000
push eax
lea eax, [ebp - 0x6008]
mov dword [ebp - 0x600c], 0
push eax
call dword [sym.imp.MSVCR120.dll__wsopen_s]
add esp, 0x14
test eax, eax
je 0x10073eb7
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll__read]
push esi
nop
push 0x6000
lea eax, [ebp - 0x6004]
push eax
push dword [ebp - 0x6008]
call ebx
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x10073f1a
test esi, esi
je 0x10073f08
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x6004]
test eax, eax
je 0x10073efb
push 2
push esi
push ecx
push eax
call sym.HncFoundation.dll_int___stdcall__HncGZWrite_void___void_const___unsigned_int__int_
jmp 0x10073f04
mov eax, dword [edi]
push esi
push ecx
mov ecx, edi
call dword [eax + 4]
cmp eax, esi
jne 0x10073f1a
cmp esi, 0x6000
je 0x10073ec0
mov dword [ebp - 0x600c], 1
push dword [ebp - 0x6008]
call dword [sym.imp.MSVCR120.dll__close]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x600c]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.100944ae
mov esp, ebp
pop ebp
ret
Function at 0x10074550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x600c
call fcn.10099130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6008], 0xffffffff
mov dword [ebp - 0x600c], 0xffffffff
push esi
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x100746ab
cmp word [ebx], 0
je 0x100746ab
test edi, edi
je 0x100746ab
cmp word [edi], 0
je 0x100746ab
push 0x180
push edi
call dword [sym.imp.MSVCR120.dll__wchmod]
push 6
push ebx
call dword [sym.imp.MSVCR120.dll__waccess]
push 0
neg eax
push 0x20
sbb esi, esi
lea eax, [ebp - 0x600c]
push 0x8000
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll__wsopen_s]
and esi, 0xffffff80
push eax
add esi, 0x180
call ebx
add esp, 0x24
test eax, eax
jne 0x10074683
push esi
push 0x10
push 0x8301
lea eax, [ebp - 0x6008]
push edi
push eax
call ebx
add esp, 0x14
test eax, eax
jne 0x10074683
mov edi, dword [sym.imp.MSVCR120.dll__read]
mov ebx, dword [sym.imp.MSVCR120.dll__write]
push 0x6000
lea eax, [ebp - 0x6004]
push eax
push dword [ebp - 0x600c]
call edi
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x10074683
test esi, esi
je 0x1007464c
push esi
lea eax, [ebp - 0x6004]
push eax
push dword [ebp - 0x6008]
call ebx
add esp, 0xc
cmp eax, esi
jne 0x10074683
cmp esi, 0x6000
je 0x10074613
push dword [ebp - 0x600c]
mov esi, dword [sym.imp.MSVCR120.dll__close]
call esi
push dword [ebp - 0x6008]
call esi
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x600c]
mov esi, dword [sym.imp.MSVCR120.dll__close]
cmp eax, 0xffffffff
je 0x1007469a
push eax
call esi
add esp, 4
mov eax, dword [ebp - 0x6008]
cmp eax, 0xffffffff
je 0x100746ab
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret

Function at 0x10074c70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c538
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ecx + 4], 0
mov dword [ecx], vtable.CHncMainStorage.0
mov eax, ecx
mov dword [ecx + 0x1c], vtable.CHncStorage.0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100764b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, 0xfffe
push edi
test byte [esi + 0x3a], 1
jne 0x100764d8
lea edx, [esi + 0x28]
call fcn.100767c0
call fcn.10046710
cmp dword [eax], 0
jne 0x100764e7
movzx eax, word [esi + 0x2a]
and word [esi + 0x3a], bx
inc word [esi + 0x38]
mov dword [esi + 0x34], eax
movzx ebx, word [esi + 0x28]
lea edi, [esi + 0x28]
movzx eax, word [esi + 0x2a]
mov ecx, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
call sym.HncFoundation.dll_public:_int___thiscall_CHncDataBlock::EndRecord_void_
mov ecx, esi
call sym.HncFoundation.dll_public:_unsigned_int___thiscall_CHncDataBlock::NextRecord_void_
movzx eax, word [esi + 0x2a]
cmp eax, dword [ebp - 4]
jle 0x100765c9
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [esp]
test byte [esi + 0x3a], 1
jne 0x1007658d
mov edx, edi
mov ecx, esi
call fcn.100767c0
mov eax, dword [0x100fdddc]
cmp eax, 0xffffffff
jne 0x1007653d
xor edi, edi
jmp 0x10076588
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x10076588
push 0x824
call dword [sym.imp.MSVCR120.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1007656b
push 0x10
push eax
push str.Out_of_memory.
push eax
call ebx
jmp 0x10076588
push 0x824
push 0
push edi
call sub.MSVCR120.dll_memset
add esp, 0xc
push edi
push dword [0x100fdddc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [edi], 0
jne 0x100765a1
mov eax, 0xfffe
and word [esi + 0x3a], ax
movzx eax, word [esi + 0x2a]
inc word [esi + 0x38]
mov dword [esi + 0x34], eax
mov ecx, esi
call sym.HncFoundation.dll_public:_int___thiscall_CHncDataBlock::EndRecord_void_
mov ecx, esi
call sym.HncFoundation.dll_public:_unsigned_int___thiscall_CHncDataBlock::NextRecord_void_
movzx ecx, word [esi + 0x2a]
lea edi, [esi + 0x28]
cmp ecx, dword [ebp - 4]
jg 0x10076520
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10079720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
cmp edx, 0xffffffff
jne 0x1007972e
mov edx, dword [ecx + 0x10]
mov eax, edx
sub eax, dword [ebp + 8]
cmp eax, 1
jl 0x10079741
mov dword [ebp + 0xc], edx
pop ebp
jmp sym.HncFoundation.dll_private:_void___thiscall_CHncDArrayBase::_SortBlock_int__int__long_int_
pop ebp
ret 0xc
Function at 0x1007f6e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x658
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x654], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push edi
push 0x430
push 0
push eax
mov dword [esp + 0x18], esi
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
cmp dword [eax*8 + 0x100f67e0], 9
je 0x1007f734
inc eax
cmp eax, 0x20
jl 0x1007f720
xor eax, eax
jmp 0x1007f73b
mov eax, dword [eax*8 + 0x100f67e4]
push 0
push SysReAllocString
push eax
lea ecx, [esp + 0x2c]
call sym.HncFoundation.dll_public:_void___thiscall_CHncRegistry::constructor_unsigned_short_int_const___struct_HKEY_____int_
push 0x104
lea eax, [esp + 0x454]
push eax
push str._UserSharedDataDics_
call sym.HncFoundation.dll_HncPathToAbsolute
push str.hjuser6.dic
lea eax, [esp + 0x454]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
lea eax, [esp + 0x450]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1007f7ad
test dx, dx
je 0x1007f7a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1007f7ad
add eax, 4
add ecx, 4
test dx, dx
jne 0x1007f787
xor eax, eax
jmp 0x1007f7b2
sbb eax, eax
or eax, 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1007f7f6
lea ecx, [esp + 0x20]
call sym.HncFoundation.dll_protected:_struct_HKEY______thiscall_CHncRegistry::GetRegistryKey_void_
mov esi, eax
test esi, esi
je 0x1007f862
xorps xmm0, xmm0
lea eax, [esp + 0x18]
push str.UserDictPath
movdqa xmmword [esp + 0x14], xmm0
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1007f856
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x1007f800
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f800
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
lea ecx, [esp + 0x20]
mov dword [esp + 8], eax
call sym.HncFoundation.dll_protected:_struct_HKEY______thiscall_CHncRegistry::GetRegistryKey_void_
mov esi, eax
test esi, esi
je 0x1007f862
push dword [esp + 8]
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
push dword [esp + 0x10]
movdqa xmmword [esp + 0x18], xmm0
push 3
push 0
push str.UserDictPath
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x10]
call fcn.10010900
push esi
call edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], vtable.CHncRegistry.0
test eax, eax
je 0x1007f875
push eax
call edi
mov eax, dword [esp + 0x444]
test eax, eax
je 0x1007f88a
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov ecx, dword [esp + 0x65c]
pop edi
pop esi
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
Function at 0x1008f650
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ce88
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 4], 0
push 0x208
mov dword [esi], vtable.CHncUfbSysInfoProc.0
mov dword [esi + 0x28], 0
call fcn.1009427d
push 0x208
mov dword [esi + 0xc], eax
call fcn.1009427d
push 0x104
push 0
push dword [esi + 0xc]
mov dword [esi + 0x10], eax
call sub.MSVCR120.dll_memset
push 0x104
push 0
push dword [esi + 0x10]
call sub.MSVCR120.dll_memset
push 0x208
call fcn.1009427d
push 0x104
push 0
push eax
mov dword [esi + 0x24], eax
call sub.MSVCR120.dll_memset
push 0x208
call fcn.1009427d
push 0x104
push 0
push eax
mov dword [esi + 0x14], eax
call sub.MSVCR120.dll_memset
add esp, 0x40
push 0x208
call fcn.1009427d
push 0x104
push 0
push eax
mov dword [esi + 0x2c], eax
call sub.MSVCR120.dll_memset
push 0x208
call fcn.1009427d
push 0x104
push 0
push eax
mov dword [esi + 0x20], eax
call sub.MSVCR120.dll_memset
push 0x208
call fcn.1009427d
push 0x104
push 0
push eax
mov dword [esi + 0x30], eax
call sub.MSVCR120.dll_memset
push 0x208
call fcn.1009427d
push 0x104
push 0
push eax
mov dword [esi + 0x34], eax
call sub.MSVCR120.dll_memset
mov ebx, dword [sym.imp.MSVCR120.dll__time64]
lea eax, [ebp - 0x18]
add esp, 0x40
push eax
call ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64_s]
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x40]
inc eax
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
add eax, 0x76c
push eax
push str._04d__02d__02d__02d:_02d:_02d
push 0x104
push dword [esi + 0x30]
mov esi, dword [sym.imp.MSVCR120.dll_swprintf_s]
call esi
mov ecx, dword [ebp - 0x6c]
add esp, 0x30
call fcn.1008f8a0
mov ecx, dword [ebp - 0x6c]
call fcn.1008fbb0
lea eax, [ebp - 0x20]
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64_s]
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x64]
mov ebx, dword [ebp - 0x6c]
inc eax
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x54]
add eax, 0x76c
push eax
push str._04d__02d__02d__02d:_02d:_02d
push 0x104
push dword [ebx + 0x34]
call esi
add esp, 0x30
mov ecx, ebx
call fcn.1008fcd0
mov ecx, ebx
call fcn.1008faa0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
Function at 0x1008fbb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, ecx
lea eax, [ebp - 8]
push eax
push dword [ebx + 0x24]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x1008fbe7
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1009427d
add esp, 4
mov esi, eax
push esi
push edi
push dword [ebp - 8]
push dword [ebx + 0x24]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1008fc2d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100c0618
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1008fc4a
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmm1, xmmword [eax]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [eax + 0x20]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
movdqu xmmword [ebp - 0x24], xmm0
movdqa xmm0, xmm1
psrldq xmm1, 8
psrldq xmm0, 0xc
movd ecx, xmm0
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movd ecx, xmm1
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push str._d._d._d._d
push 0x104
push dword [ebx + 0x2c]
call dword [sym.imp.MSVCR120.dll_swprintf_s]
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
mov eax, 1
pop esi
pop edi
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret