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

Disassembly:
push 0xffffffffffffffff
push 0x574e88
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xec]
cmp eax, ebp
mov dword [esp + 0xdc], ebp
je 0x4c10bc
cmp dword [eax + 0x10], ebp
je 0x4c10bc
cmp dword [esp + 0x12c], ebp
je 0x4c10bc
cmp dword [esp + 0x130], ebp
je 0x4c10bc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xec]
call fcn.004b6ad0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xec]
mov byte [esp + 0xe0], 1
call fcn.004b6b00
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 2
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x17], al
mov byte [esp + 0xdc], 1
call fcn.004b6100
cmp byte [esp + 0x17], bl
je 0x4c10ab
mov edi, dword [esp + 0x128]
cmp edi, ebp
je 0x4c0e3b
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
lea ecx, [esp + 0x1c]
call eax
mov ecx, eax
call fcn.004b5470
mov esi, eax
mov ecx, esi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebp
mov byte [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x4c0de8
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x58]
call fcn.004066b0
or ebx, 2
mov eax, edi
mov byte [esp + 0xdc], 3
mov dword [esp + 0x18], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c0e12
mov ecx, dword [esp + 0x64]
sub eax, esi
push eax
push edi
push ecx
push ebp
lea ecx, [esp + 0x60]
call fcn.004b6450
test eax, eax
sete al
test al, al
je 0x4c0f05
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
lea ecx, [esp + 0x1c]
call eax
mov esi, dword [esp + 0x12c]
push esi
mov ecx, eax
call fcn.004b55e0
cmp eax, 0xffffffff
jle 0x4c0f05
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
push esi
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x24]
call eax
mov ecx, eax
call fcn.004b60b0
lea ecx, [esp + 0x70]
push ecx
or ebx, 4
mov ecx, eax
mov dword [esp + 0xe0], 4
mov dword [esp + 0x1c], ebx
call fcn.004b7960
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x78]
or ebx, 8
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0xe8], 5
mov dword [esp + 0x24], ebx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.00406510
mov eax, dword [esp + 0x130]
mov esi, 0x10
push eax
lea ecx, [esp + 0x38]
or ebx, esi
push ecx
mov dword [esp + 0xe4], 6
mov dword [esp + 0x20], ebx
call fcn.004b6880
add esp, 8
test al, al
je 0x4c0f0a
mov byte [esp + 0x17], 1
jmp 0x4c0f0f
mov esi, 0x10
mov byte [esp + 0x17], 0
test bl, 0x10
je 0x4c0f3f
and ebx, 0xffffffef
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x18], ebx
jb 0x4c0f2e
mov edx, dword [esp + 0x38]
push edx
call fcn.0050fd2d
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebp
mov byte [esp + 0x38], 0
test bl, 8
je 0x4c0f78
and ebx, 0xfffffff7
cmp dword [esp + 0x88], esi
mov dword [esp + 0x18], ebx
jb 0x4c0f61
mov eax, dword [esp + 0x74]
push eax
call fcn.0050fd2d
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
test bl, 4
je 0x4c0f8f
and ebx, 0xfffffffb
mov dword [esp + 0x18], ebx
mov dword [esp + 0x8c], vtable.pug::xml_attribute.0
test bl, 2
mov dword [esp + 0xdc], 1
je 0x4c0fb9
and ebx, 0xfffffffd
cmp dword [esp + 0x68], esi
mov dword [esp + 0x18], ebx
jb 0x4c0fb9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0050fd2d
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x4c10fc
mov esi, dword [esp + 0x134]
cmp esi, ebp
jbe 0x4c1057
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
lea ecx, [esp + 0x1c]
call eax
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x4c1057
cmp dword [eax + 0x10], ebp
je 0x4c1057
cmp dword [eax + 0x20], ebp
jbe 0x4c1057
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x1c]
add esi, 0xffffffff
push esi
push ecx
push edx
mov edx, dword [eax + 0x38]
push edi
lea ecx, [esp + 0x2c]
call edx
sub esp, 0x40
mov ecx, esp
mov dword [ecx], vtable.pug::xml_node.0
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xbc], esp
push ecx
call fcn.004c0ce0
add esp, 0x54
mov eax, dword [esp + 0x98]
cmp eax, ebp
je 0x4c104f
cmp dword [eax + 0x10], ebp
jne 0x4c112f
mov byte [esp + 0xdc], 1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x30]
lea ecx, [esp + 0x1c]
call eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xec]
call fcn.004b6b00
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 2
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x17], al
mov byte [esp + 0xdc], 1
call fcn.004b6100
cmp byte [esp + 0x17], 0
jne 0x4c0db4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 0
call fcn.004b6100
mov esi, dword [esp + 0xe4]
push 0x38
push ebp
lea edi, [esi + 8]
push edi
mov dword [esi], vtable.pug::xml_node.0
call fcn.00530d30
mov dword [esi + 4], edi
mov dword [edi], edi
mov dword [esi + 0x18], ebp
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x38]
lea ecx, [esp + 0x1c]
call eax
mov esi, dword [esp + 0xe4]
mov dword [esi], vtable.pug::xml_node.0
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 0
call fcn.004b6100
jmp 0x4c10e0
mov esi, dword [esp + 0xe4]
lea ecx, [esp + 0x1c]
mov dword [esi], vtable.pug::xml_node.0
mov dword [esi + 4], eax
mov dword [esp + 0x94], vtable.pug::xml_node.0
mov byte [esp + 0xdc], 0
call fcn.004b6100
jmp 0x4c10e0