joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007c500
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x24]
test esi, esi
je 0x1007c53d
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x1007c541
mov eax, dword [esp + 0x14]
mov cl, byte [esi + edi]
xor cl, byte [eax]
mov byte [ebp], cl
inc ebp
inc eax
dec ebx
inc esi
mov dword [esp + 0x14], eax
and esi, 0xf
mov dword [esp + 0x1c], ebx
jne 0x1007c516
jmp 0x1007c541
mov ebx, dword [esp + 0x1c]
cmp ebx, 0x10
jb 0x1007c5ae
mov eax, ebx
shr eax, 4
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
push edx
push edi
push edi
call dword [esp + 0x38]
add esp, 0xc
cmp esi, 0x10
jae 0x1007c58c
mov edx, dword [esp + 0x14]
mov ecx, 0x13
mov ebx, ebp
sub ecx, esi
sub edx, edi
sub ebx, edi
lea eax, [esi + edi]
shr ecx, 2
mov esi, dword [edx + eax]
xor esi, dword [eax]
add eax, 4
dec ecx
mov dword [ebx + eax - 4], esi
jne 0x1007c579
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub ebx, 0x10
add ebp, 0x10
add ecx, 0x10
xor esi, esi
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x1007c54f
test ebx, ebx
je 0x1007c5e9
mov eax, dword [esp + 0x20]
push eax
push edi
push edi
call dword [esp + 0x38]
mov edx, dword [esp + 0x20]
add esp, 0xc
dec ebx
lea eax, [esi + edi]
sub edx, edi
sub ebp, edi
lea ecx, [ebx + 1]
add esi, ecx
mov bl, byte [eax + edx]
xor bl, byte [eax]
inc eax
dec ecx
mov byte [eax + ebp - 1], bl
jne 0x1007c5d1
mov ecx, dword [esp + 0x28]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret
Function at 0x1007c8d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x24
call fcn.10084230
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
test ebx, ebx
push edi
jle 0x1007ca23
cmp ebx, 0x80
jg 0x1007ca23
mov edi, dword [esp + 0x48]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x44]
push eax
push edi
push edi
mov dword [esp + 0x28], edx
call dword [esp + 0x5c]
lea eax, [ebx + 7]
add esp, 0xc
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x4c]
sar ebp, 3
test eax, eax
je 0x1007c966
test ebp, ebp
jle 0x1007c9b4
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
lea esi, [esp + 0x20]
sub edx, edi
sub esi, edi
mov ecx, edi
sub ebx, edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
inc ecx
dec ebp
mov byte [esi + ecx - 1], al
mov byte [ebx + ecx - 1], al
jne 0x1007c953
jmp 0x1007c9b0
xor esi, esi
test ebp, ebp
jle 0x1007c9b4
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x20]
mov ebx, edi
lea edx, [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
sub ebx, edx
lea edx, [esp + 0x20]
sub ecx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
jmp 0x1007c996
mov ebx, dword [esp + 0x38]
lea ecx, [esp + esi + 0x20]
mov dl, byte [eax + ecx]
mov bl, byte [ebx + ecx]
mov byte [ecx], dl
xor bl, dl
mov edx, dword [esp + 0x3c]
inc esi
cmp esi, ebp
mov byte [edx + ecx], bl
jl 0x1007c992
mov ebx, dword [esp + 0x40]
mov ebp, ebx
and ebp, 0x80000007
jns 0x1007c9c3
dec ebp
or ebp, 0xfffffff8
inc ebp
mov eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
test ebp, ebp
jne 0x1007c9f4
lea eax, [esp + eax + 0x10]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, 8
xor esi, esi
sub ecx, ebp
lea eax, [esp + eax + 0x10]
mov dword [esp + 0x40], ecx
jmp 0x1007ca0b
mov ecx, dword [esp + 0x40]
mov dl, byte [eax + esi + 1]
mov bl, byte [eax + esi]
shr dl, cl
mov ecx, ebp
shl bl, cl
or dl, bl
mov byte [esi + edi], dl
inc esi
cmp esi, 0x10
jl 0x1007ca07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x1007ca80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [eax]
test edi, edi
je 0x1007cabf
test ebx, ebx
je 0x1007cabb
mov ebp, dword [esp + 0x14]
mov cl, byte [edi + esi]
mov eax, dword [esp + 0x18]
xor cl, byte [ebp]
mov byte [eax], cl
inc eax
inc ebp
dec ebx
inc edi
mov dword [esp + 0x18], eax
and edi, 0xf
mov dword [esp + 0x14], ebp
jne 0x1007ca96
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x24]
cmp ebx, 0x10
jb 0x1007cb4f
shr ebx, 4
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x20]
push edx
push esi
push ebp
call dword [esp + 0x3c]
add esp, 0xc
mov eax, 0x10
mov ecx, 1
dec eax
xor edx, edx
mov dl, byte [eax + ebp]
add ecx, edx
mov byte [eax + ebp], cl
shr ecx, 8
test eax, eax
jne 0x1007caeb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub ecx, esi
mov eax, esi
sub edx, esi
mov edi, 4
mov ebx, dword [ecx + eax]
xor ebx, dword [eax]
add eax, 4
dec edi
mov dword [edx + eax - 4], ebx
jne 0x1007cb10
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, 0x10
sub ebx, eax
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x28]
xor edi, edi
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jne 0x1007cad3
test ebx, ebx
je 0x1007cbaa
mov eax, dword [esp + 0x20]
push eax
push esi
push ebp
call dword [esp + 0x3c]
add esp, 0xc
mov eax, 0x10
mov ecx, 1
dec eax
xor edx, edx
mov dl, byte [eax + ebp]
add ecx, edx
mov byte [eax + ebp], cl
shr ecx, 8
test eax, eax
jne 0x1007cb6b
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
dec ebx
lea eax, [edi + esi]
sub ebp, esi
sub edx, esi
lea ecx, [ebx + 1]
add edi, ecx
mov bl, byte [eax + ebp]
xor bl, byte [eax]
inc eax
dec ecx
mov byte [eax + edx - 1], bl
jne 0x1007cb92
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x2c]
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1007cbc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10084230
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov eax, dword [eax]
push edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x1007cd6d
jmp 0x1007cbe6
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x1007cc1c
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov dl, byte [eax + ecx]
mov cl, byte [esi]
xor dl, cl
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
inc ecx
inc esi
dec ebp
inc eax
mov dword [esp + 0x1c], ecx
and eax, 0xf
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], eax
jne 0x1007cbe2
mov esi, dword [esp + 0x28]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov bh, byte [esi + 0xc]
mov cl, byte [esi + 0xe]
mov bl, byte [esi + 0xd]
mov dl, byte [esi + 0xf]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
cmp ebp, 0x10
jb 0x1007ccd5
mov edi, ebp
shr edi, 4
add ebx, edi
cmp ebx, edi
jae 0x1007cc54
sub edi, ebx
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
push eax
push edi
push ecx
push edx
call dword [esp + 0x48]
mov eax, ebx
mov ecx, ebx
mov edx, ebx
add esp, 0x14
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
test ebx, ebx
mov byte [esi + 0xc], al
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
mov byte [esi + 0xf], bl
jne 0x1007ccab
mov ebp, 0xc
mov eax, 1
dec ebp
xor ecx, ecx
mov cl, byte [esi + ebp]
add eax, ecx
mov byte [esi + ebp], al
shr eax, 8
test ebp, ebp
jne 0x1007cc95
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
shl edi, 4
sub ebp, edi
add edx, edi
add ecx, edi
cmp ebp, 0x10
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
jae 0x1007cc45
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x1007cd76
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, edi
xor edx, edx
push esi
push ecx
mov dword [eax], edx
push 1
push edi
push edi
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
call dword [esp + 0x48]
add esp, 0x14
inc ebx
mov edx, ebx
mov eax, ebx
mov ecx, ebx
mov byte [esi + 0xf], bl
shr edx, 0x18
shr eax, 0x10
shr ecx, 8
test ebx, ebx
mov byte [esi + 0xc], dl
mov byte [esi + 0xd], al
mov byte [esi + 0xe], cl
jne 0x1007cd3d
mov eax, 0xc
mov ecx, 1
dec eax
xor edx, edx
mov dl, byte [eax + esi]
add ecx, edx
mov byte [eax + esi], cl
shr ecx, 8
test eax, eax
jne 0x1007cd2b
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
dec ebp
sub ecx, edi
sub esi, edi
inc ebp
lea eax, [edx + edi]
add edx, ebp
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
dec ebp
mov byte [esi + eax - 1], bl
jne 0x1007cd54
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
pop ecx
ret
mov ebp, dword [esp + 0x20]
jmp 0x1007cc1c
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
Function at 0x1007d2d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.10084230
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
cmp ebp, 0xc
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x16c], eax
mov dword [esi + 0x168], eax
jne 0x1007d33e
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov ebx, 1
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov byte [esi + 0xf], bl
mov dword [ecx + 8], eax
jmp 0x1007d470
cmp ebp, 0x10
push edi
mov dword [esp + 0x10], ebp
jb 0x1007d4a8
mov ebx, dword [esp + 0x20]
mov eax, ebp
shr eax, 4
mov dword [esp + 0x1c], eax
mov ecx, ebx
mov eax, esi
sub ecx, esi
mov edi, 0x10
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x1007d364
lea eax, [esi + 0x60]
push eax
push esi
call fcn.1007d4c0
mov eax, dword [esp + 0x24]
add esp, 8
add ebx, 0x10
sub ebp, 0x10
dec eax
mov dword [esp + 0x1c], eax
jne 0x1007d359
xor eax, eax
cmp ebp, eax
je 0x1007d3b1
jbe 0x1007d3a4
mov eax, esi
sub ebx, esi
mov cl, byte [eax + ebx]
mov dl, byte [eax]
xor dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x1007d397
lea edx, [esi + 0x60]
push edx
push esi
call fcn.1007d4c0
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, 3
xor edx, edx
call fcn.100844d0
mov cl, byte [esi + 8]
mov edi, edx
mov ebx, eax
mov eax, edi
mov dl, byte [esi + 9]
mov dword [esp + 0x14], edi
shr eax, 0x18
xor cl, al
mov al, byte [esi + 0xa]
mov byte [esi + 8], cl
mov ecx, edi
shr ecx, 0x10
xor dl, cl
mov ecx, 0x18
mov byte [esi + 9], dl
mov edx, edi
shr edx, 8
xor al, dl
mov dl, byte [esi + 0xb]
mov byte [esi + 0xa], al
mov al, byte [esp + 0x14]
xor dl, al
mov eax, ebx
mov byte [esi + 0xb], dl
mov edx, edi
call fcn.100844b0
mov cl, byte [esi + 0xc]
mov edx, edi
xor cl, al
mov eax, ebx
mov byte [esi + 0xc], cl
mov ecx, 0x10
call fcn.100844b0
mov dl, byte [esi + 0xd]
mov ecx, 8
xor dl, al
mov eax, ebx
mov byte [esi + 0xd], dl
mov edx, edi
call fcn.100844b0
mov cl, byte [esi + 0xe]
xor cl, al
mov al, byte [esi + 0xf]
mov byte [esi + 0xe], cl
lea ecx, [esi + 0x60]
xor al, bl
push ecx
push esi
mov byte [esi + 0xf], al
call fcn.1007d4c0
xor ebx, ebx
xor edx, edx
mov bh, byte [esi + 0xc]
mov dl, byte [esi + 0xe]
mov bl, byte [esi + 0xd]
xor eax, eax
mov al, byte [esi + 0xf]
add esp, 8
shl ebx, 8
or ebx, edx
pop edi
shl ebx, 8
or ebx, eax
mov ecx, dword [esi + 0x174]
lea edx, [esi + 0x20]
push ecx
push edx
push esi
call dword [esi + 0x170]
add esp, 0xc
inc ebx
mov eax, ebx
mov ecx, ebx
mov edx, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
mov byte [esi + 0xc], al
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x20]
jmp 0x1007d38d
Function at 0x1007d6d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
or eax, ecx
je 0x1007d6ec
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
mov ecx, ebx
xor eax, eax
add ecx, ebp
adc eax, edi
cmp eax, 0x20000000
ja 0x1007d7a6
jb 0x1007d713
test ecx, ecx
ja 0x1007d7a6
mov edi, dword [esi + 0x16c]
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
test edi, edi
je 0x1007d756
test ebx, ebx
je 0x1007d742
mov cl, byte [ebp]
mov al, byte [edi + esi + 0x40]
xor al, cl
inc ebp
mov byte [edi + esi + 0x40], al
dec ebx
inc edi
and edi, 0xf
jne 0x1007d727
jmp 0x1007d746
test edi, edi
jne 0x1007d799
lea edx, [esi + 0x60]
lea eax, [esi + 0x40]
push edx
push eax
call fcn.1007d4c0
add esp, 8
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x18], eax
je 0x1007d77b
push eax
lea ecx, [esi + 0x60]
push ebp
lea edx, [esi + 0x40]
push ecx
push edx
call fcn.1007d7b0
mov eax, dword [esp + 0x28]
add esp, 0x10
add ebp, eax
sub ebx, eax
test ebx, ebx
je 0x1007d799
xor eax, eax
mov edi, ebx
test ebx, ebx
jbe 0x1007d799
mov cl, byte [eax + ebp]
mov dl, byte [esi + eax + 0x40]
xor dl, cl
mov byte [esi + eax + 0x40], dl
inc eax
cmp eax, ebx
jb 0x1007d787
mov dword [esi + 0x16c], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x1007f340
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.10084230
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov bl, byte [esi]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov byte [esp + 0x2c], bl
test bl, 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jne 0x1007f375
push ecx
lea ecx, [esi + 0x10]
push ecx
push esi
call eax
add esp, 0xc
mov al, bl
mov ebp, 0xf
and eax, 7
xor ecx, ecx
sub ebp, eax
mov byte [esi], al
mov eax, ebp
mov dword [esp + 0x14], ebp
cmp eax, 0xf
jae 0x1007f3a4
xor edx, edx
mov dl, byte [eax + esi]
mov byte [eax + esi], 0
or ecx, edx
shl ecx, 8
inc eax
cmp eax, 0xf
jb 0x1007f390
mov ebx, dword [esp + 0x38]
xor eax, eax
mov al, byte [esi + 0xf]
mov byte [esi + 0xf], 1
or ecx, eax
cmp ecx, ebx
je 0x1007f3c1
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret
push edi
mov edi, ebx
shr edi, 4
je 0x1007f440
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
lea ecx, [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
push esi
push edx
push edi
push eax
push ecx
call dword [esp + 0x58]
mov edx, dword [esp + 0x50]
add esp, 0x18
shl edi, 4
mov eax, edi
mov edi, dword [esp + 0x34]
add edi, eax
add edx, eax
sub ebx, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
je 0x1007f4a0
shr eax, 4
mov edi, eax
mov ecx, 8
xor eax, eax
dec ecx
xor edx, edx
mov ebp, edi
mov dl, byte [ecx + esi + 8]
and ebp, 0xff
add edx, eax
shr edi, 8
lea eax, [edx + ebp]
mov byte [ecx + esi + 8], al
shr eax, 8
test ecx, ecx
je 0x1007f43c
test edi, edi
jne 0x1007f412
test eax, eax
jne 0x1007f412
mov ebp, dword [esp + 0x18]
test ebx, ebx
je 0x1007f4a0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call dword [esp + 0x20]
add esp, 0xc
xor eax, eax
test ebx, ebx
jbe 0x1007f48f
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x1c]
sub edi, edx
sub ebp, ecx
lea edx, [esp + eax + 0x1c]
mov cl, byte [edi + edx]
xor cl, byte [edx]
mov byte [edx + ebp], cl
mov dl, byte [esi + eax + 0x10]
xor dl, cl
mov byte [esi + eax + 0x10], dl
inc eax
cmp eax, ebx
jb 0x1007f470
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x10]
push edx
push eax
push eax
call dword [esp + 0x20]
add esp, 0xc
cmp ebp, 0x10
jae 0x1007f4bf
mov ecx, 0x10
lea edi, [esi + ebp]
sub ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push esi
call dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ebx, dword [esi + 0x10]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor ebx, edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x10], ebx
mov edi, dword [esi + 0x14]
xor edx, ecx
xor edi, eax
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x1c]
add esp, 0xc
xor eax, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], eax
mov al, byte [esp + 0x30]
mov byte [esi], al
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
Function at 0x100019a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100019b5
xor eax, eax
jmp 0x10001a2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100019e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10001a25
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10001a23
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10001a1f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10001a23
xor eax, eax
jmp 0x10001a2a
jmp 0x100019d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1000b188]
mov dword [ebp - 4], eax
jmp 0x10001c09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10001c26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001c00
mov esp, ebp
pop ebp
ret
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1000b198], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x1000b1a8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000210c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100020ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100020ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10005426
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x1000b1a8], 0
call fcn.10001a30
mov ecx, dword [0x1000b1a4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002159
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10005426
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x1000b1a4], 0
mov dword [0x1000b198], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1000b19c], 0
je 0x10002679
mov eax, dword [0x1000b19c]
jmp 0x10002719
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000268b
xor eax, eax
jmp 0x10002719
push 8
call fcn.10004d68
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100026e1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100026ca
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10005426
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1000b19c], eax
mov dword [0x1000b1a0], 0
mov eax, dword [ebp - 8]
jmp 0x10002719
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100026fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100026ab
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1000b1a4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1000b1a4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10003090
Capabilities:
Create thread
Terminate process

Disassembly:
push 0
push 0
push 0
push 0x10003030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100030c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
jne 0x100030d4
xor al, al
jmp 0x100030d6
mov al, 1
pop ebp
ret
Function at 0x100036b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x1000b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x254], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003700
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x10003713
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004d37
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
xor bl, bl
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003740
sub eax, edx
lea ecx, [ebp - 0x1c]
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10003e40
push ecx
push dword [ebp - 0x254]
lea ecx, [ebp - 0x1c]
call fcn.10003b90
mov ecx, dword [ebp - 8]
cmp eax, 0xffffffff
jne 0x100037bd
cmp ecx, 7
jbe 0x100037a9
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000379f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037e8
push ecx
push edx
call fcn.10004d98
add esp, 8
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x10003720
jmp 0x100037f8
mov bl, 1
cmp ecx, 7
jbe 0x100037f8
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100037ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100037ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10004d98
add esp, 8
push esi
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.10004d37
mov esp, ebp
pop ebp
ret