Function at 0x466e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570270
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0x5c0c70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xf0], ecx
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x10], 0
jne 0x466e78
xor eax, eax
jmp 0x467482
mov ecx, dword [ebp - 0xf0]
call fcn.0041cb20
push eax
call dword [0x5772fc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x466eb2
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0xf0]
call fcn.0041cb20
push eax
call dword [0x57725c]
lea ecx, [ebp - 0x34]
call fcn.004524b0
push ecx
mov ecx, esp
mov eax, dword [ebp - 0xf0]
push eax
call fcn.0041c880
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00452520
lea ecx, [ebp - 0x54]
call fcn.0041cb20
push eax
call dword [0x5774d8]
test eax, eax
jne 0x466efc
push ecx
mov ecx, esp
lea edx, [ebp - 0x54]
push edx
call fcn.0041c880
lea ecx, [ebp - 0x34]
call fcn.004674a0
lea ecx, [ebp - 0x1c]
call fcn.004b2ce0
lea ecx, [ebp - 0x38]
call fcn.004b3150
lea ecx, [ebp - 0x18]
call fcn.004b2c90
push 0x17
push 0
push str.MSXML2.SAXXMLReader
lea ecx, [ebp - 0x1c]
call fcn.004b2d70
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x4670f4
lea ecx, [ebp - 0x1c]
call fcn.004b2d50
movzx eax, al
test eax, eax
je 0x4670f4
push 0x17
push 0
push str.MSXML2.MXXMLWriter
lea ecx, [ebp - 0x38]
call fcn.004b31e0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x4670f4
lea ecx, [ebp - 0x38]
call fcn.004b31c0
movzx ecx, al
test ecx, ecx
je 0x4670f4
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x18]
call fcn.004eaa90
lea ecx, [ebp - 0x18]
call fcn.004b2cd0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004b2d20
mov ecx, eax
call fcn.00467890
lea ecx, [ebp - 0x38]
call fcn.004b3190
mov dword [ebp - 0xf4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
lea ecx, [ebp - 0x38]
call fcn.004b3190
mov dword [ebp - 0xf8], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
call ecx
lea ecx, [ebp - 0x38]
call fcn.004b3190
mov dword [ebp - 0xfc], eax
push 0x586f88
lea ecx, [ebp - 0x9c]
call fcn.004662b0
mov ecx, eax
call fcn.00455330
push eax
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
call edx
lea ecx, [ebp - 0x9c]
call fcn.00455310
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.00467a10
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00467670
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004b2d20
mov ecx, eax
call fcn.004678d0
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0xb0]
call fcn.004663b0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x38]
call fcn.004b3190
mov ecx, eax
call fcn.00467950
push eax
lea ecx, [ebp - 0x5c]
call fcn.004676e0
lea ecx, [ebp - 0xc0]
call fcn.004663b0
push ecx
mov ecx, esp
lea edx, [ebp - 0x5c]
push edx
call fcn.00466790
mov ecx, dword [ebp - 0xf0]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.00466800
lea ecx, [ebp - 0x5c]
call fcn.00455310
lea ecx, [ebp - 0x58]
call fcn.00455310
jmp 0x4670f4
mov dword [ebp - 4], 0xffffffff
jmp 0x467130
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x14], 0
je 0x467307
mov ecx, 0xfeff
mov word [ebp - 0x68], cx
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0xf0]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.00467a10
mov ecx, eax
call fcn.00467590
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041c8a0
lea ecx, [ebp - 0xcc]
call fcn.00455310
lea ecx, [ebp - 0x7c]
call fcn.0041cc20
lea ecx, [eax + eax + 4]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x74]
push ecx
push 0
mov edx, dword [ebp - 0x70]
push edx
call fcn.0053ef70
add esp, 0xc
push 2
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.00543f47
add esp, 0x10
lea ecx, [ebp - 0x7c]
call fcn.0041cc20
shl eax, 1
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041cbc0
push eax
mov eax, dword [ebp - 0x74]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 2
push ecx
call fcn.00543f47
add esp, 0x10
mov dword [ebp - 0x64], 0
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0xf0]
add edx, 0x18
push edx
call fcn.00467b50
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], 0
push 0x586f80
mov ecx, dword [ebp - 0xf0]
call fcn.0041cb20
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00545253
add esp, 0xc
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x467282
cmp dword [ebp - 0x60], 0
je 0x467282
mov ecx, dword [ebp - 0x60]
push ecx
push 1
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0053f714
add esp, 0x10
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0053eef9
add esp, 4
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
push eax
call fcn.0053e96b
add esp, 4
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0053e96b
add esp, 4
mov ecx, dword [ebp - 0xf0]
call fcn.00465fd0
mov dword [ebp - 0xdc], 1
lea ecx, [ebp - 0x7c]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.004b2cb0
lea ecx, [ebp - 0x38]
call fcn.004b3170
lea ecx, [ebp - 0x1c]
call fcn.004b2d00
lea ecx, [ebp - 0x54]
call fcn.0040f740
lea ecx, [ebp - 0x34]
call fcn.004524d0
mov eax, dword [ebp - 0xdc]
jmp 0x467482
mov ecx, dword [ebp - 0xf0]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x90]
call fcn.00466360
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 8
call fcn.004b2ec0
mov ecx, eax
call fcn.00467ad0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jl 0x46734e
mov ecx, dword [ebp - 0xf0]
call fcn.00465fd0
xor ecx, ecx
cmp dword [ebp - 0x80], 0
setge cl
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x90]
call fcn.004663b0
lea ecx, [ebp - 0x18]
call fcn.004b2cb0
lea ecx, [ebp - 0x38]
call fcn.004b3170
lea ecx, [ebp - 0x1c]
call fcn.004b2d00
lea ecx, [ebp - 0x54]
call fcn.0040f740
lea ecx, [ebp - 0x34]
call fcn.004524d0
mov eax, dword [ebp - 0xe0]
jmp 0x467482
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret