joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f4780
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10131fa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 4]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x1003c43b
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
nop
cmp esi, eax
je 0x1003c43b
mov esi, dword [esi + 4]
mov ecx, dword [edi]
cmp ecx, dword [esi + 8]
jne 0x1003c3f0
mov edx, dword [ebp + 0x10]
push 0xc
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.100ca2ff
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
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 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1003c46b
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x1003c482
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x1003c4a4
cmp eax, esi
jne 0x1003c48a
mov dword [ecx], edi
jmp 0x1003c4a4
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1003c4a4
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.1003ca30
mov eax, dword [ebp + 8]
mov dword [eax], edi
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 0xc
Function at 0x1003cad0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f47c0
mov eax, dword fs:[0]
push eax
sub esp, 0xa08
push ebx
push esi
push edi
mov eax, dword [0x10131fa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10cb11e8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10caa9d4]
cmp eax, dword [ecx + 4]
jg 0x1003cc31
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [0x10caa9b8]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul esi, ecx, 0x1000193
mov ecx, dword [0x10caa9c0]
and esi, dword [0x10caa9cc]
mov edi, dword [ecx + esi*8]
mov eax, edi
cmp edi, edx
jne 0x1003cb6e
mov ecx, edx
jmp 0x1003cb74
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1003cb9f
cmp dword [eax + 8], ebx
je 0x1003cb87
mov eax, dword [eax]
mov ecx, dword [0x10caa9c0]
jmp 0x1003cb66
cmp eax, edx
je 0x1003cb9f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
lea eax, [ebp + 8]
mov ecx, 0x10caa9b4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1003c190
push 0x198
lea eax, [ebp - 0xa0c]
push 0
push eax
call fcn.100cd020
push 0x85c
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.100cd020
mov eax, dword [ebp + 8]
lea esi, [ebp - 0xa14]
add esp, 0x18
mov dword [ebp - 0xa14], eax
mov ecx, 0x280
mov dword [ebp - 0xa10], 0
mov dword [ebp - 0x874], 0x1003cf30
push str.attachCaller
sub esp, 0xa00
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.100063b0
add esp, 0xa04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10caa9d4
call fcn.100ca4fd
add esp, 4
cmp dword [0x10caa9d4], 0xffffffff
jne 0x1003cb1b
push 0
push 0
mov ecx, 0x10caa9b8
mov dword [ebp - 4], 0
call fcn.1003ca00
mov dword [0x10caa9b8], eax
mov dword [0x10caa9c0], 0
mov dword [0x10caa9c4], 0
mov dword [0x10caa9c8], 0
push 8
mov ecx, 0x10caa9b4
mov byte [ebp - 4], 2
mov dword [0x10caa9b4], 0x3f800000
call fcn.10004650
push 0x100fbce0
call fcn.100ca170
push 0x10caa9d4
mov dword [ebp - 4], 0xffffffff
call fcn.100ca4b3
add esp, 8
jmp 0x1003cb1b
Function at 0x1003ccd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x1003cd43
cmp eax, edi
jne 0x1003cd3b
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1003cd4b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1003cd4b
cmp eax, edi
jne 0x1003cd4e
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.100ca2ff
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10043990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x100439ab
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100439c7
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100439b6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x10043a00
cmp eax, edi
jne 0x100439f8
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x10043a08
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10043a08
cmp eax, edi
jne 0x10043a0b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
lea ecx, [edx + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ecx + 4]
call fcn.10043630
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10043d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 8], ebx
jb 0x10043d7f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10043da1
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10043d90
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, ebx
jne 0x10043dcb
mov eax, ebx
jmp 0x10043dcf
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10043e74
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov edx, edi
jb 0x10043de4
mov edx, dword [edi]
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x10043def
mov eax, dword [eax]
cmp edi, dword [ebp - 8]
jne 0x10043e50
sub edi, 4
jb 0x10043e11
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x10043e16
add eax, 4
add edx, 4
sub edi, 4
jae 0x10043e00
cmp edi, 0xfffffffc
je 0x10043e4a
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10043e43
cmp edi, 0xfffffffd
je 0x10043e4a
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10043e43
cmp edi, 0xfffffffe
je 0x10043e4a
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x10043e43
cmp edi, 0xffffffff
je 0x10043e4a
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x10043e4a
sbb eax, eax
or eax, 1
jmp 0x10043e4c
xor eax, eax
test eax, eax
je 0x10043e60
mov esi, dword [esi]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x10043dc3
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.10043490
test al, al
cmove ebx, esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10051fb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov ebx, dword [edx + ecx*8]
mov eax, ebx
lea edx, [edx + ecx*8]
cmp ebx, esi
jne 0x1005200e
mov ecx, esi
jmp 0x10052013
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10052026
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x10052022
mov eax, dword [eax]
jmp 0x10052006
cmp eax, esi
jne 0x1005207a
mov esi, dword [esi]
lea eax, [ebp + 0xb]
mov ebx, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov edi, dword [esi + 4]
push eax
push 0x100ffc23
push edi
push esi
lea ecx, [ebx + 4]
call fcn.1001af60
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10052086
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10009470
mov eax, dword [ebp - 0xc]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.1009da57
int3
Function at 0x1005f170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x10131fa8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push str.RIO.INI
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005f22b
mov ecx, dword [0x10cafe20]
mov edx, ecx
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1005f1c0
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x1005f289
lea esi, [ebp - 0x24c]
sub esi, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x1005f1e0
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [ebp - 0x24c]
mov dword [ebp + edx*2 - 0x250], 0x69006e
mov ecx, 0x69
push eax
mov word [ebp + edx*2 - 0x252], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005f289
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.100cd020
add esp, 0xc
lea eax, [ebp - 0x254]
push 0
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x44]
mov byte [ebp - 5], 0
push 0x10104f40
push eax
call fcn.100cdb20
add esp, 8
test eax, eax
je 0x1005f289
lea ecx, [ebp - 0x250]
add eax, 3
push ecx
push 0x10104f44
push eax
call fcn.1005fde0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop esi
call fcn.100ca30d
mov esp, ebp
pop ebp
ret

