Function at 0x48d380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi]
test dword [esi + 0xc], 0x4000000
movzx eax, byte [edi + 0x1ba]
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], eax
je 0x48d903
cmp dword [edi + 0xc], 0
jne 0x48d3c8
mov eax, esi
call fcn.0046c6d0
mov dword [edi + 0xc], eax
test eax, eax
je 0x48d3c8
push 0x84
call fcn.0046c8a0
add esp, 4
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x44]
mov eax, 0xfff0bdc0
mov dword [ebp - 0xc], eax
test edx, edx
je 0x48d400
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [esi + 4], eax
jle 0x48d400
mov ecx, dword [esi + 8]
add ecx, 0xc
lea ebx, [ebx]
cmp dword [ecx], edx
je 0x48d3fd
inc eax
add ecx, 0x10
cmp eax, dword [esi + 4]
jl 0x48d3f0
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 8]
add eax, eax
mov edx, dword [ecx + eax*8]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], eax
test eax, eax
je 0x48d49a
mov ebx, eax
jmp 0x48d423
mov ebx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
cmp byte [edi + 0x1ba], al
je 0x48d44f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 4]
push eax
push ecx
push edx
call fcn.00482dc0
add esp, 0xc
jmp 0x48d501
mov esi, dword [edi]
cmp byte [esi + 0x7c], 0
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
jne 0x48d4b2
lea ecx, [edi + 8]
push ecx
call fcn.00495510
add esp, 4
test eax, eax
je 0x48d4b2
inc dword [edi + 0x40]
mov dword [edi + 4], eax
cmp dword [ebp - 0x24], 0
je 0x48d903
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e], 0
jne 0x48d903
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
test eax, eax
jne 0x48d420
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x28], ecx
mov eax, ecx
test ecx, ecx
jne 0x48d657
mov dword [ebp - 0x14], ecx
jmp 0x48d670
mov esi, dword [ebp - 0x20]
mov edx, dword [edi]
push esi
push ebx
push edx
call fcn.00482dc0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x48d4fe
push ebx
test esi, esi
je 0x48d4e4
push esi
push str.no_such_table
push str._s:__s._s
push edi
call fcn.00459300
add esp, 0x14
jmp 0x48d4f7
push str.no_such_table
push str._s:__s
push edi
call fcn.00459300
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 0x48d473
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
call fcn.0048bea0
add esp, 0x10
test eax, eax
jne 0x48d473
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48d531
mov dword [ebp - 0x10], eax
jmp 0x48d53d
mov ecx, dword [ebx + 0x24]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x48d5b1
mov eax, dword [ebp - 0x10]
lea ebx, [ebx]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ebp + 8]
cmp ecx, dword [edx + 8]
jne 0x48d562
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xf8], 0
je 0x48d5a8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d57d
mov edx, dword [eax + 8]
mov eax, dword [edx + ebx*4]
jmp 0x48d580
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8]
push edx
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00482590
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 0x48d550
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x18]
mov ebx, dword [ebp - 0xc]
push eax
push 0
push ecx
push ebx
mov eax, edi
call fcn.004827d0
mov eax, dword [ebp + 0xc]
inc dword [edi + 0x44]
add esp, 0x10
test eax, eax
je 0x48d5f1
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.0048c130
add esp, 0x24
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48d616
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.0048c130
add esp, 0x24
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x48d649
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 0xf0]
jb 0x48d649
cmp ecx, dword [eax + 0xf4]
jae 0x48d649
mov edx, dword [eax + 0xec]
mov dword [ecx], edx
dec dword [eax + 0xe4]
mov dword [eax + 0xec], ecx
jmp 0x48d48a
push ecx
call fcn.004570d0
add esp, 4
jmp 0x48d48a
cmp byte [ecx], 0
je 0x48d666
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x48d660
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebp - 0x14], eax
mov esi, dword [ebx + 0x44]
add esi, 0x34
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x20], esi
je 0x48d6b7
mov edx, dword [ebp - 0x14]
xor eax, eax
cmp edx, eax
jle 0x48d6b1
jmp 0x48d690
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x526638]
lea ebx, [eax*8]
xor esi, ebx
dec edx
xor eax, esi
inc ecx
test edx, edx
jg 0x48d690
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
xor edx, edx
div dword [esi]
jmp 0x48d6b9
xor edx, edx
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov eax, esi
call fcn.0045a470
add esp, 8
test eax, eax
je 0x48d903
mov ebx, dword [eax + 8]
xor eax, eax
mov dword [ebp - 8], ebx
cmp ebx, eax
je 0x48d903
mov esi, dword [ebp - 4]
cmp byte [ebx + 0x18], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
jne 0x48d704
cmp dword [edi + 0x1a8], eax
jne 0x48d704
cmp byte [edi + 0x158], 0
je 0x48d8f3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push edx
push edi
lea eax, [ebp - 0xc]
call fcn.0048bea0
add esp, 0x10
test eax, eax
je 0x48d736
cmp dword [ebp - 0x24], 0
je 0x48d903
cmp byte [esi + 0x1e], 0
jne 0x48d903
jmp 0x48d8f3
cmp byte [esi + 0x1e], 0
mov eax, dword [ebp - 0xc]
jne 0x48d8c0
cmp byte [esi + 0xe2], 0
je 0x48d78a
mov eax, 0x40
cmp ax, word [esi + 0xe0]
ja 0x48d78a
mov eax, dword [esi + 0xec]
test eax, eax
je 0x48d78a
mov ecx, dword [eax]
inc dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
mov ecx, dword [esi + 0xe4]
cmp ecx, dword [esi + 0xe8]
jle 0x48d786
mov dword [esi + 0xe8], ecx
mov esi, eax
jmp 0x48d7e4
cmp dword [0x54ede0], 0
je 0x48d7c5
mov eax, dword [0x5554b8]
test eax, eax
je 0x48d7a6
push eax
call dword [0x54ee28]
add esp, 4
lea ebx, [ebp - 0x20]
mov eax, 0x40
call fcn.00456d20
mov eax, dword [0x5554b8]
test eax, eax
je 0x48d7d3
push eax
call dword [0x54ee30]
jmp 0x48d7d0
push 0x40
call dword [0x54edf8]
mov dword [ebp - 0x20], eax
add esp, 4
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x48d7e1
mov edx, dword [ebp - 4]
mov byte [edx + 0x1e], 1
mov ebx, dword [ebp - 8]
test esi, esi
je 0x48d8ba
push 0x40
push 0
push esi
call fcn.004da410
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.004869e0
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0xc
cmp byte [eax + 0x1e], 0
jne 0x48d8b1
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 + 4]
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 0x48d886
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
push ecx
push edx
push esi
push edi
call fcn.0048c9c0
add esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x48d8a7
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
push 1
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
push ecx
push edx
push esi
push edi
call fcn.0048c9c0
add esp, 0x20
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], 0
push esi
call fcn.00486c30
add esp, 4
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
test eax, eax
je 0x48d8ea
cmp eax, dword [esi + 0xf0]
jb 0x48d8ea
cmp eax, dword [esi + 0xf4]
jae 0x48d8ea
mov ecx, dword [esi + 0xec]
mov dword [eax], ecx
dec dword [esi + 0xe4]
mov dword [esi + 0xec], eax
jmp 0x48d8f3
push eax
call fcn.004570d0
add esp, 4
mov ebx, dword [ebx + 0xc]
xor eax, eax
mov dword [ebp - 8], ebx
cmp ebx, eax
jne 0x48d6e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret