joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006fa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [0x286ffc4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x286fb98
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10007196
push edi
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10007195
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10007195
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10007195
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007195
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10007195
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007195
push ebx
mov ebx, dword [edi]
push 4
push ebx
call esi
test eax, eax
jne 0x10007194
mov ebx, dword [ebx]
add ebx, dword [ebp + 0x20]
push 4
push ebx
call esi
test eax, eax
jne 0x10007194
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007194
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
push 4
add edi, 0x2e0
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10007194
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x10007194
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007194
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007194
mov edi, dword [edi]
push 4
add edi, 0x15c
push edi
call esi
test eax, eax
jne 0x10007194
mov eax, dword [edi]
cmp eax, 0x6e
je 0x10007169
cmp eax, 0x277e
jne 0x10007194
mov edi, dword [ebp + 0x28]
lea eax, [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push edi
push ebx
call esi
push edi
push dword [ebp - 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x100071b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x286ffc4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x286fb98
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x1000739a
push edi
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10007399
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10007399
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10007399
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007399
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10007399
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007399
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10007399
mov edi, dword [edi]
push 4
add edi, 0x1e72
push edi
call esi
test eax, eax
jne 0x10007399
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007399
push ebx
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x10007398
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x10007398
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x10007398
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x10007398
mov eax, dword [ebx]
cmp eax, 0x99
je 0x10007378
cmp eax, 0x27a9
jne 0x10007398
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 8]
mov byte [edi], 0xc8
push eax
push dword [ebp - 8]
push 1
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x100073b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [0x286ffc4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x286fb98
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100075a8
push edi
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100075a7
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100075a7
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100075a7
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100075a7
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100075a7
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100075a7
push ebx
mov ebx, dword [edi]
push 4
push ebx
call esi
test eax, eax
jne 0x100075a6
mov ebx, dword [ebx]
add ebx, dword [ebp + 0x20]
push 4
push ebx
call esi
test eax, eax
jne 0x100075a6
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
push 4
add edi, 0x2e0
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x100075a6
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x100075a6
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100075a6
mov edi, dword [edi]
push 4
add edi, 0x15c
push edi
call esi
test eax, eax
jne 0x100075a6
mov eax, dword [edi]
cmp eax, 0xa9
je 0x1000757b
cmp eax, 0x27b9
jne 0x100075a6
mov edi, dword [ebp + 0x28]
lea eax, [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push edi
push ebx
call esi
push edi
push dword [ebp - 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x100075c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x286ffc4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x286fb98
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100077a8
push edi
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100077a7
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100077a7
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100077a7
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100077a7
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100077a7
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100077a7
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x100077a7
mov edi, dword [edi]
push 4
add edi, 0x1b54
push edi
call esi
test eax, eax
jne 0x100077a7
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x100077a7
push ebx
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x100077a6
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x100077a6
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x100077a6
mov eax, dword [ebx]
cmp eax, 0x23
je 0x10007786
cmp eax, 0x2733
jne 0x100077a6
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 8]
mov byte [edi], 2
push eax
push dword [ebp - 8]
push 1
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x100077c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x286ffc4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x286fb98
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x100079fa
push edi
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x100079f9
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x100079f9
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x100079f9
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100079f9
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x100079f9
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x100079f9
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x100079f9
mov edi, dword [edi]
push 4
add edi, 0x1bd8
push edi
call esi
test eax, eax
jne 0x100079f9
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x100079f9
push ebx
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x100079f8
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x100079f8
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x100079f8
mov eax, dword [ebx]
cmp eax, 4
je 0x100079d6
cmp eax, 0xea64
je 0x100079d6
cmp eax, 0x2714
je 0x100079d6
cmp eax, 0xd
je 0x100079d6
cmp eax, 0x271d
je 0x100079d6
cmp eax, 0x1117d
je 0x100079d6
cmp eax, 0x1f
je 0x100079d6
cmp eax, 0x272f
je 0x100079d6
cmp eax, 0x69
je 0x100079d6
cmp eax, 0x2779
je 0x100079d6
cmp eax, 0xb8
je 0x100079d6
cmp eax, 0x27c8
jne 0x100079f8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 2
push edi
call esi
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 2
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x10007a10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x286ffc4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x286fb98
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10007bfa
push edi
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10007bf9
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10007bf9
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10007bf9
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007bf9
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10007bf9
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007bf9
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10007bf9
mov edi, dword [edi]
push 4
add edi, 0x1b5a
push edi
call esi
test eax, eax
jne 0x10007bf9
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007bf9
push ebx
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x10007bf8
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x10007bf8
mov eax, dword [ebx]
cmp eax, 0xd4
je 0x10007bd8
cmp eax, 0x27e4
jne 0x10007bf8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 8]
mov byte [edi], 0xc8
push eax
push dword [ebp - 8]
push 1
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x10007c10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [0x286ffc4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov eax, dword [eax + 0x1c]
push 0x286fb98
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x10007e0d
push edi
mov edi, dword [0x286fb98]
push 4
add edi, 0x12c
push edi
call esi
test eax, eax
jne 0x10007e0c
mov edi, dword [edi]
push 4
add edi, 0x3c
push edi
call esi
test eax, eax
jne 0x10007e0c
mov edi, dword [edi]
add edi, dword [ebp + 0xc]
push 4
push edi
call esi
test eax, eax
jne 0x10007e0c
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007e0c
mov edi, dword [edi]
push 4
add edi, 0x94
push edi
call esi
test eax, eax
jne 0x10007e0c
mov edi, dword [edi]
push 4
add edi, 0x36c
push edi
call esi
test eax, eax
jne 0x10007e0c
mov edi, dword [edi]
push 4
push edi
call esi
test eax, eax
jne 0x10007e0c
mov edi, dword [edi]
add edi, dword [ebp + 0x20]
push 4
push edi
call esi
test eax, eax
jne 0x10007e0c
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007e0c
push ebx
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
push 4
add ebx, 0x2e0
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
push 4
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ecx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x10007e0b
push 4
push 0x286fb98
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [0x286fb98]
push 4
add ebx, 0x12c
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
push 4
add ebx, 0x3c
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
add ebx, dword [ebp + 0xc]
push 4
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
push 4
add ebx, 0x36c
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov ebx, dword [ebx]
push 4
add ebx, 0x15c
push ebx
call esi
test eax, eax
jne 0x10007e0b
mov eax, dword [ebx]
cmp eax, 7
je 0x10007de7
cmp eax, 0xea67
je 0x10007de7
cmp eax, 0x11177
je 0x10007de7
cmp eax, 0x327
jne 0x10007e0b
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx]
mov byte [edi], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x10021640
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
sub eax, 0
je 0x1002168d
sub eax, 1
jne 0x100216a0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x64
push 0x1f4
mov dword [0x10039ca8], esi
call dword [sym.imp.KERNEL32.dll_Beep]
push 0
push 0
push 0
push 0x10021420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop esi
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x10021a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov ecx, 4
lea eax, [ebp - 8]
movzx edx, word [edi - 0x16]
mov ebx, dword [edi - 0xc]
cmp dx, 5
cmovl edx, ecx
movsx ecx, dx
mov esi, ecx
mov dword [ebp - 0xc], ecx
and esi, 0x80000003
sete cl
test esi, esi
jns 0x10021a4f
lea ecx, [esi - 1]
or ecx, 0xfffffffc
cmp ecx, 0xffffffff
sete cl
test cl, cl
je 0x10021a87
xor ecx, ecx
cmp cx, dx
jge 0x10021a87
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 8]
dec esi
sub edi, ecx
sar esi, 2
inc esi
mov edx, dword [eax]
lea eax, [eax + 4]
add edx, ebx
mov ecx, edx
shr edx, 0x19
xor ecx, 0xfac6d9
shl ecx, 7
or ecx, edx
mov dword [edi + eax - 4], ecx
sub esi, 1
jne 0x10021a67
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100244d7
mov esp, ebp
pop ebp
ret
Function at 0x10021f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x1002c1f4
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ebx, dword [ebp - 8]
add esp, 0xc
test ebx, ebx
jne 0x10021fa0
lea eax, [ebx - 3]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100244d7
mov esp, ebp
pop ebp
ret 4
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x10021fb9
mov esi, 0xfffffffd
jmp 0x10022031
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
add esp, 4
test esi, esi
js 0x10021fb2
jne 0x10021fcf
xor esi, esi
jmp 0x10022031
lea eax, [esi + 1]
push 0x100262f0
push eax
call fcn.10024b17
mov edi, eax
add esp, 8
test edi, edi
jne 0x10021feb
lea esi, [eax - 2]
jmp 0x10022031
push 0
push 0
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
push ebx
push esi
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x1002201c
push edi
call fcn.10024743
mov esi, 0xfffffffd
jmp 0x1002202e
mov ecx, dword [ebp - 0xc]
push eax
push edi
call fcn.10022c80
push edi
mov esi, eax
call fcn.10024743
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100244d7
mov esp, ebp
pop ebp
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx