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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [ebp + 0xc]
push 0
add eax, 0xffffff87
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
push 0
push eax
lea eax, [ebp - 0x8c]
push 0x8a
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x66702cfd
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x74]
leave
ret

Function at 0x66702da5
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
call fcn.66702710
mov esi, dword [esp + 0x10]
mov ebx, 0x82
xor edi, edi
cmp dword [esi + 0x28], ebx
jne 0x66702dfa
push edi
push edi
push edi
push 2
push edi
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esi + 0x20], eax
jne 0x66702dda
mov dword [esi + 0x28], 0x1f8
cmp dword [esi + 0x28], ebx
jne 0x66702dfa
push edi
push edi
push edi
push 4
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi], eax
jne 0x66702dfa
mov dword [esi + 0x28], 0x84
pop edi
pop esi
pop ebx
ret

Function at 0x66704324
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 0x40
push 0
push dword [ebp + 8]
call fcn.6671a8cc
add esp, 0x10
test ax, ax
jne 0x66704363
mov edi, 0xff
push 0x40
push edi
push esi
call fcn.66765990
push 0xf8
push edi
push dword [ebp + 0x10]
call fcn.66765990
add esp, 0x18
jmp 0x667043a3
cmp word [esi], 0x5a4d
mov ebx, dword [ebp + 0x10]
mov edi, 0xf8
jne 0x66704394
push ebx
push edi
push dword [esi + 0x3c]
push dword [ebp + 8]
call fcn.6671a8cc
add esp, 0x10
test ax, ax
je 0x66704394
xor eax, eax
cmp dword [ebx], 0x4550
sete al
jmp 0x667043a6
push edi
push 0xff
push ebx
call fcn.66765990
add esp, 0xc
xor ax, ax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x66705950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x66782ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 8]
mov dword [ecx], 0x66795828
mov dword [esp + 0x14], edi
xor ebp, ebp
lea ebx, [edi + 4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.66708530
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.66708540
mov eax, dword [esi + 4]
push eax
call fcn.667661a3
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.66772db2
mov eax, dword [0x667bd65c]
dec eax
mov dword [0x667bd65c], eax
jne 0x667059e3
mov esi, dword [0x667bd658]
mov dword [0x667bd658], ebp
lea ecx, [esp + 0x10]
call fcn.66772e4e
cmp esi, ebp
je 0x667059f9
push esi
call fcn.667661a3
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ebx], method.streambuf.virtual_28
mov dword [edi], method.streambuf.virtual_28
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x66705c80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x66782af0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 8]
mov dword [ecx], 0x667957f8
mov dword [esp + 0x14], edi
xor ebp, ebp
lea ebx, [edi + 4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.66708530
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.66708610
mov eax, dword [esi + 4]
push eax
call fcn.667661a3
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.66772db2
mov eax, dword [0x667bd664]
dec eax
mov dword [0x667bd664], eax
jne 0x66705d13
mov esi, dword [0x667bd660]
mov dword [0x667bd660], ebp
lea ecx, [esp + 0x10]
call fcn.66772e4e
cmp esi, ebp
je 0x66705d29
push esi
call fcn.667661a3
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ebx], method.streambuf.virtual_28
mov dword [edi], method.streambuf.virtual_28
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x66705e20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x66782b30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 8]
mov dword [ecx], 0x66795844
mov dword [esp + 0x14], edi
xor ebp, ebp
lea ebx, [edi + 4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.66708530
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.66708610
mov eax, dword [esi + 4]
push eax
call fcn.667661a3
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.66772db2
mov eax, dword [0x667bd664]
dec eax
mov dword [0x667bd664], eax
jne 0x66705eb3
mov esi, dword [0x667bd660]
mov dword [0x667bd660], ebp
lea ecx, [esp + 0x10]
call fcn.66772e4e
cmp esi, ebp
je 0x66705ec9
push esi
call fcn.667661a3
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ebx], method.streambuf.virtual_28
mov dword [edi], method.streambuf.virtual_28
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x66705fc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x66782b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 8]
mov dword [ecx], 0x66795854
mov dword [esp + 0x14], edi
xor ebp, ebp
lea ebx, [edi + 4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.66708530
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.66708610
mov eax, dword [esi + 4]
push eax
call fcn.667661a3
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.66772db2
mov eax, dword [0x667bd664]
dec eax
mov dword [0x667bd664], eax
jne 0x66706053
mov esi, dword [0x667bd660]
mov dword [0x667bd660], ebp
lea ecx, [esp + 0x10]
call fcn.66772e4e
cmp esi, ebp
je 0x66706069
push esi
call fcn.667661a3
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ebx], method.streambuf.virtual_28
mov dword [edi], method.streambuf.virtual_28
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x66706160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x66782bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 8]
mov dword [ecx], 0x667957cc
mov dword [esp + 0x14], edi
xor ebp, ebp
lea ebx, [edi + 4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 8]
lea esi, [ebx + 4]
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.66708530
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.66708610
mov eax, dword [esi + 4]
push eax
call fcn.667661a3
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.66772db2
mov eax, dword [0x667bd664]
dec eax
mov dword [0x667bd664], eax
jne 0x667061f3
mov esi, dword [0x667bd660]
mov dword [0x667bd660], ebp
lea ecx, [esp + 0x10]
call fcn.66772e4e
cmp esi, ebp
je 0x66706209
push esi
call fcn.667661a3
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ebx], method.streambuf.virtual_28
mov dword [edi], method.streambuf.virtual_28
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x66706230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66782bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov eax, 0x667957e4
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x66795864
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], 0x667957e0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x30], 0
call dword [0x667957f0]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x18]
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push 0x8ffdc32
push 0xf7f69deb
push 0x7fe19d89
lea ecx, [esp + 0x20]
call dword [eax]
mov esi, 0x44f728d7
mov edi, 0x80e4d664
mov ecx, eax
mov edx, eax
xor ecx, esi
xor edx, edi
cmp ecx, edx
jne 0x667062c0
mov esi, ecx
mov edi, edx
mov edx, dword [esp + 0x20]
push 0x117be3fc
push edi
push esi
push eax
lea ecx, [esp + 0x30]
call dword [edx + 4]
xor eax, 0x8597b5b9
mov edx, dword [ebx + 8]
mov esi, eax
lea ecx, [ebx + 8]
not esi
xor esi, eax
and esi, 0x6e60ca67
xor esi, eax
xor esi, 0x558ccb2b
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x667068b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x66782c71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
lea eax, [esp + 0x10]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0x66795880
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0x667957e4
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 0
call fcn.66707a50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 1
call fcn.66707a60
mov dword [esp + 0x18], 0x667957e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 2
call fcn.667074c0
mov dword [esp + 0x14], 0x6679587c
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x14]
push edx
mov dword [esi], ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 3
call dword [0x6679587c]
mov esi, dword [esi]
push 0x8ffdc32
push 0xf7f69deb
push 0x7fe19d89
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0xc]
call dword [edx]
mov ebx, 0x44f728d7
mov ebp, 0x80e4d664
mov edx, eax
mov edi, eax
xor edx, ebx
xor edi, ebp
cmp edx, edi
lea ecx, [esi + 0x18]
jne 0x6670697e
mov ebx, edx
mov ebp, edi
mov edx, dword [ecx]
push 0x117be3fc
push ebp
push ebx
push eax
call dword [edx + 4]
lea ecx, [esi + 0x24]
mov edi, eax
push 0x8ffdc32
push 0xf7f69deb
mov eax, dword [ecx]
push 0x7fe19d89
call dword [eax]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], eax
push ecx
lea ecx, [esi + 0x30]
call fcn.66708780
lea esi, [eax + edi]
mov edx, 0x9f505429
mov edi, 0x5b43aa9a
mov eax, esi
mov ecx, esi
xor eax, edx
xor ecx, edi
cmp eax, ecx
jne 0x667069d8
cmp eax, 0xcadc9f02
mov edx, eax
mov edi, ecx
je 0x667069e4
xor edx, edi
xor edx, esi
xor edx, 0xcadc9f02
jmp 0x667069ec
mov edx, esi
xor edx, 0xd19c9f0a
mov eax, dword [esp + 0x58]
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 8]
call dword [eax + 4]
mov ecx, 0x667957e0
mov eax, 0x667957e4
lea edx, [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], 0x66795870
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 4
mov dword [esp + 0x2c], eax
call fcn.667075b0
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x667076f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66782cf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov dword [ebp], method.streambuf.virtual_28
lea esi, [ebp + 4]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], esi
mov dword [esi], method.streambuf.virtual_28
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x13]
push 0x18
mov byte [esp + 0x30], 1
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov byte [esi + 0xc], bl
call fcn.66766ab2
mov edi, eax
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [edi + 4], ebx
mov dword [edi + 0x14], 1
call fcn.66772db2
cmp dword [0x667bd660], ebx
jne 0x66707782
mov dword [0x667bd660], edi
mov dword [edi], ebx
mov edx, dword [0x667bd660]
mov dword [esp + 0x14], ebx
mov dword [edx + 8], ebx
mov edx, dword [0x667bd664]
lea ecx, [esp + 0x18]
inc edx
mov dword [0x667bd664], edx
call fcn.66772e4e
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x667077a9
push eax
call fcn.667661a3
add esp, 4
mov edi, dword [0x667bd660]
push 0x18
call fcn.66766ab2
mov dword [eax + 4], edi
mov dword [eax + 0x14], ebx
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [eax], eax
mov eax, dword [esi + 8]
add esp, 4
mov dword [eax + 8], eax
mov dword [esi], 0x667958f4
pop edi
mov dword [ebp], 0x667958e8
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x66782d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov dword [ebp], method.streambuf.virtual_28
lea esi, [ebp + 4]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], esi
mov dword [esi], method.streambuf.virtual_28
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x13]
push 0x18
mov byte [esp + 0x30], 1
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov byte [esi + 0xc], bl
call fcn.66766ab2
mov edi, eax
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [edi + 4], ebx
mov dword [edi + 0x14], 1
call fcn.66772db2
cmp dword [0x667bd660], ebx
jne 0x667079c2
mov dword [0x667bd660], edi
mov dword [edi], ebx
mov edx, dword [0x667bd660]
mov dword [esp + 0x14], ebx
mov dword [edx + 8], ebx
mov edx, dword [0x667bd664]
lea ecx, [esp + 0x18]
inc edx
mov dword [0x667bd664], edx
call fcn.66772e4e
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x667079e9
push eax
call fcn.667661a3
add esp, 4
mov edi, dword [0x667bd660]
push 0x18
call fcn.66766ab2
mov dword [eax + 4], edi
mov dword [eax + 0x14], ebx
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [eax], eax
mov eax, dword [esi + 8]
add esp, 4
mov dword [eax + 8], eax
mov dword [esi], 0x667958c0
pop edi
mov dword [ebp], 0x667958b4
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x6670d460
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x6670d488
mov ax, 1
add esp, 0x94
ret
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x9c]
cmp eax, 2
je 0x6670d4b6
mov eax, dword [edi]
and eax, 0x178025ed
mov dword [edi], eax
mov ecx, dword [edi]
xor eax, eax
and ecx, 0x178025ed
mov dword [edi], ecx
pop edi
add esp, 0x94
ret
mov eax, dword [0x667bd918]
test eax, eax
je 0x6670d4c9
mov edx, dword [0x667bd91c]
test edx, edx
jne 0x6670d514
call fcn.66719ae1
test eax, eax
mov dword [0x667bd918], eax
je 0x6670d50e
push 0x667bd810
push 0x667bd908
mov dword [0x667bd90c], eax
mov dword [0x667bd910], 0x67
call fcn.6670430a
mov eax, dword [0x667bd918]
mov ecx, dword [0x667bd888]
add esp, 8
lea edx, [ecx + eax]
mov dword [0x667bd91c], edx
jmp 0x6670d514
mov edx, dword [0x667bd91c]
push esi
mov esi, 0xff
test eax, eax
je 0x6670d541
test edx, edx
je 0x6670d541
mov ecx, dword [edx + 0x1c]
mov edx, dword [edx + 0x14]
add ecx, eax
xor esi, esi
test edx, edx
jbe 0x6670d541
push ebx
mov ebx, dword [ecx]
cmp byte [ebx + eax], 0xcc
jne 0x6670d53a
inc esi
add ecx, 4
dec edx
jne 0x6670d531
pop ebx
xor edx, edx
cmp edx, esi
pop esi
sbb eax, eax
neg eax
test ax, ax
jne 0x6670d561
mov ecx, dword [edi]
and ecx, 0x178025ed
mov dword [edi], ecx
pop edi
add esp, 0x94
ret
mov ecx, dword [esp + 0x9c]
pop edi
and dword [ecx], 0x2670e163
add esp, 0x94
ret

Function at 0x6670d750
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
lea eax, [ebp - 0x98]
push edi
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x6670d782
mov ax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x88], 2
je 0x6670d7aa
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
and eax, 0x970560ef
mov dword [ecx], eax
mov edx, dword [ecx]
xor eax, eax
and edx, 0x970560ef
mov dword [ecx], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 1
pushal
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
movzx eax, byte [ecx + 2]
test eax, eax
jne 0x6670d7c8
xor eax, eax
mov dword [ebp - 4], eax
popal
mov esi, dword [ebp - 4]
xor ecx, ecx
cmp ecx, esi
sbb eax, eax
neg eax
test ax, ax
je 0x6670d7e9
call fcn.6670127a
neg ax
sbb eax, eax
inc eax
test ax, ax
jne 0x6670d7f9
mov ecx, dword [ebp + 8]
and dword [ecx], 0x970560ef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
and dword [ecx], 0x68ecd011
mov esp, ebp
pop ebp
ret

Function at 0x66711ad0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test edx, edx
jbe 0x66711afd
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
xor bl, cl
imul ecx, ecx, 0x7fb9fb0e
mov byte [eax], bl
inc eax
sub ecx, 0x24588302
dec edx
jne 0x66711ae1
mov ax, 1
pop ebx
ret
mov ax, 1
ret
Function at 0x6671318b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.667654e0
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp + 8]
push 1
push eax
call fcn.66704246
mov esi, eax
add esp, 0x18
test esi, esi
je 0x667131e1
push dword [ebp + 0x18]
lea eax, [ebp + 8]
push esi
push eax
call fcn.6670448f
add esp, 0xc
test eax, eax
jne 0x667131eb
lea eax, [ebp - 8]
add esi, 0x28
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
jmp 0x667131a7
mov eax, 0x258
jmp 0x6671327b
cmp dword [ebp - 4], 0
je 0x66713276
push edi
cmp dword [ebp - 4], 0x1000
mov esi, dword [ebp - 4]
jb 0x66713207
mov esi, 0x1000
lea eax, [ebp - 0x100c]
push eax
push esi
push dword [ebp - 8]
lea eax, [ebp + 8]
push eax
call fcn.6671316e
mov al, byte [ebp - 0x100c]
add esp, 0x10
xor al, 0x43
push 1
mov byte [ebp - 0x100c], al
pop edi
xor al, 0x15
cmp esi, edi
mov dl, al
jbe 0x66713252
mov al, byte [ebp + edi - 0x100d]
lea ecx, [ebp + edi - 0x100c]
xor al, byte [ecx]
add al, dl
add dl, al
inc edi
cmp edi, esi
mov byte [ecx], al
jb 0x66713237
lea eax, [ebp - 0x100c]
push eax
push esi
push dword [ebp - 8]
lea eax, [ebp + 8]
push eax
call fcn.6671312a
sub dword [ebp - 4], esi
add dword [ebp - 8], esi
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0x667131f6
pop edi
mov eax, 0x82
pop esi
leave
ret

