Function at 0x457390
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47a348
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [ebp + 0x24]
lea ecx, [ebp + 0x20]
push eax
mov dword [esp + 0x1c], ecx
call fcn.004043f0
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp byte [0x49f3fc], 0
mov dword [esp + 0x44], 0
jne 0x4573f8
mov byte [0x49f3fc], 1
push 0x17
push 0
add ebp, 0x14
push str.Msxml2.DOMDocument.4.0
mov ecx, ebp
call fcn.00456c40
test eax, eax
jge 0x4576b5
push eax
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.4.0_hr__0x_x
push ecx
call fcn.00402e10
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push edi
call esi
push 0x17
push 0
push str.Msxml2.DOMDocument.5.0
mov ecx, ebp
call fcn.00456c40
test eax, eax
jge 0x4576b5
push eax
lea edx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.5.0_hr__0x_x
push edx
call fcn.00402e10
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call esi
push 0x17
push 0
push str.Msxml2.DOMDocument.6.0
mov ecx, ebp
call fcn.00456c40
mov ebx, eax
push ebx
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.6.0_hr__0x_x
push ecx
call fcn.00402e10
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
xor eax, eax
cmp ebx, eax
jge 0x4576b5
mov dword [esp + 0x1c], vtable._com_error.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
call fcn.00406800
test eax, eax
jne 0x4574c5
xor ecx, ecx
jmp 0x4574df
mov ecx, eax
lea edi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4574d0
sub ecx, edi
sar ecx, 1
mov edi, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.00402840
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push str.WM___lasterror_:__s
push eax
call fcn.00402e10
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
cmp ebx, 0x800401f0
jne 0x4576ef
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x17
push 0
push str.Msxml2.DOMDocument.4.0
mov ecx, ebp
call fcn.00456c40
test eax, eax
jge 0x457689
push eax
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.4.0_hr__0x_x
push ecx
call fcn.00402e10
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
push 0x17
push 0
push str.Msxml2.DOMDocument.5.0
mov ecx, ebp
call fcn.00456c40
test eax, eax
jge 0x457689
push eax
lea edx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.5.0_hr__0x_x
push edx
call fcn.00402e10
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call esi
push 0x17
push 0
push str.Msxml2.DOMDocument.6.0
mov ecx, ebp
call fcn.00456c40
mov ebp, eax
push ebp
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.6.0_hr__0x_x
push ecx
call fcn.00402e10
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
test ebp, ebp
jge 0x457689
mov dword [esp + 0x30], ebp
xor ebp, ebp
mov ebx, vtable._com_error.0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 2
call fcn.00406800
mov edi, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00403410
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push str.WM___lasterror_:__s
push eax
call fcn.00402e10
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x44], 1
mov dword [esp + 0x2c], ebx
cmp eax, ebp
je 0x45761a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, ebp
je 0x45762b
push eax
call esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
cmp eax, ebp
je 0x457644
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x45764f
push eax
call esi
lea eax, [edi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x24]
mov byte [esp + 0x44], 0
mov dword [esp + 0x1c], vtable._com_error.0
test eax, eax
je 0x4576a6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4576b5
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [edi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4576d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x24]
mov byte [esp + 0x44], 0
mov dword [esp + 0x1c], vtable._com_error.0
test eax, eax
je 0x45770c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45764f
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x45764f