Function at 0x10062750
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x1505
push ebx
push esi
xor esi, esi
mov bl, byte [eax]
push edi
lea edi, [eax + 1]
test bl, bl
je 0x10062791
nop dword [eax]
mov eax, ecx
lea edi, [edi + 1]
mov edx, esi
shld esi, ecx, 5
shl ecx, 5
add ecx, eax
movzx eax, bl
mov bl, byte [edi - 1]
adc esi, edx
cdq
add ecx, eax
adc esi, edx
test bl, bl
jne 0x10062770
pop edi
mov edx, esi
mov eax, ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x10074bb0
Capabilities:
Link many functions at runtime
Write clipboard data

Disassembly:
jmp fcn.1008a850
mov ecx, dword [ecx + 4]
jmp 0x100248d0
Function at 0x1007a360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10131fa8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10138c1d], 0
push esi
je 0x1007a3e6
mov eax, dword [0x10138af4]
xor edx, edx
mov esi, dword [ebp + 8]
add eax, 0x8d0
nop dword [eax]
cmp byte [eax - 0x18], 0
je 0x1007a3dd
movups xmm1, xmmword [esi]
movups xmm0, xmmword [esi + 0x10]
movd ecx, xmm1
movups xmmword [ebp - 0x24], xmm1
movups xmmword [ebp - 0x14], xmm0
cmp dword [eax - 0x10], ecx
jne 0x1007a3dd
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0x1c]
jne 0x1007a3dd
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x18]
jne 0x1007a3dd
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x14]
jne 0x1007a3dd
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x10]
jne 0x1007a3dd
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0xc]
jne 0x1007a3dd
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 8]
je 0x1007a3f7
inc edx
add eax, 0x28
cmp edx, 0x20
jb 0x1007a390
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca30d
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test al, 0xf0
jne 0x1007a415
push 0x10
call esi
test al, 0xf0
je 0x1007a423
push 0xd
call esi
test al, 0xf0
jne 0x1007a423
mov eax, dword [0x10138af4]
cmp byte [eax + 0x8b0], 0
jne 0x1007a3e6
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100ca30d
mov esp, ebp
pop ebp
ret
Function at 0x1007a9e0
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10131fa8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 8
jb 0x1007aa06
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x1007aa3d
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x410], eax
mov ecx, ebx
mov eax, esi
shld ebx, esi, 5
shl esi, 5
add esi, eax
movzx eax, byte [edi - 1]
cdq
adc ebx, ecx
add esi, eax
mov eax, dword [ebp - 0x410]
adc ebx, edx
test eax, eax
jne 0x1007aa11
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
lea eax, [ebp - 0x3ec]
push str.LUNA_NOTIFY._d._llu
push eax
call fcn.10024e00
add esp, 0x14
lea eax, [ebp - 0x3ec]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x410], eax
test ebx, ebx
je 0x1007ab0e
mov edi, dword [ebp + 0xc]
cmp byte [0x10138c1d], 0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x1007ab0e
mov eax, dword [0x10138af4]
xor edx, edx
add eax, 0x8d0
nop dword [eax]
cmp byte [eax - 0x18], 0
je 0x1007ab05
movups xmm1, xmmword [edi]
movups xmm0, xmmword [edi + 0x10]
movd ecx, xmm1
movups xmmword [ebp - 0x40c], xmm1
movups xmmword [ebp - 0x3fc], xmm0
cmp dword [eax - 0x10], ecx
jne 0x1007ab05
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0x404]
jne 0x1007ab05
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x400]
jne 0x1007ab05
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3fc]
jne 0x1007ab05
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x3f8]
jne 0x1007ab05
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x3f4]
jne 0x1007ab05
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x3f0]
je 0x1007ab2f
inc edx
add eax, 0x28
cmp edx, 0x20
jb 0x1007aaa0
xor bl, bl
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ca30d
mov esp, ebp
pop ebp
ret
push 0x11
call esi
test al, 0xf0
jne 0x1007ab47
push 0x10
call esi
test al, 0xf0
je 0x1007ab55
push 0xd
call esi
test al, 0xf0
jne 0x1007ab55
mov eax, dword [0x10138af4]
cmp byte [eax + 0x8b0], 0
jne 0x1007ab0e
cmp ebx, 0x64
mov eax, 0x64
mov esi, ebx
cmova esi, eax
push esi
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1007ab7c
sub ebx, esi
je 0x1007ab0e
jmp 0x1007aa81
mov bl, 1
jmp 0x1007ab10
Function at 0x1007d770
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2450
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10131fa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10cb02fc
call fcn.1009ded0
add esp, 4
test eax, eax
je 0x1007d7b0
push eax
call fcn.1009e0f0
add esp, 4
mov ecx, dword [0x10cb032c]
test ecx, ecx
je 0x1007d89f
mov ecx, dword [ecx]
xor edx, edx
xor ebx, ebx
test ecx, ecx
je 0x1007d89f
mov edi, dword [ebp + 8]
nop
mov esi, dword [ecx + 8]
mov eax, edi
sub eax, esi
cmp eax, edx
ja 0x1007d7e5
mov ebx, ecx
test edx, edx
je 0x1007d7ec
mov edx, edi
sub edx, esi
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1007d7d0
test ebx, ebx
je 0x1007d89f
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push dword [ebx + 8]
call esi
test eax, eax
je 0x1007d821
mov ecx, dword [ebx + 8]
mov al, byte [ebx + 0x44]
mov byte [ecx], al
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x48]
push 4
push dword [ebx + 8]
call esi
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov ecx, dword [0x10cb032c]
mov edx, dword [ecx]
mov esi, edx
test esi, esi
je 0x1007d89b
cmp dword [esi + 8], edi
je 0x1007d848
mov esi, dword [esi + 4]
test esi, esi
jne 0x1007d838
mov bl, 1
jmp 0x1007d8a1
cmp dword [ecx + 4], esi
jne 0x1007d852
mov eax, dword [esi]
mov dword [ecx + 4], eax
cmp edx, esi
jne 0x1007d85b
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1007d867
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1007d872
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1007d890
mov eax, dword [ecx]
cmp ecx, edi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [edi + 0x24], 0
push 0x50
push esi
call fcn.100ca2ff
add esp, 8
mov bl, 1
jmp 0x1007d8a1
xor bl, bl
push 0x10cb02fc
mov dword [ebp - 4], 0
call fcn.1009def5
add esp, 4
test eax, eax
je 0x1007d8c2
push eax
call fcn.1009e0f0
add esp, 4
mov al, bl
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 0x1007d8e0
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 0x1007d916
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 0x100815d0
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 [0x10cb1d90]
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 0x10081618
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1008163d
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 0x1008165e
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1008165e
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10081658
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1008165e
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 al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10081740
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10131fa8]
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 0x100818dd
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10081855
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10081819
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10081819
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10081819
mov edx, dword [esi]
test edx, edx
jne 0x100817e5
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10cb034c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1008183d
jmp 0x1008180d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1008180d
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10cb034c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1008183d
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 0x100817a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10081855
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10081855
push eax
push ebx
push dword [0x10cb034c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x100818dd
cmp dword [esi], 0
je 0x100818ca
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100818ca
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 0x100818bb
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x100818ae
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
push dword [ebp + 0xc]
push ebx
call fcn.10081f90
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
jne 0x100818c4
mov ecx, dword [esi]
mov dword [ecx + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jb 0x10081870
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca30d
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.100ca30d
mov esp, ebp
pop ebp
ret