Function at 0x48de00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor ecx, ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xec]
mov ebx, dword [eax + 0x125c28]
test ebx, ebx
jle 0x48e064
mov edi, dword [edi + 0xa8]
push esi
xor esi, esi
mov dword [ebp - 8], 1
mov edx, dword [esi + edi]
test edx, edx
je 0x48de4f
lea eax, [edi + 0x70]
add eax, esi
nop dword [eax]
cmp byte [eax], 0
lea eax, [eax + 0x70]
cmove ecx, dword [ebp - 8]
sub edx, 1
jne 0x48de40
add esi, 0x113a08
sub ebx, 1
jne 0x48de31
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x48e063
mov ecx, dword [edi + 0x88]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48de70
sub ecx, edx
lea eax, [ecx + 0x1e]
push eax
call fcn.004f6757
push dword [edi + 0xb8]
mov esi, eax
push dword [edi + 0x88]
mov dword [ebp - 0x10], esi
push str._s__i.xml.part
push esi
call fcn.004071a0
push 0x5231b8
push esi
call fcn.004f6bd7
mov esi, eax
push str.__xml_version_1.0__encoding_UTF_8____n__DOCTYPE_tv_SYSTEM__xmltv.dtd___n_n_tv__n
push esi
mov dword [ebp - 0xc], esi
call fcn.00402d30
mov ecx, dword [edi + 0xec]
add esp, 0x24
mov dword [ebp + 8], 0
cmp dword [ecx + 0x125c28], 0
jle 0x48df33
xor ebx, ebx
nop dword [eax]
nop dword [eax + eax]
push dword [ebx + ecx + 0x10002c]
push str.___channel_id__i___n
push esi
call fcn.00402d30
mov eax, dword [edi + 0xec]
push dword [ebx + eax + 0x10002c]
push str._____display_name__i__display_name__n
push esi
call fcn.00402d30
push str.____channel__n
push esi
call fcn.00402d30
mov eax, dword [ebp + 8]
lea ebx, [ebx + 0x4b8]
mov ecx, dword [edi + 0xec]
inc eax
add esp, 0x20
mov dword [ebp + 8], eax
cmp eax, dword [ecx + 0x125c28]
jl 0x48dee0
mov eax, dword [edi + 0xec]
mov dword [ebp + 8], 0
cmp dword [eax + 0x125c28], 0
jle 0x48dfe2
xor edx, edx
xor ecx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
nop word [eax + eax]
mov eax, dword [edi + 0xa8]
xor ebx, ebx
add eax, ecx
cmp dword [eax], ebx
jbe 0x48dfb8
xor esi, esi
cmp byte [eax + esi + 0x70], 0
jne 0x48dfa8
push dword [ebp - 0xc]
mov byte [eax + esi + 0x70], 1
mov eax, dword [edi + 0xec]
push dword [edx + eax + 0x10002c]
mov eax, dword [edi + 0xa8]
add eax, 8
add eax, ecx
add eax, esi
push eax
call fcn.0048e1d0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0xa8]
inc ebx
add eax, ecx
add esi, 0x70
cmp ebx, dword [eax]
jb 0x48df70
mov ebx, dword [ebp + 8]
add ecx, 0x113a08
mov eax, dword [edi + 0xec]
inc ebx
add edx, 0x4b8
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
cmp ebx, dword [eax + 0x125c28]
jl 0x48df60
mov esi, dword [ebp - 0xc]
push str.__tv_
push esi
call fcn.00402d30
push esi
call fcn.004f67e3
mov ebx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48e000
sub ecx, edx
lea eax, [ecx + 0x1e]
push eax
call fcn.004f6757
mov esi, eax
add esp, 4
mov eax, ebx
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48e020
sub eax, edx
add eax, 0xfffffffb
push eax
push ebx
push esi
call fcn.004f1320
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48e040
sub ecx, edx
push esi
push ebx
mov byte [ecx + esi - 5], al
call fcn.0050254d
push ebx
call fcn.004f6752
push esi
call fcn.004f6752
add esp, 0x10
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret