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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax + 0xc]
mov esi, dword [edi + 0x38]
mov eax, ebx
shr eax, 5
xor esi, ebx
inc eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov ecx, ebx
cmp ebx, eax
jb 0x498cb6
lea ebx, [ebx]
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx + ecx - 1]
mov edi, esi
shl edi, 5
add edx, edi
mov edi, esi
shr edi, 2
add edx, edi
sub ecx, eax
xor esi, edx
cmp ecx, eax
jae 0x498c90
mov edi, dword [esp + 8]
mov dword [esp + 0xc], esi
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
lea eax, [ecx - 1]
and eax, esi
lea eax, [edx + eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
test eax, eax
je 0x498d42
movzx edx, byte [eax + 7]
cmp ebx, edx
jne 0x498d3b
mov edi, dword [ebp + 0xc]
mov ecx, ebx
lea esi, [eax + 0x10]
cmp ebx, 4
jb 0x498cfb
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x498d2f
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x498ce7
test ecx, ecx
je 0x498dca
mov dl, byte [esi]
cmp dl, byte [edi]
jne 0x498d2f
cmp ecx, 1
jbe 0x498dca
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x498d2f
cmp ecx, 2
jbe 0x498dca
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
je 0x498dca
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x498cd2
cmp dword [edi + 0x1c], ecx
jl 0x498d6f
cmp ecx, 0x3fffffff
jg 0x498d6f
lea eax, [ecx + ecx]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00498b60
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec edx
add esp, 8
and edx, esi
lea ecx, [eax + edx*4]
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0xc]
mov ecx, dword [edi]
lea eax, [ebx + 0x11]
push eax
mov eax, dword [edi + 4]
push 4
push 0
push eax
call ecx
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x498de7
lea eax, [ebx + 0x11]
test eax, eax
je 0x498de7
cmp dword [edi + 0x8c], esi
je 0x498dbd
mov eax, dword [ebp + 8]
call fcn.0049cd40
mov edx, dword [edi + 4]
lea eax, [ebx + 0x11]
push eax
mov eax, dword [edi]
push 4
push esi
push edx
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x498de7
mov ecx, dword [ebp + 8]
mov eax, 4
call fcn.0049a350
mov edx, dword [esp + 8]
mov cl, byte [eax + 5]
mov dl, byte [edx + 0x3c]
xor cl, 3
xor dl, 3
test cl, dl
jne 0x498e3a
mov byte [eax + 5], cl
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x11]
add dword [edi + 0xc], eax
mov cl, byte [edi + 0x3c]
mov eax, dword [esp + 0xc]
and cl, 3
mov byte [esi + 5], cl
mov ecx, dword [ebp + 0xc]
mov byte [esi + 4], 4
mov edx, dword [edi + 0x40]
mov dword [esi], edx
push ebx
push ecx
lea edx, [esi + 0x10]
mov dword [edi + 0x40], esi
push edx
mov dword [esi + 8], eax
mov byte [esi + 6], 0
call fcn.004f8b20
mov eax, dword [esp + 0x1c]
mov byte [esi + ebx + 0x10], 0
mov byte [esi + 7], bl
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov dword [eax], esi
mov eax, dword [esp + 0x14]
add esp, 0xc
inc dword [eax + 0x1c]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49af50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
mov ebx, 4
sub eax, ebx
push edi
cmp eax, 0x22
ja case.0x49af87.6
mov edi, dword [ebp + 8]
lea ebx, [ebx]
movzx eax, byte [eax + 0x49b08c]
jmp dword [eax*4 + 0x49b068]
mov eax, dword [esi + 8]
test eax, eax
je 0x49afa5
test byte [eax + 5], 3
je 0x49afa5
push eax
push edi
call fcn.0049af50
add esp, 8
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x18
add dword [edi + 0x10], ecx
movzx ecx, byte [esi + 6]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], edx
test cl, 0x40
je case.0x49af87.6
mov cl, byte [eax + 5]
test cl, 3
je case.0x49af87.6
and cl, 0xfc
mov esi, eax
mov byte [eax + 5], cl
movzx eax, byte [eax + 4]
sub eax, ebx
cmp eax, 0x22
jbe 0x49af80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 7]
or byte [esi + 5], bl
add eax, 0x11
add dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x11
add dword [edi + 0x10], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x4c]
mov dword [esi + 8], edx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x4c]
mov dword [esi + 8], eax
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x1c], ecx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x24], edx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b0b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
lea eax, [edi + 0xf4]
push esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 9
mov ebx, 4
mov ecx, dword [esp + 8]
mov esi, dword [ecx]
test esi, esi
je case.0x49b104.6
test byte [esi + 5], 3
je case.0x49b104.6
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
sub eax, ebx
cmp eax, 0x22
ja case.0x49b104.6
movzx edx, byte [eax + 0x49b1dc]
jmp dword [edx*4 + 0x49b1b8]
mov eax, dword [esi + 8]
test eax, eax
je 0x49b122
test byte [eax + 5], 3
je 0x49b122
push eax
push edi
call fcn.0049af50
add esp, 8
mov eax, dword [esi + 0xc]
or byte [esi + 5], bl
add eax, 0x18
add dword [edi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esi + 6]
test cl, 0x40
je case.0x49b104.6
mov cl, byte [eax + 5]
test cl, 3
je case.0x49b104.6
and cl, 0xfc
mov esi, eax
mov byte [eax + 5], cl
movzx eax, byte [eax + 4]
sub eax, ebx
cmp eax, 0x22
jbe 0x49b0fd
jmp case.0x49b104.6
movzx edx, byte [esi + 7]
or byte [esi + 5], bl
add edx, 0x11
add dword [edi + 0x10], edx
jmp case.0x49b104.6
mov eax, dword [esi + 0xc]
or byte [esi + 5], bl
add eax, 0x11
add dword [edi + 0x10], eax
jmp case.0x49b104.6
mov ecx, dword [edi + 0x4c]
mov dword [esi + 8], ecx
jmp 0x49b1a1
mov edx, dword [edi + 0x4c]
mov dword [esi + 8], edx
jmp 0x49b1a1
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x1c], eax
jmp 0x49b1a1
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x24], ecx
jmp 0x49b1a1
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov dword [edi + 0x4c], esi
add dword [esp + 8], ebx
dec dword [esp + 0xc]
jne 0x49b0d2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b200
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
mov ebx, dword [edi + 0x60]
push esi
test ebx, ebx
je 0x49b2eb
test byte [ebx + 5], 3
je case.0x49b23d.10
movzx eax, byte [ebx + 4]
and byte [ebx + 5], 0xfc
sub eax, 4
mov esi, ebx
cmp eax, 0x22
ja case.0x49b23d.10
movzx eax, byte [eax + 0x49b318]
jmp dword [eax*4 + 0x49b2f4]
mov eax, dword [esi + 8]
test eax, eax
je 0x49b25b
test byte [eax + 5], 3
je 0x49b25b
push eax
push edi
call fcn.0049af50
add esp, 8
mov ecx, dword [esi + 0xc]
or byte [esi + 5], 4
add ecx, 0x18
add dword [edi + 0x10], ecx
movzx ecx, byte [esi + 6]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], edx
test cl, 0x40
je case.0x49b23d.10
mov cl, byte [eax + 5]
test cl, 3
je case.0x49b23d.10
and cl, 0xfc
mov esi, eax
mov byte [eax + 5], cl
movzx eax, byte [eax + 4]
sub eax, 4
cmp eax, 0x22
jbe 0x49b236
jmp case.0x49b23d.10
movzx eax, byte [esi + 7]
or byte [esi + 5], 4
add eax, 0x11
add dword [edi + 0x10], eax
jmp case.0x49b23d.10
mov ecx, dword [esi + 0xc]
or byte [esi + 5], 4
add ecx, 0x11
add dword [edi + 0x10], ecx
jmp case.0x49b23d.10
mov edx, dword [edi + 0x4c]
mov dword [esi + 8], edx
jmp 0x49b2de
mov eax, dword [edi + 0x4c]
mov dword [esi + 8], eax
jmp 0x49b2de
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x1c], ecx
jmp 0x49b2de
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x24], edx
jmp 0x49b2de
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [edi + 0x4c], esi
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49b216
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49b340
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [edi + 0x68]
lea ecx, [edi + 0x68]
push ebx
push esi
mov dword [esp + 0xc], ecx
test eax, eax
je 0x49b4a8
mov ebx, 4
test byte [eax + 5], 7
jne 0x49b37a
cmp dword [eax + 0x20], 0
je 0x49b37a
add eax, 0x28
mov dword [esp + 0xc], eax
jmp 0x49b49a
mov edx, dword [eax + 0x28]
mov dword [ecx], edx
mov edx, dword [eax + 0x20]
mov dword [eax + 0x28], eax
mov dword [esp + 8], edx
test edx, edx
je 0x49b49a
jmp 0x49b3a4
mov edx, dword [esp + 8]
cmp dword [edx + 0xc], 0
je 0x49b48b
mov eax, dword [edx]
test byte [eax + 8], 0x40
je case.0x49b3e0.6
mov esi, dword [eax]
test byte [esi + 5], 3
je case.0x49b3e0.6
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
sub eax, ebx
cmp eax, 0x22
ja case.0x49b3e0.6
movzx eax, byte [eax + 0x49b4d4]
jmp dword [eax*4 + 0x49b4b0]
mov eax, dword [esi + 8]
test eax, eax
je 0x49b402
test byte [eax + 5], 3
je 0x49b402
push eax
push edi
call fcn.0049af50
mov edx, dword [esp + 0x10]
add esp, 8
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x18
add dword [edi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esi + 6]
test cl, 0x40
je case.0x49b3e0.6
mov cl, byte [eax + 5]
test cl, 3
je case.0x49b3e0.6
and cl, 0xfc
mov esi, eax
mov byte [eax + 5], cl
movzx eax, byte [eax + 4]
sub eax, ebx
cmp eax, 0x22
jbe 0x49b3d9
jmp case.0x49b3e0.6
movzx eax, byte [esi + 7]
or byte [esi + 5], bl
add eax, 0x11
add dword [edi + 0x10], eax
jmp case.0x49b3e0.6
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x11
add dword [edi + 0x10], ecx
jmp case.0x49b3e0.6
mov eax, dword [edi + 0x4c]
mov dword [esi + 8], eax
jmp 0x49b481
mov ecx, dword [edi + 0x4c]
mov dword [esi + 8], ecx
jmp 0x49b481
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x1c], eax
jmp 0x49b481
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x24], ecx
jmp 0x49b481
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [edi + 0x4c], esi
mov dword [edx + 0xc], 0
mov eax, dword [edx + 8]
mov dword [esp + 8], eax
test eax, eax
jne 0x49b3a0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x49b362
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ba70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov ecx, dword [ebp + 8]
cmp byte [ecx + 6], 0
push ebx
push esi
mov dword [esp + 8], 0
jbe 0x49bb8f
lea eax, [ecx + 0x10]
mov dword [esp + 0xc], eax
mov ebx, 4
test byte [eax + 8], 0x40
je case.0x49bacc.6
mov esi, dword [eax]
test byte [esi + 5], 3
je case.0x49bacc.6
movzx eax, byte [esi + 4]
and byte [esi + 5], 0xfc
sub eax, ebx
cmp eax, 0x22
ja case.0x49bacc.6
movzx eax, byte [eax + 0x49bbc4]
jmp dword [eax*4 + 0x49bba0]
mov eax, dword [esi + 8]
test eax, eax
je 0x49baea
test byte [eax + 5], 3
je 0x49baea
push eax
push edi
call fcn.0049af50
add esp, 8
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x18
add dword [edi + 0x10], ecx
movzx ecx, byte [esi + 6]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], edx
test cl, 0x40
je case.0x49bacc.6
mov cl, byte [eax + 5]
test cl, 3
je case.0x49bacc.6
and cl, 0xfc
mov esi, eax
mov byte [eax + 5], cl
movzx eax, byte [eax + 4]
sub eax, ebx
cmp eax, 0x22
jbe 0x49bac5
jmp case.0x49bacc.6
movzx eax, byte [esi + 7]
or byte [esi + 5], bl
add eax, 0x11
add dword [edi + 0x10], eax
jmp case.0x49bacc.6
mov ecx, dword [esi + 0xc]
or byte [esi + 5], bl
add ecx, 0x11
add dword [edi + 0x10], ecx
jmp case.0x49bacc.6
mov edx, dword [edi + 0x4c]
mov dword [esi + 8], edx
jmp 0x49bb69
mov eax, dword [edi + 0x4c]
mov dword [esi + 8], eax
jmp 0x49bb69
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x1c], ecx
jmp 0x49bb69
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x24], edx
jmp 0x49bb69
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [edi + 0x4c], esi
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
movzx esi, byte [ecx + 6]
inc edx
add eax, 0x10
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
cmp edx, esi
jl 0x49ba9c
movzx eax, byte [ecx + 6]
inc eax
pop esi
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x60], 0
push ebx
push esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
je 0x49c6bf
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x78]
jae 0x49c6b9
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + 0x60]
mov ecx, dword [esi]
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x60], ecx
mov dword [esi], eax
mov dword [ebx + 0x40], esi
and byte [esi + 5], 0xf7
mov cl, byte [ebx + 0x3d]
mov al, byte [esi + 5]
mov dword [ebp - 0x10], esi
cmp cl, 2
jb 0x49c5d2
cmp cl, 5
ja 0x49c5d2
mov cl, byte [ebx + 0x3c]
and cl, 3
and al, 0xf8
or cl, al
mov byte [esi + 5], cl
movzx eax, byte [esi + 4]
or eax, 0x40
mov dword [ebp - 0x18], eax
and eax, 0xf
mov ecx, eax
sub ecx, 5
je 0x49c5fc
sub ecx, 2
je 0x49c5f7
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + eax*4 + 0xf4]
jmp 0x49c5ff
mov eax, dword [esi + 8]
jmp 0x49c5ff
mov eax, dword [esi + 0x18]
test eax, eax
je 0x49c6cd
mov edx, dword [edi + 0xc]
mov esi, dword [edx + 0x9c]
mov edx, eax
call fcn.00498820
mov edx, dword [ebp - 0xc]
test eax, eax
je 0x49c6ac
mov esi, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0xf
cmp cl, 6
jne 0x49c6ac
movzx ecx, byte [ebx + 0x3f]
movzx edx, byte [edi + 0x6d]
mov byte [edi + 0x6d], 0
mov byte [ebx + 0x3f], 0
mov byte [ebp - 1], dl
mov edx, dword [eax]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
add dword [edi + 8], 0x20
mov eax, dword [edi + 8]
sub eax, dword [edi + 0x1c]
push 0
sub eax, 0x20
push eax
push 0
push 0x49c550
mov eax, edi
call fcn.0049abe0
movzx edx, byte [ebp - 1]
mov cl, byte [ebp - 0x10]
add esp, 0x10
mov byte [edi + 0x6d], dl
mov byte [ebx + 0x3f], cl
test eax, eax
jne 0x49c6d7
mov edx, dword [ebp - 0xc]
inc dword [ebp - 8]
cmp dword [edx + 0x60], 0
jne 0x49c58f
cmp dword [edx + 0x60], 0
jne 0x49c712
xor eax, eax
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5337d8
jmp 0x49c625
cmp eax, 2
jne 0x49c70b
mov eax, dword [edi + 8]
mov edx, dword [eax - 8]
and dl, 0xf
cmp dl, 4
jne 0x49c6f2
mov eax, dword [eax - 0x10]
add eax, 0x10
jmp 0x49c6f7
mov eax, 0x54b980
push eax
push 0x54b98c
push edi
call fcn.0049a1a0
add esp, 0xc
mov eax, 5
mov ecx, edi
call fcn.0049a350
mov eax, dword [edx + 0x78]
add eax, eax
pop esi
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aa620
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004f8af0
mov eax, dword [0x5498f8]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4aa685
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4aa685
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.004f931f
add eax, 0x40
push eax
call fcn.004f9300
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004f7824
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004f91d8
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4aa714
call fcn.004aa540
test eax, eax
jle 0x4aa714
push esi
push 0x5129c0
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004f7824
add esp, 0x108
ret
push 0x10
push 0x5129b0
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004f7824
add esp, 0x108
ret

Function at 0x4aa770
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
je 0x4aa792
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x4aa786
pop esi
movzx eax, cl
pop edi
ret

Function at 0x4b2350
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x4b2394
mov al, byte [edx]
test al, al
je 0x4b2394
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x4b2367
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4b2a10
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret
Function at 0x4b7210
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.004f8af0
mov eax, dword [0x5498f8]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
dec ebp
lea edx, [ebp - 0x29]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp ebx, edx
jle 0x4b7275
push 0x2c
push 0x515644
push 0x6e
push 0x79
push 4
call fcn.004aa7a0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004f7824
add esp, 0x20
ret
cmp ebp, 0x29
jge 0x4b72a3
push 0x31
push 0x515644
push 0x78
push 0x79
push 4
call fcn.004aa7a0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004f7824
add esp, 0x20
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.004b84c0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x50]
push 0
push edi
push eax
push ecx
call fcn.004c8c70
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.004f8f00
mov edx, dword [esp + 0x34]
mov eax, edi
sub eax, ebx
add eax, ebp
push ebx
mov byte [eax - 0x15], 1
push edx
add eax, 0xffffffec
push eax
call fcn.004f8b20
push 0x14
push esi
call fcn.004aeba0
add esp, 0x38
test eax, eax
jle 0x4b7334
push 0x46
add ebp, 0xffffffec
push 0x515644
push ebp
call fcn.004aa250
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4b7349
push 0x48
push 0x515644
push 0x41
push 0x79
push 4
call fcn.004aa7a0
add esp, 0x14
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004f7824
add esp, 0x20
ret
call fcn.004b84c0
push eax
push 0x14
push esi
push ebp
push ebx
call fcn.004b70a0
add esp, 0x14
test ebp, ebp
jle 0x4b736f
mov eax, edi
sub ebx, edi
mov ecx, ebp
mov dl, byte [ebx + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x4b7366
call fcn.004b84c0
push eax
push ebp
push edi
lea eax, [esp + 0x24]
push 0x14
push eax
call fcn.004b70a0
lea ecx, [esp + 0x2c]
lea edi, [esp + 0x2d]
lea ebp, [esp + 0x2e]
lea edx, [esp + 0x2f]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x30]
add esp, 0x14
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
nop
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
dec esi
jne 0x4b73b0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004aa400
mov ecx, dword [esp + 0x30]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f7824
add esp, 0x20
ret
Function at 0x4b7b40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x4b7c09
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4b7b61
cmp al, 0x6b
jne 0x4b7c09
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x4b7bca
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x4b7b81
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x4b7b81
cmp al, 0xbb
jne 0x4b7baa
inc ecx
cmp ecx, esi
jl 0x4b7b71
sub esi, ecx
test ecx, ecx
jne 0x4b7bcd
push 0x83
push 0x515674
push 0x8a
push 0x80
push 4
call fcn.004aa7a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push 0x515674
push 0x8a
push 0x80
push 4
call fcn.004aa7a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x4b7bf6
push 0x8b
push 0x515674
push 0x8b
push 0x80
push 4
call fcn.004aa7a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.004f8b20
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push 0x515674
push 0x89
push 0x80
push 4
call fcn.004aa7a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret