Function at 0x5340ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x5340c9
cmp dword [ebx + 0x2c], 0
jne 0x5340ce
mov edi, ebx
mov dword [ebp + 0xc], edi
cmp dword [edi + 0x1c], ebx
je 0x5340d6
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x40
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebx + 0x2e4], 0
mov dword [ebx + 0x2e8], 0
mov dword [ebp - 0x10], 0x40
call fcn.0053088c
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
jne 0x53412c
push 0x660558
call fcn.00532f6c
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x3c]
push edi
push ebx
mov dword [ebp - 4], esi
call eax
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x2f0]
push ebx
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp esi, edi
jbe 0x53426a
cmp eax, 0x3c
je 0x534164
cmp eax, 0xffffffff
jne 0x534273
mov edi, dword [ebp - 0x14]
mov byte [esi], 0
cmp edi, 2
je 0x534174
cmp edi, 0xffffffff
jne 0x534182
push dword [ebp + 8]
call fcn.005322ec
add esp, 4
mov dword [ebp - 4], eax
push dword [ebp + 8]
xor esi, esi
call fcn.0053169c
add esp, 4
test eax, eax
je 0x534259
mov eax, edi
sub eax, 1
je 0x534207
sub eax, 1
je 0x5341eb
sub eax, 1
jne 0x534259
cmp dword [ebx + 0x44], esi
je 0x534859
mov edi, dword [ebp - 8]
mov dword [edi + 0x18], 3
push dword [ebp + 8]
mov eax, dword [ebx + 0x44]
push edi
push ebx
call eax
add esp, 0xc
test eax, eax
jne 0x534259
push dword [edi]
push dword [ebp + 8]
push 0x6605a0
call fcn.00532f6c
add esp, 0xc
jmp 0x534998
mov edi, dword [ebp - 8]
push 1
mov dword [edi + 0x18], 2
push dword [ebp + 8]
push edi
call fcn.0053598c
add esp, 0xc
test eax, eax
jmp 0x534253
cmp dword [ebx + 0x2e8], esi
je 0x53423e
push dword [ebp + 8]
call fcn.0053191c
mov edi, dword [ebp - 8]
add esp, 4
cmp byte [eax], 0
je 0x534241
cmp dword [edi + 0x18], esi
jne 0x534241
mov dword [edi + 0x18], 1
push dword [ebp + 8]
push edi
call fcn.00533dfc
add esp, 8
test eax, eax
jmp 0x534253
mov edi, dword [ebp - 8]
push dword [ebp + 8]
push 0
push edi
call fcn.00533d9c
mov esi, eax
add esp, 0xc
test esi, esi
je 0x53486b
mov eax, dword [ebp - 0xc]
test eax, eax
mov edi, dword [ebp + 8]
cmove eax, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x53496a
cmp eax, 0x3c
jne 0x53481a
mov eax, dword [ebx + 0x2f0]
push ebx
mov dword [ebp - 4], edi
call eax
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x5343a5
nop word [eax + eax]
push esi
call fcn.005328bc
add esp, 4
test eax, eax
jne 0x5343a5
cmp esi, 0x3e
je 0x5343a5
cmp esi, 0x2f
jne 0x5342c6
cmp edi, dword [ebp + 8]
ja 0x5343a5
jmp 0x534326
cmp esi, 0x3c
je 0x534883
cmp esi, 0x26
jne 0x53430e
push dword [ebp - 8]
push ebx
call fcn.00534e5c
add esp, 8
cmp eax, 0xffffffff
je 0x534998
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00533f8c
add esp, 0x10
test eax, eax
je 0x534998
mov edi, dword [ebp - 4]
jmp 0x53438e
cmp esi, 0x30
jge 0x534326
cmp esi, 0x21
je 0x534326
cmp esi, 0x2d
je 0x534326
cmp esi, 0x2e
jne 0x534998
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00533f8c
add esp, 0x10
test eax, eax
je 0x55c8ea98
outsd dx, dword [esi]
fstp qword [ebx - 0x33]
sub al, 0xcf
inc ecx
ret
sub byte [edi], ah
hlt
push esp
int3
sub ecx, ebx
mov ebp, 0xaa4c0cc7
hlt
movsd dword es:[edi], dword [esi]
retf
movsb byte es:[edi], byte [esi]
and dl, byte [ebx + 1]
jne 0x53484c
invalid
salc
movsb byte es:[edi], byte [esi]
mov cl, 0xa3
bound ebp, qword [eax - 3]
adc ebx, eax
and esi, dword [esi]
sub ah, byte [ebx]
invalid
aaa
nop
invalid
insd dword es:[edi], dx
push ebp
mov ch, 0x18
dec dword [ebx + eax*8 - 6]
cli
xor eax, 0xebf5915b
adc edi, edx
dec esp
out 0x3d, al
popal
mov cs, edi
mov cl, 0xf8
imul esi, dword [ebx - 0x320f7280], 0x2a
in al, 0x44
and cl, byte [ebx + 0x43290e35]
pop edi
je 0x534922
sar ch, 0xf3
out dx, al
cmp eax, esi
movsd dword es:[edi], dword [esi]
and al, 0x4d
or dword [ebx + 1], edx
xor dword [esi + 0x5b], ebp
invalid
mov ah, 0x95
xchg ebp, eax
cmpsb byte [esi], byte es:[edi]
jne 0x534969
xchg dword [ebp + 0x44f38b5e], esp
jge 0x53491b
lodsd eax, dword [esi]
lds esp, [edx]
sbb ah, byte [0x2ba659b4]
mov dh, 0xf8
adc dword [ebx], eax
insb byte es:[edi], dx
ljmp 0x493c
lea edx, [esi + 0x6c07dd71]
jno 0x534979
pop es
insb byte es:[edi], dx
in eax, dx
sti
inc eax
int1
and byte [esi], dh
dec ebx
shr edx, 1
cmp ecx, eax
cmp al, 0x69
call [ebp - 0x6f]
pop ebp
xchg ecx, eax
push edi
jle 0x534949
cli
mov eax, 0x44dc1cf9
movsd dword es:[edi], dword [esi]
jbe 0x534a35
sbb ecx, eax
cmp al, 0xd7
dec esp
les esi, [eax + 0x33]
jnp 0x5349ac
add byte [edx], dh
les eax, [ecx]
mov cl, 0x75
mov dl, 0x3a
mov al, 0x82
js 0x534a00
adc bh, byte [ebx]
sub eax, 0xb6a9fc57
cmp al, 0x3b
add bl, byte [0xf0876e1d]
fnstenv [eax + ebx*2 + 0x4d3bb5ed]
arpl word [ecx - 0x41], di
lea ebp, [ebp - 0x7f321a74]
push ds
adc al, 0x41
lodsd eax, dword [esi]
adc al, 0xbd
test dword [esi], 0x7e6b0709
xor eax, dword [ecx + 0x46d3858e]
fstp xword [edx - 0x6b]
mov ebp, 0x70906f7
imul edi, dword [esi + 0x33], 0xffffff81
mov es, word [ebp + 0x7adb46d3]
xchg ebp, eax
rol dword [esi - 0x25], cl
jp 0x53499a
jnp 0x5349f5
inc esi
inc edi
xor al, 0x61
mov byte [esi], al
inc esp
pop es
pop eax
leave
insd dword es:[edi], dx
jae 0x534a52
cmpsd dword [esi], dword es:[edi]
jmp 0xab7f8fb1
pop ss
movsb byte es:[edi], byte [esi]
invalid
adc ebx, eax
fst dword [ebx]
into
jae 0x534a1f
test dword [eax + 0x603a74c6], edi
and al, 0x23
jmp edx
adc byte [0xdfc835d], dh
mov ebp, 0xdd15e3d4
cdq
lds ebx, [edi + 0x5729d7ce]
invalid