Function at 0x47e2b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1503
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x58]
xor ebp, ebp
inc ecx
test eax, eax
mov dword [esi + 0x4c], ecx
jne 0x47e2f6
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push edi
mov edi, dword [esi + 0xf4]
test edi, edi
je 0x47e340
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x47e340
mov eax, dword [esi + 0xfc]
test eax, eax
jne 0x47e340
push 1
call fcn.00470ab0
mov ecx, dword [esi + 0xf8]
push 0
mov ebp, eax
call fcn.004908d0
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x47e340
push edi
lea ecx, [ebp + 0x14]
call fcn.004bd06e
mov dword [edi + 8], ebp
mov eax, dword [esi + 0x108]
test eax, eax
push ebx
jg 0x47e35c
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x47e491
test ebp, ebp
jne 0x47e390
push 0x4c
call fcn.004be8d8
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x30], ebp
je 0x47e384
push ebp
push eax
mov ecx, str.comments
call fcn.00490790
jmp 0x47e386
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov ebp, eax
push str.comment
mov edi, ebp
call fcn.00405470
mov edi, eax
mov eax, dword [esi + 0x108]
test eax, eax
jle 0x47e40f
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
mov eax, dword [esi + 0x108]
dec eax
push eax
lea ecx, [esp + 0x18]
push 0x4da2d4
push ecx
call fcn.004058b0
mov ebx, dword [esp + 0x20]
add esp, 0xc
push ebx
push edi
mov ecx, str.rating
call fcn.00405560
lea eax, [ebx - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e40f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x47e491
add eax, 0xfffffff0
push eax
call fcn.00403fa0
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x4e5ed8
mov ebx, 0x4db0f0
lea esi, [esp + 0x1c]
mov dword [esp + 0x38], 2
call fcn.00478de0
mov esi, dword [esp + 0x1c]
add esp, 8
add edi, 0x10
test esi, esi
jne 0x47e459
xor eax, eax
jmp 0x47e462
push esi
call fcn.004ac8fd
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00403ee0
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e48d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x58]
push 0x4ddf00
add eax, 0x54
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c280
push 0x4dc630
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 3
call fcn.0041c280
lea ecx, [esi + 0x5c]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x54], 4
call fcn.0041e120
push str..xml
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x60], 5
call fcn.0041c280
add esp, 0x30
mov byte [esp + 0x30], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e512
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x30], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e535
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
je 0x47e687
mov eax, dword [str.http:__www.w3.org_2001_XMLSchema_instance]
push eax
push ebp
mov ecx, 0x4de028
call fcn.00405560
mov edi, dword [esp + 0x14]
mov esi, dword [0x506600]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47e5cf
mov ebx, dword [esp + 0x10]
push 0
push ebx
call dword [0x5065f4]
push 2
push ebx
call dword [0x5066a0]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47e5cf
lea ecx, [esp + 0x14]
call fcn.00403b90
lea ecx, [esp + 0x10]
call fcn.00403b90
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push 1
push ebp
mov edi, 1
lea esi, [esp + 0x28]
call fcn.00490ba0
mov byte [esp + 0x30], 9
mov edx, dword [ebp]
push edi
mov ecx, ebp
call dword [edx]
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 0xc]
push 0
push 0
push 0
push 0
push eax
push esi
push 0
push 0xfde9
call dword [0x5066a4]
mov edi, eax
push edi
call fcn.004be903
add esp, 4
push 0
push 0
push edi
mov ebp, eax
mov eax, dword [esi - 0xc]
push ebp
push eax
push esi
push 0
push 0xfde9
call dword [0x5066a4]
push 0
lea eax, [esp + 0x28]
push eax
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call fcn.004be908
mov ecx, dword [esp + 0x3c]
add esp, 4
add ecx, 0x100
push ecx
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov byte [esp + 0x30], 7
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x47e6aa
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
jmp 0x47e6aa
mov eax, dword [esp + 0x14]
push eax
call dword [0x50660c]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x50669c]
xor edx, edx
add esi, 0x100
mov dword [esi], edx
mov dword [esi + 4], edx
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e6cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e6f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4