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

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x1011db5c
call fcn.100a848f
add esp, 4
test eax, eax
jne 0x1007d694
cmp dword [0x1011db88], 0x7fffffff
je 0x1007d69b
mov eax, dword [0x10c99188]
push ebx
push esi
push edi
test eax, eax
je 0x1007d67c
mov eax, dword [eax]
xor edx, edx
xor esi, esi
test eax, eax
je 0x1007d67c
mov edi, dword [ebp + 8]
nop word [eax + eax]
mov ecx, edi
sub ecx, dword [eax + 8]
cmp ecx, edx
ja 0x1007d5c1
mov esi, eax
test edx, edx
je 0x1007d5c8
mov edx, ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x1007d5b0
test esi, esi
je 0x1007d67c
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [esi + 8]
call ebx
test eax, eax
je 0x1007d5fd
mov ecx, dword [esi + 8]
mov al, byte [esi + 0x44]
mov byte [ecx], al
lea eax, [ebp - 4]
push eax
push dword [esi + 0x48]
push 4
push dword [esi + 8]
call ebx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov ecx, dword [0x10c99188]
mov edx, dword [ecx]
mov esi, edx
test esi, esi
je 0x1007d678
cmp dword [esi + 8], edi
je 0x1007d624
mov esi, dword [esi + 4]
test esi, esi
jne 0x1007d614
mov bl, 1
jmp 0x1007d67e
cmp dword [ecx + 4], esi
jne 0x1007d62e
mov eax, dword [esi]
mov dword [ecx + 4], eax
cmp edx, esi
jne 0x1007d637
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1007d643
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1007d64e
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1007d66d
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
push 0x50
push esi
call fcn.100bf788
add esp, 8
mov bl, 1
jmp 0x1007d67e
xor bl, bl
push 0x1011db5c
call fcn.100a84a0
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.100a87c5
push 6
mov dword [0x1011db88], 0x7ffffffe
call fcn.100a87c5
int3

