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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 0
sub edi, esi
jne 0x10002ad8
mov byte [ebp - 0x10], 0
jmp 0x10002aee
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
push edi
push 0x90
push esi
call fcn.1001a2c0
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x10002b16
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x10], 0
je 0x10002b57
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [0x100a9954]
test al, 1
jne 0x10002b75
or eax, 1
push 0x1002d8c0
mov dword [0x100a9954], eax
call fcn.1001888d
add esp, 4
push 0x10004a20
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10006360
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov eax, dword [0x100a98c4]
push ecx
cmp eax, dword [0x100a98c8]
je 0x10002bb5
mov ecx, eax
call fcn.10007830
add dword [0x100a98c4], 0x70
jmp 0x10002bc0
push eax
mov ecx, 0x100a98c0
call fcn.10004ea0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100056f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10002bf7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10002bf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10002bf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.10006900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002c20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 0
sub edi, esi
jne 0x10002c68
mov byte [ebp - 0x10], 0
jmp 0x10002c7e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
push edi
push 0x90
push esi
call fcn.1001a2c0
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x10002ca6
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x10], 0
je 0x10002ce7
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [0x100a997c]
test al, 1
jne 0x10002d05
or eax, 1
push 0x1002d8b0
mov dword [0x100a997c], eax
call fcn.1001888d
add esp, 4
push 0x10004a60
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10006360
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov eax, dword [0x100a986c]
push ecx
cmp eax, dword [0x100a9870]
je 0x10002d45
mov ecx, eax
call fcn.10007830
add dword [0x100a986c], 0x70
jmp 0x10002d50
push eax
mov ecx, 0x100a9868
call fcn.10004ea0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100056f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10002d87
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10002d87
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10002d87
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.10006900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002db0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 0
sub edi, esi
jne 0x10002df8
mov byte [ebp - 0x10], 0
jmp 0x10002e0e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
push edi
push 0x90
push esi
call fcn.1001a2c0
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x10002e36
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x10], 0
je 0x10002e77
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [0x100a995c]
test al, 1
jne 0x10002e95
or eax, 1
push 0x1002d8a0
mov dword [0x100a995c], eax
call fcn.1001888d
add esp, 4
push 0x10004a90
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10006360
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov eax, dword [0x100a98a0]
push ecx
cmp eax, dword [0x100a98a4]
je 0x10002ed5
mov ecx, eax
call fcn.10007830
add dword [0x100a98a0], 0x70
jmp 0x10002ee0
push eax
mov ecx, 0x100a989c
call fcn.10004ea0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100056f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10002f17
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10002f17
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10002f17
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.10006900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 0
sub edi, esi
jne 0x10002f88
mov byte [ebp - 0x10], 0
jmp 0x10002f9e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
push edi
push 0x90
push esi
call fcn.1001a2c0
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x10002fc6
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x10], 0
je 0x10003007
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [0x100a993c]
test al, 1
jne 0x10003025
or eax, 1
push 0x1002d890
mov dword [0x100a993c], eax
call fcn.1001888d
add esp, 4
push 0x10004ad0
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10006360
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov eax, dword [0x100a98ec]
push ecx
cmp eax, dword [0x100a98f0]
je 0x10003065
mov ecx, eax
call fcn.10007830
add dword [0x100a98ec], 0x70
jmp 0x10003070
push eax
mov ecx, 0x100a98e8
call fcn.10004ea0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100056f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100030a7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100030a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100030a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.10006900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100030d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 0
sub edi, esi
jne 0x10003118
mov byte [ebp - 0x10], 0
jmp 0x1000312e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
push edi
push 0x90
push esi
call fcn.1001a2c0
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x10003156
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x10], 0
je 0x10003197
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [0x100a9948]
test al, 1
jne 0x100031b5
or eax, 1
push 0x1002d880
mov dword [0x100a9948], eax
call fcn.1001888d
add esp, 4
push 0x10004b10
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10006360
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov eax, dword [0x100a98d0]
push ecx
cmp eax, dword [0x100a98d4]
je 0x100031f5
mov ecx, eax
call fcn.10007830
add dword [0x100a98d0], 0x70
jmp 0x10003200
push eax
mov ecx, 0x100a98cc
call fcn.10004ea0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100056f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10003237
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003237
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003237
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.10006900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003260
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 0
sub edi, esi
jne 0x100032a8
mov byte [ebp - 0x10], 0
jmp 0x100032be
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
push edi
push 0x90
push esi
call fcn.1001a2c0
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x100032e6
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x10], 0
je 0x10003327
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [0x100a9978]
test al, 1
jne 0x10003345
or eax, 1
push 0x1002d870
mov dword [0x100a9978], eax
call fcn.1001888d
add esp, 4
push 0x10004b50
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10006360
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov eax, dword [0x100a98b8]
push ecx
cmp eax, dword [0x100a98bc]
je 0x10003385
mov ecx, eax
call fcn.10007830
add dword [0x100a98b8], 0x70
jmp 0x10003390
push eax
mov ecx, 0x100a98b4
call fcn.10004ea0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100056f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100033c7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100033c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100033c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.10006900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100033f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x100a7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x1c], 0
sub edi, esi
jne 0x10003438
mov byte [ebp - 0x10], 0
jmp 0x1000344e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
push edi
push 0x90
push esi
call fcn.1001a2c0
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x10003476
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
cmp byte [ebp - 0x10], 0
je 0x100034b7
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [0x100a9958]
test al, 1
jne 0x100034d5
or eax, 1
push 0x1002d860
mov dword [0x100a9958], eax
call fcn.1001888d
add esp, 4
push 0x10004b90
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.10006360
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov eax, dword [0x100a9878]
push ecx
cmp eax, dword [0x100a987c]
je 0x10003515
mov ecx, eax
call fcn.10007830
add dword [0x100a9878], 0x70
jmp 0x10003520
push eax
mov ecx, 0x100a9874
call fcn.10004ea0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.100056f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10003557
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003557
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003557
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.10006900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100062d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx + 4]
push esi
push edi
mov edi, dword [ebx + 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], ecx
cmp eax, ecx
je 0x1000632c
nop dword [eax]
mov edx, dword [eax]
mov ecx, edi
mov esi, edx
sub ecx, edx
sub esi, edi
cmp edi, edx
cmovbe ecx, esi
cmp ecx, dword [ebp - 0xc]
ja 0x1000634d
add eax, 4
cmp eax, dword [ebp - 0x10]
jne 0x10006310
mov eax, dword [ebp - 0x14]
push 0x40
push 0x3000
mov eax, dword [eax + 8]
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10007ba0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
mov eax, dword [0x100a7040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 0x2ec], ecx
mov byte [ebp - 0x2d1], 1
push edi
nop dword [eax]
xor ebx, ebx
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0
push eax
push 0
push 0
push 0x81a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test esi, esi
je 0x10007c15
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x10007cd7
mov esi, dword [ebp - 0x2d8]
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test edi, edi
je 0x10007be0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x10007be0
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10007be0
test eax, eax
je 0x10007c5c
cmp byte [ebp - 0x2d1], 0
jne 0x10007c5c
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10007be0
push 0x2c8
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.1001a2c0
add esp, 0xc
mov dword [ebp - 0x2d0], 0x10007
lea eax, [ebp - 0x2d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10007be0
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10007cd1
lea edx, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], esi
push edx
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2e8], edi
lea edx, [ebp - 0x2e4]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x2e8]
push edx
call dword [eax + 8]
inc ebx
jmp 0x10007be0
mov byte [ebp - 0x2d1], 0
test ebx, ebx
jne 0x10007bd0
mov ecx, dword [ebp - 0x2ec]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x10007cf8
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0
push eax
push 0
push 0
push 0x81a
push esi
call ebx
push eax
call dword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test esi, esi
je 0x10007d31
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x10007d5b
mov esi, dword [ebp - 0x2d8]
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test edi, edi
je 0x10007d00
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x10007d00
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10007d00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001854a
mov esp, ebp
pop ebp
ret
Function at 0x10007d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push 0x40
mov edi, edx
mov esi, ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10007d9e
mov byte [esi + 0xc], al
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x14]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp esi, ecx
je 0x10007dca
mov dword [esi], edi
xor edi, edi
mov dword [esi + 4], ebx
xor ebx, ebx
mov dword [esi + 8], eax
xor eax, eax
mov byte [esi + 0xc], 1
test edi, edi
je 0x10007ddf
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10008730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
push esi
mov dword [ebp - 8], eax
push edi
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x1c]
sub esi, dword [eax + 0x18]
mov edi, dword [eax]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000878b
mov eax, dword [ebp - 8]
push ebx
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
sub eax, ecx
push eax
push ecx
push edx
call fcn.10019b40
add esp, 0xc
test edi, edi
je 0x1000878a
lea eax, [ebp - 8]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100178f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.10008a60
mov ecx, dword [0x100a9968]
mov esi, eax
test cl, 1
jne 0x10017935
or ecx, 1
mov dword [0x100a98f4], 0x10034b70
mov dword [0x100a9968], ecx
mov dword [0x100a98fc], 0
mov dword [0x100a98f8], 0
call fcn.10001530
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x10017971
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001cab2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001caf1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001caf1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001caf1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001caf1
cmp dword [ecx + 0x74], 0xe
jbe 0x1001caf1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10020c8d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10020c0e

Function at 0x100228a4
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x100228be
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x100228d5
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1002292d
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.10026cd9
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x1002292d
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1002292d
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1002292d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x10022927
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x10022929
xor bl, bl
mov al, bl
jmp 0x1002292f
xor al, al
pop esi
pop ebx
leave
ret