Function at 0x6671327e
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
cmp dword [esp + 8], edx
jle 0x667132ca
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x10]
xor ecx, dword [esi]
lea edi, [edx + eax]
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
shr ebx, 0x10
xor al, bl
mov ebx, ecx
shr ebx, 8
xor al, bl
xor al, byte [edi]
xor al, cl
mov byte [edi], al
mov ecx, dword [esi + 4]
movzx eax, al
shl ecx, 8
add ecx, eax
inc edx
cmp edx, dword [esp + 0x14]
mov dword [esi + 4], ecx
jl 0x6671328d
pop edi
pop esi
pop ebx
ret
Function at 0x66713338
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push edi
lea edi, [eax + 0x20000]
push edi
call fcn.6676550f
xor ebx, ebx
pop ecx
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x66713360
or eax, 0xffffffff
jmp 0x66713412
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
call esi
lea eax, [ebp - 8]
push ebx
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x66713401
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jb 0x66713401
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp - 4]
call fcn.667132cb
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x667133ef
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 0x20000
add eax, 0x20000
cmp dword [ebp - 8], eax
jne 0x667133cd
mov eax, dword [ebp + 0x14]
push 1
neg eax
push ebx
push eax
push dword [ebp + 8]
call esi
lea eax, [ebp - 8]
push ebx
push eax
mov eax, dword [ebp + 0x14]
add eax, 0x20000
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6671338b
cmp edi, ebx
je 0x66713401
sub edi, dword [ebp - 4]
push ebx
push ebx
add dword [ebp + 0xc], edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
jmp 0x66713405
or dword [ebp + 0xc], 0xffffffff
push dword [ebp - 4]
call fcn.66765278
mov eax, dword [ebp + 0xc]
pop ecx
pop esi
pop edi
pop ebx
leave
ret