joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404708
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x61c008], 0x8088405
inc edx
mov dword [ebx + 0x61c008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41163c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4116e5
test eax, edx
je 0x4116e8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x411665
push edx
mov edx, eax
mov eax, esp
call fcn.00407394
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41167b
push eax
lea eax, [esp + 8]
call fcn.00407394
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41168a
movzx eax, word [eax]
sub eax, ecx
jmp 0x4116b1
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4116cb
add ecx, 4
js 0x4116a2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x4116c8
push eax
mov eax, ecx
mov edx, 2
call fcn.004062d4
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4116af
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4116b1
xor eax, eax
ret
test eax, eax
je 0x4116f8
test edx, edx
jne 0x41164c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x419ba7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406680
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040c0e0
mov edi, eax
cmp edi, 0x104
jbe 0x419bca
mov eax, edi
add eax, eax
call fcn.0040430c
mov esi, eax
jmp 0x419bcc
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040c0e0
push edi
push esi
call fcn.0040c578
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x419c05
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x419bef
mov eax, esp
cmp esi, eax
je 0x419c12
mov eax, esi
call fcn.00404328
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x419c4c
cmp bl, 0
je 0x419c48
cmp bl, 0x41
jl 0x419c43
cmp bl, 0x5a
jg 0x419c43
or bl, 0x20
xor al, bl
inc esi
jmp 0x419c27
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x419b8c
Function at 0x44a290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x20]
mov eax, esi
call fcn.0043b320
add eax, dword [esi + 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x18], eax
mov cx, 1
mov edx, 0x40
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x18]
cmp word [eax], 0x5a4d
jne 0x44a380
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x3c]
xor ecx, ecx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x18]
cmp eax, dword [edx + 0x3c]
jne 0x44a380
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
lea edx, [eax + 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp eax, 4
jne 0x44a380
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0xc], 0x4550
jne 0x44a380
mov eax, esi
call fcn.0043b320
add eax, dword [esi + 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x10], eax
mov cx, 1
mov edx, 0x14
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x10]
cmp word [eax], 0x14c
jne 0x44a380
mov eax, esi
call fcn.0043b320
add eax, dword [esi + 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x14], eax
mov cx, 1
mov edx, 0xe0
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44af80
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
int 0x2e
pop ebp
ret 8

Function at 0x44afb5
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44aff0
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44b02c
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44b068
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
add esp, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44b0a4
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44b0e0
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
add esp, 0x1c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44b11c
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
add esp, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x45aca0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x45aca6
ret

Function at 0x465748
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x465905
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x4658e1
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x4658e1
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x465714]
call fcn.00408d34
add esp, 4
lea eax, [ebp - 4]
call fcn.0040a280
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x6317cc]
push eax
call fcn.00459154
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408b6c
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004049a8
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x45a7ac]
call fcn.004622b8
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x4658bf
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.00463e9c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.00462bd8
call fcn.0045da1c
push eax
call fcn.0040c4b0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00462f30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4658e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46590c
lea eax, [ebp - 8]
mov edx, dword [0x465714]
call fcn.00408e54
lea eax, [ebp - 4]
call fcn.0040a280
ret
Function at 0x4b89c0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004049a8
ret
Function at 0x4c43f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x4c4415
inc eax
xor edx, edx
mov ecx, dword [ebx + 4]
add ecx, edx
xor byte [ecx], 0x5b
inc edx
dec eax
jne 0x4c4409
pop ebx
ret
Function at 0x4d3e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
mov esi, 1
mov edx, dword [edi]
movzx eax, word [edx + esi*2 - 2]
mov ecx, eax
shl ecx, 8
movzx eax, ax
shr eax, 8
or cx, ax
mov word [edx + esi*2 - 2], cx
inc esi
cmp esi, 5
jne 0x4d3e67
mov esi, 8
mov ebx, dword [ebp - 8]
mov eax, dword [edi]
movzx edx, word [ebx]
call fcn.004d3e10
mov eax, dword [edi]
movzx edx, word [ebx + 2]
add word [eax + 2], dx
mov eax, dword [edi]
movzx edx, word [ebx + 4]
add word [eax + 4], dx
mov eax, dword [edi]
add eax, 6
movzx edx, word [ebx + 6]
call fcn.004d3e10
mov eax, dword [edi]
movzx edx, word [eax + 4]
mov word [ebp - 0xa], dx
movzx edx, word [eax]
xor word [eax + 4], dx
mov eax, dword [edi]
add eax, 4
movzx edx, word [ebx + 8]
call fcn.004d3e10
mov eax, dword [edi]
movzx edx, word [eax + 2]
mov word [ebp - 0xc], dx
movzx edx, word [eax + 6]
xor word [eax + 2], dx
mov eax, dword [edi]
movzx edx, word [eax + 4]
add word [eax + 2], dx
mov eax, dword [edi]
add eax, 2
movzx edx, word [ebx + 0xa]
call fcn.004d3e10
mov eax, dword [edi]
movzx edx, word [eax + 2]
add word [eax + 4], dx
mov eax, dword [edi]
movzx edx, word [eax + 2]
xor word [eax], dx
mov eax, dword [edi]
movzx edx, word [eax + 4]
xor word [eax + 6], dx
mov eax, dword [edi]
movzx edx, word [ebp - 0xa]
xor word [eax + 2], dx
mov eax, dword [edi]
movzx edx, word [ebp - 0xc]
xor word [eax + 4], dx
add ebx, 0xc
dec esi
jne 0x4d3e8f
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x60]
mov eax, dword [edi]
call fcn.004d3e10
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x62]
mov edx, dword [edi]
add word [edx + 4], ax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x64]
mov edx, dword [edi]
add word [edx + 2], ax
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x66]
mov eax, dword [edi]
add eax, 6
call fcn.004d3e10
mov eax, dword [edi]
movzx edx, word [eax]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax], cx
movzx edx, word [eax + 4]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [ebp - 0xc], cx
movzx edx, word [eax + 2]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax + 4], cx
movzx edx, word [eax + 6]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax + 6], cx
movzx edx, word [ebp - 0xc]
mov word [eax + 2], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e6810
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x65bac4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4e6832
shr eax, 1
xor eax, 0xedb88320
jmp 0x4e6834
shr eax, 1
dec edx
jne 0x4e6820
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4e6819
mov byte [0x65bec4], 1
pop esi
pop ebx
ret

Function at 0x4e6850
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x65bec4], 0
jne 0x4e6867
call fcn.004e6810
mov eax, edi
dec eax
test eax, eax
jl 0x4e688f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x65bac4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4e6871
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4e95c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4e965a.0
jmp dword [ecx*4 + 0x4e95f3]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4e9625
sub dl, 8
je 0x4e9634
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e9268
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e92c0
jmp case.0x4e965a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4e965a.0
movzx ecx, byte [ecx + 0x4e9661]
jmp dword [ecx*4 + 0x4e9672]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e936c
jmp case.0x4e965a.0
cmp dl, 3
jne 0x4e969f
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e93c4
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e9380
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e9408
jmp case.0x4e965a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4e96ca
sub dl, 8
je 0x4e96d6
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e9434
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e94a0
jmp case.0x4e965a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4e96f5
sub dl, 8
je 0x4e9701
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e955c
jmp case.0x4e965a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4e9584
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x4e97a3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004e876c
test eax, eax
je 0x4e97a3
mov eax, ebx
call fcn.004e97ac
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x4e973c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e97ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4e97dd
dec al
je 0x4e9818
dec al
je 0x4e985d
dec al
je 0x4e98c6
jmp 0x4e9950
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4e9950
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4e97ed
jmp 0x4e9950
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4e9950
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4e9828
jmp 0x4e9950
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4e9950
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4e988c
xor ebp, ebp
jmp 0x4e989c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4e98a5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4e986d
jmp 0x4e9950
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4e9950
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4e991f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004e6898
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4e98da
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4eea0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, edx
mov ebx, eax
lea eax, [ebx + 1]
movzx eax, byte [eax]
xor al, 0x44
mov byte [esp + 4], al
lea eax, [ebx + 2]
movzx eax, byte [eax]
xor al, 0x44
mov byte [esp + 5], al
mov byte [esp + 6], 0x44
push esp
push 0x40
mov eax, ebp
sub eax, ebx
push eax
push ebx
call fcn.0040c1d8
mov ecx, ebx
mov esi, ebp
sub esi, ecx
jb 0x4eea6f
inc esi
mov eax, ecx
sub eax, ebx
push ecx
mov ecx, 3
xor edx, edx
div ecx
pop ecx
movzx eax, byte [esp + edx + 4]
mov edi, ecx
movzx edx, byte [edi]
xor dl, 0x7f
xor al, dl
mov byte [edi], al
inc ecx
dec esi
jne 0x4eea4b
movzx eax, byte [esp + 4]
xor al, 0x44
lea edx, [ebx + 1]
mov byte [edx], al
movzx eax, byte [esp + 5]
xor al, 0x44
lea edx, [ebx + 2]
mov byte [edx], al
push 0
mov eax, dword [esp + 4]
push eax
mov edi, ebp
sub edi, ebx
push edi
mov esi, ebx
push esi
call fcn.0040c1d0
push edi
push esi
call fcn.0040beb4
push eax
call fcn.0040be3c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4eef90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov edi, edx
mov esi, eax
test esi, esi
je 0x4eefa9
test edi, edi
je 0x4eefa9
test ebp, ebp
jne 0x4eefb2
mov byte [esp], 0
jmp 0x4ef0ab
mov byte [esp + 1], 0
cmp byte [esp + 1], 0
jne 0x4eefd8
movzx eax, word [ebp]
cmp ax, word [edi]
jne 0x4eefd8
cmp word [ebp], 0
je 0x4eefd8
add edi, 2
mov byte [esp + 1], 1
jmp 0x4eefb7
cmp word [edi], 0
jne 0x4eefeb
cmp word [esi], 0
sete byte [esp]
jmp 0x4ef0ab
cmp byte [esp + 1], 0
je 0x4eeff6
mov bl, 1
jmp 0x4ef029
mov eax, 0x4ef0b8
mov dword [esp + 4], eax
movzx eax, word [edi]
cmp ax, 0x100
jae 0x4ef017
movzx eax, word [edi]
mov edx, dword [esp + 4]
movzx eax, al
bt dword [edx], eax
jb 0x4ef01b
xor eax, eax
jmp 0x4ef01d
mov al, 1
mov byte [esp + 8], al
movzx ebx, byte [esp + 8]
xor bl, 1
test bl, bl
je 0x4ef04b
movzx eax, word [esi]
cmp ax, word [edi]
je 0x4ef03b
mov byte [esp], 0
jmp 0x4ef0ab
add esi, 2
add edi, 2
mov byte [esp + 1], 0
jmp 0x4eefb7
movzx eax, word [edi]
sub ax, 0x2a
je 0x4ef05f
sub ax, 0x15
je 0x4ef094
jmp 0x4eefb7
cmp word [edi + 2], 0
jne 0x4ef06c
mov byte [esp], 1
jmp 0x4ef0ab
add edi, 2
jmp 0x4ef089
mov ecx, ebp
mov edx, edi
mov eax, esi
call fcn.004eef90
test al, al
je 0x4ef086
mov byte [esp], 1
jmp 0x4ef0ab
add esi, 2
cmp word [esi], 0
jne 0x4ef071
jmp 0x4eefb7
cmp word [esi], 0
jne 0x4ef0a0
mov byte [esp], 0
jmp 0x4ef0ab
add esi, 2
add edi, 2
jmp 0x4eefb7
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x50acd4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x50ad02
mov eax, ebx
call fcn.0050b788
cmp dword [ebx + 0x40], 0
je 0x50acfb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x50ad73
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x50ad65
cmp dword [ebx + 8], 0
je 0x50ad24
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x50ad36
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x50ad65
cmp dword [ebx + 8], 0
je 0x50ad17
cmp eax, 3
je 0x50ad49
dec eax
jne 0x50ad17
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x50ad17
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x50ad17
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x50ad91
cmp dword [ebx + 0x14], 0xcc
je 0x50ad91
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0050ad9c
pop ebx
ret

