Function at 0x456f20
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47abf8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
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.00404410
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp byte [0x4a4394], 0
mov dword [esp + 0x44], 0
jne 0x456f88
mov byte [0x4a4394], 1
push 0x17
push 0
add ebp, 0x14
push str.Msxml2.DOMDocument.4.0
mov ecx, ebp
call fcn.00456830
test eax, eax
jge 0x457245
push eax
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.4.0_hr__0x_x
push ecx
call fcn.00402e30
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.00456830
test eax, eax
jge 0x457245
push eax
lea edx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.5.0_hr__0x_x
push edx
call fcn.00402e30
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.00456830
mov ebx, eax
push ebx
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.6.0_hr__0x_x
push ecx
call fcn.00402e30
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
xor eax, eax
cmp ebx, eax
jge 0x457245
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.00406840
test eax, eax
jne 0x457055
xor ecx, ecx
jmp 0x45706f
mov ecx, eax
lea edi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x457060
sub ecx, edi
sar ecx, 1
mov edi, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.00402860
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push str.WM___lasterror_:__s
push eax
call fcn.00402e30
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
cmp ebx, 0x800401f0
jne 0x45727f
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x17
push 0
push str.Msxml2.DOMDocument.4.0
mov ecx, ebp
call fcn.00456830
test eax, eax
jge 0x457219
push eax
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.4.0_hr__0x_x
push ecx
call fcn.00402e30
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.00456830
test eax, eax
jge 0x457219
push eax
lea edx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.5.0_hr__0x_x
push edx
call fcn.00402e30
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.00456830
mov ebp, eax
push ebp
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.6.0_hr__0x_x
push ecx
call fcn.00402e30
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
test ebp, ebp
jge 0x457219
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.00406840
mov edi, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00403430
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push str.WM___lasterror_:__s
push eax
call fcn.00402e30
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 0x4571aa
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 0x4571bb
push eax
call esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
cmp eax, ebp
je 0x4571d4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4571df
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 0x457203
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 0x457236
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x457245
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 0x457269
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 0x45729c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4571df
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4571df