Function at 0x455da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
test dword [edx + 0x18], 0x80000
movzx eax, byte [ebx + 0x1b6]
mov dword [ebp - 8], edx
mov dword [ebp - 0x24], eax
je 0x45643a
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0x40]
mov eax, 0xfff0bdc0
mov dword [ebp - 0xc], eax
test esi, esi
je 0x455e00
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [edx + 0x14], eax
jle 0x455e00
mov ecx, dword [edx + 0x10]
add ecx, 0xc
lea ebx, [ebx]
cmp dword [ecx], esi
je 0x455dfd
inc eax
add ecx, 0x10
cmp eax, dword [edx + 0x14]
jl 0x455df0
mov dword [ebp - 0xc], eax
mov ecx, dword [edx + 0x10]
add eax, eax
mov esi, dword [ecx + eax*8]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], eax
test eax, eax
je 0x455fc3
jmp 0x455e23
mov esi, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x18], eax
je 0x455e67
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00401e20
add esp, 8
test eax, eax
je 0x455e67
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
push edx
push edi
mov edi, dword [ebp + 0x18]
call fcn.0040b3e0
add esp, 8
test eax, eax
je 0x455faf
mov esi, dword [ebp - 0x20]
cmp byte [ebx + 0x1b6], 0
mov eax, dword [ebp - 4]
je 0x455e8b
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 8]
push esi
push ecx
push edx
call fcn.0040a180
add esp, 0xc
mov edi, eax
jmp 0x456056
mov edi, dword [eax + 8]
mov eax, dword [ebx]
cmp byte [eax + 0x91], 0
jne 0x45600f
lea ecx, [ebx + 4]
push ecx
push eax
call fcn.00474510
add esp, 8
test eax, eax
je 0x45600f
inc dword [ebx + 0x40]
mov dword [ebx + 0xc], eax
xor edi, edi
cmp dword [ebp - 0x24], 0
je 0x456438
mov eax, dword [ebp - 8]
cmp byte [eax + 0x41], 0
jne 0x456438
test edi, edi
jne 0x455faf
mov eax, ebx
call fcn.0041ccd0
mov ecx, dword [ebp - 4]
mov edi, eax
mov eax, dword [ecx + 0x14]
mov edx, dword [edi + 0x20]
lea edx, [eax + edx + 1]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
test eax, eax
jle 0x455f63
add ecx, 0x24
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov edx, dword [ebp + 0x10]
lea esi, [ecx + edx + 1]
cmp dword [eax + 0x54], ebx
jg 0x455f27
push edi
call fcn.00412db0
add esp, 4
test eax, eax
jne 0x455f4d
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x4c
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
add dword [ebp - 0x1c], 8
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [edx + 0x14]
jl 0x455f03
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x18]
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [edx + 0x54], esi
jg 0x455f85
push edi
call fcn.00412db0
add esp, 4
test eax, eax
jne 0x455faf
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [ebp - 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test eax, eax
jne 0x455e20
mov ebx, dword [edi + 0x40]
mov esi, dword [ebx + 0x44]
mov edx, dword [edi]
mov dword [ebp - 0x28], edx
test esi, esi
je 0x4561f7
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x455ffc
mov edi, edi
movzx ecx, cl
movzx ecx, byte [ecx + 0x4e6d88]
lea edi, [eax*8]
xor ecx, edi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x455fe0
xor edx, edx
div dword [ebx + 0x38]
mov ebx, dword [esi + edx*8]
lea eax, [esi + edx*8]
mov esi, dword [eax + 4]
jmp 0x4561fd
mov edx, dword [ebx]
push esi
push edi
push edx
call fcn.0040a180
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x456053
push edi
test esi, esi
je 0x45603d
push esi
push str.no_such_table
push str._s:__s._s
call fcn.00424a70
add esp, 0x10
jmp 0x45604f
push str.no_such_table
push str._s:__s
call fcn.00424a70
add esp, 0xc
mov byte [ebx + 0x11], 1
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x455eba
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
lea eax, [ebp - 0x18]
call fcn.0042b100
add esp, 0x10
test eax, eax
jne 0x455eba
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x456087
mov dword [ebp - 0x10], eax
jmp 0x456093
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x456108
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
movsx edx, word [edx + 0x20]
cmp dword [eax + esi*4], edx
jne 0x4560b6
mov dword [eax + esi*4], 0xffffffff
mov edx, dword [ebp - 8]
cmp dword [edx + 0x11c], 0
je 0x4560ff
test ecx, ecx
je 0x4560cf
mov eax, dword [ecx + 4]
movsx eax, word [eax + esi*2]
jmp 0x4560d3
movsx eax, word [edi + 0x20]
mov edx, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edi]
push ecx
push eax
push edx
mov eax, ebx
call fcn.00428370
xor ecx, ecx
add esp, 0xc
cmp eax, 2
mov eax, dword [ebp - 0x10]
sete cl
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
inc esi
cmp esi, dword [edx + 0x14]
jl 0x4560a3
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ebp - 0xc]
push eax
push 0
push ecx
push edx
mov eax, ebx
call fcn.00415b70
mov eax, dword [ebp + 0x10]
inc dword [ebx + 0x44]
mov esi, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x45614a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xc]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x14]
push edx
push esi
push eax
push edi
push ecx
push ebx
call fcn.00445bd0
add esp, 0x24
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x45619d
mov eax, dword [ebx + 0x198]
test eax, eax
jne 0x45615d
mov eax, ebx
mov eax, dword [eax + 0x210]
test eax, eax
je 0x45617f
mov eax, dword [eax]
cmp eax, dword [esi + 0x1c]
jne 0x456174
cmp byte [esi + 0x19], 7
je 0x45619d
cmp eax, dword [esi + 0x20]
jne 0x45617f
cmp byte [esi + 0x1a], 7
je 0x45619d
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push edx
mov edx, dword [ebp - 0xc]
push 1
push ecx
mov ecx, dword [ebp - 0x14]
push eax
push esi
push ecx
push edi
push edx
push ebx
call fcn.00445bd0
add esp, 0x24
cmp dword [ebp - 0x18], 0
je 0x455faf
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x208], 0
mov eax, dword [ebp - 0x18]
je 0x4561c0
call fcn.00401af0
jmp 0x455faf
cmp eax, dword [ecx + 0x114]
jb 0x4561e9
cmp eax, dword [ecx + 0x118]
jae 0x4561e9
mov edx, dword [ecx + 0x110]
mov dword [eax], edx
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], eax
jmp 0x455faf
push eax
call fcn.00401a80
add esp, 4
jmp 0x455faf
mov esi, dword [ebx + 0x40]
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
je 0x456438
mov edi, dword [ebp - 0x28]
mov edx, dword [esi + 0xc]
push edi
push edx
dec ebx
call fcn.00401e20
add esp, 8
test eax, eax
je 0x456227
mov esi, dword [esi]
test ebx, ebx
jne 0x456208
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 8]
mov dword [ebp - 4], esi
test esi, esi
je 0x456438
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x456260
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0xc]
push ecx
push eax
mov eax, dword [ebp - 4]
push edx
call fcn.0040b430
add esp, 0xc
test eax, eax
je 0x456427
mov eax, dword [ebp - 4]
cmp byte [eax + 0x18], 0
jne 0x45628b
mov ecx, dword [ebp - 8]
test dword [ecx + 0x18], 0x1000000
jne 0x45628b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x198], 0
jne 0x45628b
cmp byte [eax + 0x14], 0
je 0x456427
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
call fcn.0042b100
add esp, 0x10
test eax, eax
je 0x4562c6
cmp dword [ebp - 0x24], 0
je 0x456438
mov eax, dword [ebp - 8]
cmp byte [eax + 0x41], 0
jne 0x456438
jmp 0x456427
mov esi, dword [ebp - 8]
push 0
push 0x58
call fcn.0040ef90
mov ebx, dword [ebp - 0x18]
mov edi, eax
add esp, 8
test edi, edi
je 0x4563e0
push 0x58
push 0
push edi
call fcn.004b4310
mov dword [edi + 4], 1
mov ecx, dword [edi]
push ecx
push 1
push esi
mov eax, edi
call fcn.00416990
add esp, 0x18
cmp byte [esi + 0x41], 0
mov edi, eax
je 0x456318
push edi
mov eax, esi
call fcn.0040aac0
jmp 0x4563dd
mov eax, dword [edi]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
lea edx, [eax + eax*4]
add edx, edx
lea eax, [edi + edx*8 - 0x48]
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
mov ecx, 1
add word [eax + 0x24], cx
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x14]
add dword [ebx + 0x44], ecx
cmp eax, edx
je 0x456373
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp + 0xc]
push ecx
push esi
push edx
push eax
push edi
push ebx
call fcn.004556d0
add esp, 0x20
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4563c7
xor ecx, ecx
cmp dword [ebp + 0x18], ecx
push 1
setne cl
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
movzx edx, byte [ecx + esi + 0x19]
mov ecx, dword [ebp - 0x1c]
push ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp + 0xc]
push edx
push edi
push ebx
call fcn.004556d0
add esp, 0x20
cmp byte [esi + 0x18], 0
jne 0x4563c7
mov eax, dword [ebp - 0x28]
cmp eax, 9
je 0x4563c7
cmp eax, 7
je 0x4563c7
mov eax, dword [ebx + 0x198]
test eax, eax
je 0x4563c3
mov ebx, eax
mov byte [ebx + 0x15], 1
mov eax, dword [ebp - 8]
push edi
mov dword [edi + 0x10], 0
call fcn.0040aac0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
add esp, 4
test ebx, ebx
je 0x456427
cmp dword [esi + 0x208], 0
je 0x4563f8
mov eax, ebx
mov ecx, esi
call fcn.00401af0
jmp 0x456427
cmp ebx, dword [esi + 0x114]
jb 0x45641e
cmp ebx, dword [esi + 0x118]
jae 0x45641e
mov eax, dword [esi + 0x110]
mov dword [ebx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ebx
jmp 0x456427
push ebx
call fcn.00401a80
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 4], eax
test eax, eax
jne 0x456235
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret