Function at 0x4c61c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55cb90
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
cmp byte [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ebx
je 0x4c623f
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
test al, al
je 0x4c621a
cmp dword [ebx + 4], 0
je 0x4c623f
push str.XML_not_valid
push esi
call fcn.004c81e0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004c6c30
mov ecx, esi
call fcn.004af210
jmp 0x4c672b
mov ecx, dword [ebx + 0x78]
test ecx, ecx
lea eax, [ebx + 0x74]
mov dword [esp + 0x1c], eax
jne 0x4c6251
xor eax, eax
jmp 0x4c6259
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
test eax, eax
mov al, byte [ebp + 0x14]
setne byte [esp + 0x13]
cmp dword [ebx + 0x68], 0
setne byte [esp + 0x12]
neg al
sbb eax, eax
and eax, dword [sym.RtHDVCpl.exe_unsigned_long_int_wvXML::CXMLElement::level]
mov edi, eax
jbe 0x4c628e
lea ebx, [ebx]
push esi
call fcn.004c8050
add esp, 4
sub edi, 1
jne 0x4c6280
push 0x584da8
lea edi, [ebx + 8]
push esi
mov dword [esp + 0x28], edi
call fcn.004c81e0
mov edx, eax
add esp, 8
mov eax, edi
call fcn.004c83a0
mov edi, dword [ebx + 0x8c]
add ebx, 0x88
cmp edi, dword [ebx + 8]
jbe 0x4c62c2
call fcn.0052a951
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x18], eax
jbe 0x4c62d3
call fcn.0052a951
cmp ebx, ebx
je 0x4c62dc
call fcn.0052a951
cmp edi, dword [esp + 0x18]
je 0x4c63d7
cmp edi, dword [ebx + 8]
jb 0x4c62f0
call fcn.0052a951
mov ecx, dword [edi + 0x54]
mov byte [ecx], 0
lea ecx, [edi + 0x58]
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x18], edx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4c6317
sub eax, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0049cf80
mov dword [esp + 0x50], 0
lea eax, [esp + 0x24]
call fcn.004c60c0
cmp edi, dword [ebx + 8]
jb 0x4c634a
call fcn.0052a951
push 0x584dac
push ecx
lea eax, [esp + 0x2c]
push eax
push ecx
push 0x584db0
push ecx
push 0x5839cc
push esi
call fcn.004c81e0
mov edx, eax
add esp, 8
mov eax, edi
call fcn.004c83a0
add esp, 4
push eax
call fcn.004c81e0
add esp, 0xc
push eax
call fcn.004c83c0
add esp, 0xc
push eax
call fcn.004c81e0
add esp, 8
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x4c63ad
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0050364e
add esp, 4
cmp edi, dword [ebx + 8]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x4c63cc
call fcn.0052a951
add edi, 0xd8
jmp 0x4c62c2
cmp byte [esp + 0x13], 0
jne 0x4c640a
cmp byte [esp + 0x12], 0
jne 0x4c640a
push 0x584db4
push esi
call fcn.004c81e0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004c6c30
mov ecx, esi
call fcn.004af210
jmp 0x4c672b
push 0x584db8
push esi
call fcn.004c81e0
add esp, 8
cmp byte [esp + 0x13], 0
jne 0x4c6436
cmp byte [esp + 0x12], 0
je 0x4c66ae
mov ebx, dword [esp + 0x14]
cmp byte [ebx + 0x70], 0
je 0x4c6490
jmp 0x4c643a
mov ebx, dword [esp + 0x14]
push 0xa
mov ecx, esi
call fcn.004c6c30
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x4c6468
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4c6468
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4c6489
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x4c6481
or eax, 4
push 0
push eax
call fcn.004ad9b0
add dword [sym.RtHDVCpl.exe_unsigned_long_int_wvXML::CXMLElement::level], 1
cmp byte [esp + 0x12], 0
je 0x4c65ee
cmp byte [ebx + 0x70], 0
je 0x4c6551
mov ebx, dword [ebp + 0x14]
mov dl, bl
neg dl
sbb edx, edx
and edx, dword [sym.RtHDVCpl.exe_unsigned_long_int_wvXML::CXMLElement::level]
mov edi, edx
jbe 0x4c64c6
push esi
call fcn.004c8050
add esp, 4
sub edi, 1
jne 0x4c64b8
push str.___CDATA_
push esi
call fcn.004c81e0
add esp, 8
push 0xa
mov ecx, esi
call fcn.004c6c30
mov ecx, esi
call fcn.004af210
mov al, bl
neg al
sbb eax, eax
and eax, dword [sym.RtHDVCpl.exe_unsigned_long_int_wvXML::CXMLElement::level]
mov edi, eax
jbe 0x4c6502
push esi
call fcn.004c8050
add esp, 4
sub edi, 1
jne 0x4c64f4
mov ecx, dword [esp + 0x14]
add ecx, 0x54
push ecx
push esi
call fcn.004c83c0
add esp, 8
push 0xa
mov ecx, esi
call fcn.004c6c30
mov ecx, esi
call fcn.004af210
mov dl, bl
neg dl
sbb edx, edx
and edx, dword [sym.RtHDVCpl.exe_unsigned_long_int_wvXML::CXMLElement::level]
mov edi, edx
jbe 0x4c6541
push esi
call fcn.004c8050
add esp, 4
sub edi, 1
jne 0x4c6533
push 0x584dc8
push esi
call fcn.004c81e0
add esp, 8
jmp 0x4c65c7
push 0xffffffffffffffff
lea eax, [ebx + 0x54]
push 0
mov edi, 0xf
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.0049cd60
mov dword [esp + 0x50], 1
lea eax, [esp + 0x24]
call fcn.004c60c0
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004c83c0
add esp, 8
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x4c65b3
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0050364e
add esp, 4
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
cmp byte [esp + 0x13], 0
jne 0x4c65dc
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x70], 0
je 0x4c666e
push 0xa
mov ecx, esi
call fcn.004c6c30
mov ecx, esi
call fcn.004af210
jmp 0x4c65f1
mov ebx, dword [ebp + 0x14]
cmp byte [esp + 0x13], 0
je 0x4c666e
mov ebx, dword [esp + 0x1c]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x4c6610
call fcn.0052a951
lea esp, [esp]
mov eax, ebx
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
mov dword [esp + 0x18], ecx
jbe 0x4c6625
call fcn.0052a951
mov eax, ebx
test ebx, ebx
je 0x4c662d
cmp ebx, eax
je 0x4c6632
call fcn.0052a951
cmp edi, dword [esp + 0x18]
je 0x4c6681
test ebx, ebx
jne 0x4c6641
call fcn.0052a951
cmp edi, dword [ebx + 8]
jb 0x4c664b
call fcn.0052a951
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [edi]
push eax
push ecx
push edx
push esi
call fcn.004c61c0
add esp, 0x10
cmp edi, dword [ebx + 8]
jb 0x4c6669
call fcn.0052a951
add edi, 4
jmp 0x4c6610
cmp byte [esp + 0x12], 0
je 0x4c66ae
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x70], 0
je 0x4c66ae
jmp 0x4c6684
mov ebx, dword [ebp + 0x14]
mov eax, dword [sym.RtHDVCpl.exe_unsigned_long_int_wvXML::CXMLElement::level]
sub eax, 1
neg bl
mov dword [sym.RtHDVCpl.exe_unsigned_long_int_wvXML::CXMLElement::level], eax
sbb ebx, ebx
and ebx, eax
jbe 0x4c66ae
lea esp, [esp]
push esi
call fcn.004c8050
add esp, 4
sub ebx, 1
jne 0x4c66a0
push 0x584db8
push ecx
push 0x584dcc
push esi
call fcn.004c81e0
mov edx, eax
mov eax, dword [esp + 0x30]
add esp, 8
call fcn.004c83a0
add esp, 4
push eax
call fcn.004c81e0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004c6c30
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x4c670a
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4c670a
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4c672b
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x4c6723
or eax, 4
push 0
push eax
call fcn.004ad9b0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0052944d
mov esp, ebp
pop ebp
ret