Function at 0x53d090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov dword [esp], edx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x53d0ef
mov dword [esp + 0xc], 0x6563d0
mov dword [esp + 8], ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x53d0ef
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
push 0x4afd90
push ecx
push eax
call fcn.0051c150
add esp, 0xc
cmp byte [ebx + 2], 0xb
jne 0x53d28a
mov ecx, ebx
call fcn.00638b90
test al, al
je 0x53d28a
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.0054e2a0
mov edi, eax
mov ecx, eax
call fcn.00669590
test al, al
je 0x53d28a
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x10]
push ebx
mov esi, dword [ebp + 0xc]
push esi
call fcn.0053e8f0
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x40]
push ebx
push esi
mov esi, ecx
call fcn.0053e8f0
mov ecx, ebx
call fcn.00637760
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, ebx
lea ebx, [esp + 0x10]
call fcn.00637760
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x14]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
call dword [eax + 0x10]
xor edi, edi
test al, al
jne 0x53d235
add dword [esp + 4], 0x30
xor edi, edi
nop word cs:[eax + eax]
mov dword [esp], edi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x40]
call fcn.0053dd00
add esp, 8
mov edi, esi
mov esi, ebx
mov ebx, eax
mov ecx, dword [esp + 4]
lea edx, [esp + 0x30]
call fcn.0053deb0
lea ecx, [ebx + eax]
add eax, ebx
add eax, 2
mov ebx, esi
mov esi, edi
mov edi, dword [esp]
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add edi, ecx
add edi, 2
add edi, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
call dword [eax + 0x10]
test al, al
je 0x53d1d0
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
push esi
call dword [eax + 0x40]
cmp dword [esp + 0x58], 9
jne 0x53d259
test byte [esp + 0x48], 1
je 0x53d259
push dword [esp + 0x50]
call fcn.0051c570
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x40]
cmp dword [esp + 0x28], 9
jne case.default.0x53d319
test byte [esp + 0x18], 1
je case.default.0x53d319
push dword [esp + 0x20]
call fcn.0051c570
add esp, 4
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d2a4
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.00546d70
mov esi, eax
jmp 0x53d2c4
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x14]
mov esi, 1
cmp byte [eax + 0x2f], 0
jne 0x53d2c4
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.00546c10
movzx esi, al
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x53d309
mov dword [esp + 0xc], 0x6563d0
mov dword [esp + 8], ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x53d309
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
push 0x4afd90
push ecx
push eax
call fcn.0051c150
add esp, 0xc
movzx eax, byte [ebx + 2]
xor edi, edi
dec eax
cmp eax, 0x11
ja case.default.0x53d319
jmp dword [eax*4 + 0x883c40]
shl esi, 3
mov edi, esi
jmp case.default.0x53d319
shl esi, 2
mov edi, esi
jmp case.default.0x53d319
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
jmp 0x53d362
add edi, ebx
inc esi
mov eax, dword [esp + 4]
cmp eax, esi
mov ebx, dword [ebp + 8]
je case.default.0x53d319
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d3a0
mov ecx, dword [esp]
lea eax, [esp + 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call fcn.0054ae70
jmp 0x53d3b1
mov ecx, dword [esp]
lea eax, [esp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.0054a560
movzx ecx, byte [eax]
test cl, 1
je 0x53d3c0
mov ecx, dword [eax + 4]
jmp 0x53d3c2
shr ecx, 1
add edi, ecx
or ecx, 1
bsr eax, ecx
lea ebx, [eax + eax*8]
add ebx, 0x49
shr ebx, 6
test byte [esp + 0x10], 1
je 0x53d350
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
jmp 0x53d350
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d75f
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
nop
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00548240
or eax, 1
bsr ecx, edx
xor ecx, 0x1f
bsr eax, eax
xor eax, 0x1f
or eax, 0x20
test edx, edx
cmovne eax, ecx
xor eax, 0x3f
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d410
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d76d
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00548dc0
or eax, 1
bsr ecx, edx
xor ecx, 0x1f
bsr eax, eax
xor eax, 0x1f
or eax, 0x20
test edx, edx
cmovne eax, ecx
xor eax, 0x3f
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d470
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d798
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00547c80
mov ecx, eax
or ecx, 1
sar eax, 0x1f
bsr edx, eax
xor edx, 0x1f
bsr ecx, ecx
xor ecx, 0x1f
or ecx, 0x20
test eax, eax
cmovne ecx, edx
xor ecx, 0x3f
lea eax, [ecx + ecx*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d4d0
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d7a6
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
nop word cs:[eax + eax]
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.0054c740
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d540
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d7c2
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
nop word cs:[eax + eax]
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.0054c740
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
add edi, eax
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d590
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d7ec
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
nop word cs:[eax + eax]
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00548800
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d5f0
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d7fa
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
nop dword [eax]
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.0054b7d0
mov eax, dword [eax + 4]
mov ecx, eax
or ecx, 1
sar eax, 0x1f
bsr edx, eax
xor edx, 0x1f
bsr ecx, ecx
xor ecx, 0x1f
or ecx, 0x20
test eax, eax
cmovne ecx, edx
xor ecx, 0x3f
lea eax, [ecx + ecx*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d640
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d830
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
nop dword [eax + eax]
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00547c80
lea ecx, [eax + eax]
sar eax, 0x1f
xor eax, ecx
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d6b0
jmp case.default.0x53d319
movzx eax, byte [ebx + 1]
not al
test al, 0x60
jne 0x53d85d
test esi, esi
je case.default.0x53d319
mov eax, esi
xor esi, esi
xor edi, edi
mov dword [esp + 4], eax
nop word cs:[eax + eax]
mov ecx, dword [esp]
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00548240
mov ecx, edx
shld ecx, eax, 1
add eax, eax
sar edx, 0x1f
xor ecx, edx
xor edx, eax
or edx, 1
bsr eax, ecx
xor eax, 0x1f
bsr edx, edx
xor edx, 0x1f
or edx, 0x20
test ecx, ecx
cmovne edx, eax
xor edx, 0x3f
lea eax, [edx + edx*8]
add eax, 0x49
shr eax, 6
add edi, eax
mov eax, dword [esp + 4]
inc esi
cmp eax, esi
jne 0x53d710
jmp case.default.0x53d319
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.00547fc0
jmp 0x53d779
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.00548b40
or eax, 1
bsr ecx, edx
xor ecx, 0x1f
bsr eax, eax
xor eax, 0x1f
or eax, 0x20
test edx, edx
cmovne eax, ecx
xor eax, 0x3f
jmp 0x53d84a
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.00547a30
jmp 0x53d809
mov ecx, dword [esp]
push 0
push ebx
push dword [ebp + 0xc]
call fcn.0054be50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
mov edi, eax
jmp case.default.0x53d319
mov ecx, dword [esp]
push 0
push ebx
push dword [ebp + 0xc]
call fcn.0054be50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
mov ecx, eax
or ecx, 1
bsr ecx, ecx
lea edi, [ecx + ecx*8]
add edi, 0x49
shr edi, 6
add edi, eax
jmp case.default.0x53d319
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.005485b0
jmp 0x53d844
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.0054b3a0
mov eax, dword [eax + 4]
mov ecx, eax
or ecx, 1
sar eax, 0x1f
bsr edx, eax
xor edx, 0x1f
bsr ecx, ecx
xor ecx, 0x1f
or ecx, 0x20
test eax, eax
cmovne ecx, edx
xor ecx, 0x3f
lea edi, [ecx + ecx*8]
add edi, 0x49
jmp 0x53d850
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.00547a30
lea ecx, [eax + eax]
sar eax, 0x1f
xor eax, ecx
or eax, 1
bsr eax, eax
lea edi, [eax + eax*8]
add edi, 0x49
shr edi, 6
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp]
push ebx
push dword [ebp + 0xc]
call fcn.00547fc0
mov ecx, edx
shld ecx, eax, 1
add eax, eax
sar edx, 0x1f
xor ecx, edx
xor edx, eax
or edx, 1
bsr eax, ecx
xor eax, 0x1f
bsr edx, edx
xor edx, 0x1f
or edx, 0x20
test ecx, ecx
cmovne edx, eax
xor edx, 0x3f
lea edi, [edx + edx*8]
add edi, 0x49
jmp 0x53d850