joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10068530
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov eax, dword [ebx + 0x24]
mov edi, ecx
sub eax, dword [ebx + 0x20]
push eax
call fcn.100686b0
push eax
mov ecx, edi
call fcn.100683a0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
test ecx, eax
je 0x10068576
push 0x27d
push str.D:CheatAbuserMTA_Sexcutor_vendor_sparsehash_src_sparsehashinternaldensehashtable.h
push str._bucket_count_____bucket_count___1____0
call fcn.100c31de
add esp, 0xc
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x5c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], eax
call fcn.10068320
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x1c], ebx
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x5c]
shl ecx, 4
add eax, ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.10068320
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x18]
je 0x100686a3
mov eax, dword [edi + 0x28]
xor ebx, ebx
dec eax
mov dword [ebp + 0xc], eax
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul esi, ecx, 0x1000193
and esi, dword [ebp + 0xc]
cmp byte [edi + 0x11], 0
jne 0x1006861b
push 0x1dc
push str.D:CheatAbuserMTA_Sexcutor_vendor_sparsehash_src_sparsehashinternaldensehashtable.h
push str.settings.use_empty__
call fcn.100c31de
add esp, 0xc
mov eax, dword [edi + 0x2c]
lea ecx, [esi + esi*2]
shl ecx, 4
add ecx, dword [edi + 0x5c]
mov dword [ebp - 4], ecx
cmp eax, dword [ecx]
je 0x1006864f
inc ebx
cmp ebx, dword [edi + 0x28]
jb 0x1006864b
push 0x287
push str.D:CheatAbuserMTA_Sexcutor_vendor_sparsehash_src_sparsehashinternaldensehashtable.h
push str.num_probes___bucket_count_____Hashtable_is_full:_an_error_in_key_equal___or_hash___
call fcn.100c31de
add esp, 0xc
add esi, ebx
jmp 0x100685fb
lea esi, [ecx + 4]
mov ecx, esi
call fcn.100678a0
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ecx], eax
lea eax, [ebx + 4]
push eax
mov ecx, esi
call fcn.10067d60
inc dword [edi + 0x24]
cmp ebx, dword [ebp - 8]
jne 0x1006868d
push 0xf4
push str.D:CheatAbuserMTA_Sexcutor_vendor_sparsehash_src_sparsehashinternaldensehashtable.h
push str.pos___end
call fcn.100c31de
add esp, 0xc
add ebx, 0x30
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
call fcn.10068320
mov ebx, dword [ebp + 8]
jmp 0x10068595
inc dword [edi + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10068730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecf2d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x101eb100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
movups xmm1, xmmword [edi]
mov ecx, dword [ebp + 8]
movq xmm2, qword [edi + 0x10]
mov dword [ebp - 0x40], 0
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edi + 0x10], xmm0
movups xmmword [ecx], xmm1
movq qword [ecx + 0x10], xmm2
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1c], ecx
mov dword [eax + 0x1c], esi
mov esi, eax
mov dword [eax + 0x18], edx
mov ecx, dword [edi + 0x20]
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], ecx
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x24], ecx
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x28], eax
mov dword [esi + 0x28], ecx
lea ecx, [ebp - 0x3c]
call fcn.10067f60
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.100678a0
mov eax, dword [edi + 0x2c]
lea ecx, [ebp - 0x3c]
add edi, 0x30
mov dword [ebp - 0x40], eax
push edi
call fcn.10067d60
mov ecx, edi
call fcn.100678a0
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x2c]
add esi, 0x30
push esi
mov dword [ecx + 0x2c], eax
mov ecx, edi
call fcn.10067d60
mov ecx, esi
call fcn.100678a0
mov edi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10067d60
lea ecx, [ebp - 0x3c]
call fcn.100678a0
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 0x5c]
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x5c], eax
mov dword [edi + 0x5c], ecx
mov eax, dword [esi + 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f1ba0]
cvtpd2ps xmm0, xmm0
movss dword [ebp + 8], xmm0
mulss xmm0, dword [esi + 8]
call fcn.100bc470
movss xmm0, dword [ebp + 8]
mulss xmm0, dword [esi + 0xc]
mov dword [esi], eax
call fcn.100bc470
mov dword [esi + 4], eax
mov byte [esi + 0x10], 0
mov eax, dword [edi + 0x28]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f1ba0]
cvtpd2ps xmm0, xmm0
movss dword [ebp + 8], xmm0
mulss xmm0, dword [edi + 8]
call fcn.100bc470
movss xmm0, dword [ebp + 8]
mulss xmm0, dword [edi + 0xc]
mov dword [edi], eax
call fcn.100bc470
mov dword [edi + 4], eax
mov byte [edi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10069730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed05d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x101eb100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100bbfe7
mov edi, eax
add esp, 4
test edi, edi
je 0x100697cd
push 1
mov dword [ebp - 4], 0
call fcn.100baf12
add esp, 4
mov dword [edi + 4], eax
jmp 0x100697cf
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.100538e0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x1006982a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1006982a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x10069846
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x10069869
cmp byte [ebp + 0xc], 0
je 0x10069855
push esi
call fcn.100bb7cb
add esp, 4
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
test cl, 4
je 0x10069875
mov esi, str.ios_base::badbit_set
jmp 0x10069885
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10064700
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10054a20
push 0x101e388c
lea eax, [ebp - 0x28]
push eax
call fcn.100be407
int3
Function at 0x1006bac0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed16b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x101eb100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 4]
mov esi, dword [ebp + 8]
mov dword [edi], 0
push 0x38
mov dword [ebp - 0x14], eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.100bbfe7
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx], eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], 8
mov dword [edi], 0x3f800000
push dword [ebx]
mov byte [ebp - 4], 1
push 0x10
call fcn.10012280
mov dword [ebp - 4], 2
cmp esi, dword [ebp - 0x14]
je 0x1006bcac
nop dword [eax]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.1000f5c0
cmp dword [ebp - 0x28], 0
jne 0x1006bca0
cmp dword [edi + 8], 0x4924924
je 0x1006bcc2
mov dword [ebp - 0x34], ebx
push 0x38
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 0
call fcn.100bbfe7
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
add eax, 8
lea ebx, [eax + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
mov dword [eax], ecx
mov dword [ebx + 0x24], 0
mov ecx, dword [esi + 0x2c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1006bc11
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 5
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f1ba0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f1ba0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x1006bc80
mov ecx, edi
call fcn.100128a0
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
push ebx
push dword [ebp - 0x18]
mov ecx, edi
push eax
call fcn.1000f5c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jmp 0x1006bc86
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
push ecx
push ebx
mov ecx, edi
call fcn.10012840
mov byte [ebp - 4], 2
lea ebx, [edi + 4]
add esi, 0x30
cmp esi, dword [ebp - 0x14]
jne 0x1006bb70
mov eax, edi
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
push str.unordered_map_set_too_long
call fcn.100baafd
int3
Function at 0x1006bff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed2e5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101eb100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0x3f
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.1000f560
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov ecx, eax
mov dword [ebp - 0x18], 0x37
mov eax, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x101bc190]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x101bc1a0]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x101bc1b0]
mov dword [ecx + 0x30], eax
mov ax, word [0x101bc1b4]
mov word [ecx + 0x34], ax
mov al, byte [0x101bc1b6]
mov byte [ecx + 0x36], al
mov byte [ecx + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
call fcn.10053c40
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0xf
jbe 0x1006c0f1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006c0e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006c113
push ecx
push edx
call fcn.100bc017
add esp, 8
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bbfd9
mov esp, ebp
pop ebp
ret
call fcn.100c29c1
int3
Function at 0x1006ccd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101e4210
push 0x100bf630
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101eb100]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x1006cd82
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x1006cd82
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp dword [ebp + 0xc], eax
jb 0x1006cd82
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x1006cd82
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006d1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x102f3ba8], eax
je 0x1006d1ed
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x102f3bac]
test eax, eax
jne 0x1006d304
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x1006d20c
lea eax, [esi + 0x57]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1006d229
cmp dword [ebx], 0
jne 0x1006d236
mov dword [0x102f3bac], 6
mov dword [0x102f3bb0], ebx
pop ebx
mov eax, 6
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push 0x18
call fcn.100bbfe7
mov edi, eax
add esp, 4
test edi, edi
jne 0x1006d24f
lea esi, [eax + 8]
jmp 0x1006d2e4
push 0
push dword [ebx]
call fcn.1006d140
push 0
push esi
mov dword [ebp + 0xc], eax
call fcn.1006d140
mov esi, dword [ebp + 0xc]
mov edx, eax
movzx ecx, byte [esi + 0x36]
mov eax, dword [esi + 0x40]
sub eax, ecx
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x1006d2d6
cmp ecx, 0x1e
ja 0x1006d2d6
cmp dword [esi + 0x44], edx
jne 0x1006d2d6
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
push edx
push 0x40
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1006d2a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1006d2e4
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 8], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 4], 1
mov eax, dword [ebp - 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x102f3bb8]
mov dword [edi], eax
xor eax, eax
mov dword [0x102f3bb8], edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [0x102f3ba0], 0
mov esi, 9
jne 0x1006d2ee
mov dword [0x102f3bac], esi
test edi, edi
je 0x1006d2f9
push 0x18
push edi
call fcn.100bc017
add esp, 8
pop edi
mov dword [0x102f3bb0], ebx
mov eax, esi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1006d310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102f3ba8], 0
jne 0x1006d38c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x102f3ba8
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x1006d38c
push esi
mov esi, dword [0x102f3b98]
mov dword [0x102f3bb8], eax
mov dword [0x102f3bb4], eax
mov dword [0x102f3bb0], eax
push edi
test esi, esi
je 0x1006d36e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x1006d37b
mov esi, dword [esi + 4]
test esi, esi
jne 0x1006d355
xor eax, eax
pop edi
mov dword [0x102f3bac], eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x102f3bac], eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
Function at 0x1006d840
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x102f3bac]
test eax, eax
jne 0x1006d8c2
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x1006d861
xor eax, eax
pop edi
pop ebp
ret 4
push esi
push 8
call fcn.100bbfe7
mov esi, eax
add esp, 4
test esi, esi
jne 0x1006d877
lea edi, [eax + 8]
jmp 0x1006d896
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1006d8ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 8
push esi
call fcn.100bc017
add esp, 8
pop esi
mov dword [0x102f3bac], edi
mov eax, edi
mov dword [0x102f3bb0], 0
pop edi
pop ebp
ret 4
mov eax, dword [0x102f3bb4]
mov dword [esi + 4], edi
mov dword [esi], eax
xor eax, eax
mov dword [0x102f3bb4], esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x1006e070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add ecx, 0xdeadbeef
push ebx
mov ebx, dword [ebp + 8]
add ecx, edx
push esi
mov esi, ecx
mov dword [ebp + 0x10], esi
push edi
mov edi, ecx
cmp edx, 0xc
jbe switch.0x1006e17c
add edx, 0xfffffff3
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 3
inc eax
mov dword [ebp - 4], eax
nop dword [eax + eax]
movzx esi, byte [ebx + 7]
movzx eax, byte [ebx + 6]
movzx edx, byte [ebx + 0xb]
shl esi, 8
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 5]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 4]
add edi, eax
shl esi, 8
movzx eax, byte [ebx + 0xa]
add edi, esi
movzx esi, byte [ebx + 8]
add edx, eax
movzx eax, byte [ebx + 9]
add esi, ecx
shl edx, 8
add edx, eax
shl edx, 8
add esi, edx
mov edx, dword [ebp + 8]
mov ebx, esi
ror ebx, 0x1c
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx]
shl ecx, 8
add ecx, eax
sub ecx, esi
add esi, edi
add ecx, dword [ebp + 0x10]
xor ebx, ecx
sub edi, ebx
mov eax, ebx
add ebx, esi
ror eax, 0x1a
xor eax, edi
sub esi, eax
mov edx, eax
ror edx, 0x18
add eax, ebx
xor edx, esi
sub ebx, edx
mov esi, edx
ror esi, 0x10
add edx, eax
xor esi, ebx
mov ebx, dword [ebp + 8]
mov edi, esi
sub eax, esi
ror edi, 0xd
add esi, edx
xor edi, eax
mov dword [ebp + 0x10], esi
sub edx, edi
mov ecx, edi
ror ecx, 0x1c
add ebx, 0xc
xor ecx, edx
mov dword [ebp + 8], ebx
mov edx, dword [ebp + 0xc]
add edi, esi
sub edx, 0xc
sub dword [ebp - 4], 1
mov dword [ebp + 0xc], edx
jne 0x1006e0b0
cmp edx, 0xc
ja 0x1006e1e8
jmp dword [edx*4 + 0x1006e238]
movzx eax, byte [ebx + 0xb]
shl eax, 0x18
add ecx, eax
movzx eax, byte [ebx + 0xa]
shl eax, 0x10
add ecx, eax
movzx eax, byte [ebx + 9]
shl eax, 8
add ecx, eax
movzx eax, byte [ebx + 8]
add ecx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add edi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
add edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
add edi, eax
movzx eax, byte [ebx + 4]
add edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [ebx + 1]
shl eax, 8
add esi, eax
movzx eax, byte [ebx]
add esi, eax
mov dword [ebp + 0x10], esi
xor ecx, edi
mov eax, edi
ror eax, 0x12
sub ecx, eax
mov eax, ecx
mov esi, ecx
xor esi, dword [ebp + 0x10]
ror eax, 0x15
sub esi, eax
xor edi, esi
mov eax, esi
ror eax, 7
sub edi, eax
mov eax, edi
xor ecx, edi
ror eax, 0x10
sub ecx, eax
mov eax, ecx
mov edx, ecx
ror eax, 0x1c
xor edx, esi
sub edx, eax
mov eax, edx
xor edi, edx
ror eax, 0x12
sub edi, eax
mov eax, edi
xor ecx, edi
ror eax, 8
sub ecx, eax
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006e270
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov cl, 4
cmp cl, al
sbb eax, eax
and eax, 0x40
add eax, 0xf0000000
push eax
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1006e2b6
mov esi, str.error_CryptAcquireContextA_0x_08lx
jmp 0x1006e2db
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test esi, esi
jne 0x1006e308
mov esi, str.error_CryptGenRandom_0x_08lx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov edi, eax
call fcn.100c364c
push edi
push esi
push eax
call fcn.10067530
push 0
call fcn.100d1ef1
add esp, 0x14
imul eax, eax, 0x19d699a5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10094ae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed8ec
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101eb100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x10094b36
lea ecx, [edi + 0x70]
mov dword [edi], 0x10161ef4
call fcn.10068ac0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 0x10]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.10069730
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 2
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.100bbfe7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10094c0d
push 1
mov byte [ebp - 4], 3
call fcn.100baf12
add esp, 4
mov dword [ebx + 4], eax
jmp 0x10094c0f
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0x34], ebx
call fcn.10069190
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov byte [esi + 0x48], 0
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea edx, [esi + 0x14]
mov byte [esi + 0x3d], 0
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ebx
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [eax], 0
mov dword [esi + 4], 0
mov dword [edx], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x101eefd8]
mov ecx, dword [0x101eefdc]
mov dword [esi + 0x40], eax
mov eax, edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4