Function at 0x1007d6b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1007d6e6
mov ecx, dword [esi + 8]
mov al, byte [esi + 0x44]
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
push dword [esi + 0x48]
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebp
ret
Function at 0x1007dbc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee685
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1011dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.100036c0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1007dc53
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [edi + 8], 0x7ffffff
je 0x1007ddb6
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100bf758
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f5700]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100f5700]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1007dd58
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100cc460
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100bfad0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1007dd3a
cmp ebx, 0x200
jae 0x1007dd38
shl ebx, 3
cmp ebx, ecx
jae 0x1007dd3a
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10004bb0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100036c0
mov edx, dword [eax]
jmp 0x1007dd5b
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1007dd86
mov dword [ecx + eax*8], esi
jmp 0x1007dd95
cmp edi, edx
jne 0x1007dd8f
mov dword [ecx + eax*8], esi
jmp 0x1007dd99
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1007dd99
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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.100a8409
int3
Function at 0x1007e620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call fcn.100c0b00
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100d0d24
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x1007e6cb
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007e6c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007e723
push ecx
push edx
call fcn.100bf788
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10020d90
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100d09d9
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x10123b88
push 0x1f8
push eax
push dword [0x1011db8c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
call fcn.100cb58f
int3

Function at 0x1007e7a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x10c99194]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1007e80c
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
pop edi
mov dword [ebx + 0x14], 0xf
pop esi
mov byte [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1007e7d4
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call fcn.100c12a0
add esp, 0xc
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x1c], xmm0
push dword [ebp - 0x20]
push esi
call fcn.10007840
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov eax, ebx
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [ebx], xmm0
pop esi
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
Function at 0x1007ee20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eeebd
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x1011dfc0]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x424], esi
mov edx, dword [esi + 0x5f0]
mov eax, edx
mov ecx, dword [esi + 0x5f4]
or eax, ecx
je 0x1007ee7f
push dword [esi + 4]
push dword [esi]
push ecx
push edx
push str._p____p
call fcn.1007e620
add esp, 0x14
mov eax, dword [0x10c99218]
inc eax
mov dword [0x10c99218], eax
cmp eax, 0x9c4
jl 0x1007eea5
push str.too_many_hooks:_cant_insert
call fcn.1007e620
add esp, 4
xor al, al
jmp 0x1007f001
test edi, edi
je 0x1007eec2
cmp byte [edi], 0
je 0x1007eec2
push 0x3b
push edi
lea eax, [esi + 0x1c8]
push 0x3c
push eax
call fcn.100d0d24
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa00
lea eax, [ebp - 0x28]
mov edi, esp
mov ecx, 0x280
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10083ea0
mov ecx, eax
add esp, 0xa08
cmp dword [ecx + 0x14], 7
jbe 0x1007eef1
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x424]
push ecx
push 0x1f4
lea eax, [esi + 0x204]
push eax
call fcn.100d0a9c
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10010e30
imul eax, dword [0x10c99218], 0xac0
sub esp, 0xa00
mov edi, esp
mov ecx, 0x280
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x10c99214]
mov ecx, eax
call fcn.10003f00
test al, al
jne 0x1007efa0
mov eax, dword [ebp - 0x424]
add eax, 0x204
push 0xfde9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100824f0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x1007ef6a
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.1007e620
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b80
imul ecx, dword [0x10c99218], 0xac0
add ecx, dword [0x10c99214]
call fcn.10003c90
xor al, al
jmp 0x1007f001
mov edx, dword [ebp - 0x424]
lea esi, [ebp - 0x410]
mov dword [ebp - 0x420], 4
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x414], ecx
lea ecx, [edx + 0x204]
mov dword [ebp - 0x418], eax
sub esi, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x1007efd0
push 0
push 0x10123b88
push 0x3f8
lea eax, [ebp - 0x420]
push eax
push dword [0x1011db8c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
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.100bfabd
mov esp, ebp
pop ebp
ret
Function at 0x1007f2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x1007f2eb
push eax
push str.removing_hook:__s
call fcn.1007e620
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x10123b88
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x1011db8c]
mov dword [ebp - 0x10], 3
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x10080270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x280
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
push edi
push 0
movups xmmword [edx], xmm0
push 0x10123b88
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ebp + 0x14]
lea edi, [edx + 0x20]
add eax, 0xa28
push eax
movups xmmword [edx + 0x10], xmm0
push edx
rep movsd dword es:[edi], dword [esi]
push dword [0x1011db8c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret

Function at 0x10080fb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x10c99240
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x230], 0x10c99240
mov byte [ebp - 0x22c], 0
call fcn.100a848f
add esp, 4
test eax, eax
jne 0x10081182
cmp dword [0x10c9926c], 0x7fffffff
je 0x10081189
mov byte [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0x10c99220
mov ebx, dword [ebp - 0x21c]
mov dword [ebp - 4], eax
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x21b]
xor ecx, eax
movzx eax, byte [ebp - 0x21a]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x219]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x21c]
imul edi, ecx, 0x1000193
mov ecx, 0x10c99220
push edi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.100036c0
mov edx, dword [0x10c99224]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x10c99224]
je 0x100810cd
push edi
lea eax, [ebp - 0x21c]
mov ecx, 0x10c99220
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.100036c0
mov esi, dword [ebp - 0x220]
test esi, esi
je 0x1008119a
jmp 0x10081154
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10081113
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100c2390
add esp, 8
mov ecx, 0x10c99220
lea esi, [eax + 2]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1007ddd0
push esi
jmp 0x10081130
lea eax, [ebp - 0x21c]
mov ecx, 0x10c99220
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1007ddd0
push 0x100f6edc
mov ecx, dword [eax]
add ecx, 0xc
call fcn.1002b2b0
lea eax, [ebp - 0x21c]
mov ecx, 0x10c99220
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1007ddd0
mov esi, dword [eax]
push 0x10c99240
add esi, 0xc
call fcn.100a84a0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
push 5
call fcn.100a87c5
push 6
mov dword [0x10c9926c], 0x7ffffffe
call fcn.100a87c5
push str.invalid_unordered_map_K__T__key
call fcn.100a8429
int3
Function at 0x100812e0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef12f
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x100814a7
sub eax, 1
jne 0x100814cb
mov dword [0x10c99194], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100811b0
add esp, 8
push 0x10123b78
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.1007d9b0
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.1007e200
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x10c99198]
mov dword [0x10c99198], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
test eax, eax
je 0x10081393
cmp eax, 0xffffffff
je 0x10081393
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 2
test eax, eax
je 0x100813a6
cmp eax, 0xffffffff
je 0x100813a6
push eax
call ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10010e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100813c9
xor eax, eax
jmp 0x100814d0
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x68fb00
call fcn.100bf796
mov ebx, eax
add esp, 4
mov dword [ebp - 0x64], ebx
test ebx, ebx
je 0x1008140d
mov esi, ebx
mov edi, 0x9c4
nop dword [eax]
push 0xa00
push 0
push esi
call fcn.100c0b00
add esp, 0xc
add esi, 0xac0
sub edi, 1
jne 0x100813f0
jmp 0x1008140f
xor ebx, ebx
push 0x10123b88
push 0x40
push 0x68fb00
push ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x10c99214], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100811b0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push str.EMBED_SHARED_MEM
push eax
call fcn.1007d9b0
add esp, 0x14
push eax
push 0xdb8
push 0x10c99190
push 0x1011db94
lea ecx, [ebp - 0x59]
mov byte [ebp - 4], 5
call fcn.1007e580
lea ecx, [ebp - 0x40]
call fcn.10010e30
lea ecx, [ebp - 0x58]
call fcn.10010e30
call fcn.10085fd0
push 0
push 0
push 0
push fcn.1007f320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100814cb
call fcn.10086290
call fcn.10079f00
push dword [0x10c99214]
call fcn.100bf79f
add esp, 4
push dword [0x10c99190]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10083c90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef3f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1011dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x10083d8a
test dl, 0x10
jne 0x10083d8a
mov al, 1
jmp 0x10083d8c
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x10083db0
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x10083de3
jbe 0x10083de3
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x10083dc8
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.10008bc0
jmp 0x10083de3
sub esi, edx
je 0x10083de0
shl esi, 3
push esi
push 0
push ebx
call fcn.100c0b00
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
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 0x1c
Function at 0x10085970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x10c9aa40]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100859b8
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100859dd
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100859fe
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100859fe
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100859f8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100859fe
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10085ae0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10085c7d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10085bf5
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10085bb9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10085bb9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10085bb9
mov edx, dword [esi]
test edx, edx
jne 0x10085b85
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c9927c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10085bdd
jmp 0x10085bad
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10085bad
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10c9927c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10085bdd
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10085b40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10085bf5
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10085bf5
push eax
push ebx
push dword [0x10c9927c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x10085c7d
cmp dword [esi], 0
je 0x10085c6a
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10085c6a
nop dword [eax]
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
mov dword [ebp - 0x24], 0
test ebx, ebx
je 0x10085c5b
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10085c4e
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
push dword [ebp + 0xc]
push ebx
call fcn.10086300
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
jne 0x10085c64
mov ecx, dword [esi]
mov dword [ecx + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jb 0x10085c10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bfabd
mov esp, ebp
pop ebp
ret