Function at 0x4aaac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5b642c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0xa0]
mov edi, dword [ebp + 8]
push ecx
mov ecx, ebx
mov dword [ebp - 0x90], ebx
mov eax, dword [ebx]
call dword [eax + 0x3c]
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4aab41
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], edi
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 0x4de5c0
push ecx
push eax
call fcn.00495440
add esp, 0xc
cmp byte [edi + 2], 0xb
jne 0x4aad17
mov ecx, edi
call fcn.004e2940
test al, al
je 0x4aad17
mov ecx, dword [ebp - 0x94]
push edi
push ebx
call fcn.00497ca0
mov ecx, eax
mov dword [ebp - 0x8c], eax
call fcn.0049f4f0
test al, al
je 0x4aad17
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00495590
push edi
push ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.00495590
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004e2a00
mov ecx, edi
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x90], eax
call fcn.004e2a00
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x18]
add eax, 0x30
mov dword [ebp - 0x98], eax
mov eax, dword [ebx]
call dword [eax + 0x14]
mov eax, dword [ebx]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x4aac5b
mov ebx, dword [ebp - 0x98]
nop
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x90]
call fcn.004ad650
lea edi, [eax + 2]
lea eax, [ebp - 0x30]
push eax
push ebx
call fcn.004ad850
add edi, eax
mov ecx, dword [ebp - 0x54]
mov eax, edi
lea edx, [ebp - 0x58]
or eax, 1
add esp, 0x10
bsr eax, eax
push edx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, edi
add esi, eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4aac00
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x88]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp dword [ebp - 0x68], 9
jne 0x4aacbd
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x4aacab
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aaca1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab34e
push edx
push ecx
call fcn.0053a2d5
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp dword [ebp - 0x38], 9
jne case.default.0x4aada2
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb case.default.0x4aada2
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aad08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab34e
push edx
push ecx
call fcn.0053a2d5
add esp, 8
jmp case.default.0x4aada2
mov al, byte [edi + 1]
xor ebx, ebx
and al, 0x60
cmp al, 0x60
jne 0x4aad38
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00497220
mov ebx, eax
jmp 0x4aad66
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x2f], bl
je 0x4aad4a
mov ebx, 1
jmp 0x4aad66
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.004990e0
test al, al
mov ecx, 1
cmovne ebx, ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4aad94
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], edi
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 0x4de5c0
push ecx
push eax
call fcn.00495440
add esp, 0xc
movzx eax, byte [edi + 2]
dec eax
cmp eax, 0x11
ja case.default.0x4aada2
jmp dword [eax*4 + 0x4ab354]
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4aae09
xor eax, eax
mov dword [ebp - 0x98], eax
test ebx, ebx
je case.default.0x4aada2
lfence
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.00498400
mov ecx, eax
or ecx, 1
mov eax, ecx
cdq
test edx, edx
jne 0x4aade5
bsr eax, ecx
jmp 0x4aadeb
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, ebx
jb 0x4aadc1
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00497a80
push eax
call fcn.00402ca0
add esp, 4
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053a033
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4aaea3
xor eax, eax
mov dword [ebp - 0x98], eax
test ebx, ebx
je case.default.0x4aada2
lfence
nop dword [eax]
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.004984d0
or eax, 1
test edx, edx
jne 0x4aae7f
bsr eax, eax
jmp 0x4aae85
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, ebx
jb 0x4aae60
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00497b80
push edx
push eax
call fcn.004ab3a0
add esp, 8
jmp 0x4aae24
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4aaf23
xor eax, eax
mov dword [ebp - 0x98], eax
test ebx, ebx
je case.default.0x4aada2
lfence
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.00498400
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, ebx
jb 0x4aaee0
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00497a80
push eax
call fcn.004add50
jmp 0x4aae21
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4aafc6
xor eax, eax
mov dword [ebp - 0x8c], eax
test ebx, ebx
je case.default.0x4aada2
lfence
nop dword [eax]
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.004984d0
mov ecx, edx
mov dword [ebp - 0x98], edx
sar dword [ebp - 0x98], 0x1f
shld edx, eax, 1
sar ecx, 0x1f
add eax, eax
xor ecx, eax
mov eax, dword [ebp - 0x98]
or ecx, 1
xor eax, edx
jne 0x4aaf9f
bsr eax, ecx
jmp 0x4aafa5
bsr eax, eax
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, ebx
jb 0x4aaf60
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00497b80
push edx
push eax
call fcn.004add70
add esp, 8
jmp 0x4aae24
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4ab03d
xor eax, eax
mov dword [ebp - 0x8c], eax
test ebx, ebx
je case.default.0x4aada2
lfence
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.00498850
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, ebx
jb 0x4ab003
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00498c50
or eax, 1
bsr eax, eax
lea esi, [eax*8 + 0x49]
add esi, eax
shr esi, 6
jmp case.default.0x4aada2
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4ab0c8
xor eax, eax
mov dword [ebp - 0x8c], eax
test ebx, ebx
je case.default.0x4aada2
lfence
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.00498920
or eax, 1
test edx, edx
jne 0x4ab0a1
bsr eax, eax
jmp 0x4ab0a7
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, ebx
jb 0x4ab082
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00498d50
push edx
push eax
call fcn.00402ce0
add esp, 8
jmp 0x4aae24
lea esi, [ebx*4]
jmp case.default.0x4aada2
lea esi, [ebx*8]
jmp case.default.0x4aada2
mov esi, ebx
jmp case.default.0x4aada2
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4ab156
xor eax, eax
mov dword [ebp - 0x8c], eax
test ebx, ebx
je case.default.0x4aada2
lfence
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.004985a0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
add esi, eax
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, ebx
jb 0x4ab124
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push 0
push edi
push dword [ebp - 0x90]
call fcn.00497ce0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4aae24
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4ab1d7
xor eax, eax
mov dword [ebp - 0x8c], eax
test ebx, ebx
je case.default.0x4aada2
lfence
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.004985a0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, eax
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add ecx, eax
mov eax, dword [ebp - 0x8c]
inc eax
add esi, ecx
mov dword [ebp - 0x8c], eax
cmp eax, ebx
jb 0x4ab192
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push 0
push edi
push dword [ebp - 0x90]
call fcn.00497ce0
push eax
call fcn.004a5f90
jmp 0x4aae21
mov al, byte [edi + 1]
and al, 0x60
cmp al, 0x60
jne 0x4ab25e
xor eax, eax
mov dword [ebp - 0x8c], eax
test ebx, ebx
je case.default.0x4aada2
lfence
mov ecx, dword [ebp - 0x94]
push eax
push edi
push dword [ebp - 0x90]
call fcn.00498230
mov ecx, dword [eax + 4]
or ecx, 1
mov eax, ecx
cdq
test edx, edx
jne 0x4ab237
bsr eax, ecx
jmp 0x4ab23d
bsr eax, edx
add eax, 0x20
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, ebx
jb 0x4ab212
jmp case.default.0x4aada2
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00497740
mov eax, dword [eax + 4]
push eax
call fcn.00402ca0
jmp 0x4aae21
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
test ebx, ebx
je case.default.0x4aada2
lfence
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov al, byte [edi + 1]
and al, 0x60
mov dword [ebp - 4], 4
cmp al, 0x60
lea eax, [ebp - 0x28]
push eax
jne 0x4ab2d3
push ecx
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00498780
jmp 0x4ab2e5
mov ecx, dword [ebp - 0x94]
push edi
push dword [ebp - 0x90]
call fcn.00498b30
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
mov edx, dword [ebp - 0x14]
bsr eax, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
add esi, eax
cmp edx, 0x10
jb 0x4ab334
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab32a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab34e
push edx
push ecx
call fcn.0053a2d5
add esp, 8
mov ecx, dword [ebp - 0x8c]
inc ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, ebx
jb 0x4ab291
jmp case.default.0x4aada2
call fcn.00545753
nop
cmc
mov al, 74
add cl, ch
mov al, 0x4a
add byte [esi + ebp*4 + 0x4a], al
add byte [esi - 0x50], ah
dec edx
add byte [ecx - 0xaffb553], ch
mov al, 0x4a
add cl, ch
mov al, 0x4a
add byte [ecx], al
mov cl, 0x4a
add byte [esi - 0x4e], bh
dec edx
add byte [eax], cl
mov cl, 0x4a
add byte [esi - 0x4f], dh
dec edx
add byte [esi - 0x4e], bh
dec edx
add bh, ah
scasd eax, dword es:[edi]
dec edx
add dh, dh
mov cl, 0x4a
add cl, ch
mov al, 0x4a
add ch, dh
mov al, 0x4a
add ah, al
scasb al, byte es:[edi]
dec edx
add byte [eax - 0x51], al
dec edx
add ah, cl
int3