Function at 0x521e38
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov edi, eax
mov eax, ebx
xor edx, edx
call fcn.00407168
mov byte [esi], 0
lea eax, [ebp - 0xc]
push eax
push 0x28
call fcn.0040beb4
push eax
call fcn.0040bcf4
test eax, eax
je 0x521f72
xor eax, eax
push ebp
push 0x521f6b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0x521f7c
push 0
call fcn.0040bcec
test eax, eax
je 0x521ed6
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
xor eax, eax
mov dword [ebp - 8], eax
push esi
push edi
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040bcdc
test eax, eax
jne 0x521ed6
call fcn.00405ba0
jmp 0x521f72
push edi
push 0
push 0x410
call fcn.0040c0e8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x521f54
xor eax, eax
push ebp
push 0x521f4d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004f3164
test al, al
je 0x521f2a
mov eax, dword [ebp - 4]
call fcn.004f30b0
test al, al
jne 0x521f2a
mov byte [esi], 1
mov ecx, ebx
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.004f43a4
call fcn.00405ba0
call fcn.00405ba0
jmp 0x521f72
mov ecx, ebx
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.004f42d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521f54
mov eax, dword [ebp - 4]
push eax
call fcn.0040bd44
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521f72
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040bd44
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ba420
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x5ba443
neg ecx
je 0x5ba443
sub edx, ecx
push ebx
mov ebx, 0
mov bl, al
xor bl, byte [ecx + edx]
shr eax, 8
xor eax, dword [ebx*4 + 0x65ca94]
inc ecx
jne 0x5ba430
pop ebx
ret