Function at 0x4e3ac4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff18
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e4382
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3e0], 0
je 0x4e3b7b
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, 0x5c
mov edx, dword [ebx + 0x3e4]
call fcn.004035fc
lea edx, [ebp - 0xd8]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xd8]
call fcn.00405f30
mov edi, eax
dec edi
test edi, edi
jl 0x4e3b7b
inc edi
xor esi, esi
lea edx, [ebp - 0xdc]
mov eax, dword [ebx + 0x3dc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax + esi]
mov edx, dword [ebp - 4]
xor byte [edx + esi], al
inc esi
dec edi
jne 0x4e3b56
mov eax, dword [ebx + 4]
cmp eax, 0x7109
jg 0x4e3bbc
je 0x4e3d9e
add eax, 0xffff8eff
cmp eax, 6
ja case.default.0x4e3bca
jmp dword [eax*4 + 0x4e3ba0]
add eax, 0xffff8cff
cmp eax, 6
ja case.default.0x4e3bca
jmp dword [eax*4 + 0x4e3bd1]
lea edx, [ebp - 0x14]
lea eax, [ebx + 8]
call 0x4c2e14
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.004c2c34
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.004be428
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.004da890
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004dabd8
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.004db4bc
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004dbcec
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.004da734
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.004c2c34
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.004030c8
lea eax, [ebx + 0x44]
call fcn.004c2b40
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x44]
mov ecx, dword [ebx + 0x3e4]
call fcn.004c2b84
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4e3e45
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x44]
xchg ecx, eax
call fcn.004c2b84
lea edx, [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.004c2c34
lea eax, [ebx + 0x3d8]
mov edx, 0x10
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, 0x10
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.004be428
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.004030c8
lea eax, [ebx + 0xa0]
call fcn.004be328
mov edx, dword [ebp - 4]
lea eax, [ebx + 0xa0]
mov ecx, dword [ebx + 0x3e4]
call fcn.004be384
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4e3efb
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0xa0]
xchg ecx, eax
call fcn.004be384
lea edx, [ebp - 0x28]
lea eax, [ebx + 0xa0]
call fcn.004be428
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.004da890
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.004030c8
lea eax, [ebx + 0x240]
call fcn.004da7f8
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004da858
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4e3fb7
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x240]
xchg ecx, eax
call fcn.004da858
lea edx, [ebp - 0x44]
lea eax, [ebx + 0x240]
call fcn.004da890
lea eax, [ebx + 0x3d8]
mov edx, 0x1c
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 0x1c
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004dabd8
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.004030c8
lea eax, [ebx + 0x240]
call fcn.004da8b4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x240]
mov ecx, dword [ebx + 0x3e4]
call fcn.004dab10
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4e4073
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x240]
xchg ecx, eax
call fcn.004dab10
lea edx, [ebp - 0x64]
lea eax, [ebx + 0x240]
call fcn.004dabd8
lea eax, [ebx + 0x3d8]
mov edx, 0x20
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x64]
mov ecx, 0x20
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.004db4bc
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.004030c8
lea eax, [ebx + 0x2ac]
call fcn.004dae18
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004db3d4
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4e4135
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x2ac]
xchg ecx, eax
call fcn.004db3d4
lea edx, [ebp - 0xd4]
lea eax, [ebx + 0x2ac]
call fcn.004db4bc
lea eax, [ebx + 0x3d8]
mov edx, 0x40
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x40
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004dbcec
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.004030c8
lea eax, [ebx + 0x2ac]
call fcn.004dbbe4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x2ac]
mov ecx, dword [ebx + 0x3e4]
call fcn.004dbcb0
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4e41fd
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x2ac]
xchg ecx, eax
call fcn.004dbcb0
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x2ac]
call fcn.004dbcec
lea eax, [ebx + 0x3d8]
mov edx, 0x30
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x94]
mov ecx, 0x30
call fcn.004030c8
jmp 0x4e4345
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.004da734
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.004030c8
lea eax, [ebx + 0x378]
call fcn.004d9ff8
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x378]
mov ecx, dword [ebx + 0x3e4]
call fcn.004da684
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
mov eax, dword [ebx + 0x3d8]
test eax, eax
je 0x4e42bf
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebx + 0x378]
xchg ecx, eax
call fcn.004da684
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x378]
call fcn.004da734
lea eax, [ebx + 0x3d8]
mov edx, 0x14
call fcn.00405370
lea eax, [ebx + 0x3d8]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x28]
mov ecx, 0x14
call fcn.004030c8
jmp 0x4e4345
mov eax, dword [ebx + 4]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 0xe0], 0
lea eax, [ebp - 0xe4]
push eax
push 0
lea edx, [ebp - 0xe8]
mov eax, dword [0x5b6d58]
call fcn.00406db0
mov ecx, dword [ebp - 0xe8]
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 0x4e4389
lea eax, [ebp - 0xe8]
call fcn.00404c40
lea eax, [ebp - 0xdc]
mov edx, dword [0x4c5894]
mov ecx, 2
call fcn.00405824
lea eax, [ebp - 4]
mov edx, dword [0x4c5894]
call fcn.004061ec
ret