Function at 0x4e03a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp eax, dword [edi + 0x70]
je 0x4e03ca
cmp eax, dword [edi + 0x74]
je 0x4e03ca
and dword [ebp + 8], 0
jmp 0x4e03d1
mov dword [ebp + 8], 1
test byte [edi + 0xa8], 2
je 0x4e03f8
cmp eax, dword [edi + 0x68]
je 0x4e03f8
cmp word [ebp + 8], 0
jne 0x4e03f8
mov esi, dword [edi + 0xc8]
mov dword [ebp - 4], 1
mov dword [ebp + 0x18], esi
jmp 0x4e0407
mov eax, dword [edi + 0xc0]
and dword [ebp - 4], 0
mov dword [ebp + 0x18], eax
mov esi, eax
mov ebx, dword [ebp + 0x20]
cmp dword [ebx], esi
jge 0x4e0419
push 0x4001001b
call fcn.00598a7e
pop ecx
xor ecx, ecx
mov dword [ebx], esi
cmp esi, ecx
je 0x4e068a
cmp word [ebp - 4], cx
je 0x4e0433
mov eax, dword [edi + 0xcc]
jmp 0x4e0439
mov eax, dword [edi + 0xac]
cmp word [ebp - 4], cx
mov dword [ebp - 8], eax
je 0x4e044a
mov eax, dword [edi + 0xc4]
jmp 0x4e0450
mov eax, dword [edi + 0xbc]
push 2
push 0x10
push 0x6877b4
push ecx
lea ecx, [ebp - 0xe0]
push ecx
push esi
push eax
call fcn.004e0bc3
push str.WebBuy
call fcn.0059bd1f
add esp, 0x20
cmp word [edi + 0xd8], ax
jne 0x4e052d
mov eax, dword [edi + 0xe4]
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.005a08b9
mov eax, dword [edi + 0xdc]
pop ecx
test eax, eax
pop ecx
jbe 0x4e04b0
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je 0x4e04b0
push eax
push ecx
jmp 0x4e04b7
push 7
push 0x6877c4
lea eax, [ebp - 0x7c]
push eax
call fcn.005a0968
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push edi
call fcn.004d8ea1
add esp, 0x14
test ax, ax
je 0x4e04ef
push dword [ebp - 0xc]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x10]
push eax
call fcn.005a0968
add esp, 0xc
mov eax, dword [ebp - 4]
push 4
add eax, 0x3f
and al, 0x80
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.005a0968
lea eax, [ebp - 0x7c]
push eax
call fcn.005a0f14
mov ecx, dword [ebx]
add esp, 0x10
xor eax, eax
test ecx, ecx
jle 0x4e052d
mov dl, byte [ebp + eax - 0x23]
xor byte [ebp + eax - 0xe0], dl
inc eax
cmp eax, ecx
jl 0x4e051d
cmp word [ebp + 8], 0
jne 0x4e05aa
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
push esi
push ebx
push edi
call fcn.004dc723
mov ecx, dword [edi + 0x18]
add esp, 0xc
shl ecx, 0x18
neg si
sbb esi, esi
mov edx, ebx
and esi, 0x800000
add edx, ecx
add esi, edx
je 0x4e058a
cmp word [ebp + 0xc], 0
jne 0x4e058a
mov esi, dword [eax + 0x10]
mov eax, esi
mov ebx, esi
shr eax, 0x17
and eax, 1
and ebx, 0x7fffff
push eax
push ebx
push edi
mov dword [ebp + 0xc], eax
call fcn.004dc723
add esp, 0xc
test esi, esi
jne 0x4e055e
cmp esi, dword [edi + 0xb8]
je 0x4e059f
test esi, esi
je 0x4e059f
mov ax, word [eax + 2]
mov esi, dword [ebp + 0x18]
jmp 0x4e05b0
mov eax, dword [ebp + 0x20]
and dword [eax], 0
jmp 0x4e068a
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 8], 0
jne 0x4e05ce
lea eax, [ebp - 0xe0]
push esi
push eax
push dword [ebp + 0x1c]
call fcn.005a00cb
add esp, 0xc
jmp 0x4e068a
xor edi, edi
lea esi, [ebp + esi - 0xe5]
cmp word [ebp + 8], di
je 0x4e05ef
cmp word [ebp + 0xc], di
jne 0x4e05ef
push 5
push esi
call fcn.005a0047
pop ecx
pop ecx
jmp 0x4e0636
cmp dword [ebp - 8], 3
jne 0x4e061c
xor ebx, 0x3569ac
xor eax, 0xca96
mov byte [esi], bl
inc esi
mov ecx, ebx
mov byte [esi], al
inc esi
shr ecx, 8
mov byte [esi], cl
xor ecx, ecx
inc esi
mov cl, ah
shr ebx, 0x10
mov byte [esi], cl
mov byte [esi + 1], bl
jmp 0x4e0636
mov byte [esi], bl
mov ecx, ebx
inc esi
shr ecx, 8
mov byte [esi], cl
inc esi
shr ebx, 0x10
mov byte [esi], bl
inc esi
xor ecx, ecx
mov cl, ah
mov byte [esi], al
mov byte [esi + 1], cl
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.005a08b9
push dword [ebp + 0x18]
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.005a0968
add esp, 0x14
cmp dword [ebp - 8], 3
jl 0x4e066f
push 4
lea eax, [ebp - 0x7c]
push str.sAlT
push eax
call fcn.005a0968
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
call fcn.005a0f14
push dword [ebp + 0x18]
lea eax, [ebp - 0x23]
push eax
push dword [ebp + 0x1c]
call fcn.005a00cb
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret