Function at 0x6673e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6df510
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov eax, dword [str.DownDatabase.Xml]
push eax
push 0x717168
mov ecx, dword [ebp - 0x94]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.0040b210
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0040b210
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00405410
lea ecx, [ebp - 0x3c]
call fcn.00405380
mov byte [ebp - 4], 3
push 0x717170
lea ecx, [ebp - 0x3c]
call fcn.0040bb70
lea eax, [ebp - 0x3c]
push eax
push 2
mov ecx, dword [ebp - 0x94]
call fcn.006676d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x6674c7
mov dword [ebp - 0x78], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405410
mov eax, dword [ebp - 0x78]
jmp 0x6676b4
lea ecx, [ebp - 0x3c]
push ecx
push 1
mov ecx, dword [ebp - 0x94]
call fcn.006676d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x66750b
mov dword [ebp - 0x7c], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405410
mov eax, dword [ebp - 0x7c]
jmp 0x6676b4
lea edx, [ebp - 0x3c]
push edx
push 4
mov ecx, dword [ebp - 0x94]
call fcn.006676d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x66754f
mov dword [ebp - 0x80], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405410
mov eax, dword [ebp - 0x80]
jmp 0x6676b4
push str.__DownloadFileDatabase_
lea ecx, [ebp - 0x3c]
call fcn.0040bb70
mov dword [ebp - 0x1c], 0
push 0x7171e8
lea ecx, [ebp - 0x58]
call fcn.00405490
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x6675b3
mov dword [ebp - 0x84], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405410
mov eax, dword [ebp - 0x84]
jmp 0x6676b4
mov byte [ebp - 0x14], 0xff
mov byte [ebp - 0x13], 0xfe
mov ecx, dword [ebp - 0x1c]
push ecx
push 2
push 1
lea edx, [ebp - 0x14]
push edx
call fcn.005ab8a9
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
je 0x667614
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005ab232
add esp, 4
mov dword [ebp - 0x88], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405410
mov eax, dword [ebp - 0x88]
jmp 0x6676b4
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004054a0
push eax
push 2
lea ecx, [ebp - 0x3c]
call fcn.00405490
push eax
call fcn.005ab8a9
add esp, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x3c]
call fcn.004054a0
cmp dword [ebp - 0x10], eax
je 0x66767d
mov edx, dword [ebp - 0x1c]
push edx
call fcn.005ab232
add esp, 4
mov dword [ebp - 0x8c], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405410
mov eax, dword [ebp - 0x8c]
jmp 0x6676b4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005ab232
add esp, 4
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00405410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405410
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret