joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002cea0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
or eax, 0xffffffff
mov dword [ebp - 0x2c], 0x350
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0x2c]
mov word [esi + 0x3c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
mov dword [esi + 0x14], 0
push eax
push ecx
push ecx
lea ecx, [ebp - 0x20]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x28], 0x140
mov dword [ebp - 0x24], 0
call fcn.1002bcb0
sub esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.100197f0
mov ecx, 0xd78d54
call fcn.1001e390
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0x10
mov dword [esi], eax
push 4
push 0x4de1e6
call edi
test eax, eax
jne 0x1002cfa4
mov edx, 0x1002f470
mov ecx, 0x4de1e6
call fcn.100235d0
mov eax, dword [esi]
test eax, eax
je 0x1002d00b
push 4
push eax
call edi
test eax, eax
jne 0x1002d00b
mov ecx, esi
call fcn.1002d050
cmp dword [0x100f60cc], 0
jne 0x1002d011
mov edi, dword [esi]
test edi, edi
je 0x1002cfed
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002cfed
push 4
lea eax, [edi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002cfed
mov edi, dword [edi]
add edi, 0x64
jmp 0x1002cfef
xor edi, edi
mov eax, dword [edi]
push 4
push eax
mov dword [0x100f60cc], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d011
mov dword [edi], 0x1002f4a0
jmp 0x1002d011
mov dword [esi], 0
lea ecx, [ebp - 0x20]
call fcn.10014700
mov eax, dword [ebp - 0x20]
push 8
push eax
mov dword [ebp - 0x20], 0
call fcn.100891b0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
ret
Function at 0x10034560
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], 0x31c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x24], 0
push eax
push ecx
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.1002bcb0
sub esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.100197f0
mov ecx, 0xd78d54
call fcn.1001e390
add esp, 0x10
mov dword [esi + 0x30], eax
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
test eax, eax
je 0x100346a9
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100346a9
mov ecx, esi
call fcn.100346f0
cmp dword [0x100f6138], 0
jne 0x100346b0
mov edi, dword [esi + 0x30]
test edi, edi
je 0x1003468b
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003468b
push 4
lea eax, [edi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003468b
mov edi, dword [edi]
add edi, 0x64
jmp 0x1003468d
xor edi, edi
mov eax, dword [edi]
push 4
push eax
mov dword [0x100f6138], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100346b0
mov dword [edi], 0x10037720
jmp 0x100346b0
mov dword [esi + 0x30], 0
lea ecx, [ebp - 0x20]
call fcn.10014700
mov eax, dword [ebp - 0x20]
push 8
push eax
mov dword [ebp - 0x20], 0
call fcn.100891b0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
ret
Function at 0x1003b580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x100e9490]
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], 0x49537f45
push esi
push edi
mov dword [ebp - 0x24], ebx
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0x54415554
mov dword [ebp - 4], 0x4e4f49
mov al, byte [ebp + ecx - 0x1b]
xor al, byte [ebp - 0x1c]
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x1a
jb 0x1003b5b0
xorps xmm0, xmm0
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b5e7
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10003370
cmp dword [ebp - 0x2c], 0
mov ebx, dword [ebx]
je 0x1003b66f
test ebx, ebx
je 0x1003b66f
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b66f
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 0x20], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1003b66f
cmp esi, dword [ebx + 0xc4]
jne 0x1003b632
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x1003b65b
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x1003b644
mov ecx, dword [ecx]
cmp dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1003b671
cmp esi, dword [ebx + 0xc4]
jne 0x1003b668
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [ebp - 0x20]
jne 0x1003b625
xor edi, edi
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
mov dword [esi + 4], edi
call fcn.10002f50
mov eax, dword [ebp - 0x40]
push 8
push eax
mov dword [ebp - 0x40], 0
call fcn.100891b0
mov esi, dword [esi]
add esp, 8
test esi, esi
je 0x1003b6b1
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b6b1
push 0x14
mov ecx, esi
call dword [0x100e6d60]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10041ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movaps xmm0, xmmword [str._BTN]
xor edx, edx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
movups xmmword [ebp - 0x18], xmm0
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x17]
xor al, byte [ebp - 0x18]
mov byte [ebp + edx - 0x17], al
inc edx
cmp edx, 0xe
jb 0x10041cc0
xorps xmm0, xmm0
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x17]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041cf7
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10003370
cmp dword [ebp - 0x20], 0
mov ebx, dword [ebx]
je 0x10041d7f
test ebx, ebx
je 0x10041d7f
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10041d7f
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 4], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10041d7f
cmp esi, dword [ebx + 0xc4]
jne 0x10041d42
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x10041d6b
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10041d54
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10041d81
cmp esi, dword [ebx + 0xc4]
jne 0x10041d78
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [ebp - 4]
jne 0x10041d35
xor edi, edi
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x34]
mov dword [eax + 4], edi
call fcn.10002f50
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.100891b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10045520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movaps xmm0, xmmword [0x100e92e0]
xor edx, edx
push ebx
push esi
mov ebx, ecx
mov byte [ebp - 0xc], 0
push edi
mov dword [ebp - 8], ebx
movups xmmword [ebp - 0x1c], xmm0
nop
mov al, byte [ebp + edx - 0x1b]
xor al, byte [ebp - 0x1c]
mov byte [ebp + edx - 0x1b], al
inc edx
cmp edx, 0xf
jb 0x10045540
xorps xmm0, xmm0
mov byte [ebp - 0xc], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045577
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10003370
cmp dword [ebp - 0x24], 0
mov ebx, dword [ebx + 4]
je 0x10045600
test ebx, ebx
je 0x10045600
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045600
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 4], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10045600
cmp esi, dword [ebx + 0xc4]
jne 0x100455c3
call fcn.1008fc90
mov edi, dword [esi + 8]
test edi, edi
je 0x100455ec
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x100455d5
mov ecx, dword [ecx]
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10045602
cmp esi, dword [ebx + 0xc4]
jne 0x100455f9
call fcn.1008fc90
mov esi, dword [esi]
cmp esi, dword [ebp - 4]
jne 0x100455b6
xor edi, edi
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x38]
mov dword [eax], edi
call fcn.10002f50
mov eax, dword [ebp - 0x38]
push 8
push eax
mov dword [ebp - 0x38], 0
call fcn.100891b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004b160
Capabilities:
Encode data using xor

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
push 0xffffffffffffffff
push 0x100caac7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100f2040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
movzx eax, word [esi + 0x13e]
mov ecx, eax
mov word [esi + 0x14a], ax
movzx eax, word [esi + 0x14c]
push eax
push ecx
xor ecx, ecx
cmp byte [esi + 0x148], cl
je 0x1004b25a
movaps xmm0, xmmword [0x100e9050]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x6b26676a
mov byte [ebp - 0x2c], cl
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x1004b1e1
sub esp, 0x1c
mov byte [ebp - 0x2c], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b220
sub ecx, edi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x78]
push eax
call fcn.1000d650
add esp, 0x28
mov edx, eax
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 4], 0
mov edi, eax
mov dword [ebp - 0x24], eax
jmp 0x1004b2e5
mov dl, 0x75
mov dword [ebp - 0x1c], 0x55115075
mov dword [ebp - 0x18], 0x5055131a
mov word [ebp - 0x14], 0x11
xor byte [ebp + ecx - 0x1b], dl
inc ecx
cmp ecx, 8
jae 0x1004b27f
mov dl, byte [ebp - 0x1c]
jmp 0x1004b270
sub esp, 0x1c
mov byte [ebp - 0x13], 0
mov edx, esp
lea ecx, [ebp - 0x1b]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b2b0
sub ecx, edi
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x5c]
push eax
call fcn.1000d650
add esp, 0x28
mov edx, eax
mov eax, dword [ebp - 0x20]
or eax, 2
mov dword [ebp - 4], 1
mov edi, eax
mov dword [ebp - 0x24], edi
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
call fcn.1001e150
mov eax, dword [ebp - 0x20]
test al, 2
je 0x1004b31f
mov eax, edi
lea ecx, [ebp - 0x5c]
and eax, 0xfffffffd
mov dword [ebp - 0x24], eax
call fcn.10002f50
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.100891b0
add esp, 8
test byte [ebp - 0x24], 1
je 0x1004b342
lea ecx, [ebp - 0x78]
call fcn.10002f50
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x78], 0
call fcn.100891b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10083f10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc75d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0xf
lea ecx, [ebp - 0x8c]
push dword [ebp + 0x1c]
cmova eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x67452301
mov dword [ebp - 0x3c], 0xefcdab89
mov dword [ebp - 0x38], 0x98badcfe
mov dword [ebp - 0x34], 0x10325476
call fcn.10083d90
cmp byte [ebp - 0x8c], 0
jne 0x1008406d
xor ecx, ecx
lea edx, [ebp - 0x47]
nop dword [eax + eax]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x1c], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x1b], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x1a], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x19], al
add ecx, 4
cmp ecx, 8
jb 0x10083fb0
mov edx, dword [ebp - 0x48]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x8c]
push eax
push 0x100f3fe8
call fcn.10083d90
push 8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10083d90
xor ecx, ecx
lea edx, [ebp - 0x3f]
nop
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x30], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x2f], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x2e], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x2d], al
add ecx, 4
cmp ecx, 0x10
jb 0x10084020
push 0x40
lea eax, [ebp - 0x8b]
push 0
push eax
call fcn.1008c200
xorps xmm0, xmm0
mov byte [ebp - 0x8c], 1
add esp, 0xc
movq qword [ebp - 0x48], xmm0
push esi
lea ecx, [ebp - 0x8c]
call fcn.10083e40
lea ecx, [ebp + 8]
call fcn.10002f50
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 8], 0
call fcn.100891b0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
ret
Function at 0x100840c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov eax, 5
mov dword [ebp - 0xc], edi
add eax, eax
mov ecx, 0xffffffff
cmovo eax, ecx
push eax
call fcn.1009fa00
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
mov ebx, esi
push eax
push 0x40
push 5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [esi], eax
mov al, byte [ecx + 4]
mov byte [esi + 4], al
add esi, 5
mov eax, ecx
sub eax, esi
mov dword [esi + 1], eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov byte [esi], 0xe9
sub eax, 5
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push ecx
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10089100
mov esp, ebp
pop ebp
ret

Function at 0x10086410
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100865e0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100864ed
mov edx, dword [ebp - 4]
cmp edx, dword [0x100f2014]
jb 0x1008645a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100f2018]
ja 0x1008645a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1008642a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1008c200
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1008647f
jmp 0x100864ed
cmp dword [ebp - 0x14], 0x10000
jne 0x100864d3
cmp dword [ebp - 0x18], 0x10000
jb 0x100864d3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100864b6
mov eax, dword [ebp - 8]
jmp 0x100864ef
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100864c6
xor eax, eax
jmp 0x100864ef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100864e8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100865e0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1008642a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10086500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10086610
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100865d5
mov edx, dword [ebp - 4]
cmp edx, dword [0x100f2014]
jb 0x10086545
mov eax, dword [ebp - 4]
cmp eax, dword [0x100f2018]
ja 0x10086545
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10086515
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1008c200
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1008656a
jmp 0x100865d5
cmp dword [ebp - 0x14], 0x10000
jne 0x100865be
cmp dword [ebp - 0x18], 0x10000
jb 0x100865be
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100865a1
mov eax, dword [ebp - 8]
jmp 0x100865d7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100865b1
xor eax, eax
jmp 0x100865d7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100865d0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10086610
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10086515
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10086640
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10086a30
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100f49b8], 0
jne 0x1008667d
cmp dword [0x100f49b4], 0
je 0x1008667d
mov eax, dword [0x100f49b4]
mov dword [0x100f49b8], eax
cmp dword [0x100f49b8], 0
je 0x100866fa
mov ecx, dword [0x100f49b8]
cmp dword [ecx + 8], 0
je 0x100866fa
mov edx, dword [0x100f49b8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100866fa
mov ecx, dword [0x100f49b8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100866fa
mov eax, dword [0x100f49b8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100866c9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100866d0
xor eax, eax
jmp 0x10086819
mov ecx, dword [0x100f49b8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.1008c200
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10086819
mov edx, dword [0x100f49b4]
mov dword [0x100f49b8], edx
jmp 0x10086716
mov eax, dword [0x100f49b8]
mov ecx, dword [eax + 4]
mov dword [0x100f49b8], ecx
cmp dword [0x100f49b8], 0
je 0x10086756
cmp dword [0x100f49b8], 0
je 0x10086754
mov edx, dword [0x100f49b8]
cmp dword [edx + 8], 0
je 0x10086754
mov eax, dword [0x100f49b8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10086754
mov edx, dword [0x100f49b8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10086754
jmp 0x100866ae
jmp 0x10086708
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10086820
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10086817
mov eax, dword [ebp - 0x18]
mov dword [0x100f49b8], eax
mov ecx, dword [0x100f49b8]
mov dword [ecx], 0x52727464
mov edx, dword [0x100f49b8]
mov dword [edx + 8], 0
mov eax, dword [0x100f49b8]
mov ecx, dword [0x100f49b4]
mov dword [eax + 4], ecx
mov edx, dword [0x100f49b8]
mov dword [0x100f49b4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100f49b8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100867e7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10086807
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x100867de
mov eax, dword [0x100f49b8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100866ae
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10087560
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100f49b4]
mov dword [ebp - 4], eax
jmp 0x10087579
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100875a0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1008759e
call sub.KERNEL32.dll_GetLastError
jmp 0x100875a2
jmp 0x10087570
xor eax, eax
mov esp, ebp
pop ebp
ret