Function at 0x4169a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x423eec]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x423ef0]
mov dword [ebp - 0xc4], eax
mov eax, dword [0x423ef4]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x423ef8]
mov dword [ebp - 0xbc], eax
mov eax, dword [0x423efc]
push ebx
mov dword [ebp - 0xd8], eax
mov eax, dword [0x423f00]
push esi
mov dword [ebp - 0xd4], eax
mov eax, dword [0x423f04]
push edi
mov dword [ebp - 0xd0], eax
mov eax, dword [0x423f08]
push 0
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
call dword [0x4250a4]
test eax, eax
js 0x416ea4
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
call dword [0x4252a8]
test eax, eax
jne 0x416b37
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x50]
push 0
push 0
push 0
push 0
push 2
push dword [eax + 0x1c]
call dword [0x4251b8]
test eax, eax
jne 0x416b2e
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp - 0x18]
call dword [0x4252e4]
test eax, eax
jne 0x416b13
push dword [ebp - 0xc]
call dword [0x4252e0]
lea edi, [eax*2 + 0xa]
push edi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
jne 0x416ac5
push 0x80
call dword [0x425428]
push edi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
je 0x416aa5
xor eax, eax
mov dword [ebp - 6], 0x5c005c
mov word [ebp - 2], ax
lea edi, [esi + 4]
lea eax, [ebp - 6]
push eax
push edi
call dword [0x425278]
push dword [ebp - 0xc]
push edi
call dword [0x425410]
mov edx, esi
call fcn.00419360
push dword [ebp - 0xc]
call dword [0x425264]
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp - 0x18]
call dword [0x4252e4]
test eax, eax
je 0x416a80
cmp eax, 0x103
je 0x416b25
cmp eax, 0x44d
je 0x416a67
push dword [ebp - 0x18]
call dword [0x4250c4]
push dword [ebp - 0x50]
call dword [0x425264]
mov esi, 0xe1
mov dword [ebp - 0x6e], 0xa500ad
mov dword [ebp - 0x6a], 0xb100a0
xor eax, eax
mov dword [ebp - 0x66], 0xce00db
mov dword [ebp - 0x62], 0x9300ce
mov dword [ebp - 0x5e], 0x8e008e
mov dword [ebp - 0x5a], 0xa50095
mov dword [ebp - 0x56], 0xa400b2
mov word [ebp - 0x52], si
xor word [ebp + eax*2 - 0x6e], si
inc eax
cmp eax, 0xf
jb 0x416b73
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc8]
push eax
push 1
push 0
push 0
lea eax, [ebp - 0x6e]
push eax
call dword [0x425268]
test eax, eax
js 0x416e76
lea eax, [ebp - 0xa8]
push eax
call dword [0x425174]
lea eax, [ebp - 0xb8]
push eax
call dword [0x425174]
mov dword [ebp - 0x98], 0x840085
xor eax, eax
mov dword [ebp - 0x94], 0x800087
mov dword [ebp - 0x90], 0x8d0094
mov dword [ebp - 0x8c], 0xaf0095
mov dword [ebp - 0x88], 0x8c0080
mov dword [ebp - 0x84], 0x8f0088
mov dword [ebp - 0x80], 0xa20086
mov dword [ebp - 0x7c], 0x8f008e
mov dword [ebp - 0x78], 0x840095
mov dword [ebp - 0x74], 0x950099
mov word [ebp - 0x70], si
lea esp, [esp]
xor word [ebp + eax*2 - 0x98], si
inc eax
cmp eax, 0x15
jb 0x416c20
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xa8]
push edx
lea edx, [ebp - 0x98]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x416e76
mov dword [ebp - 0x4a], 0xa500ad
mov edi, 0xaf
mov dword [ebp - 0x46], 0xb100a0
xor eax, eax
mov dword [ebp - 0x42], 0xce00db
mov dword [ebp - 0x3e], 0xa200ce
mov dword [ebp - 0x3a], 0xdc00af
mov dword [ebp - 0x36], 0x8e00a2
mov dword [ebp - 0x32], 0x91008c
mov dword [ebp - 0x2e], 0x950094
mov dword [ebp - 0x2a], 0x930084
mov dword [ebp - 0x26], 0xcd0092
mov word [ebp - 0x22], si
mov edi, edi
xor word [ebp + eax*2 - 0x4a], si
inc eax
cmp eax, 0x15
jb 0x416ca0
lea eax, [ebp - 0x4a]
push eax
lea eax, [ebp - 0x1d8]
push eax
call dword [0x425278]
push dword [ebp - 0xa0]
lea eax, [ebp - 0x1d8]
push eax
call dword [0x425410]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xd8]
push eax
push 1
push 0
push 0
lea eax, [ebp - 0x1d8]
push eax
call dword [0x425268]
test eax, eax
js 0x416e76
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call dword [0x425034]
test eax, eax
js 0x416e76
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x10], 0
push eax
call dword [0x425088]
lea eax, [ebp - 0xb8]
push eax
call dword [0x425088]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xa8]
push eax
push 1
push dword [ebp - 0x14]
call dword [0x425238]
test eax, eax
js 0x416e76
lea esp, [esp]
cmp dword [ebp - 0x10], 0
je 0x416e76
mov dword [ebp - 0x38], 0xaf0085
xor eax, eax
mov dword [ebp - 0x34], 0xa900b2
mov dword [ebp - 0x30], 0x92008e
mov dword [ebp - 0x2c], 0xaf0095
mov dword [ebp - 0x28], 0x8c0080
mov dword [ebp - 0x24], 0xe10084
xor word [ebp + eax*2 - 0x38], si
inc eax
cmp eax, 0xc
jb 0x416d86
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x416e37
push dword [ebp - 0xb0]
call dword [0x4252e0]
lea esi, [eax*2 + 0xa]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
jne 0x416e00
jmp 0x416de0
push 0x80
call dword [0x425428]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
je 0x416de0
xor eax, eax
mov dword [ebp - 6], 0x5c005c
mov word [ebp - 2], ax
lea esi, [edi + 4]
lea eax, [ebp - 6]
push eax
push esi
call dword [0x425278]
push dword [ebp - 0xb0]
push esi
call dword [0x425410]
mov edx, edi
call fcn.00419360
mov esi, 0xe1
lea edi, [esi - 0x32]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x10], 0
push eax
call dword [0x425088]
lea eax, [ebp - 0xb8]
push eax
call dword [0x425088]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xa8]
push eax
push 1
push dword [ebp - 0x14]
call dword [0x425238]
test eax, eax
jns 0x416d50
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x416e84
push eax
call dword [0x425194]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x416e91
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x416e9e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [0x4251c4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret