Function at 0x4539bc
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 0x4539d9
cmp dword [ebx + 0x2c], 0
jne 0x4539de
mov edi, ebx
mov dword [ebp + 0xc], edi
cmp dword [edi + 0x1c], ebx
je 0x4539e6
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.0045019c
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
jne 0x453a3c
push 0x660558
call fcn.0045287c
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 0x453b7a
cmp eax, 0x3c
je 0x453a74
cmp eax, 0xffffffff
jne 0x453b83
mov edi, dword [ebp - 0x14]
mov byte [esi], 0
cmp edi, 2
je 0x453a84
cmp edi, 0xffffffff
jne 0x453a92
push dword [ebp + 8]
call fcn.00451bfc
add esp, 4
mov dword [ebp - 4], eax
push dword [ebp + 8]
xor esi, esi
call fcn.00450fac
add esp, 4
test eax, eax
je 0x453b69
mov eax, edi
sub eax, 1
je 0x453b17
sub eax, 1
je 0x453afb
sub eax, 1
jne 0x453b69
cmp dword [ebx + 0x44], esi
je 0x454169
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 0x453b69
push dword [edi]
push dword [ebp + 8]
push 0x6605a0
call fcn.0045287c
add esp, 0xc
jmp 0x4542a8
mov edi, dword [ebp - 8]
push 1
mov dword [edi + 0x18], 2
push dword [ebp + 8]
push edi
call fcn.0045529c
add esp, 0xc
test eax, eax
jmp 0x453b63
cmp dword [ebx + 0x2e8], esi
je 0x453b4e
push dword [ebp + 8]
call fcn.0045122c
mov edi, dword [ebp - 8]
add esp, 4
cmp byte [eax], 0
je 0x453b51
cmp dword [edi + 0x18], esi
jne 0x453b51
mov dword [edi + 0x18], 1
push dword [ebp + 8]
push edi
call fcn.0045370c
add esp, 8
test eax, eax
jmp 0x453b63
mov edi, dword [ebp - 8]
push dword [ebp + 8]
push 0
push edi
call fcn.004536ac
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45417b
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 0x45427a
cmp eax, 0x3c
jne 0x45412a
mov eax, dword [ebx + 0x2f0]
push ebx
mov dword [ebp - 4], edi
call eax
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x453cb5
nop word [eax + eax]
push esi
call fcn.004521cc
add esp, 4
test eax, eax
jne 0x453cb5
cmp esi, 0x3e
je 0x453cb5
cmp esi, 0x2f
jne 0x453bd6
cmp edi, dword [ebp + 8]
ja 0x453cb5
jmp 0x453c36
cmp esi, 0x3c
je 0x454193
cmp esi, 0x26
jne 0x453c1e
push dword [ebp - 8]
push ebx
call int.0045476c
add esp, 8
cmp eax, 0xffffffff
je 0x4542a8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.0045389c
add esp, 0x10
test eax, eax
je 0x4542a8
mov edi, dword [ebp - 4]
jmp 0x453c9e
cmp esi, 0x30
jge 0x453c36
cmp esi, 0x21
je 0x453c36
cmp esi, 0x2d
je 0x453c36
cmp esi, 0x2e
jne 0x4542a8
jne 0x4542a8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x6a]
xchg byte [edx - 0x78], bh
or byte [edx - 0x4eb225a5], ah
dec edi
mov al, byte [0x97561d07]
loope 0x453c62
cli
adc edx, ecx
and al, 0x8a
push 0xffffffffffffffc6
or ebx, dword [ebp + 0x35]
dec esp
xchg esi, eax
jb 0x453c8d
xchg edx, eax
jp 0x453c2f
pop edx
call 0xceade2be
inc edx
bnd jp 0x453bfc
adc dl, byte ds:[ebp - 0x3f404cfb]
mov al, 0xf4
jno 0x453c28
push eax
iretd
invalid
lcall 0x8a39, 0x7b83c1d5
adc byte [eax - 0x5e], 0xae
inc ecx
cmp dl, byte [ebx - 0x5fc84fa9]
and byte [esi - 0x15], 3
push edx
ret 0x7bce
mov edi, 0x5bb20889
dec eax
fcom qword [edi - 0x5c966114]
push ss
pop ecx
stosb byte es:[edi], al
dec esi
invalid
aaa
scasd eax, dword es:[edi]
in al, 0x8f
xchg dword [ebp - 0x40], ebx
and dword [edx - 0x6e556da7], 0xed8997dd
int3
or bh, byte [ebp - 0x3b0078ae]
inc esp
clc
mov esi, 0xd64fa14
mov ch, 0xa9
test byte [esi - 0x51a9472a], dl
bound esp, qword [ebx - 0x143328d1]
jmp 0x4541ca
das
xlatb
int3
arpl ax, ax
js 0x45413d
dec ebx
dec esi
fiadd word [edx - 0x69505492]
cmp ah, byte [esi]
fidivr dword [esi]
pop edx
pushfd
inc edi
dec edx
in eax, 0x15
invalid
sti
add bl, 0xd5
inc ebx
test byte [edx - 0x2e0893ae], cl
push edx
insb byte es:[edi], dx
not ecx
arpl word [ebx - 0x7f], cx
salc
xchg edx, eax
jmp 0x454150
stosb byte es:[edi], al
test byte [ecx - 0x14], 2
sub dh, dh
ja 0x4541ac
or dword [ecx + 0x6f], edi
pushfd
out 0x46, eax
aaa
scasd eax, dword es:[edi]
shl dword [edi], cl
inc eax
pop edx
mov bh, 0xd2
fld st(4)
scasb al, byte es:[edi]
retf
out 0xf, eax
xor dword [ebx + 0x1c89b5a4], edx
and byte [ebp + eax*8 - 0xdda886], bh
sub al, 0x3d
loop 0x45420a
xchg ebx, eax
ja 0x4541a5
in eax, dx
pushfd
mov es, edi
jecxz 0x454205
mov bl, 0x86
adc byte [edi + 0x56], 0xa2
inc esi
test dword [edx - 0x3d], eax
dec edi
adc esi, edi
jmp 0x45419b
dec edx
dec ecx
fxch st(4)
shl esi, cl
pop ss
out 0x17, al
sub eax, 0xfa7323b4
sbb byte [eax], bl
dec ebx
push ds
and dword [edi + 0x47], ebx
stosd dword es:[edi], eax
je 0x4541be
push ss
xchg byte [edi - 0x1e], al
cmp ebp, dword [edi - 0x7e]
fmul dword [edi + eax*8 - 2]
xlatb
cwde
stosd dword es:[edi], eax
dec esp
out dx, al
pop ecx
sbb cl, bl
int1
jbe 0x454271
cli
push 0x34
and ch, byte [edi]
jmp [ebx - 0x58]
jg 0x45426f
add ch, byte [ebx - 0x2d028755]
jne 0x454284
les ebx, [ebx - 0x4c]
shl dword [ebp - 0xd], 0xaa
sub ah, bh
scasb al, byte es:[edi]
jle 0x4541e1
adc bh, ch
retf
sbb byte [ebx + eax], dh
xor eax, 0xb612120d
add esi, dword [0xb612120d]
cmp eax, 0x68b92626
invalid
mov ecx, 0x8aac8f68
lds ebp, [edx + 0x6c]
sbb cl, byte [eax + 0xc]
pop edx
or al, 0x64
pop edx
dec esp
fcom dword [esp + ebx]
adc edi, dword [eax + 0x6a]
mov esp, 0xc0a4621f
les edi, [esi + 0x23]
salc
push eax
hlt
add ah, al
push 0xffffffffffffffd8
push ds
lodsd eax, dword [esi]
lds esi, [eax + 0x2f08adcf]
xchg esi, eax
test byte [edi], 0x77
mul cl
salc
jle 0x454243
inc ecx
mov edx, 0x500f5825
cmpsb byte [esi], byte es:[edi]
invalid