Function at 0x4511b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ebx, dword [edi]
test dword [ebx + 0xc], 0x4000000
movzx eax, byte [edi + 0x1ba]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
je 0x451666
xor esi, esi
cmp dword [edi + 0xc], esi
jne 0x4511f9
mov eax, ebx
call fcn.00431fa0
mov dword [edi + 0xc], eax
cmp eax, esi
je 0x4511f9
push 0x88
call fcn.00432100
add esp, 4
mov ecx, dword [esp + 0x3c]
mov ebp, dword [ecx + 0x44]
mov dword [esp + 0x18], 0xfff0bdc0
cmp ebp, esi
je 0x451231
mov ecx, dword [ebx + 4]
cmp ecx, esi
mov dword [esp + 0x18], esi
jle 0x451231
mov eax, dword [ebx + 8]
add eax, 0xc
cmp dword [eax], ebp
je 0x451231
mov edx, dword [esp + 0x18]
inc edx
add eax, 0x10
cmp edx, ecx
mov dword [esp + 0x18], edx
jl 0x45121d
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
shl edx, 4
mov ecx, dword [edx + eax]
mov edx, dword [esp + 0x3c]
mov ebp, dword [edx + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ebp
cmp ebp, esi
je 0x4512d7
jmp 0x451264
mov ebp, dword [esp + 0x14]
cmp byte [edi + 0x1ba], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
je 0x451290
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
push eax
push ecx
push ebx
call fcn.00447560
add esp, 0xc
jmp 0x451341
mov esi, dword [edi]
cmp byte [esi + 0x7c], 0
mov ebx, dword [ebp + 8]
jne 0x4512f0
lea edx, [edi + 8]
push edx
call fcn.00459460
add esp, 4
test eax, eax
je 0x4512f0
inc dword [edi + 0x40]
mov ebx, dword [esp + 0x10]
mov dword [edi + 4], eax
cmp dword [esp + 0x2c], 0
je 0x451666
cmp byte [ebx + 0x1e], 0
jne 0x451666
mov ebp, dword [ebp + 4]
xor esi, esi
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x451260
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx]
mov eax, ecx
cmp ecx, esi
jne 0x451477
mov dword [esp + 0x28], esi
jmp 0x451493
mov esi, dword [esp + 0x28]
mov eax, dword [edi]
push esi
push ebx
push eax
call fcn.00447560
add esp, 0xc
mov dword [esp + 0x30], eax
test eax, eax
jne 0x45133d
push ebx
test esi, esi
je 0x451323
push esi
push str.no_such_table
push str._s:__s._s
call fcn.0041a700
add esp, 0x10
jmp 0x451335
push str.no_such_table
push str._s:__s
call fcn.0041a700
add esp, 0xc
mov eax, dword [esp + 0x30]
mov byte [edi + 0x12], 1
mov ebx, dword [esp + 0x10]
mov esi, eax
test esi, esi
je 0x4512b5
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
push esi
push edi
call fcn.0044ffc0
add esp, 0x14
test eax, eax
jne 0x4512b5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x451374
mov ebp, eax
jmp 0x45137f
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
lea ebp, [esp + 0x34]
mov ecx, dword [esp + 0x14]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jle 0x4513f1
mov edx, dword [ebp + ebx*4]
mov eax, dword [esp + 0x3c]
cmp edx, dword [eax + 4]
jne 0x45139f
mov dword [ebp + ebx*4], 0xffffffff
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x10c], 0
je 0x4513e7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4513bc
mov edx, dword [eax + 8]
mov eax, dword [edx + ebx*4]
jmp 0x4513bf
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8]
push edx
push eax
mov eax, dword [esi]
push eax
mov eax, edi
call fcn.00446d50
xor ecx, ecx
add esp, 0xc
cmp eax, 2
sete cl
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
inc ebx
cmp ebx, dword [edx + 0x14]
jl 0x45138a
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov ebx, dword [esp + 0x18]
push eax
push 0
push ecx
push ebx
mov eax, edi
call fcn.00446f80
mov eax, dword [esp + 0x50]
inc dword [edi + 0x44]
add esp, 0x10
test eax, eax
je 0x451432
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x20]
push ebp
push eax
push ecx
push esi
push ebx
push edi
call fcn.00450220
add esp, 0x24
mov eax, dword [esp + 0x44]
test eax, eax
je 0x451458
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push ebp
push eax
push ecx
push esi
push ebx
push edi
call fcn.00450220
add esp, 0x24
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.004186a0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x4512ca
cmp byte [ecx], 0
je 0x451486
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x451480
sub eax, ecx
and eax, 0x3fffffff
mov esi, eax
mov dword [esp + 0x28], eax
mov ebp, dword [edx + 0x44]
add ebp, 0x34
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x34], ebp
je 0x4514da
xor eax, eax
mov edx, ecx
test esi, esi
jle 0x4514d3
jmp 0x4514b0
movzx ebx, byte [edx]
movzx ebx, byte [ebx + 0x50a200]
lea ebp, [eax*8]
xor ebx, ebp
dec esi
xor eax, ebx
inc edx
test esi, esi
jg 0x4514b0
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
xor edx, edx
div dword [ebp]
jmp 0x4514dc
xor edx, edx
push ecx
mov ebx, esi
mov ecx, ebp
call fcn.0041b6a0
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x451666
mov ebx, dword [eax + 8]
cmp ebx, ebp
je 0x451666
mov edi, edi
cmp byte [ebx + 0x18], 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
jne 0x451523
cmp dword [edi + 0x1a8], ebp
jne 0x451523
cmp byte [edi + 0x158], 0
je 0x45165b
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push eax
push edi
call fcn.0044ffc0
add esp, 0x14
test eax, eax
je 0x45155d
cmp dword [esp + 0x2c], ebp
je 0x451666
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x1e], 0
jne 0x451666
jmp 0x45165b
mov esi, dword [esp + 0x10]
mov ecx, 0x40
call fcn.004188e0
mov esi, eax
cmp esi, ebp
je 0x451647
push 0x40
push ebp
push esi
call fcn.004bfe20
mov ecx, dword [esp + 0x1c]
mov ebp, 1
mov edx, ebp
mov word [esi + 2], dx
movsx eax, word [esi]
add esp, 0xc
push eax
push ebp
push ecx
mov eax, esi
call fcn.0044b0a0
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp byte [eax + 0x1e], 0
je 0x4515b4
push esi
mov esi, eax
jmp 0x45163f
movsx eax, word [esi]
lea edx, [eax*8]
sub edx, eax
mov dword [esi + edx*8 - 0x2c], 0
mov dword [esi + edx*8 - 0x30], 0
lea eax, [esi + edx*8 - 0x30]
mov eax, dword [ebx]
mov dword [esi + 0x14], eax
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov dword [esi + 0xc], edx
add word [eax + 0x20], bp
mov eax, dword [edi + 0x44]
mov dword [esi + 0x20], eax
add dword [edi + 0x44], ebp
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
test eax, eax
je 0x451612
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push eax
push ecx
push ebx
push ebp
push edx
push esi
push edi
call fcn.004509e0
add esp, 0x20
mov eax, dword [esp + 0x40]
test eax, eax
je 0x451633
mov ecx, dword [esp + 0x3c]
push 1
push eax
mov eax, dword [esp + 0x24]
push eax
push ebx
push ebp
push ecx
push esi
push edi
call fcn.004509e0
add esp, 0x20
mov dword [esi + 0xc], 0
push esi
mov esi, dword [esp + 0x14]
call fcn.0044b2e0
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.004186a0
add esp, 8
xor ebp, ebp
mov ebx, dword [ebx + 0xc]
cmp ebx, ebp
jne 0x451500
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret