Function at 0x458f00
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47d0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
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.00404450
mov edx, dword [0x4a643c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a643c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp byte [0x4a63c4], 0
mov dword [esp + 0x44], 0
jne 0x458f68
mov byte [0x4a63c4], 1
push 0x17
push 0
add ebp, 0x14
push str.Msxml2.DOMDocument.4.0
mov ecx, ebp
call fcn.00458810
test eax, eax
jge 0x459225
push eax
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.4.0_hr__0x_x
push ecx
call fcn.00402e80
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.00458810
test eax, eax
jge 0x459225
push eax
lea edx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.5.0_hr__0x_x
push edx
call fcn.00402e80
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.00458810
mov ebx, eax
push ebx
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.6.0_hr__0x_x
push ecx
call fcn.00402e80
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
xor eax, eax
cmp ebx, eax
jge 0x459225
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.004069b0
test eax, eax
jne 0x459035
xor ecx, ecx
jmp 0x45904f
mov ecx, eax
lea edi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x459040
sub ecx, edi
sar ecx, 1
mov edi, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.004028b0
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push str.WM___lasterror_:__s
push eax
call fcn.00402e80
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
cmp ebx, 0x800401f0
jne 0x45925f
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x17
push 0
push str.Msxml2.DOMDocument.4.0
mov ecx, ebp
call fcn.00458810
test eax, eax
jge 0x4591f9
push eax
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.4.0_hr__0x_x
push ecx
call fcn.00402e80
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.00458810
test eax, eax
jge 0x4591f9
push eax
lea edx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.5.0_hr__0x_x
push edx
call fcn.00402e80
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.00458810
mov ebp, eax
push ebp
lea ecx, [esp + 0x18]
push str.WM___Msxml2.DOMDocument.6.0_hr__0x_x
push ecx
call fcn.00402e80
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call esi
test ebp, ebp
jge 0x4591f9
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.004069b0
mov edi, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00403480
mov edx, dword [edi]
push edx
lea eax, [esp + 0x18]
push str.WM___lasterror_:__s
push eax
call fcn.00402e80
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 0x45918a
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 0x45919b
push eax
call esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
cmp eax, ebp
je 0x4591b4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4591bf
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 0x4591e3
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 0x459216
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x459225
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 0x459249
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 0x45927c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4591bf
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4591bf