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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4400
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1011efb8]
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 0x1003488b
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
nop
cmp esi, eax
je 0x1003488b
mov esi, dword [esi + 4]
mov ecx, dword [edi]
cmp ecx, dword [esi + 8]
jne 0x10034840
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.100b9eff
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 0x100348bb
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 0x100348d2
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x100348f4
cmp eax, esi
jne 0x100348da
mov dword [ecx], edi
jmp 0x100348f4
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100348f4
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.10034e00
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 0x10034ea0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4440
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1011efb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c9d5f8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c96e98]
cmp eax, dword [ecx + 4]
jg 0x10034f95
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [0x10c96e7c]
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 [0x10c96e84]
and esi, dword [0x10c96e90]
mov edi, dword [ecx + esi*8]
mov eax, edi
cmp edi, edx
jne 0x10034f3b
mov ecx, edx
jmp 0x10034f41
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10034f6c
cmp dword [eax + 8], ebx
je 0x10034f54
mov eax, dword [eax]
mov ecx, dword [0x10c96e84]
jmp 0x10034f33
cmp eax, edx
je 0x10034f6c
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, 0x10c96e78
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100345e0
mov al, 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
push 0x10c96e98
call fcn.100ba0da
add esp, 4
cmp dword [0x10c96e98], 0xffffffff
jne 0x10034ee8
push 0
push 0
mov ecx, 0x10c96e7c
mov dword [ebp - 4], 0
call fcn.10034dd0
mov dword [0x10c96e7c], eax
mov dword [0x10c96e84], 0
mov dword [0x10c96e88], 0
mov dword [0x10c96e8c], 0
push 8
mov ecx, 0x10c96e78
mov byte [ebp - 4], 2
mov dword [0x10c96e78], 0x3f800000
call fcn.10003bd0
push 0x100eb130
call fcn.100b9d71
push 0x10c96e98
mov dword [ebp - 4], 0xffffffff
call fcn.100ba090
add esp, 8
jmp 0x10034ee8

Function at 0x10035040
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 0x100350b3
cmp eax, edi
jne 0x100350ab
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 0x100350bb
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x100350bb
cmp eax, edi
jne 0x100350be
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.100b9eff
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x100467d0
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 0x1004682e
mov ecx, esi
jmp 0x10046833
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10046846
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x10046842
mov eax, dword [eax]
jmp 0x10046826
cmp eax, esi
jne 0x1004689a
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 0x100eeba3
push edi
push esi
lea ecx, [ebx + 4]
call fcn.10014d60
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x100468a6
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.10007b10
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.1008d657
int3
Function at 0x100526a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x1011efb8]
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 0x1005275b
mov ecx, dword [0x10c9c218]
mov edx, ecx
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100526f0
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x100527b9
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 0x10052710
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 0x100527b9
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.100bcc20
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 0x100f3cb4
push eax
call fcn.100bd720
add esp, 8
test eax, eax
je 0x100527b9
lea ecx, [ebp - 0x250]
add eax, 3
push ecx
push 0x100f3cb8
push eax
call fcn.100533a0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
pop esi
call fcn.100b9f0d
mov esp, ebp
pop ebp
ret

Function at 0x10055600
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4

Function at 0x10055a30
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 0x10055a71
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 0x10055a50
pop edi
mov edx, esi
mov eax, ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x10068f10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10068f83
cmp ecx, eax
jne 0x10068f7b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x10068f8b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x10068f8b
cmp ecx, eax
jne 0x10068f8b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x20
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100b9eff
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x10069d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x101250fd], 0
push esi
je 0x10069df6
mov eax, dword [0x10125024]
xor esi, esi
mov edx, dword [ebp + 8]
add eax, 0xa0
nop dword [eax]
mov ecx, dword [eax - 0xa0]
or ecx, dword [eax - 0x9c]
je 0x10069ded
mov ecx, dword [eax - 0x50]
cmp ecx, dword [edx + 8]
jne 0x10069ded
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [edx + 0xc]
jne 0x10069ded
mov ecx, dword [eax]
cmp ecx, dword [edx + 0x10]
jne 0x10069ded
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 0x14]
jne 0x10069ded
mov ecx, dword [eax + 0x50]
cmp ecx, dword [edx + 0x18]
jne 0x10069ded
mov ecx, dword [eax + 0x54]
cmp ecx, dword [edx + 0x1c]
je 0x10069dfb
inc esi
add eax, 8
cmp esi, 0xa
jl 0x10069db0
xor al, al
pop esi
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test al, 0xf0
jne 0x10069e19
push 0x10
call esi
test al, 0xf0
je 0x10069e27
push 0xd
call esi
test al, 0xf0
jne 0x10069e27
mov eax, dword [0x10125024]
cmp byte [eax + 0x9f8], 0
jne 0x10069df6
mov al, 1
pop esi
pop ebp
ret
Function at 0x1006a450
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
mov eax, dword [0x1011efb8]
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 0x1006a476
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x1006a4ad
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x3f0], 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 - 0x3f0]
adc ebx, edx
test eax, eax
jne 0x1006a481
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.1001e7e0
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 - 0x3f0], eax
test ebx, ebx
je 0x1006a556
mov esi, dword [ebp + 0xc]
cmp byte [0x101250fd], 0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x1006a556
mov eax, dword [0x10125024]
xor edx, edx
add eax, 0xa0
nop dword [eax + eax]
mov ecx, dword [eax - 0xa0]
or ecx, dword [eax - 0x9c]
je 0x1006a54d
mov ecx, dword [eax - 0x50]
cmp ecx, dword [esi + 8]
jne 0x1006a54d
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [esi + 0xc]
jne 0x1006a54d
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x10]
jne 0x1006a54d
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 0x14]
jne 0x1006a54d
mov ecx, dword [eax + 0x50]
cmp ecx, dword [esi + 0x18]
jne 0x1006a54d
mov ecx, dword [eax + 0x54]
cmp ecx, dword [esi + 0x1c]
je 0x1006a577
inc edx
add eax, 8
cmp edx, 0xa
jl 0x1006a510
xor bl, bl
push dword [ebp - 0x3f0]
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.100b9f0d
mov esp, ebp
pop ebp
ret
push 0x11
call edi
test al, 0xf0
jne 0x1006a58f
push 0x10
call edi
test al, 0xf0
je 0x1006a59d
push 0xd
call edi
test al, 0xf0
jne 0x1006a59d
mov eax, dword [0x10125024]
cmp byte [eax + 0x9f8], 0
jne 0x1006a556
cmp ebx, 0x64
mov eax, 0x64
mov edi, ebx
cmova edi, eax
push edi
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1006a5c4
sub ebx, edi
je 0x1006a556
jmp 0x1006a4ed
mov bl, 1
jmp 0x1006a558
Function at 0x1006d180
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1fc0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1011efb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10c9c6f4
call fcn.1008dad0
add esp, 4
test eax, eax
je 0x1006d1c0
push eax
call fcn.1008dcf0
add esp, 4
mov ecx, dword [0x10c9c724]
test ecx, ecx
je 0x1006d2af
mov ecx, dword [ecx]
xor edx, edx
xor ebx, ebx
test ecx, ecx
je 0x1006d2af
mov edi, dword [ebp + 8]
nop
mov esi, dword [ecx + 8]
mov eax, edi
sub eax, esi
cmp eax, edx
ja 0x1006d1f5
mov ebx, ecx
test edx, edx
je 0x1006d1fc
mov edx, edi
sub edx, esi
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1006d1e0
test ebx, ebx
je 0x1006d2af
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 0x1006d231
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 [0x10c9c724]
mov edx, dword [ecx]
mov esi, edx
test esi, esi
je 0x1006d2ab
cmp dword [esi + 8], edi
je 0x1006d258
mov esi, dword [esi + 4]
test esi, esi
jne 0x1006d248
mov bl, 1
jmp 0x1006d2b1
cmp dword [ecx + 4], esi
jne 0x1006d262
mov eax, dword [esi]
mov dword [ecx + 4], eax
cmp edx, esi
jne 0x1006d26b
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1006d277
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1006d282
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1006d2a0
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.100b9eff
add esp, 8
mov bl, 1
jmp 0x1006d2b1
xor bl, bl
push 0x10c9c6f4
mov dword [ebp - 4], 0
call fcn.1008daf5
add esp, 4
test eax, eax
je 0x1006d2d2
push eax
call fcn.1008dcf0
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 0x1006d2f0
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 0x1006d326
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 0x10070cf0
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 [0x10c9e1a0]
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 0x10070d38
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10070d5d
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 0x10070d7e
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10070d7e
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10070d78
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10070d7e
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 0x10070e60
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1011efb8]
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 0x10070fdb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10070f75
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10070f39
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10070f39
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10070f39
mov edx, dword [esi]
test edx, edx
jne 0x10070f05
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c9c744]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10070f5d
jmp 0x10070f2d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10070f2d
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10c9c744]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10070f5d
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 0x10070ec0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10070f75
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10070f75
push eax
push ebx
push dword [0x10c9c744]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x10070fdb
cmp dword [esi], 0
je 0x10070fc8
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10070fc8
nop dword [eax]
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10070fc2
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10071690
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10070f90
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b9f0d
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.100b9f0d
mov esp, ebp
pop ebp
ret
Function at 0x10071900
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10071952
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10071942
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10071939
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10071916
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10c9c744]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
pop ebp
ret

Function at 0x10071960
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10c9e19c]
test eax, eax
je 0x1007197c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100719d4
mov eax, dword [eax]
test eax, eax
jne 0x10071970
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100719e6
push esi
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
nop dword [eax + eax]
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x100719b0
mov ecx, dword [0x10c9e19c]
mov dword [eax], ecx
mov dword [0x10c9e19c], eax
pop esi
test eax, eax
je 0x100719e6
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret