Function at 0x4e3304
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff04
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e396d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3e0], 0
je 0x4e36e3
mov eax, dword [ebx + 4]
cmp eax, 0x7304
je 0x4e336f
cmp eax, 0x7305
jne 0x4e337b
mov dword [ebx + 0x3e4], 0x80
jmp 0x4e3385
mov dword [ebx + 0x3e4], 0x40
mov eax, dword [ebx + 0x3dc]
mov edx, dword [0x4e30c8]
call fcn.00403e68
test al, al
jne 0x4e33c1
lea edx, [ebp - 0xdc]
mov eax, dword [0x5b6dd8]
call fcn.00406db0
mov ecx, dword [ebp - 0xdc]
mov dl, 1
mov eax, dword [0x4e2ff8]
call fcn.0040db84
call fcn.00404590
lea edx, [ebp - 0xe0]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xe0]
call fcn.00405f30
cmp eax, dword [ebx + 0x3e4]
jle 0x4e3671
lea edx, [ebp - 0xe4]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 8]
call fcn.004c5ffc
mov eax, dword [ebx + 4]
add eax, 0xffff8cff
cmp eax, 6
ja case.default.0x4e3419
jmp dword [eax*4 + 0x4e3420]
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004c2a54
push 0x10
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x18]
mov ecx, 0x10
call fcn.004030c8
jmp 0x4e3650
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.004be2f4
push 0x14
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov ecx, 0x14
call fcn.004030c8
jmp 0x4e3650
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.004da860
push 0x1c
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x48]
mov ecx, 0x1c
call fcn.004030c8
jmp 0x4e3650
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 8]
call fcn.004daba8
push 0x20
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x68]
mov ecx, 0x20
call fcn.004030c8
jmp 0x4e3650
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 8]
call fcn.004dbcb8
push 0x30
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x98]
mov ecx, 0x30
call fcn.004030c8
jmp 0x4e3650
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 8]
call fcn.004db488
push 0x40
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xd8]
mov ecx, 0x40
call fcn.004030c8
jmp 0x4e3650
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.004da704
push 0x14
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov ecx, 0x14
call fcn.004030c8
jmp 0x4e3650
mov eax, dword [ebx + 4]
mov dword [ebp - 0xec], eax
mov byte [ebp - 0xe8], 0
lea eax, [ebp - 0xec]
push eax
push 0
lea edx, [ebp - 0xf0]
mov eax, dword [0x5b6d58]
call fcn.00406db0
mov ecx, dword [ebp - 0xf0]
mov dl, 1
mov eax, dword [0x4e305c]
call fcn.0040dbc0
call fcn.00404590
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 8]
call fcn.004c5ffc
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4e3690
lea edx, [ebp - 0xf8]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 8]
call fcn.004c5ffc
mov eax, dword [ebx + 0x3e4]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4c5894]
call fcn.004060ec
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, 0x36
mov edx, dword [ebx + 0x3e4]
call fcn.004035fc
mov eax, dword [ebp - 8]
call fcn.00405f30
mov edx, eax
dec edx
test edx, edx
jl 0x4e36e3
inc edx
xor eax, eax
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
mov esi, dword [ebp - 4]
xor byte [esi + eax], cl
inc eax
dec edx
jne 0x4e36d2
mov eax, dword [ebx + 4]
cmp eax, 0x7109
jg 0x4e3724
je 0x4e37bf
add eax, 0xffff8eff
cmp eax, 6
ja case.default.0x4e3732
jmp dword [eax*4 + 0x4e3708]
add eax, 0xffff8cff
cmp eax, 6
ja case.default.0x4e3732
jmp dword [eax*4 + 0x4e3739]
lea eax, [ebx + 8]
call 0x4c2d14
jmp 0x4e38ff
lea eax, [ebx + 0x44]
call fcn.004c2b40
jmp 0x4e38ff
lea eax, [ebx + 0xa0]
call fcn.004be328
jmp 0x4e38ff
lea eax, [ebx + 0x240]
call fcn.004da7f8
jmp 0x4e38ff
lea eax, [ebx + 0x240]
call fcn.004da8b4
jmp 0x4e38ff
lea eax, [ebx + 0x2ac]
call fcn.004dae18
jmp 0x4e38ff
lea eax, [ebx + 0x2ac]
call fcn.004dbbe4
jmp 0x4e38ff
lea eax, [ebx + 0x378]
call fcn.004d9ff8
jmp 0x4e38ff
lea eax, [ebx + 0x44]
call fcn.004c2b40
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x44]
mov ecx, dword [ebx + 0x3e4]
call fcn.004c2b84
jmp 0x4e38ff
lea eax, [ebx + 0xa0]
call fcn.004be328
mov edx, dword [ebp - 4]
lea eax, [ebx + 0xa0]
mov ecx, dword [ebx + 0x3e4]
call fcn.004be384
jmp 0x4e38ff
lea eax, [ebx + 0x240]
call fcn.004da7f8
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004da858
jmp 0x4e38ff
lea eax, [ebx + 0x240]
call fcn.004da8b4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004dab10
jmp 0x4e38ff
lea eax, [ebx + 0x2ac]
call fcn.004dbbe4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004dbcb0
jmp 0x4e38ff
lea eax, [ebx + 0x2ac]
call fcn.004dae18
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004db3d4
jmp 0x4e38ff
lea eax, [ebx + 0x378]
call fcn.004d9ff8
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x378]
mov ecx, dword [ebx + 0x3e4]
call fcn.004da684
jmp 0x4e38ff
mov eax, dword [ebx + 4]
mov dword [ebp - 0xec], eax
mov byte [ebp - 0xe8], 0
lea eax, [ebp - 0xec]
push eax
push 0
lea edx, [ebp - 0xfc]
mov eax, dword [0x5b6d58]
call fcn.00406db0
mov ecx, dword [ebp - 0xfc]
mov dl, 1
mov eax, dword [0x4e305c]
call fcn.0040dbc0
call fcn.00404590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3974
lea eax, [ebp - 0xfc]
call fcn.00404c40
lea eax, [ebp - 0xf8]
mov edx, dword [0x4c5894]
mov ecx, 2
call fcn.00405824
lea eax, [ebp - 0xf0]
call fcn.00404c40
lea eax, [ebp - 0xe4]
mov edx, dword [0x4c5894]
mov ecx, 2
call fcn.00405824
lea eax, [ebp - 0xdc]
call fcn.00404c40
lea eax, [ebp - 8]
mov edx, dword [0x4c5894]
mov ecx, 2
call fcn.00405824
ret