Function at 0x4531a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, eax
mov ecx, dword [edi]
test dword [ecx + 0xc], 0x4000000
movzx eax, byte [edi + 0x1ba]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], eax
je 0x4535f6
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 0xc], 0xfff0bdc0
cmp edx, eax
je 0x453204
mov esi, dword [ecx + 4]
mov dword [ebp - 0xc], eax
cmp esi, eax
jle 0x453204
mov eax, dword [ecx + 8]
add eax, 0xc
lea ebx, [ebx]
cmp dword [eax], edx
je 0x453202
mov ebx, dword [ebp - 0xc]
inc ebx
add eax, 0x10
mov dword [ebp - 0xc], ebx
cmp ebx, esi
jl 0x4531f0
xor eax, eax
mov edx, dword [ebp - 0xc]
mov esi, dword [ecx + 8]
add edx, edx
mov edx, dword [esi + edx*8]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 0x24]
mov dword [ebp - 8], ebx
cmp ebx, eax
je 0x453296
jmp 0x453229
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp byte [edi + 0x1ba], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
je 0x453251
mov eax, dword [ebp - 0x20]
mov edx, dword [ebx + 8]
push eax
push edx
push ecx
call fcn.00448e80
add esp, 0xc
jmp 0x4532fc
mov esi, dword [edi]
cmp byte [esi + 0x7c], 0
mov ebx, dword [ebx + 8]
jne 0x4532ad
lea eax, [edi + 8]
push eax
call fcn.0045b570
add esp, 4
test eax, eax
je 0x4532ad
inc dword [edi + 0x40]
mov ebx, dword [ebp - 8]
mov dword [edi + 4], eax
cmp dword [ebp - 0x24], 0
je 0x4535f6
mov ecx, dword [ebp - 4]
cmp byte [ecx + 0x1e], 0
jne 0x4535f6
mov ebx, dword [ebx + 4]
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x453221
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x28], ecx
mov eax, ecx
test ecx, ecx
jne 0x453420
jmp 0x453432
mov esi, dword [ebp - 0x20]
mov ecx, dword [edi]
push esi
push ebx
push ecx
call fcn.00448e80
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4532f9
push ebx
test esi, esi
je 0x4532df
push esi
push str.no_such_table
push str._s:__s._s
push edi
call fcn.00418ba0
add esp, 0x14
jmp 0x4532f2
push str.no_such_table
push str._s:__s
push edi
call fcn.00418ba0
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov byte [edi + 0x12], 1
mov ebx, dword [ebp - 8]
mov esi, eax
test esi, esi
je 0x453275
lea edx, [ebp - 0x14]
push edx
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
call fcn.00451d20
add esp, 0x10
test eax, eax
jne 0x453275
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45332c
mov dword [ebp - 0x10], eax
jmp 0x45333a
mov eax, dword [ebx + 0x24]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], ecx
mov eax, ecx
mov edx, dword [ebp - 8]
xor ebx, ebx
cmp dword [edx + 0x14], ebx
jle 0x4533a4
mov ecx, dword [eax + ebx*4]
mov edx, dword [ebp + 8]
cmp ecx, dword [edx + 4]
jne 0x453356
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10c], 0
je 0x45339b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x453371
mov edx, dword [eax + 8]
mov eax, dword [edx + ebx*4]
jmp 0x453374
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0xc]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8]
push edx
push eax
mov eax, dword [esi]
push eax
call fcn.004486a0
xor ecx, ecx
add esp, 0xc
cmp eax, 2
mov eax, dword [ebp - 0x10]
sete cl
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
inc ebx
cmp ebx, dword [edx + 0x14]
jl 0x453344
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov ebx, dword [ebp - 0xc]
push eax
push 0
push ecx
push ebx
mov eax, edi
call fcn.004488e0
mov eax, dword [ebp + 0xc]
inc dword [edi + 0x44]
add esp, 0x10
test eax, eax
je 0x4533e3
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x10]
push eax
push ecx
push edx
push esi
push ebx
push edi
call fcn.00451f50
add esp, 0x24
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x453408
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
push 1
push eax
mov eax, dword [ebp - 8]
push edx
push eax
push ecx
push esi
push ebx
push edi
call fcn.00451f50
add esp, 0x24
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
push edx
push eax
call fcn.004169e0
mov ebx, dword [ebp - 8]
add esp, 8
jmp 0x45328c
cmp byte [ecx], 0
je 0x45342b
inc eax
cmp byte [eax], 0
jne 0x453425
sub eax, ecx
and eax, 0x3fffffff
mov esi, dword [edx + 0x44]
add esi, 0x38
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
je 0x45347a
mov edx, eax
xor eax, eax
cmp edx, eax
jle 0x453471
lea esp, [esp]
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x4d5eb8]
lea ebx, [eax*8]
xor esi, ebx
dec edx
xor eax, esi
inc ecx
test edx, edx
jg 0x453450
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
xor edx, edx
div dword [esi]
mov eax, dword [ebp - 0x1c]
jmp 0x45347c
xor edx, edx
push eax
push ecx
mov eax, esi
call fcn.00419e30
add esp, 8
test eax, eax
je 0x4535f6
mov ebx, dword [eax + 8]
xor esi, esi
cmp ebx, esi
je 0x4535f6
lea ecx, [ecx]
cmp byte [ebx + 0x18], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
jne 0x4534c1
cmp dword [edi + 0x1a8], esi
jne 0x4534c1
cmp byte [edi + 0x158], 0
je 0x4535eb
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push ebx
push ecx
push edi
lea eax, [ebp - 0x14]
call fcn.00451d20
add esp, 0x10
test eax, eax
je 0x4534f5
cmp dword [ebp - 0x24], esi
je 0x4535f6
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1e], 0
jne 0x4535f6
jmp 0x4535eb
mov esi, dword [ebp - 4]
mov ecx, 0x40
call fcn.00416c30
mov esi, eax
test esi, esi
je 0x4535d9
push 0x40
push 0
push esi
call fcn.004a63e0
mov edx, dword [ebp - 4]
mov eax, 1
mov word [esi + 2], ax
movsx ecx, word [esi]
add esp, 0xc
push ecx
push eax
push edx
mov eax, esi
call fcn.0044c6e0
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0xc
cmp byte [eax + 0x1e], 0
jne 0x4535d0
movsx eax, word [esi]
lea ecx, [eax*8]
sub ecx, eax
mov dword [esi + ecx*8 - 0x2c], 0
mov dword [esi + ecx*8 - 0x30], 0
mov edx, dword [ebx]
lea eax, [esi + ecx*8 - 0x30]
mov dword [esi + 0x14], edx
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov eax, edx
mov ecx, 1
add word [eax + 0x20], cx
mov edx, dword [edi + 0x44]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], edx
add dword [edi + 0x44], ecx
test eax, eax
je 0x4535a5
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
push ecx
push edx
push esi
push edi
call fcn.004529c0
add esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4535c6
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
push 1
push eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
push ecx
push edx
push esi
push edi
call fcn.004529c0
add esp, 0x20
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], 0
push esi
call fcn.0044c930
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.004169e0
add esp, 8
xor esi, esi
mov ebx, dword [ebx + 0xc]
cmp ebx, esi
jne 0x4534a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret