Function at 0x40976f
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x46483f
call fcn.00460433
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.004096c9
pop ecx
cmp byte [ebp + 0x10], bl
je 0x4097d1
mov ecx, 0x46c144
cmp byte [ebp + 0x14], bl
jne 0x40979d
mov ecx, 0x46c148
mov eax, dword [0x47777c]
cmp eax, ebx
jne 0x4097ab
mov eax, 0x46c12a
push ebx
push ebx
push ebx
push ebx
push ecx
push str._OPT
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.004054e9
add esp, 0x24
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
jmp 0x409803
mov eax, dword [0x47777c]
cmp eax, ebx
jne 0x4097df
mov eax, 0x46c12a
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.004054e9
add esp, 0x24
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 2
mov ecx, dword [eax]
mov eax, 0x46b7f4
push eax
push dword [0x476040]
push eax
push ecx
push eax
push dword [ebp + 8]
push 0x46c154
push dword [0x47615c]
push eax
push dword [0x476158]
push eax
lea eax, [ebp - 0x30]
push 0x46b71c
push eax
call fcn.0040554d
add esp, 0x34
mov dword [ebp - 4], 3
test byte [ebp - 0x14], 2
je 0x409858
mov esi, dword [ebp - 0x18]
and dword [ebp - 0x14], 0xfffffffd
cmp esi, ebx
je 0x409858
call fcn.00401000
mov byte [ebp - 4], 4
test byte [ebp - 0x14], 1
je 0x40986e
mov esi, dword [ebp - 0x20]
cmp esi, ebx
je 0x40986e
call fcn.00401000
xor ecx, ecx
cmp dword [ebp - 0x30], ebx
jbe 0x409882
mov eax, dword [ebp - 0x2c]
xor byte [eax + ecx], 0x83
inc ecx
cmp ecx, dword [ebp - 0x30]
jb 0x409875
push dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x2c]
push eax
call fcn.0040117d
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3c], ebx
jne 0x4098c4
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x34]
cmp esi, ebx
je 0x4098ad
call fcn.00401000
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x28]
cmp esi, ebx
je 0x4098bd
call fcn.00401000
xor al, al
jmp 0x40998d
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
push eax
call fcn.00405a01
pop ecx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x48], ebx
jne 0x4098ec
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x40]
cmp esi, ebx
je 0x40989d
call fcn.00401000
jmp 0x40989d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x44]
lea eax, [ebp - 0x54]
push 0x46c158
push str._aj_ireport.php
push eax
call fcn.0040554d
add esp, 0x34
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], ebx
jne 0x409929
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x4c]
cmp esi, ebx
je 0x4098da
call fcn.00401000
jmp 0x4098da
push dword [ebp - 0x50]
lea eax, [ebp - 0x60]
push eax
call fcn.00404219
cmp dword [ebp - 0x60], ebx
mov esi, dword [ebp - 0x58]
pop ecx
setne byte [ebp + 0x13]
pop ecx
cmp esi, ebx
je 0x40994a
call fcn.00401000
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x4c]
cmp esi, ebx
je 0x40995a
call fcn.00401000
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x40]
cmp esi, ebx
je 0x40996a
call fcn.00401000
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x34]
cmp esi, ebx
je 0x40997a
call fcn.00401000
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x28]
cmp esi, ebx
je 0x40998a
call fcn.00401000
mov al, byte [ebp + 0x13]
call fcn.004604d2
ret